Hello developers,
I'm trying to use the following library (https://github.com/passwordless-lib/fido2-net-lib) with passkeys on iOS.
Every time I try to complete the registration I get a CBOR error from the library with the following response: "AttestationObject invalid CBOR (Declared Definite Length of CBOR Data Item Overs Available Buffer Size.)"
I already spoke to the developer of the library on GitHub (https://github.com/passwordless-lib/fido2-net-lib/issues/357)
Every time I've tried, the AttestationObject
from the ASAuthorizationPlatformPublicKeyCredentialRegistration
response is malformed.
A CBOR verification in a web decoder also ends with an invalid CBOR object (verification error: CBOR Decode - Unexpected data: 0x36)
When I try to verify on a site that uses passkeys, it works.
Is there a fix for this, or is Apple removing something from the AttestationObject
in the ASAuthorizationPlatformPublicKeyCredentialRegistration
response?