1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

core/webauthn: Fix attestation statement format to use a list in the x5c field.

This commit is contained in:
Andrew Kozlik 2020-03-24 16:18:37 +01:00
parent aa71c20f2c
commit 8ae0535e69

View File

@ -1527,7 +1527,7 @@ def cbor_make_credential_sign(
attestation_statement = {
"alg": common.COSE_ALG_ES256,
"sig": sig,
"x5c": _U2F_ATT_CERT,
"x5c": [_U2F_ATT_CERT],
}
# Encode the authenticatorMakeCredential response data.