Sign-in: passkeys, setup token, Installations #5

Closed
opened 2026-10-13 15:01:12 +00:00 by kayg · 1 comment
Owner

Passkey sign-in and Installations (ADR 0029, 0030).

  • auth.db, users (UUID), WebAuthn passkeys, rpId per host.
  • First owner: long one-time setup token printed on first start. calternal user recover <name> prints a new one.
  • Cookie session for browsers; every client is an Installation with a revocable token (browser now; native, CLI, agents, DAV later).
  • No open sign-up, no links, no OIDC yet.
  • Fuzz/abuse suite for every endpoint (ADR 0007).
Passkey sign-in and Installations (ADR 0029, 0030). - auth.db, users (UUID), WebAuthn passkeys, rpId per host. - First owner: long one-time setup token printed on first start. `calternal user recover <name>` prints a new one. - Cookie session for browsers; every client is an Installation with a revocable token (browser now; native, CLI, agents, DAV later). - No open sign-up, no links, no OIDC yet. - Fuzz/abuse suite for every endpoint (ADR 0007).
Author
Owner

PR open for review: #19

Passkey sign-in, first-owner setup token, calternal user recover, Installations with revocable tokens, and the account plugin. 69 workspace tests green, including a 16-way race on one setup token (exactly one wins) and an abuse suite. Not merged.

PR open for review: https://git.kayg.org/kayg/calternal/pulls/19 Passkey sign-in, first-owner setup token, `calternal user recover`, Installations with revocable tokens, and the `account` plugin. 69 workspace tests green, including a 16-way race on one setup token (exactly one wins) and an abuse suite. Not merged.
kayg closed this issue 2026-10-13 16:05:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#5
No description provided.