You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Src/Fido2/AttestationFormat/Apple.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ public override (AttestationType, X509Certificate2[]) Verify()
81
81
varcpk=newCredentialPublicKey(credCert,coseAlg);
82
82
83
83
// Finally, compare byte sequence of CredentialPublicKey built from credCert with byte sequence of CredentialPublicKey from AttestedCredentialData from authData
thrownewFido2VerificationException(Fido2ErrorCode.InvalidAttestation,"Credential public key in Apple attestation does not match subject public key of credCert");
86
86
87
87
// 7. If successful, return implementation-specific values representing attestation type Anonymous CA and attestation trust path x5c.
Copy file name to clipboardExpand all lines: Src/Fido2/AttestationFormat/Packed.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ public override (AttestationType, X509Certificate2[]?) Verify()
108
108
// 2c. If attestnCert contains an extension with OID 1.3.6.1.4.1.45724.1.1.4 (id-fido-gen-ce-aaguid) verify that the value of this extension matches the aaguid in authenticatorData
thrownewFido2VerificationException(Fido2ErrorCode.InvalidAttestation,"aaguid present in packed attestation cert exts but does not match aaguid from authData");
113
113
}
114
114
@@ -137,7 +137,7 @@ public override (AttestationType, X509Certificate2[]?) Verify()
137
137
else
138
138
{
139
139
// 4a. Validate that alg matches the algorithm of the credentialPublicKey in authenticatorData
thrownewFido2VerificationException(Fido2ErrorCode.InvalidAttestation,"Algorithm mismatch between credential public key and authenticator data in self attestation statement");
142
142
143
143
// 4b. Verify that sig is a valid signature over the concatenation of authenticatorData and
Copy file name to clipboardExpand all lines: Src/Fido2/AttestationFormat/Tpm.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ public override (AttestationType, X509Certificate2[]) Verify()
197
197
// 5c. If aikCert contains an extension with OID 1.3.6.1.4.1.45724.1.1.4 (id-fido-gen-ce-aaguid) verify that the value of this extension matches the aaguid in authenticatorData
// 4. Optionally, if attestation was requested and the Relying Party wishes to verify it, verify that attStmt is a correct attestation statement, conveying a valid attestation signature,
0 commit comments