Research: the control-panel session key: a signing-only group member (C1) vs passcode handoff (C2) on KERIA 0.4.0 #1895
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1895
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?
Why
Ben ruled option C on #1886 (2026-09-25): the steward seat unlocks at control-panel sign-in. The phone hands the browser a temporary, limited key it can take back. KERI has no scoped key, so "limited" and "take back" have to come from how the community group identity is set up. The grill for #1886 found two candidate primitives, and Ben asked for measurements before ruling between them. This ticket measures them. It builds nothing that ships.
C1: a signing-only member of the community group. The browser mints a throwaway identity (keys in tab memory only). The steward's phone adds it to the community group identity via a group rotation, as a signing member only (
smids, notrmids; KERIA 0.4.0keria/app/aiding.py:730,:1129). It can anchor issuance and revocation but can never rotate the group. The phone takes it back by rotating it out.C2: passcode handoff. The phone sends the steward's passcode to the tab over an encrypted channel set up by the sign-in QR. The tab holds it in memory only and becomes a normal signify client of the steward's own agent (today's DDR 0217 §9 unlock, delivered by the phone instead of typed). This is the baseline C1 is weighed against.
Questions (answer each with evidence from a run on the pinned stack)
Stack: KERIA 0.4.0 / keripy 1.2.13 (the gateway pin,
internal/clan/keri.go, withinternal/clan/keriapatches/idss_patches.pyapplied), and the signify-ts version matou-app pins. Use a local world: KERIA + a witness + two stewards (1-of-2 group, as founded) + a community registry with at least one issued Membership credential. Not the live demo.C1
identifiers().rotateon the group withstates/rstates,groups().joinon the session side) and the wall-clock time, including witness receipts.community.registry, ADR 0235 d.4), and revoke one? What must be carried into the session agent first (the registry'svcp/TEL; see the promotion rail's ledger carry and research #1303's TEL export/re-register), and how long does that take?internal/keriauth, ADR 0236) accept a group key log whose rotations carry a signing key that is not in the prior next-key commitment (partial/custodial rotation)? Does a credential issued while a session member was in the group still verify after it is rotated out? This one decides whether members approved in the panel can sign in./multisig/rotnotification raised each time (ourROUTES_TO_NOTIFY_PENDINGpatch)? Does each steward's app have to act, or do they just follow the key log?catchup?C2 (baseline)
connect()ing to the steward's agent. What does a copied passcode let an attacker do, and what does the steward have to do to take it back (their own rotation, and does that also re-key their group membership)?Deliverable
docs/research/2026-09-XX-control-panel-session-key.mdwith a table of C1 and C2 across: works on the pinned stack (y/n + evidence), time at sign-in, time at sign-out, what a stolen key can do, how take-back works, what it costs other stewards, members-list coverage, and admin-inbox coverage (C1 does not reach the steward's personal inbox, ADR 0235 d.2). Keep the throwaway scripts underspikes/1886-session-key/. No ADR: the ruling is Ben's, and the #1886 grill resumes from this report.Parent
Map #1293 (ruling 9: the wallet is a full steward surface). The ruling this feeds amends ADR 0235 d.2, ADR 0246 d.9 and DDR 0217 d.9. Blocks the design of #1886.
Prior art:
spikes/1301-wallet-signin/(the Go verifier + golden vectors); research #1299 (delegation needs one steward approve per rotation); research #1303 (group hab viagroups().join, TEL export/re-register, keripy 1.2.13catchupbug);internal/clan/keriapatches/.🤖 Generated with Claude Code
swarm-claim host=matou-dev-server-01 run=32893
(automated multi-host claim — lowest live claim id works this ticket)
Superseded: Ben ruled without the research (2026-09-25). v1 uses C2, the passcode handoff. The phone delivers the steward's passcode to the control-panel tab at sign-in, so there are no group rotations per session. Tightening toward a scoped key (C1 or another primitive) is for a later version. Stop work on this ticket. No report is needed, and any branch for it can be deleted unmerged.
🤖 Generated with Claude Code
close-report for #1895 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope