See right here: https://cs.chromium.org/chromium/src/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc?q=easy_unlock_service_signin_chr+package:%5Echromium$&l=440 The |challenge| property of EasyUnlockDeviceKeyData is not Base64 encoded; it seems to already be a raw string. Unfortunately I can't easily provide a patch for this bug because once I change the code to directly use device.challenge, EasyUnlock crash loops on the lock screen.
Hey Ryan, I found this bug as well =O It should be fixed with https://codereview.chromium.org/2863533003/
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4fdb40570e2c40ffa318f0131b5cbee4900b964f commit 4fdb40570e2c40ffa318f0131b5cbee4900b964f Author: tengs <tengs@chromium.org> Date: Fri May 19 22:09:36 2017 [EasyUnlock] Serialize and store BeaconSeeds as part of the cryptohome key metadata. For the login flow, we need to be able to use the same BeaconSeeds as those in the user preferences. The BeaconSeeds are refreshed everytime the user logs in or unlocks their Chromebook like the other EasyUnlock metadata. BUG= 715594 Review-Url: https://codereview.chromium.org/2863533003 Cr-Commit-Position: refs/heads/master@{#473352} [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.cc [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.cc [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/signin/chrome_proximity_auth_client.cc [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/signin/easy_unlock_service_regular.cc [modify] https://crrev.com/4fdb40570e2c40ffa318f0131b5cbee4900b964f/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
Comment 1 by tengs@chromium.org
, May 11 2017