Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

Attestation and authenticator models

A passkey sign-in proves that the right private key signed. It says nothing about the device holding that key. Attestation is how an authenticator can say what model it is, with its manufacturer's signature behind the claim, and this lesson follows what a relying party must check before that claim is worth anything.

Which device made the credential

Ava signs in to the photo service with whatever passkey her phone offers, and that suits the photo service well. Its administrators are different. They can restore deleted accounts and change sign-in settings for every customer, so the photo service has issued each of them a certified hardware security key, and for the administrators' console it wants to accept only those keys. A successful sign-in cannot tell it that. The assertion from The authentication ceremony proves that some private key signed the challenge, not where that key lives or who made the device.

Attestation is how an authenticator can say what it is. At registration, alongside the new credential, it can include a statement signed by an attestation key that its manufacturer put into that model, with a certificate chain leading back to the manufacturer. Chains work as Certificate authorities and chains described for websites: each certificate is signed by the one above it, up to a root the checker already trusts. If the chain checks out against a root the photo service trusts for that model, the photo service learns the model with the manufacturer's word behind it. It can tie that knowledge to the new credential, because the statement signs the same authenticator data that carries the credential's public key.

The model is identified by its AAGUID, the 16 bytes at the start of the attested credential data that The registration ceremony called the authenticator model's identifier. On its own the AAGUID is only a claim. Any software can write any AAGUID into its own authenticator data, so the claim is worth relying on only when a verified attestation statement stands behind it.

fmt none

Statement
Empty
Signed by
Nobody
Chain to root
None
AAGUID
Approved model

On its own the AAGUID is only a claim.

packed, self

Statement
alg and sig
Signed by
The credential's own new key
Chain to root
None
AAGUID
Approved model

On its own the AAGUID is only a claim.

packed, basic

Statement
alg, sig and x5c
Signed by
The model's attestation key
Chain to root
Reaches the model's root
AAGUID
Approved model

The model, with the manufacturer's word behind it.

Attestation says what the device is. It does not say who the person is.

Three registrations that report the same approved model. Only the statement whose certificate chain reaches the model's published root turns the claim into a fact about the device.

Asking for attestation

The attestation member of the creation options is a preference, called the attestation conveyance preference:

ValueWhat the relying party is asking for
noneNo attestation. The default, and the right choice for most sign-in.
indirectSome attestation, but the browser may replace it with an anonymized one to protect privacy.
directThe statement exactly as the authenticator made it.
enterpriseA statement that can identify the individual device, for organizations that manage their own devices. Browsers allow it only for relying parties configured by policy.

A preference is not a guarantee, and the photo service must read what actually comes back. The browser may ask the person's permission before passing on identifying attestation, and they may decline. A synced passkey, one that a password manager or platform account copies to the person's other devices, usually comes with none whatever was requested, because one credential on many devices has no single device to vouch for. Asking for direct and receiving fmt: "none" is normal, and the policy has to say what happens then.

Formats and statements

With attestation: "direct", an administrator's security key returns an attestation object like this one, shown in the same CBOR text notation as the registration lesson, with long values shortened:

text
{
  "fmt": "packed",
  "attStmt": {
    "alg": -7,
    "sig": h'3045022100c3...',
    "x5c": [ h'308202bd308201a5...' ]
  },
  "authData": h'6ddf25aa...3c58bfea 45 00000001 cb69481e8ff7403993ec0a2729a154a8 0040 ...'
}

fmt names the format, here packed, the general format FIDO2 authenticators use. sig is a signature, made with the attestation key, over the authenticator data followed by the hash of clientDataJSON, the same pair an assertion signs. x5c holds the attestation certificate first, then any intermediate certificates. alg says how sig was made, here -7, ES256. The authenticator data inside carries the same flags, counter and AAGUID as any registration, plus the new credential.

Other formats exist because different platforms build attestation differently. tpm comes from a computer's TPM, the security chip built into many laptops and desktops. android-key comes from Android's hardware keystore, and apple from Apple devices. fido-u2f comes from older security keys built for U2F, the earlier FIDO standard that used a key only as a second step after a password. Then there is none. The latest edition of the WebAuthn specification, Level 3, adds compound, which carries several statements at once. Each format has its own verification procedure in the specification.

