Search Tools

WebAuthn RP, Challenge and Signature Check

Individually check the signed bytes and consistency of RP, challenge, origin, and flags in an authentication assertion.

Does not perform registration or login authentication. Inputs are processed in the browser.

What to calculate

Enter the assertion’s authenticatorData as unpadded base64url. Maximum 6144 bytes.

Enter the original UTF-8 JSON bytes as base64url. Do not reformat or re-encode the JSON.

Example: example.com. Omit the scheme and path. Use punycode for IDNs.

Example: https://login.example.com. The scheme, host, and port must match exactly.

Bytes of the challenge issued for the authentication request. Maximum 1536 bytes.

UP is always required. The UV flag is displayed even when UV is not required.

SPKI DER bytes of the public key saved at registration. Do not paste PEM headers or private keys.

Use ASN.1 DER for ES256; use the original signature bytes for RS256/PS256/Ed25519.

Results

Enter the values, then select Calculate.

Report an issue

Method, applicability and sources

Calculation method

signedBytes = authenticatorData || SHA-256(clientDataJSON). Check the RP ID against SHA-256(UTF-8 expected RP ID), and compare challenge values as decoded byte sequences.

Worked example (hypothetical values)

An assertion with UP=1, UV=1, and matching RP ID, challenge, origin, and signature reports “Specified conditions and signature match”. A one-byte difference is a mismatch.

Applicability and limitations

Diagnostics for webauthn.get assertions returned by registered credentials. Does not cover registration (webauthn.create), attestation proofs, ED CBOR extensions, cross-origin iframe/topOrigin contexts, FIDO AppID, credential ID, userHandle, challenge reuse prevention, comparison with a stored counter, actual login, or identity authentication.

Methods used

  • Authentication assertion (webauthn.get) (WebAuthn Level 3 §7.2 (2026-08-25)): scope Local signature and condition checks (does not perform login); region global

Method and sources

Method: W3C WebAuthn Level 3 Recommendation 2026-08-25; E1656 assertion-only v1.0. Data recorded: 2026-11-15.