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
| Refused | Reason |
|---|---|
| Passwords, SMS codes, TOTP as login | They can be phished or copied |
| Sign-in by email link alone | The mailbox becomes the credential |
| Sign-in at another provider alone | That provider, or its account recovery, becomes the credential |
OAuth implicit and password grants, PKCE plain | Replaced by RFC 9700 |
| SAML | XML signatures are a large attack surface |
Algorithm negotiation, alg: none | Downgrade attacks |
| API keys without an end, or that act as the user | A device key does the same without a copyable secret |
| A compatibility mode | Every mode is a weaker way in |
Not now
| Not now | What can change it |
|---|---|
| Email links as login | An application that needs them. Then only as an opt-in, with short sessions, no fresh login, never with e2ee |
| Passwords | Only 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.