don't set username for device key in TpmChallengeKeySubtle.
crypthome used to do the job but attestaion only judges the EMK/EUK type with emptiness of account id, so we have to filter out the account id for EMK. BUG=b:173060033 TEST=unit_tests and check if the following 3 cases are tested: KEY_DEVICE with non-empty account id, KEY_DEVICE w/ empty account id, and KEY_USER w/ account id. Change-Id: I273e8e53304ee4a9a2740f12135a00c02eae6c78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531807Reviewed-by:Michael Ershov <miersh@google.com> Reviewed-by:
Pavol Marko <pmarko@chromium.org> Commit-Queue: Leo Lai <cylai@google.com> Cr-Commit-Position: refs/heads/master@{#826765}
Showing
Please register or sign in to comment