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

Issue 741593002: If easy sign-in is set up, allow TPMTokenLoader to start before login (Closed)

Created:
6 years, 1 month ago by tbarzic
Modified:
6 years ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

If easy sign-in is set up, allow TPMTokenLoader to start before login As part of easy sign-in protocol, a nonce has to be signed by TPM private key. To be able to do this, we need to allow system token to be loaded before a user is logged in. This cl starts system token initialization (which is done by TPMTokenLoader) before LoginState is LOGGED_IN if there is a user with easy sign-in enabled. BUG=409027 Committed: https://crrev.com/8666f16f8a150275fab3f7529ede7da11983d06b Cr-Commit-Position: refs/heads/master@{#308321}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Total comments: 2

Patch Set 6 : . #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
M chrome/browser/signin/easy_unlock_service_signin_chromeos.cc View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chromeos/tpm/tpm_token_loader.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chromeos/tpm/tpm_token_loader.cc View 1 2 3 4 5 6 3 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
tbarzic
6 years ago (2014-12-02 07:30:34 UTC) #2
Ryan Sleevi
Note: I am not comfortable with this for M40. Nor do I think I can ...
6 years ago (2014-12-02 11:24:48 UTC) #3
pneubeck (no reviews)
https://codereview.chromium.org/741593002/diff/60001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/741593002/diff/60001/chrome/browser/profiles/profile_io_data.cc#newcode435 chrome/browser/profiles/profile_io_data.cc:435: params->use_system_key_slot = use_system_key_slot=true has two effects: - trigger initialization ...
6 years ago (2014-12-02 11:56:47 UTC) #4
tbarzic
Ok, I updated the other cl so data signin does not depend on chromeos::platform_keys and ...
6 years ago (2014-12-02 22:57:39 UTC) #5
pneubeck (no reviews)
lgtm with a minor comment https://codereview.chromium.org/741593002/diff/80001/chromeos/tpm_token_loader.h File chromeos/tpm_token_loader.h (right): https://codereview.chromium.org/741593002/diff/80001/chromeos/tpm_token_loader.h#newcode126 chromeos/tpm_token_loader.h:126: // This will be ...
6 years ago (2014-12-04 16:21:49 UTC) #6
tbarzic
https://codereview.chromium.org/741593002/diff/80001/chromeos/tpm_token_loader.h File chromeos/tpm_token_loader.h (right): https://codereview.chromium.org/741593002/diff/80001/chromeos/tpm_token_loader.h#newcode126 chromeos/tpm_token_loader.h:126: // This will be true iff |Start| was called. ...
6 years ago (2014-12-04 16:46:50 UTC) #7
xiyuan
easy_unlock_service_signin_chromeos.cc LGTM
6 years ago (2014-12-05 04:16:14 UTC) #8
tbarzic
+stevenjb: owner for chromeos/
6 years ago (2014-12-08 18:37:07 UTC) #10
stevenjb
owner lgtm
6 years ago (2014-12-08 18:43:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741593002/120001
6 years ago (2014-12-15 07:01:56 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-15 07:08:04 UTC) #14
commit-bot: I haz the power
6 years ago (2014-12-15 07:08:54 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8666f16f8a150275fab3f7529ede7da11983d06b
Cr-Commit-Position: refs/heads/master@{#308321}

Powered by Google App Engine
This is Rietveld 408576698