The Doorkeeper identity: seeded, sidecar-driven, vouched for by the community identity, rescued with it #1300
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#1300
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Map: The community wallet: matou-app holds and presents IDIP credentials, and the Coa and IDSS setups are paired (#1293)
Question
Decide the Doorkeeper identity: booted at seeding (like the founder's first boot, ADR 0212 amendment) on the gateway's KERIA as a single-sig AID with the gateway's witnesses; owned by which unit (the bridge, via a signify sidecar — the ADR 0200 amendment that allows a server-side signify for a non-issuing identity); how the community identity vouches for it (delegation vs issued credential vs descriptor-named, from the research); how a wallet stores and shows it (a named contact, "the Ngāti X door", authenticated once by mutual challenge?); its place in the rescue dataset (ADR 0201) and what a restored gateway does (re-derive from the stored passcode vs mint a new doorkeeper and re-vouch); what the bridge does when the sidecar is down (fail closed, the browser twelve-words door as the fallback until retired). Output: an ADR (this repo) + the descriptor field it adds.
Reworded by ADR 0235 (2026-09-10, #1298)
The Doorkeeper is a pure verifier: it receives no registrations, issues no sign-in challenge (the bridge does — ADR 0212 §1, delivered by QR/deep link), holds no credential copies. Decide only: seeding it (its AID on the gateway KERIA, passcode in the ADR 0201 dataset), the verifier sidecar (signifypy per research #1299 / #1387) that accepts the wallet’s IPEX presentation and answers the bridge over loopback, how it resolves the community group AID / schema OOBIs /
community.registryfrom the descriptor, vouching by the community identity (research #1299: delegation vs credential), and rescue. Blocked by research #1387 (verification mechanics on the pinned stack).Ruled by agent under ADR 0174 — veto anytime.
Ruling: apply
no-triage. This is a/wayfinder-pipeline ticket (a child of map #1293), not work for the triage state machine. It moves through the wayfinder fan-out (grill-ux-with-docs→wireframe→to-spec) one ticket per session under/wayfinder; the triage state roles (ready-for-agent/needs-design/ etc.) do not apply until this feature reachesto-tickets.no-triagetells triage automation to skip it so it is not repeatedly re-surfaced as untriaged.Why a two-way door: a single additive label, reverted by removing it. It widens no security posture, destroys no data, spends nothing, and touches no credential or member-facing trust surface.
What proves it: the established precedent — the existing wayfinder map #262 carries exactly this pairing (
no-triage+wayfinder:map). These tickets are owned by the wayfinder pipeline in docs/agents/issue-tracker.md (Wayfinding operations), not by triage.Resolution — ADR 0236 (Ben's ruling, 2026-09-11; landed
d65ff9f6)There is no Doorkeeper identity. The sign-in bridge verifies a presented credential in Go against the issuer's witnessed ledger, read from the community witness. Seeding, the signify sidecar, vouching and the rescue entry all fall away; ADR 0200's "no Go signify" stands (bytes, not an agent client).
idss-idpchecks the wallet's signature over the challenge, recomputes the credential's and issuance event's SAIDs, finds theissseal and norevseal in the issuer's witnessed KEL (witnessGET /query, unsigned), matches the schema, and asserts holdera.i== the signing AID. Golden vectors from keripy pin the digests. Option A (AID + signifypy) rejected: one more identity to seed/rescue/re-vouch, a saved copy per presentation, two runtimes, and a door passcode an attacker could steal to impersonate the door.credentials().get(said, includeCESR=true)) with its signed challenge in ADR 0212'spresentationfield — the GLEIF vLEI-verifier convention, no IPEX wrapper. Present-as-holder is built general: the same export answers an IPEXapplyfrom any identity-bearing verifier with agrantfrom stored attachments, and posts raw to an HTTP door. The bridge's request names the schema it wants.(issuer, issuer OOBI, schema SAID, schema OOBI)rows; v1 pinned to the community identity + the two gateway schemas. Another issuer is a row + a rule, never a verifier change. The operator-editable list is out of scope on this map.doorkeeper{aid,oobi}retires,signin{url}arrives. The wallet keeps known doors — the home door pre-trusted from the descriptor, any other added once by first-contact consent ("a door you haven't met") and remembered; it never presents to a door it does not know. The challenge signature covers the door's address (idss-idp:<door url>:<aid>:<nonce>), so a harvested signature is worthless elsewhere.Amends ADR 0212 §1–2, ADR 0226 §5–6, ADR 0235 §5; charting ruling 4 reversed.
CONTEXT.md: Doorkeeper rewritten, Known door added. Detail: ADR 0236.