panel-unlock 5b/7 — the steward bundle mints the sealing key and opens the sealed passcode (the phone unlock's missing half, #1929) #1938
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1938
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
docs/ux/flows/panel-unlock.mermaid· wireframespanel-unlock/pu-m0q-*,pu-m0x-*What to build
#1934 shipped the panel's phone unlock at the dashboard seam:
PhoneUnlockScreen, thewaiting/failed/mismatch states, and a handover port whose two verbs are declared on the steward
bundle's interface —
Nothing implements them. They appear only in
dashboard/src/lib/idip.ts,signingSession.tsand three test files; the bundle mounted onwindow.idssKeriSteward(
app/src/keriweb/main.ts) still exposes only approve / issue / revoke / unlock(phrase) / lock /isUnlocked / ledgerMembers. So the panel's phone unlock is unit-green and cannot work in a real
browser — the production loader would find both verbs undefined. This ticket builds them, the
way #1930 built the ledger read: real code in the bundle, proven at
app/tests/unit.The shape to build (settled — verified against the installed signify-ts)
crypto_box_sealis not exported by signify-ts, butEncrypter,DecrypterandCipherare(
dist/exports.js), and signify's ownControlleralready performs exactly this handover:Encrypteraccepts an Ed25519 verkey and converts it to X25519 itself;Decrypteraccepts anEd25519 seed and does the same. So:
mintSealingKey()mints a fresh Ed25519Signerin bundle memory and returns its verkeyqb64 as
publicKey(what ridesek=) plus the short fingerprint PU-M0q prints. Each callreplaces any prior key; a page holds at most one; nothing is written anywhere.
unlockFromSealedBox()opens the wallet's cipher withnew Decrypter({}, seedQb64b)→a
Salter→ the bran, connects as a signify client of the steward's agent, and asserts theconnected agent AID equals
expectedAid.Neither side imports libsodium. matou-app#663 carries the sealing half of this same contract.
Correct the stale wording in the same PR:
dashboard/src/lib/idip.tsanddashboard/src/lib/handoverPort.tsdescribe "a fresh X25519 keypair" and "a libsodium sealed box"(ADR 0282 d.6's literal phrasing, written before this was settled), and ADR 0282 d.6 itself says
the tab "mints a throwaway X25519 key pair". The material is an Ed25519 seed whose verkey rides
ek=; the cipher is CESR qb64, not raw bytes. No behaviour changes — the door relays both asopaque strings (
appdoor.go, #1933).Acceptance criteria
window.idssKeriStewardand satisfy the declared interface — no undefined at runtime.mintSealingKey(), when called, then it returns an Ed25519 verkey qb64 aspublicKeyplus a short fingerprint, holding the seed in memory only.mintSealingKey(), when compared, then the second replaces the first and returns a different key — a page holds at most one.Encrypter(the wallet's half), whenunlockFromSealedBox()runs, then the passcode is recovered, the client connects, andisUnlocked()→ true.expectedAid, when the check runs, then the passcode is discarded, the seat stays locked, and{ kind: 'agent-mismatch' }is thrown — no retry, no continue-anyway.localStorage,sessionStorage, IndexedDB or a log, and no plaintext passcode appears in a thrown message.await ready()has not run, when a verb is called, then it initialises libsodium first rather than throwing (signify'sEncrypter/Decrypterrequire it).Controllerbuilds'0A' + 'A' + bran, whileapp/src/lib/keri/derivation.tsrecovers a bran withsubstring(2, 23). Both are 21 bran chars either side of one pad, but one prepends and the other trims — a seal-then-open test over a fixed vector must prove the recovered bran is byte-identical to the sealed one.idip.ts,handoverPort.tsand ADR 0282 d.6 is corrected; STATUS.md updated in the same commit.Blocked by
Task manifest
Filed by
/to-ticketsfollow-up on spec #1929 after #1934 closed with these verbs declared but unimplemented; Ben confirmed filing and the #1936 edge 2026-09-27.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
swarm-claim host=elitebook-distributed-server-03 run=34408
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1938 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
adminInbox— Members' "waiting for approval" has never worked on a live community (#1932 built against a fake) #1977