Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

001 Authentication only, keys only, one strict profile

Summary: why auth-chad logs people in with keys only, leaves authorization to the application, and has no weaker settings.
Key terms: passkey, device key, profile, policy, refused, not now.
Related: Concepts · Threats

Date: 2026-11-24. State: in force.

Decided

  • Login is proof of a key. Anything that can be copied must be short-lived, single-use or limited. A stolen database, log line or token must not let a thief log in.
  • Authentication only. The library answers who, how, how recently, with which key, in which tenant. The application answers what they may do. Roles, permissions and sharing are out of scope.
  • One profile. A release has one set of algorithms, checks and upper limits. Policies only tighten.
  • The application owns its data. Auth tables live in its database, next to its own.
  • Nothing hidden. Clock, randomness, storage, network and mail are inputs. No logs; events are writes.
  • The spec is the product. Each language implements it. Rust is the first.

Refused

RefusedReason
Passwords, SMS codes, TOTP as loginThey can be phished or copied
Sign-in by email link aloneThe mailbox becomes the credential
Sign-in at another provider aloneThat provider, or its account recovery, becomes the credential
OAuth implicit and password grants, PKCE plainReplaced by RFC 9700
SAMLXML signatures are a large attack surface
Algorithm negotiation, alg: noneDowngrade attacks
API keys without an end, or that act as the userA device key does the same without a copyable secret
A compatibility modeEvery mode is a weaker way in

Not now

Not nowWhat can change it
Email links as loginAn application that needs them. Then only as an opt-in, with short sessions, no fresh login, never with e2ee
PasswordsOnly to move old accounts: check an old password once, and use the result as permission to create a passkey

What we write and what we use

We write protocol logic and small, strict parsers, because they must match in every language. We use well-reviewed libraries for curves, hashes, ciphers, TLS and database drivers. Fewer dependencies is a goal; own cryptography is not.

Before 1.0

A short working example, a doctor command, ready screens that an application can replace, runbooks (key rotation, stolen database, lost passkeys), and an external security review.