Passkey registration response parse failure with yubikey - extra data in attestation object? #229
timnewsham
started this conversation in
General
Replies: 1 comment 4 replies
-
It might be. Do you happen to have example data so I can take a look? Otherwise I can test this over the weekend maybe as I have some in a box at home. Also by Passeky do you just mean that you're requesting a resident key / discoverable credential? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using webauthn and I ran across a problem with a user who is using a yubikey. During registration I get an attestationObject in their response which does not parse with
protocol.ParseCredentialCreationResponseBody
. Looking in to the issue I find the parse is failing withinprotocol/webauthncbor/webauthncbor.go:22
in the call toctap2CBORDecMode.Unmarshal(data, v)
. In thegithub.com/fxamacker/cbor/v2
package the failure is happening in the call toerr := d.wellformed(false)
because of extra data (!allowExtraData && d.off != len(d.data)
). Is this being caused by some sort of extension that yubikeys might be providing that the webauthn library and CBOR library does not support?Tim
Beta Was this translation helpful? Give feedback.
All reactions