DescriptionDo a better job at faking simple challenge signatures.
By returning a signed simple challenge that can actually be parsed as SignedData, we allow callers of the FakeCryptohomeClient to extract the original data back and process it, making for better fake behavior and simpler tests.
Note that the signature is purposedly not verifiable in the FakeCryptohomeClient.
BUG=643245
TEST=chromeos_unittests; unit_tests and components_unittests also pass
Committed: https://crrev.com/911199cb30f608636c79d47e50dca84735e3a08f
Cr-Commit-Position: refs/heads/master@{#417118}
Patch Set 1 #Patch Set 2 : Added test for chromeos_unittests. #Patch Set 3 : Be a good modern C++ programmer and let go of const char*. #
Total comments: 2
Patch Set 4 : Better interface, more meaningful unit test. #Patch Set 5 : Added the unit test I've been talking about... #Patch Set 6 : Added missing attestation.proto file. #
Total comments: 7
Patch Set 7 : Adressed feedback. #
Messages
Total messages: 28 (15 generated)
|