Pcornel
Identity · Authentication

FIDO2

Cheat sheet · https://pcornel.dk/topic.php?topic=4480

Back to the Topic

Answer

Registration creates a relying-party-scoped credential key pair; authentication signs a fresh challenge with the private key after user presence or verification, while the relying party validates origin, RP ID, challenge, flags and signature.

Remember

  • FIDO2 ≠ hardware security key only.
  • Public key stored by server ≠ reusable authentication secret.
  • User presence ≠ user verification.
  • Attestation ≠ required identity proof or universally desirable privacy trade-off.

First checks

  • Registered FIDO2 keys — coverage
  • Attestation policy — allowed authenticators
  • ykman fido info — YubiKey FIDO status

Verify in this order

authenticator key pair → origin-bound challenge → signature

Where it usually breaks

First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.

Authentication → FIDO2 proof map

BoundaryEstablishDoes not establish
Identity and scopeStable subject/account/resource mapping, owner, lifecycle state and expected actionDoes not prove credential control or effective access
Policy and ceremonyEffective entitlement or authenticator/verifier policy plus all fallback pathsConfiguration presence does not prove enforcement or assurance
OutcomeAllowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetryOne success does not prove every interface, session or downstream target
ClosureOriginal end-to-end action retested; residual access/risk, owner and review trigger recordedAdministrative workflow completion alone is not closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4480

Confirmation

Confirm action

Continue?