Hi, I've been looking at the Shiny PassKey example App.
There are the following lines:
// The attestationObject contains the user's new public key to store and use for subsequent sign-ins.
let attestationObject = credentialRegistration.rawAttestationObject
The attestationObject
is raw bytes and certainly doesn't look big enough to contain a public key.
I was expecting to see a public key, can anyone confirm if a public key is accessible?
The help also says:
This object contains the public key. If you request it, it also contains the attestation statement.
This statement too, seems slightly wrong, it's an attestation from the get go
The help links off to this site: https://www.w3.org/TR/webauthn-2/#attestation-object
Can anyone shed any light on this, it's quite confusing