mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-18 10:32:02 +00:00
core/webauthn: Fix attestation statement format to use a list in the x5c field.
This commit is contained in:
parent
aa71c20f2c
commit
8ae0535e69
@ -1527,7 +1527,7 @@ def cbor_make_credential_sign(
|
|||||||
attestation_statement = {
|
attestation_statement = {
|
||||||
"alg": common.COSE_ALG_ES256,
|
"alg": common.COSE_ALG_ES256,
|
||||||
"sig": sig,
|
"sig": sig,
|
||||||
"x5c": _U2F_ATT_CERT,
|
"x5c": [_U2F_ATT_CERT],
|
||||||
}
|
}
|
||||||
|
|
||||||
# Encode the authenticatorMakeCredential response data.
|
# Encode the authenticatorMakeCredential response data.
|
||||||
|
Loading…
Reference in New Issue
Block a user