iamops.dev
Argo on X RSS feed
ENEnglish

Tools

Passkey and WebAuthn decoder

Paste what navigator.credentials returned. I decode the CBOR, name the authenticator when I can and check the attestation and sign-in signatures.

Runs in your browser. Nothing you paste leaves your device.

Runs in your browser. Nothing you paste is sent anywhere. Don't paste production private keys.

The page makes no network request while you work. The only exceptions are the buttons that say Fetch, which call the address you type. Keep real private keys out of any web page, including this one.

How to get the input
  1. Register a passkey on a demo site: webauthn.io, or the open-source SimpleWebAuthn example running on your machine.webauthn.io · SimpleWebAuthn example
  2. No security key at hand? In Chrome DevTools open More tools > WebAuthn, enable the virtual authenticator environment and add an authenticator.Chrome DevTools: WebAuthn
  3. In your own page, log the response right after the call and paste it into Credential JSON:
    const cred = await navigator.credentials.create(options); // or .get()
    console.log(JSON.stringify(cred.toJSON()));
    MDN: toJSON()
  4. On a site you do not control, open DevTools > Network, finish the ceremony and copy the body of the request that sends the credential to the server. Most libraries send this same JSON.Chrome DevTools: Network

Use a test account and throwaway keys. Do not paste production secrets, session cookies or real users' tokens.

What can I paste here#

A WebAuthn registration or authentication JSON (the credential from navigator.credentials), or the fields separately: clientDataJSON and attestationObject for a registration, or clientDataJSON, authenticatorData, signature and the public key for an assertion.

Passkey and WebAuthn decoder

Registration (create)

Sign-in (get)

Authenticator names come from a bundled list built from Microsoft Entra documentation (MicrosoftDocs/entra-docs) (MIT), web.dev: Determine the passkey provider with AAGUID (CC BY 4.0).

Samples are made with throwaway keys and example.test names. They mean nothing outside this page.

How to read the result#

What it does not do#

Questions people ask#

What can I paste here

A WebAuthn registration or authentication JSON (the credential from navigator.credentials), or the fields separately: clientDataJSON and attestationObject for a registration, or clientDataJSON, authenticatorData, signature and the public key for an assertion.

What do the BE and BS flags mean?

BE (backup eligible) says the credential can be synced to other devices. BS (backup state) says it is synced now. Both are set for most passkeys in Apple, Google and password manager apps.

Why is the AAGUID all zeros?

Some providers send a zero AAGUID on purpose, usually with none attestation. The relying party then cannot tell the model, and this tool shows it as not disclosed.

Related articles#

The newest posts and labs on the same topic, picked automatically.