[webauthn] Make `AuthenticatorAttestationResponseJSON.publicKeyAlgorithm` optional (#2106)

zacknewman has just created a new issue for https://github.com/w3c/webauthn:

== Make `AuthenticatorAttestationResponseJSON.publicKeyAlgorithm` optional ==
The motivation behind both [`AuthenticatorAttestationResponseJSON.publicKey`](https://w3c.github.io/webauthn/#dom-authenticatorattestationresponsejson-publickey) and [`AuthenticatorAttestationResponseJSON.publicKeyAlgorithm`](https://w3c.github.io/webauthn/#dom-authenticatorattestationresponsejson-publickeyalgorithm) is the same: [easy access to credential data](https://w3c.github.io/webauthn/#sctn-public-key-easy). For good reason though,  `AuthenticatorAttestationResponseJSON.publicKey` is not required since technically such data exists in the required [`AuthenticatorAttestationResponseJSON.attestationObject`](https://w3c.github.io/webauthn/#dom-authenticatorattestationresponsejson-attestationobject). I believe the same should be true for `AuthenticatorAttestationResponseJSON.publicKeyAlgorithm` since it doesn't really serve purpose without `AuthenticatorAttestationResponseJSON.publicKey` also existing.

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2106 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 27 July 2024 01:46:25 UTC