Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Issue 998293002: chrome.platformKeys.getKeyPair: Check requested algorithm against certificate. (Closed)

Created:
5 years, 9 months ago by pneubeck (no reviews)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@require_alg_name
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chrome.platformKeys.getKeyPair: Check requested algorithm against certificate. This adds a check that the requested algorithm is actually permitted by the certificate as defined in the algorithm field of the Subject Public Key Info. BUG=466584 Committed: https://crrev.com/80709e2614a1530449e0aacb67d85f5b6d8a5db5 Cr-Commit-Position: refs/heads/master@{#322142}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : Fix string in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -13 lines) Patch
M chrome/browser/extensions/api/platform_keys/platform_keys_api.cc View 1 3 chunks +12 lines, -1 line 0 comments Download
M chrome/common/extensions/api/platform_keys_internal.idl View 1 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/renderer/resources/extensions/platform_keys/get_public_key.js View 1 1 chunk +9 lines, -8 lines 0 comments Download
M chrome/renderer/resources/extensions/platform_keys_custom_bindings.js View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/platform_keys/basic.js View 1 2 3 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 21 (9 generated)
pneubeck (no reviews)
ptal, this change depends on the other one.
5 years, 9 months ago (2015-03-12 15:19:21 UTC) #2
pneubeck (no reviews)
changing reviewer. ptal at this second.
5 years, 9 months ago (2015-03-16 17:44:12 UTC) #4
Andrew T Wilson (Slow)
LGTM with a few nits. https://codereview.chromium.org/998293002/diff/1/chrome/browser/extensions/api/platform_keys/platform_keys_api.cc File chrome/browser/extensions/api/platform_keys/platform_keys_api.cc (right): https://codereview.chromium.org/998293002/diff/1/chrome/browser/extensions/api/platform_keys/platform_keys_api.cc#newcode28 chrome/browser/extensions/api/platform_keys/platform_keys_api.cc:28: "The requested Algorithm is ...
5 years, 9 months ago (2015-03-19 07:38:13 UTC) #5
pneubeck (no reviews)
https://codereview.chromium.org/998293002/diff/1/chrome/browser/extensions/api/platform_keys/platform_keys_api.cc File chrome/browser/extensions/api/platform_keys/platform_keys_api.cc (right): https://codereview.chromium.org/998293002/diff/1/chrome/browser/extensions/api/platform_keys/platform_keys_api.cc#newcode28 chrome/browser/extensions/api/platform_keys/platform_keys_api.cc:28: "The requested Algorithm is not permitted by Certificate."; On ...
5 years, 9 months ago (2015-03-23 13:43:12 UTC) #6
pneubeck (no reviews)
Hi Benjamin, I need an owner review for platform_keys_internal.idl and the platform_keys_custom_binding.js
5 years, 9 months ago (2015-03-23 13:44:34 UTC) #8
pneubeck (no reviews)
Hi Ken, I need an owner review for platform_keys_internal.idl and the platform_keys_custom_binding.js Drew already looked ...
5 years, 9 months ago (2015-03-24 09:44:40 UTC) #10
Ken Rockot(use gerrit already)
On 2015/03/24 09:44:40, pneubeck wrote: > Hi Ken, > I need an owner review for ...
5 years, 9 months ago (2015-03-24 16:53:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/998293002/20001
5 years, 9 months ago (2015-03-24 17:01:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/39169)
5 years, 9 months ago (2015-03-24 18:20:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/998293002/40001
5 years, 9 months ago (2015-03-25 09:51:34 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-25 12:02:31 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 12:03:26 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/80709e2614a1530449e0aacb67d85f5b6d8a5db5
Cr-Commit-Position: refs/heads/master@{#322142}

Powered by Google App Engine
This is Rietveld 408576698