commit | 65161a1842d52d5619fc382f2ed55d485a53653e | [log] [tgz] |
---|---|---|
author | Orlando Arbildo <oarbildo@google.com> | Sat Mar 04 00:06:27 2023 +0000 |
committer | Orlando Arbildo <oarbildo@google.com> | Thu Mar 09 21:31:13 2023 +0000 |
tree | 09f338e99c308d1ce82f055ea11adfe4abc6f3a4 | |
parent | b021dc94e3603aabaf89802c553b5eab85ec75d9 [diff] |
Adding RSA PKCS1 and EC SEC 1 formats to read_attestation_key read_attestation_key now will try first to parse a key as if it was a PKCS8 key, but if it fails it will try to parse an RSA key as a PKCS1 encoded key and a EC key as a SEC 1 encoded key. Bug: 258602662 Test: Build.py, run keymint TA unittests Change-Id: I8ee45e3a8ea51e3cfd047dc797282a0c5e4de3eb