Passkey & WebAuthn Tester

Test passkeys and decode WebAuthn responses: flags, AAGUID, signatures.

More options

From navigator.credentials.get(). Ignored when an attestationObject is given.

Try an example: ·

More about this tool

Part of Keysmith Security & supply-chain explorers

How it works

Checks which passkey features your browser offers, runs a real passkey registration and sign-in against this site, and decodes the result: authenticator flags (user present/verified, backup), AAGUID, key algorithm and transports. Paste clientDataJSON, attestationObject or authenticatorData to decode and verify them on the server.

  • With JavaScript on: feature detection of PublicKeyCredential, isUserVerifyingPlatformAuthenticatorAvailable(), isConditionalMediationAvailable() and getClientCapabilities(); then navigator.credentials.create() and get() with this site as relying party (rp.id = the current host) and random challenges generated in the browser. Nothing is stored on the server; the page verifies the sign-in signature with WebCrypto.
  • clientDataJSON is decoded and checked: type (webauthn.create / webauthn.get), challenge, origin and crossOrigin. The RP ID hash in the authenticator data is compared with SHA-256 of the expected RP ID (or of the origin host).
  • Authenticator data (WebAuthn §6.1): RP ID hash, flags UP/UV/BE/BS/AT/ED, signature counter, and, at registration, the AAGUID, credential ID and COSE public key (decoded with a strict CBOR decoder). Well-known AAGUIDs are named from a small bundled list.
  • Attestation: "none" carries no statement. "packed" self-attestation (no certificate) is verified with the credential key; "packed" with an x5c certificate is verified with the certificate key, but the certificate chain is NOT validated against FIDO Metadata Service roots, so it proves nothing about the authenticator model. Other formats (tpm, android-key, apple, fido-u2f, …) are decoded but not verified.
  • Sign-in: the signature over authenticatorData ‖ SHA-256(clientDataJSON) is verified when you also paste the credential public key (COSE, base64url).

The browser test creates a real passkey for this site on your device or password manager; delete it there afterwards ("usefulweb.site passkey test"). This tool does not validate attestation certificate chains.

Sources

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Keysmith Crypto & secrets lab

    Audit certificates, keys, TLS and passwords in one lab; server runs ask first.

    Open Keysmith

Related tools

  • Hash & HMAC Calculator – MD5, SHA-2, SHA-3, BLAKE2, CRC32 and HMAC of text or files, with checksum compare.
  • Unicode Inspector – Every code point with name, script and bytes, plus hidden characters and look-alikes.

How to use the Passkey & WebAuthn Tester

Check your browser's passkey support, run a real registration and sign-in, and decode WebAuthn flags, AAGUID, algorithm and signatures.

What it is for

Passkeys replace passwords with a key pair stored on your phone, laptop, security key or password manager. When they work, nobody notices. When they don't — the prompt never appears, the server rejects the response, a synced passkey behaves differently from a hardware key — you need to see what the browser and authenticator actually sent.

The tool has two halves. With JavaScript on, it detects which WebAuthn features are available. Then it runs a real passkey registration and sign-in with this site as the relying party and decodes what comes back. On the server side, you can paste clientDataJSON, attestationObject or authenticatorData (plus a signature and public key) from your own app. It decodes them and checks the type, challenge, origin, RP ID hash, flags and signatures.

Know its limits. For "packed" attestation with a certificate, it checks the signature but does not validate the certificate chain against the FIDO Metadata Service. So it never proves which authenticator model you used. Formats like tpm, apple or android-key are decoded but not verified.

Worked example

The first built-in example is a registration made with a synthetic software key, with the expected challenge e4tNvs3CmZMRZZjYYpf0RPYFV8DMBzbm-Ndgqzn6KXU, origin https://usefulweb.site and RP ID usefulweb.site.

Result:

Registration (packed attestation, ES256 (ECDSA P-256 + SHA-256)): flags UP UV BE BS AT; all checks passed or informational.

  • clientData: type webauthn.create, the challenge matches, the origin matches, crossOrigin: false
  • Authenticator data: flags byte 93 = UP, UV, BE, BS, AT; signature counter 0; AAGUID all zeros ("not disclosed"); 16-byte credential id; EC2 P-256 public key, algorithm -7 (ES256)
  • Attestation: packed self-attestation, signature valid. This proves the response was signed by the new key itself, not what device holds it.

The second example is the matching sign-in. With the stored public key pasted, the tool reported flags UP UV BE BS, counter 0, and "Valid ES256 signature over authenticatorData ‖ SHA-256(clientDataJSON)".

How to read the result

  • Checks list — pass/fail/info per verification step. A failed Challenge or Origin check is the classic integration bug: a stale challenge, or a site served from a different origin than the one you expect.
  • Flags — UP user present; UV user verified (PIN, biometric or device password); BE backup eligible; BS backed up; AT attested credential data included (registration); ED extensions present.
  • BE + BS — together they mean a synced, multi-device passkey (e.g. in a cloud keychain). A hardware security key typically shows neither.
  • AAGUID — identifies the authenticator model when it is disclosed. All zeros is common with attestation "none" and with Apple passkeys.
  • signCount — synced passkeys often keep it at 0. Don't treat a non-increasing 0 as a cloned key.

Tips and common mistakes

  • The browser test creates a real passkey named "usefulweb.site passkey test". Delete it afterwards in your device settings or password manager.
  • Paste base64url values exactly as your client produced them. Standard base64 with +, / or = padding is a frequent cause of decode errors.
  • Require UV on your server only if your UI asks for userVerification: "required". Otherwise some security keys will legitimately omit it.
  • The RP ID must be the site's registrable domain or a parent of the current host. A mismatch shows up as a failed RP ID hash.
  • Store the COSE public key from registration. Without it, sign-in signatures can't be verified, here or in production.

FAQ

Does the browser test send my passkey to the server?

No. Challenges are generated with crypto.getRandomValues and the signature is verified with WebCrypto. Nothing is stored on the server during the JavaScript test.

Why is my AAGUID all zeros?

The authenticator or platform chose not to disclose its model, which is usual with attestation "none" and with Apple passkeys.

Can this tell me if a security key is genuine?

No. It does not validate attestation certificate chains against FIDO metadata, so it cannot confirm the make or model.

What does "backup eligible and backed up" mean?

The passkey is synced across devices by a provider such as a platform keychain or password manager. It survives losing one device, but its security depends on that sync account.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://passkeywebauthntester.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://passkeywebauthntester.usefulweb.site/mcp · tool name passkey_webauthn_tester
Example request
curl -s -X POST https://passkeywebauthntester.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome