Founder ceremony: mnemonic-shown-once replaces the kanidm admin password; rescue = recover-from-mnemonic #730

Closed
opened 2026-08-24 01:18:03 +00:00 by ben · 1 comment
Owner

Parent

Map: IDIP as a core identity alternative to kanidm (#725)

Question

Under IDIP the founder holds a 12-word mnemonic (matou-app's passcodeFromMnemonic) rather than a kanidm password/passkey. Decide: where in founding the mnemonic is shown and confirmed (write-it-down + confirm step, matou-app pattern); whether it is ever stored by the operator app (secure storage vs never); how ADR 0088's rescue ladders map (recover-from-mnemonic replaces reset link; what if the mnemonic is lost — is there any operator-side rescue, or is that honestly a dead end?); passkeys' role (ADR 0170's floor ruling does not apply — is a passkey-wrapped mnemonic in scope?). Output: a DDR for the ceremony screen + an ADR amending 0088 for the IDIP ladder.

## Parent Map: [IDIP as a core identity alternative to kanidm](https://git.matou.nz/Matou/idss/issues/725) (#725) ## Question Under IDIP the founder holds a 12-word mnemonic (matou-app's `passcodeFromMnemonic`) rather than a kanidm password/passkey. Decide: where in founding the mnemonic is shown and confirmed (write-it-down + confirm step, matou-app pattern); whether it is ever stored by the operator app (secure storage vs never); how ADR 0088's rescue ladders map (recover-from-mnemonic replaces reset link; what if the mnemonic is lost — is there any operator-side rescue, or is that honestly a dead end?); passkeys' role (ADR 0170's floor ruling does not apply — is a passkey-wrapped mnemonic in scope?). Output: a DDR for the ceremony screen + an ADR amending 0088 for the IDIP ladder.
ben self-assigned this 2026-08-24 13:21:09 +00:00
Author
Owner

Resolution (Ben, grilled 2026-08-24)

Three rulings, landed as ADR 0195 (docs/adr/0195-idip-founder-ceremony-mnemonic-and-rescue-ladder.md, commit 0ae4f97, amends 0088):

  1. Ceremony placement: a new gate S6a "Write down your recovery phrase" between S6 Review and stand-up, IDIP path only — mnemonic generated locally, shown once, Create gated on re-entering 3 randomly-picked words; honest loss statement on-screen. (Rejected: on S3a — too early, stale phrases; during stand-up — breaks the unattended folded bar, DDR 0144.)
  2. Persistence: mnemonic never written to disk; the derived passcode lives in the OS keychain (Electron safeStorage). matou-app localStorage parity rejected. The member-side browser story must rule its own storage (#733).
  3. Rescue (0088 amendment): three rungs — recover-from-phrase (matou-app flow, reuse inventory #728); re-key-now from a signed-in device (rotation mechanism verified at build time, degrades to an honest warning if disproven); both-lost = honestly-named end state (KELs survive on the gateway — #738's backup scope — control does not; community-continuity consequence hangs on #737). Passkey-wrapped mnemonic out for v1; ADR 0170 stays kanidm-only.

S6a's DDR/wireframe lands with the founding-wizard design ticket #735.

## Resolution (Ben, grilled 2026-08-24) Three rulings, landed as **ADR 0195** (`docs/adr/0195-idip-founder-ceremony-mnemonic-and-rescue-ladder.md`, commit `0ae4f97`, amends 0088): 1. **Ceremony placement:** a new gate **S6a "Write down your recovery phrase"** between S6 Review and stand-up, IDIP path only — mnemonic generated locally, shown once, Create gated on re-entering 3 randomly-picked words; honest loss statement on-screen. (Rejected: on S3a — too early, stale phrases; during stand-up — breaks the unattended folded bar, DDR 0144.) 2. **Persistence:** mnemonic never written to disk; the derived passcode lives in the OS keychain (Electron `safeStorage`). matou-app `localStorage` parity rejected. The member-side browser story must rule its own storage (#733). 3. **Rescue (0088 amendment):** three rungs — recover-from-phrase (matou-app flow, reuse inventory #728); re-key-now from a signed-in device (rotation mechanism verified at build time, degrades to an honest warning if disproven); both-lost = honestly-named end state (KELs survive on the gateway — #738's backup scope — control does not; community-continuity consequence hangs on #737). Passkey-wrapped mnemonic **out for v1**; ADR 0170 stays kanidm-only. S6a's DDR/wireframe lands with the founding-wizard design ticket #735.
ben closed this issue 2026-08-24 13:30:32 +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.

Reference
Matou/idss#730
No description provided.