Second factors
Keeping authenticators in step: WebAuthn Level 3 signals
On this page
- Introduction
- The two addresses
- Why a deleted passkey is still offered
- What Level 3 added
- How the signals follow the specification
- The payload
- Why it needs a session
- Why the script is a file
- The version implemented
- Requirements met
- Signature counter regressions
- The counter condition
- Handling a counter regression
- Which authenticators an organisation accepts
- What this proves, and what it does not
- Signing in without a password
- A passkey that stops being backed up
Introduction
A "passkey" is a sign-in credential kept on a device or in a password manager. When an administrator deletes somebody's passkey in Signari, the device does not know. It keeps offering the passkey at every sign-in, and the sign-in fails.
WebAuthn, the browser standard behind passkeys, added "signals" in its Level 3, so that a site can tell a device which passkeys it still accepts. Signari sends those signals. This page also covers how they follow the specification, which authenticators an organisation can accept, and how a person can sign in without a password.
Signals need passkeys to be configured for the instance, with an rp_id. The
authenticators an organisation accepts are set for each organisation.
The two addresses
Two addresses serve the signals:
TextGET /account/passkeys/signal what the browser needsGET /static/passkey-signal.js the page-side half
Why a deleted passkey is still offered
An administrator deletes somebody's passkey. The record is gone from Signari, but the credential is still on the authenticator, and the platform goes on offering it at every sign-in. The person picks it, it fails, and nothing in the interface explains why. A password manager that syncs across devices carries the stale entry to every one of them.
Before Level 3, no site had a way to tell an authenticator that it no longer knows a credential.
What Level 3 added
Level 3 added three signals:
signalUnknownCredential() | one credential is not recognised |
signalAllAcceptedCredentials() | here is the complete list; forget the rest |
signalCurrentUserDetails() | the name shown for this account changed |
They are in WebAuthn Level 3, on w3.org, a Candidate Recommendation dated 26 May 2026.
How the signals follow the specification
The dictionaries match the specification field for field
(AllAcceptedCredentialsOptions, CurrentUserDetailsOptions), and ids are
Base64URLString unpadded.
The script ignores results. §5.1.10 says that "signal methods do not indicate whether the operation succeeded", so the page does not branch on the outcome.
Requiring a session before returning the credential-id list is what §14.6.3 recommends: "Perform a separate authentication step ... before initiating the WebAuthn authentication ceremony and exposing the user's credential IDs."
signalUnknownCredential is implemented too.
§5.1.10.3 says to prefer signalAllAcceptedCredentials "when the user is
authenticated", and Signari sends it then. But a failed sign-in is when the
person is not authenticated. A person whose only passkey was deleted can never
reach the authenticated path, so their device would keep offering that passkey.
So a refused "assertion", the passkey's signed answer at sign-in, names the credential it refused:
JSON{ "error": "invalid_grant", "error_description": "the passkey was not accepted", "signal_unknown_credential": { "rpId": "example.com", "credentialId": "AQIDBA" } }
The id is captured in the credential-resolution closure. The library returns a nil credential on failure, and that closure is the only place the id exists.
This discloses nothing. The caller presented that id a moment before, so returning it tells them something they already had. §14.6.3's concern is about exposing ids to somebody who did not have them.
Signari names only a credential it does not hold. signalUnknownCredential
tells the authenticator to delete the credential (§5.1.10.2). So a failed
assertion against a passkey the person still has, such as one with a bad
signature, is refused without it. Sending it there would delete a working
passkey, and lock out a person whose only passkey it was. It is also omitted
when Signari cannot name the credential.
Signari decides this while it has the person's credentials in hand, by marking whether the presented one is among them. The library's error does not say which failure it was, so this cannot be worked out afterwards.
The payload
/account/passkeys/signal answers with an object like this:
JSON{ "rpId": "example.com", "userId": "q9lfMLcJpoU1A6-PApqrD…", "allAcceptedCredentialIds": ["MS-RKF4Ejgm7Su_vI2J5lA", "MWS1IudGaDevZKzu_pdm6Q"], "name": "alice@example.com", "displayName": "Alice" }
Field names are the specification's, so the page passes the object straight through. A mistyped field name does not cause an error: the call does nothing, in every browser.
For a person with three passkeys, the list changes like this as they are deleted:
Textthree registered: 3 credential(s): [MS-RKF4…, 96Qv5y…, MWS1Iu…]phone deleted: 2 credential(s): [MS-RKF4…, MWS1Iu…]all deleted: 0 credential(s): []
An empty list is an instruction: "forget every credential you hold for me". So it
serialises as [], never null. That is the case of a person whose last passkey
was deleted.
Why it needs a session
The list of credential ids for an account is a fingerprint of it: how many
authenticators, and which. Unauthenticated callers get 401 and nothing else.
Otherwise the endpoint would tell anyone which accounts exist.
Where passkeys are not configured at all (no rp_id), the answer is 501, not
an error. That is a deployment choice. A 500 would put a console error on every
sign-in of a deployment that does not use passkeys.
Why the script is a file
The script is served at a stable URL, not inlined, so the
Content-Security-Policy does not need 'unsafe-inline'. An inline script would
need a weaker Content Security Policy (CSP) to fix a cosmetic problem.
Every call is individually guarded. The methods reached browsers at different times, so a browser without one is ordinary, not an error. Without the guards, a page could throw on an older browser and break a sign-in that worked.
The version implemented
Signari implements the W3C Candidate Recommendation Snapshot, 26 May 2026, which is the current version. W3C is the World Wide Web Consortium, which publishes WebAuthn.
Requirements met
Signari meets these requirements as written:
| Requirement | Where | Result |
|---|---|---|
AllAcceptedCredentialsOptions / CurrentUserDetailsOptions field names and required-ness | §5.1.10.3–4 | exact, pinned by test |
userId is a Base64URLString of the user handle | dictionaries | base64.RawURLEncoding of core.users.user_handle, the same value the ceremony uses |
| Unpadded encoding | Base64URLString | RawURLEncoding |
| Credential ids not disclosed to an unauthenticated caller | §14.6.3 | /account/passkeys/signal answers 401 without a session |
signalUnknownCredential discloses nothing new | §14.6.3 | echoes back only the id the caller presented |
Empty credential list serialises as [], not null | §5.1.10.3 | pinned by test, since "forget everything" is an instruction |
A wrong userId does not cause an error: the call does nothing, in every
browser. Signari reads it from the same column the ceremony uses, so the two
cannot drift apart.
Signature counter regressions
The counter condition
A "disjunction" is a condition joined by or. This is §7.2 step 21, verbatim:
If
authData.signCountis nonzero orcredentialRecord.signCountis nonzero, then run the following sub-step:
- greater than
credentialRecord.signCount: The signature counter is valid.- less than or equal to
credentialRecord.signCount: This is a signal, but not proof, that the authenticator may be cloned.
Signari checks the condition as the specification writes it, with an or:
Gocloned := (stored != 0 || presented != 0) && presented <= stored
This table shows every case:
| stored | presented | Result |
|---|---|---|
| 0 | 0 | skipped |
| 0 | N | valid |
| N | >N | valid |
| N | ≤N, non-zero | signal |
| N | 0 | signal |
The last row cannot be explained by an authenticator that does not implement counters, since this one was counting until this assertion.
Passkeys that always report zero are unaffected. Synced passkeys are among them, because a credential synced across devices cannot keep a coherent counter. Their stored value stays zero, so the disjunction stays false, and the sub-step is skipped.
Handling a counter regression
A counter regression can be a clone, a malfunctioning authenticator, or a race between two concurrent assertions.
It is recorded at WARN and audited as mfa.passkey_counter_regression, so an
administrator can act on a pattern. It never destroys a credential. The sign-in
is refused, unless the organisation turns that off with
signari webauthn policy -refuse-cloned=false, which records it and signs the
person in. A false positive locks a legitimate person out of their own account,
which is the reason to turn the refusal off.
Which authenticators an organisation accepts
An organisation can require that passkeys come from approved authenticator models, such as hardware keys of a particular make. There are two settings, both per organisation:
attestation_conveyance | What to ask the browser for: none (default), indirect, direct or enterprise |
allowed_aaguids | Approved authenticator models. Empty accepts any |
Attestation is off by default. "Attestation" is an authenticator's signed statement of what it is. Requesting it sends that statement, which identifies the device model and, for some vendors, a manufacturing batch.
The WebAuthn specification makes none the default. It is the
privacy-preserving choice, and some browsers show the person an extra prompt
when a site asks for more. A deployment without an approved-device requirement
should not collect device identifiers from its people.
An AAGUID from a none registration is self-asserted. An AAGUID
(Authenticator Attestation Globally Unique Identifier) names an authenticator's
model. The authenticator data carries an AAGUID either way, and with no
attestation nothing vouches for it. A software authenticator can put a hardware
vendor's identifier in the field. Filtering on it would mean trusting a value
chosen by the authenticator being filtered.
So the allow-list refuses rather than compares when attestation was not
conveyed. The database refuses a policy that names an allow-list alongside
conveyance none. Each credential also records whether its AAGUID was vouched
for at registration. A later policy change cannot retroactively make an old
credential's AAGUID trustworthy.
The all-zero AAGUID never matches anything. It means "I decline to identify myself", which every privacy-preserving authenticator sends. Treating it as a value would let all of them match a single allow-list entry of zeroes.
What this proves, and what it does not
With conveyance raised, the attestation statement's format and signature are
verified. The attestation certificate is not validated against a FIDO Metadata
Service root, because this deployment holds no MDS attestation roots. FIDO is
the Fast IDentity Online alliance, whose Metadata Service (MDS) lists
authenticator models. internal/fidomds maps AAGUIDs to model names, and carries
no certificates.
The allow-list stops a casual software authenticator, which cannot produce a well-formed packed attestation for a hardware vendor's AAGUID. It does not stop somebody who obtains a genuine attestation key.
Signing in without a password
Somebody with two passkeys can remove their password at /account/security.
It needs a recent sign-in, and is never allowed in an impersonation. It is
audited as user.password_removed, and the person is told on every channel.
One passkey is not enough, because losing that device would end the account. A passkey cannot be copied off its authenticator, and with no password left, nothing else would let them in. The page says so, instead of hiding the button without a reason.
Two are still not enough where the organisation's sign-in flow takes no passkey alone, such as a flow that asks for the password on every sign-in. Removing the password there would leave the person a way in that the flow refuses.
The directory's delete userPassword passes the same rule. A person without a
password sets one through account recovery.
Signing up with a passkey in place of a password is not built yet.
A passkey that stops being backed up
A synced passkey reports, on each sign-in, whether it is backed up (the BS flag of WebAuthn §6.1.3). It can go from backed up to not, when a backup service is turned off or fails. Losing that one device would then lose the passkey.
The specification names the site the "relying party", and says it "SHOULD guide
the user through a process to validate their other authentication factors". So
besides mfa.passkey_backup_lost, the person is told, by mail and by text
message where a number is verified. The message names the passkey, and links to
their security page. There they can see what else signs them in, and add
another.
They are told once per transition. The new state is stored with the sign-in, so the next one from it says nothing, until the passkey is backed up again and loses it again.
Changed Signari v0.2