Statements also differ in how much they reveal, which the specification calls the attestation type. A basic statement is signed by a key shared across a batch of at least 100,000 devices of one model, so it names the model without singling out the device. A self statement is signed by the credential's own new key, which proves the authenticator holds that key but says nothing about the model. An anonymization CA is a certificate authority that issues a fresh attestation certificate for each credential, so two registrations cannot be linked. Self attestation, like none, cannot satisfy a policy that names approved models.

Checking against the metadata service

Verifying the signature with the key in x5c is not enough, because anyone can make a certificate. The photo service has to know which root certificates belong to which models. The FIDO Alliance, the industry group that publishes the FIDO standards and certifies authenticators, provides that knowledge through the FIDO Metadata Service. It is a single signed JSON Web Token, called the metadata BLOB, holding one entry per certified model:

json
{
  "aaguid": "cb69481e-8ff7-4039-93ec-0a2729a154a8",
  "metadataStatement": {
    "description": "Example Security Key Series 5",
    "attestationTypes": ["basic_full"],
    "userVerificationDetails": [[{ "userVerificationMethod": "presence_internal" },
                                 { "userVerificationMethod": "passcode_external" }]],
    "keyProtection": ["hardware", "secure_element"],
    "attestationRootCertificates": ["MIICHjCCAaSgAwIBAgIJAOX..."]
  },
  "statusReports": [
    { "status": "FIDO_CERTIFIED_L2", "effectiveDate": "2025-03-14" }
  ],
  "timeOfLastStatusChange": "2025-03-14"
}

The entry describes the model. attestationTypes says it makes basic statements. userVerificationDetails lists how it can check the person: a touch on the key itself, and a PIN typed on the computer. keyProtection says its keys live in hardware, in a secure element, a tamper-resistant chip that uses keys without ever letting them out. attestationRootCertificates holds the roots the model's attestation certificates chain to. FIDO_CERTIFIED_L2 is a certification level: level 1 tests that the authenticator follows the protocol, and higher levels also test how well it protects its keys against attack.

The photo service checks the BLOB's own signature against the FIDO Alliance's root, as for any signed token from Inside a JWT, and the BLOB's nextUpdate date, which says when a newer copy is due, so it does not keep using a stale one. At registration it looks up the AAGUID, builds a chain from the x5c certificates to one of that entry's attestationRootCertificates, and confirms that the attestation certificate's details match the model. Only then can the policy compare the model with its approved list. If the metadata cannot be fetched or has expired, a policy that depends on it should refuse new registrations of that kind rather than quietly treat the model as fine.

Model status has a lifecycle

The statusReports list changes over time. A model certified today can later be reported as USER_VERIFICATION_BYPASS, when someone finds a way to skip its PIN check, or ATTESTATION_KEY_COMPROMISE, when its batch attestation key leaks and any statement signed with it becomes worthless, or REVOKED. The photo service has to decide in advance what each report means for it. A compromise of the attestation key may only stop new registrations of that model, because existing credentials were checked while the key was still trustworthy. A verification bypass may require the administrators to enroll replacement keys and remove the old ones.

Keep the subjects apart, too. Attestation says what the device is. It does not say who the person is; that is identity proofing. It does not say what they may do; that is authorization. An approved key gives the administrators' console a stronger authenticator, not a stronger role.

Privacy and what to require

Attestation has a cost. It tells a website which device a person owns, and an enterprise statement can identify the device itself. That is why browsers mediate it and why most consumer sites ask for none. A broad population such as the photo service's customers is better served by accepting every passkey and protecting recovery well than by refusing the devices people already have.

The backup flags are sometimes mistaken for a cheaper substitute. BE and BS tell the photo service whether a credential can be, and is, copied by its provider. A credential with BE clear stays on one authenticator, but that bit comes from the authenticator itself, so it is not evidence of a certified secure element, a particular model or hardware that cannot be copied. A policy that needs those facts needs verified attestation.

For the administrators, the complete design is direct attestation, a list of approved AAGUIDs with chains checked against the metadata service, a decision for each status change, and an enrollment and recovery process that issues and replaces keys in person. Ava and the other customers keep none.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

A new passkey for the photo service's administrators' console reports the AAGUID of an approved security key model, with fmt set to none. Can it satisfy a policy that allows only that model? 1 of 3

Choose one answer.

The FIDO Metadata Service starts reporting ATTESTATION_KEY_COMPROMISE for the security key model the photo service issues to its administrators. Which response is reasonable? 2 of 3

Choose one answer.

A developer suggests letting the photo service's administrators register any credential with BE clear, since a key that cannot be synced must be certified hardware. What is wrong with that? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity