DescriptionMake CryptohomeAuthenticator's Login*() methods work with pre-hashed keys
When a user's cryptohome directory is created with a pre-hashed key,
the credentials provided need to be hashed in the same way whenever the
crypthome is to be unlocked/mounted. This CL updates the Login*() methods
in CryptohomeAuthenticator to retrieve key metadata and apply the correct
hashing algorithm to the given credentials. Follow-up CLs will update
the other CryptohomeAuthenticator methods to also work with pre-hashed
keys.
BUG=367847
TEST=Extended unit tests
Committed: https://crrev.com/37e866f487685f176c1861ecc507a2f25e2c1a33
Cr-Commit-Position: refs/heads/master@{#293227}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed nit. #
Total comments: 6
Patch Set 3 : Addressed comments. #
Messages
Total messages: 15 (2 generated)
|