Skip loading system token on startup if TPM is not ready
If the TPM is not ready, don't try to load the system token. It would fail anyway and prevent the TPM initialization process from running on user sign-in (because TPMTokenLoader only performs the initialization process once). Also, delay system token initialization until cryptohome is ready. BUG=725346,655266 TEST=Manual test on Chrome OS: (1) On a freshly resetted device (not enrolled, not owned), the system token is simply not loaded on the sign-in screen (2) On an enrolled device, the system token is loaded on the sign-in screen. Device-wide EAP-TLS networks can connect. In both cases, there should be no errors related to TPM init in /var/log/chrome/chrome. Change-Id: If810287747f05361ffa3a0a06fe9f2c8988ea676 Reviewed-on: https://chromium-review.googlesource.com/512662Reviewed-by:Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Pavol Marko <pmarko@chromium.org> Cr-Commit-Position: refs/heads/master@{#473937}
Showing
Please register or sign in to comment