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

Issue 36593002: crypto/nss_util: Get TPM slot id, do lookup by id instead of by name. (Closed)

Created:
7 years, 2 months ago by mattm
Modified:
7 years, 1 month ago
Reviewers:
stevenjb, wtc, Ryan Sleevi
CC:
chromium-reviews, gauravsh+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

crypto/nss_util: Get TPM slot id, do lookup by id instead of by name. chromeos/cert_loader: store slot id as int. BUG=302124 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231126

Patch Set 1 #

Patch Set 2 : fix chromeos unittest issue, remove FindSlotWithTokenName #

Patch Set 3 : add comment about chromeos fix #

Patch Set 4 : sandbox debugging crap #

Total comments: 4

Patch Set 5 : removed debugging stuff #

Patch Set 6 : updates for review comment #3 #

Patch Set 7 : rebase #

Patch Set 8 : remove the notreached #

Total comments: 4

Patch Set 9 : rename tpm_token_slot to tpm_token_slot_id, change InitializeTPMToken arg order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -41 lines) Patch
M chromeos/cert_loader.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M chromeos/cert_loader.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -4 lines 0 comments Download
M chromeos/network/client_cert_resolver.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -5 lines 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -5 lines 0 comments Download
M crypto/nss_util.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M crypto/nss_util.cc View 1 2 3 4 5 6 7 8 7 chunks +37 lines, -24 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mattm
satorux: chromeos/ rsleevi: crypto/ Splitting a little chunk off of my big WIP CL.
7 years, 2 months ago (2013-10-23 05:55:03 UTC) #1
mattm
Updated with a fix for the chromeos_unittests problem. (When loading chaps on a desktop, SECMOD_LoadUserModule ...
7 years, 2 months ago (2013-10-23 23:05:32 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/36593002/diff/130001/crypto/nss_util.cc File crypto/nss_util.cc (right): https://codereview.chromium.org/36593002/diff/130001/crypto/nss_util.cc#newcode277 crypto/nss_util.cc:277: tpm_slot_ = GetTPMSlotForId(token_slot_id); CASTING DANGER: CK_SLOT_ID is a CK_ULONG ...
7 years, 2 months ago (2013-10-24 01:26:21 UTC) #3
mattm
Updated. (note: still hunting down the test problem. Seems like a sandbox is trying to ...
7 years, 2 months ago (2013-10-24 01:59:07 UTC) #4
mattm
I "fixed" the problem by removing the NOTREACHED (since it was already broken before, just ...
7 years, 2 months ago (2013-10-24 05:12:26 UTC) #5
mattm
+stevenjb for chromeos/network/
7 years, 2 months ago (2013-10-24 21:43:24 UTC) #6
stevenjb
chromeos/ changes lgtm
7 years, 2 months ago (2013-10-24 22:11:00 UTC) #7
mattm
+wtc for crypto/ since rsleevi went OOO.
7 years, 2 months ago (2013-10-24 22:21:30 UTC) #8
satorux1
I'm not familiar with this code. I'd defer to stevenjb@
7 years, 2 months ago (2013-10-25 06:54:27 UTC) #9
wtc
Patch set 8 LGTM. https://codereview.chromium.org/36593002/diff/370002/chromeos/cert_loader.h File chromeos/cert_loader.h (right): https://codereview.chromium.org/36593002/diff/370002/chromeos/cert_loader.h#newcode103 chromeos/cert_loader.h:103: int tpm_token_slot() const { return ...
7 years, 1 month ago (2013-10-25 18:06:27 UTC) #10
mattm
https://codereview.chromium.org/36593002/diff/370002/chromeos/cert_loader.h File chromeos/cert_loader.h (right): https://codereview.chromium.org/36593002/diff/370002/chromeos/cert_loader.h#newcode103 chromeos/cert_loader.h:103: int tpm_token_slot() const { return tpm_token_slot_; } On 2013/10/25 ...
7 years, 1 month ago (2013-10-25 18:41:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/36593002/630001
7 years, 1 month ago (2013-10-25 19:51:36 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-10-25 22:03:29 UTC) #13
Message was sent while issue was closed.
Change committed as 231126

Powered by Google App Engine
This is Rietveld 408576698