webauthn icon indicating copy to clipboard operation
webauthn copied to clipboard

Make `AuthenticatorAttestationResponseJSON.publicKeyAlgorithm` optional

Open zacknewman opened this issue 7 months ago • 2 comments

The motivation behind both AuthenticatorAttestationResponseJSON.publicKey and AuthenticatorAttestationResponseJSON.publicKeyAlgorithm is the same: easy access to credential data. For good reason though, AuthenticatorAttestationResponseJSON.publicKey is not required since technically such data exists in the required AuthenticatorAttestationResponseJSON.attestationObject. I believe the same should be true for AuthenticatorAttestationResponseJSON.publicKeyAlgorithm since it doesn't really serve purpose without AuthenticatorAttestationResponseJSON.publicKey also existing.

zacknewman avatar Jul 27 '24 01:07 zacknewman