Re: [webauthn] Provide the public key in `AuthenticatorAttestationResponse` (#1363)

This is a duplicate of #557; there, [the resolution](https://github.com/w3c/webauthn/issues/557#issuecomment-335963025) was:

>We discussed that instead of duplicating data, to instead add operations (getters) to obtain web-friendly forms (such as a CryptoKey object).

I agree this seems like the cleanest way forward - probably as methods or [getters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) on `PublicKeyCredential`? Then those methods can be polyfilled in older browsers. In fact, we can even use such a polyfill as a prototype for evaluating any proposed API changes. I'll volunteer to produce one if we want to go ahead with this.

-- 
GitHub Notification of comment by emlun
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1363#issuecomment-577656294 using your GitHub account

Received on Thursday, 23 January 2020 12:15:24 UTC