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

Issue 383593002: Add GetSystemNSSKeySlot, merge GetPrivateNSSKeySlot/GetPublicNSSKeySlot to GetPersistentNSSKeySlot. (Closed)

Created:
6 years, 5 months ago by mattm
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add GetSystemNSSKeySlot, merge GetPrivateNSSKeySlot/GetPublicNSSKeySlot to GetPersistentNSSKeySlot. GetSystemNSSKeySlot returns the ChromeOS system-wide TPM slot. ChromeOS has separate slots for each user and linux doesn't have a public/private split, so GetPrivateNSSKeySlot no longer makes sense. BUG=210525 TBR=stevenjb@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282862

Patch Set 1 #

Patch Set 2 : clarify comment, cleanup #

Patch Set 3 : use GetPersistentNSSKeySlot instead of GetDefaultNSSKeySlot #

Total comments: 6

Patch Set 4 : changes for comment #5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -84 lines) Patch
M chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/nss_context_linux.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/tpm_token_loader.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M crypto/nss_util.h View 1 2 3 2 chunks +10 lines, -10 lines 0 comments Download
M crypto/nss_util.cc View 1 2 3 8 chunks +33 lines, -34 lines 0 comments Download
M crypto/nss_util_internal.h View 1 2 2 chunks +9 lines, -11 lines 0 comments Download
M net/base/keygen_handler_nss.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/cert/nss_cert_database.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/ssl/client_cert_store_chromeos_unittest.cc View 1 chunk +0 lines, -21 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mattm
Depends on https://codereview.chromium.org/317613004. (Splitting https://codereview.chromium.org/330213002 up a bit.)
6 years, 5 months ago (2014-07-10 01:07:06 UTC) #1
Ryan Sleevi
Rather than Default, which I'm certain will cause a resurgence of the issues in the ...
6 years, 5 months ago (2014-07-10 01:55:06 UTC) #2
mattm
On 2014/07/10 01:55:06, Ryan Sleevi wrote: > Rather than Default, which I'm certain will cause ...
6 years, 5 months ago (2014-07-10 02:33:36 UTC) #3
Ryan Sleevi
LGTM, but pneubeck should check closely too.
6 years, 5 months ago (2014-07-10 02:36:50 UTC) #4
pneubeck (no reviews)
lgtm with minor comments https://codereview.chromium.org/383593002/diff/60001/crypto/nss_util.cc File crypto/nss_util.cc (right): https://codereview.chromium.org/383593002/diff/60001/crypto/nss_util.cc#newcode646 crypto/nss_util.cc:646: // TODO(mattm): If the system ...
6 years, 5 months ago (2014-07-10 09:44:11 UTC) #5
mattm
https://codereview.chromium.org/383593002/diff/60001/crypto/nss_util.cc File crypto/nss_util.cc (right): https://codereview.chromium.org/383593002/diff/60001/crypto/nss_util.cc#newcode646 crypto/nss_util.cc:646: // TODO(mattm): If the system slot is disabled, InitializeTPMToken ...
6 years, 5 months ago (2014-07-10 22:20:45 UTC) #6
mattm
The CQ bit was checked by mattm@chromium.org
6 years, 5 months ago (2014-07-13 03:34:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/383593002/80001
6 years, 5 months ago (2014-07-13 03:36:07 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-13 04:24:41 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-13 04:27:06 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/79632)
6 years, 5 months ago (2014-07-13 04:27:06 UTC) #11
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 5 months ago (2014-07-13 07:15:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/383593002/80001
6 years, 5 months ago (2014-07-13 07:16:15 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-13 07:19:06 UTC) #14
Message was sent while issue was closed.
Change committed as 282862

Powered by Google App Engine
This is Rietveld 408576698