Open mpdn opened 3 months ago
Try disabling fido2.features.webauthn_json_mapping.enabled = True
line. webauthn_json_mapping
changes the encoding method for bytes
. bytes
serialized into str
when this feature is enabled where the device expects bytes.
Hi. I seem to be hitting an issue where setting
allowCredentials
causes aCBOR_UNEXPECTED_TYPE
to be returned. I am using Yubikey 5C USB.I am not totally sure whether I am structuring the parameters to the call correctly, but it seems to be translated into an underlying
PublicKeyCredentialDescriptor
correctly, so it seems odd that this is somehow translated into invalid CBOR.I can replicate the issue with the following snippet: