Tools: iat-verifier fixes
- key was not being returned by read_sign1_key(), resulting in an
automatic success on key verification. Return it so that the signature
is actually verified.
- convert_map_to_token_files() was still passing the now non-existent
"raw" parameter to convert_map_to_token(), instead of "method" that
"raw" was replaced with. Update the parameter name.
- The underlying CBOR library's decoder has become more tolerant, and is
able to decode the slightly tweaked "malformed.cbor" test file. Tweak
it further, so that it continues to fail to decode.
Change-Id: I597d19c1109a432c451f27eb1fc1cf8e26d8675a
Signed-off-by: Sergei Trofimov <sergei.trofimov@arm.com>
2 files changed