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

Issue 1139533002: Use FindNSSKeyFromPublicKeyInfoInSlot in GetPrivateKeyOnWorkerThread. (Closed)

Created:
5 years, 7 months ago by davidben
Modified:
5 years, 7 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, tbarzic
Base URL:
https://chromium.googlesource.com/chromium/src.git@rsa-private-key-1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use FindNSSKeyFromPublicKeyInfoInSlot when a slot is known. Follow-up to https://codereview.chromium.org/1128153003/. Rather than query all keys and checking the slot afterwards, just look up keys in the slot directly. BUG=478777 Committed: https://crrev.com/67840e51e8aa43c3858b3511e41551f1faa9482b Cr-Commit-Position: refs/heads/master@{#329498}

Patch Set 1 #

Patch Set 2 : another one #

Total comments: 3

Patch Set 3 : pneubeck comments #

Total comments: 2

Patch Set 4 : DCHECK -> CHECK #

Patch Set 5 : fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/platform_keys/platform_keys_nss.cc View 1 2 3 4 1 chunk +10 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
davidben
5 years, 7 months ago (2015-05-09 00:53:01 UTC) #2
pneubeck (no reviews)
lgtm with a minor comment you can also as well drop the BUG=none line or ...
5 years, 7 months ago (2015-05-12 09:48:39 UTC) #3
davidben
+xiyuan for chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc https://codereview.chromium.org/1139533002/diff/20001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc File chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc (right): https://codereview.chromium.org/1139533002/diff/20001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc#newcode70 chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc:70: crypto::FindNSSKeyFromPublicKeyInfoInSlot(public_key_vector, slot)); On 2015/05/12 09:48:38, pneubeck ...
5 years, 7 months ago (2015-05-12 18:00:43 UTC) #5
xiyuan
+tbarzic fyi LGTM https://codereview.chromium.org/1139533002/diff/40001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc File chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc (right): https://codereview.chromium.org/1139533002/diff/40001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc#newcode64 chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc:64: DCHECK(slot); nit: This code only runs ...
5 years, 7 months ago (2015-05-12 18:03:56 UTC) #6
davidben
https://codereview.chromium.org/1139533002/diff/40001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc File chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc (right): https://codereview.chromium.org/1139533002/diff/40001/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc#newcode64 chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager.cc:64: DCHECK(slot); On 2015/05/12 18:03:55, xiyuan wrote: > nit: This ...
5 years, 7 months ago (2015-05-12 18:05:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139533002/60001
5 years, 7 months ago (2015-05-12 18:06:43 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/36769)
5 years, 7 months ago (2015-05-12 18:47:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139533002/80001
5 years, 7 months ago (2015-05-12 20:58:38 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-12 21:38:10 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 21:40:03 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/67840e51e8aa43c3858b3511e41551f1faa9482b
Cr-Commit-Position: refs/heads/master@{#329498}

Powered by Google App Engine
This is Rietveld 408576698