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

Issue 905523002: platformKeys: Add per-extension sign permissions. (Closed)

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

Description

platformKeys: Add per-extension sign permissions. PlatformKeysService now supports persisting whether an extension is allowed to sign data with a key an unlimited number of times. Currently, these permissions are only granted in the accompanying browser test and not in production, because UI is still missing. BUG=450167 Committed: https://crrev.com/cbcdfd84a59e7216d315689362ccc41626608987 Cr-Commit-Position: refs/heads/master@{#317053}

Patch Set 1 : #

Total comments: 53

Patch Set 2 : #

Patch Set 3 : Addressed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -177 lines) Patch
M chrome/browser/chromeos/platform_keys/platform_keys.h View 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/platform_keys/platform_keys_nss.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/platform_keys/platform_keys_service.h View 1 2 7 chunks +64 lines, -33 lines 0 comments Download
M chrome/browser/chromeos/platform_keys/platform_keys_service.cc View 1 13 chunks +407 lines, -72 lines 0 comments Download
M chrome/browser/extensions/api/platform_keys/platform_keys_api.cc View 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc View 1 3 chunks +85 lines, -24 lines 0 comments Download
M chrome/test/data/extensions/api_test/platform_keys/basic.js View 5 chunks +124 lines, -33 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
pneubeck (no reviews)
ptal
5 years, 10 months ago (2015-02-15 12:47:24 UTC) #9
pneubeck (no reviews)
-Prabhu Drew, Prabhu is busy as well until branch point. ptal instead (or assign to ...
5 years, 10 months ago (2015-02-18 15:55:31 UTC) #11
kaliamoorthi
I did it anyway. https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode25 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:25: bool sign_once = false; Why ...
5 years, 10 months ago (2015-02-18 17:04:09 UTC) #13
Andrew T Wilson (Slow)
LGTM once comments addressed https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode116 chrome/browser/chromeos/platform_keys/platform_keys.h:116: // Returns the DER encoding ...
5 years, 10 months ago (2015-02-18 19:53:35 UTC) #14
pneubeck (no reviews)
ptal https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode116 chrome/browser/chromeos/platform_keys/platform_keys.h:116: // Returns the DER encoding of the X.509 ...
5 years, 10 months ago (2015-02-19 11:08:41 UTC) #16
Andrew T Wilson (Slow)
https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys_service.h File chrome/browser/chromeos/platform_keys/platform_keys_service.h (right): https://codereview.chromium.org/905523002/diff/140001/chrome/browser/chromeos/platform_keys/platform_keys_service.h#newcode56 chrome/browser/chromeos/platform_keys/platform_keys_service.h:56: // destructed. |callback| will not be called after this ...
5 years, 10 months ago (2015-02-19 11:16:44 UTC) #17
kaliamoorthi
LGTM
5 years, 10 months ago (2015-02-19 12:39:09 UTC) #18
kaliamoorthi
LGTM
5 years, 10 months ago (2015-02-19 12:39:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/905523002/180001
5 years, 10 months ago (2015-02-19 13:30:23 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:180001)
5 years, 10 months ago (2015-02-19 15:29:12 UTC) #23
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 15:30:01 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cbcdfd84a59e7216d315689362ccc41626608987
Cr-Commit-Position: refs/heads/master@{#317053}

Powered by Google App Engine
This is Rietveld 408576698