← Back to release summary

WebAuthn getPublicKey[Algorithm]() and getAuthenticatorData()

Category
Security
Type
New or changed feature
Status
Enabled by default (Chrome 85)
Intent stage
Shipped

Summary

Adds two accessors from the Web Authentication Level 2 spec that save sites from parsing Concise Binary Object Representation (CBOR) and CBOR Object Signing and Encryption (COSE) in order to use security keys.

Motivation

CBOR and COSE are somewhat obscure at this time and there's no need for most sites to have to worry about them as the browser is capable of translating them into more standard formats.

Standards & signals

Docs: https://w3c.github.io/webauthn/#sctn-public-key-easy

Explainers: https://w3c.github.io/webauthn/#sctn-public-key-easy

View on chromestatus.com