What is a WebAuthn attestation statement? Reading registration signatures and trust
A WebAuthn attestation statement is signed registration evidence bound to authenticator data and a hash of client data when a new public-key credential is created. The relying party (RP) verifies the signature according to its statement format. If policy requires attestation trust, the RP also checks whether the resulting trust path leads to an accepted trust anchor. A statement does not prove a user’s real-world identity or automatically guarantee every security property of an authenticator.
What is a WebAuthn attestation statement? Reading registration signatures and trust
A WebAuthn attestation statement is signed registration evidence bound to authenticator data and a hash of client data when a new public-key credential is created. The relying party (RP) verifies the signature according to its statement format. If policy requires attestation trust, the RP also checks whether the resulting trust path leads to an accepted trust anchor. A statement does not prove a user’s real-world identity or automatically guarantee every security property of an authenticator.
This article is limited to registration-response structure and verification responsibilities in W3C WebAuthn Level 3. Which attestation to request and how to assess privacy are separate policy questions. The terms below describe specification concepts, not a product-specific internal JSON format.
Where the statement appears in a registration response
The attestationObject returned by navigator.credentials.create() is a CBOR-encoded structure. Its main elements are:
| Element | Meaning | Server handling |
|---|---|---|
fmt | String identifying the attestation statement format | Match case-sensitively and confirm the format is supported and allowed |
authData | RP ID hash, flags, sign counter, and credential data from registration | Validate RP ID, user-verification policy, and credential; store required state |
attStmt | Signature fields for the selected format and sometimes additional evidence such as certificates | Validate the signature and fields according to that fmt |
fmt says how to parse the statement; attestation type describes its trust model. They do not map one-to-one. For example, the packed format may be used for basic or self attestation, so the format string alone does not establish trust in an issuer.
Boundaries of server verification
Validate the client response’s `clientDataJSON` type, challenge, and origin, then compute the hash of those bytes.
Safely parse the CBOR `attestationObject` and confirm that the RP ID hash, flags, and registered credential information in `authData` match the registration request.
Apply the selected format’s rules to verify what `attStmt` signed and which algorithm it used. In general, an attestation signature binds `authData` and the hash of serialized client data, but the exact inputs and encoding differ by format. Checking only common fields is not enough.
If policy requires a trusted authenticator source, interpret the attestation type and trust path, then compare it with the organization’s accepted roots or metadata. Self attestation and `none` do not provide manufacturer provenance.
Bind the public-key credential to the account only after all required checks succeed. Use an atomic transaction so a failed verification cannot leave a partial registration.
A WebAuthn RP must implement the verification rules for every format it supports. Do not improvise a CBOR parser or skip format-specific context just because a signature is present. Before deployment, check the verification library’s supported formats, trust store, and certificate revocation policy.
Claims the statement does not support
An attestation statement gives evidence about an **authenticator or credential’s properties or provenance**; it does not establish the user’s legal identity.
Even a valid signature needs a separate check that its signing key and certificate chain connect to an issuer the service trusts.
`none` or self attestation may provide no trustworthy manufacturer provenance to the RP.
Verifying authenticator provenance at registration does not continuously detect later malware, account sharing, or a change of user.
Certificate-based attestation can increase device or user linkability. Request it only when needed and limit storage, access, and retention.
References
W3C, [Web Authentication Level 3: Attestation](https://www.w3.org/TR/webauthn-3/#sctn-attestation)
W3C, [Web Authentication Level 3: Attestation statement formats](https://www.w3.org/TR/webauthn-3/#sctn-defined-attestation-formats)
W3C, [Web Authentication Level 3: Registering a new credential](https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential)