Skip to content

Commit 92142ac

Browse files
authored
Merge pull request w3c#836 from arnar/patch-1
Clarify the U2F Attestation format to have a single certificate
2 parents 4f584b8 + 4e19fe4 commit 92142ac

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

index.bs

+3-4
Original file line numberDiff line numberDiff line change
@@ -3531,16 +3531,15 @@ This attestation statement format is used with FIDO U2F authenticators using the
35313531
)
35323532

35333533
u2fStmtFormat = {
3534-
x5c: [ attestnCert: bytes, * (caCert: bytes) ],
3534+
x5c: [ attestnCert: bytes ],
35353535
sig: bytes
35363536
}
35373537
```
35383538

35393539
The semantics of the above fields are as follows:
35403540

35413541
: x5c
3542-
:: The elements of this array contain the attestation certificate and its certificate chain, each encoded in X.509 format.
3543-
The attestation certificate MUST be the first element in the array.
3542+
:: A single element array containing the attestation certificate in X.509 format.
35443543

35453544
: sig
35463545
:: The [=attestation signature=].
@@ -3564,7 +3563,7 @@ This attestation statement format is used with FIDO U2F authenticators using the
35643563
as follows:
35653564
1. Verify that |attStmt| is valid CBOR conforming to the syntax defined above and perform CBOR decoding on it to extract the
35663565
contained fields.
3567-
1. Let |attCert| be the value of the first element of |x5c|. Let |certificate public key| be the public key
3566+
1. Check that |x5c| has exactly one element and let |attCert| be that element. Let |certificate public key| be the public key
35683567
conveyed by |attCert|. If |certificate public key| is not an Elliptic Curve (EC) public
35693568
key over the P-256 curve, terminate this algorithm and return an appropriate error.
35703569
1. Extract the claimed |rpIdHash| from |authenticatorData|, and the claimed |credentialId| and |credentialPublicKey| from

0 commit comments

Comments
 (0)