W3C home > Mailing lists > Public > public-webauthn@w3.org > January 2020

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

From: Emil Lundberg via GitHub <sysbot+gh@w3.org>
Date: Thu, 23 Jan 2020 12:15:23 +0000
To: public-webauthn@w3.org
Message-ID: <issue_comment.created-577656294-1579781721-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:39 UTC