Member lifecycle under IDIP: invite = ACDC issuance to a browser-minted AID; suspension = revocation; the ADR 0073/0074/0078/0105 counterparts #733

Closed
opened 2026-08-24 01:18:10 +00:00 by ben · 2 comments
Owner

Parent

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

Question

Map every member verb (CONTEXT.md: invite, join, awaiting approval, active, suspended, removed, rescue) onto KERI/ACDC: single-use invite links (ADR 0073) → the invitee mints an AID on the community KERIA via signify-ts in the browser and the community issues the membership ACDC; approval gating; suspension (ADR 0074) = ACDC revocation in the registry + gate session kill; removal; where the identity dataset lives (ADR 0078 puts it in the config repo — is the registry now the source of truth?); what replaces the kanidm adapter (ADR 0105) — a keria adapter with the same orchestrator seam (ADR 0077). Output: ADR amendments + the adapter interface sketch.

## Parent Map: [IDIP as a core identity alternative to kanidm](https://git.matou.nz/Matou/idss/issues/725) (#725) ## Question Map every member verb (`CONTEXT.md`: invite, join, awaiting approval, active, suspended, removed, rescue) onto KERI/ACDC: single-use invite links (ADR 0073) → the invitee mints an AID on the community KERIA via signify-ts in the browser and the community issues the membership ACDC; approval gating; suspension (ADR 0074) = ACDC revocation in the registry + gate session kill; removal; where the identity dataset lives (ADR 0078 puts it in the config repo — is the registry now the source of truth?); what replaces the kanidm adapter (ADR 0105) — a `keria` adapter with the same orchestrator seam (ADR 0077). Output: ADR amendments + the adapter interface sketch.
Author
Owner

Carry-over from the #732 prototype (see its resolution): (1) the keria adapter must expose the authoritative issued/not-revoked check to the bridge — a verifier agent never learns revocation on KERIA 0.2.0-rc1; (2) witness-down blocks JOIN (new AID + issuance), not sign-in — the honest degradation row belongs on the join flow; (3) member-side storage may freely choose passcode-per-sign-in (~7 s repeat sign-in proven).

Carry-over from the #732 prototype (see its resolution): (1) the keria adapter must expose the authoritative issued/not-revoked check to the bridge — a verifier agent never learns revocation on KERIA 0.2.0-rc1; (2) witness-down blocks JOIN (new AID + issuance), not sign-in — the honest degradation row belongs on the join flow; (3) member-side storage may freely choose passcode-per-sign-in (~7 s repeat sign-in proven).
ben self-assigned this 2026-08-24 15:16:33 +00:00
Author
Owner

Resolution (Ben, grilled 2026-08-24)

Landed as ADR 0198 (docs/adr/0198-idip-member-lifecycle-registry-truth-keria-adapter.md, commit b852b0b):

  1. Join (ADR 0073 counterpart): the single-use invite token IS the KERIA /boot authorisation (front-door forward-auth, #727) — no invite, no agent. The invite page mints the 12 words + AID in the browser; waiting = AID without credential, so the bridge refuses with no disable flag; approval = the group AID issues the membership ACDC (kt=1 of N, ADR 0197). Witness-down degrades join, not sign-in (#732) — the honest degradation row lives on join.
  2. Standing & roster (0074/0078/0105 counterparts): the registry TEL is the sole source of truth — suspend = revoke + gate session kill; removal = the same revocation + roster archive (KELs are permanent: removal un-members, never erases); re-admission = fresh issuance. The roster stays runtime people on the gateway, never re-rendered from config.
  3. The keria adapter (0077/0105 counterpart) signs nothing: ADR 0197 puts group keys only in stewards' agents, so signing acts (issue/revoke/rotation) ride the steward's signify session with the multisig + witness-receipt rails (#728); the adapter owns the unsigned surface — invite tokens, roster, orchestration, and IsIssued, the issuer-side check the bridge consults at sign-in and every refresh (#732's finding), recorded only after witness receipt. Founding's declarative provisioning owns services; the adapter owns runtime people. Hardening spike noted (not ruled): raw TEL read over public CESR routes.
## Resolution (Ben, grilled 2026-08-24) Landed as **ADR 0198** (`docs/adr/0198-idip-member-lifecycle-registry-truth-keria-adapter.md`, commit `b852b0b`): 1. **Join (ADR 0073 counterpart):** the single-use invite token IS the KERIA `/boot` authorisation (front-door forward-auth, #727) — no invite, no agent. The invite page mints the 12 words + AID in the browser; **waiting = AID without credential**, so the bridge refuses with no disable flag; approval = the group AID issues the membership ACDC (kt=1 of N, ADR 0197). Witness-down degrades join, not sign-in (#732) — the honest degradation row lives on join. 2. **Standing & roster (0074/0078/0105 counterparts):** the registry TEL is the sole source of truth — suspend = revoke + gate session kill; removal = the same revocation + roster archive (KELs are permanent: removal un-members, never erases); re-admission = fresh issuance. The roster stays runtime people on the gateway, never re-rendered from config. 3. **The keria adapter (0077/0105 counterpart) signs nothing:** ADR 0197 puts group keys only in stewards' agents, so signing acts (issue/revoke/rotation) ride the steward's signify session with the multisig + witness-receipt rails (#728); the adapter owns the unsigned surface — invite tokens, roster, orchestration, and **`IsIssued`, the issuer-side check the bridge consults at sign-in and every refresh** (#732's finding), recorded only after witness receipt. Founding's declarative provisioning owns services; the adapter owns runtime people. Hardening spike noted (not ruled): raw TEL read over public CESR routes.
ben closed this issue 2026-08-24 17:15:33 +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#733
No description provided.