Replace your twelve words: build ADR 0195 rung 2's re-key screen — C2's stated remedy has no door #1914

Open
opened 2026-09-27 17:46:05 +00:00 by matou-build-agent · 0 comments

Why

ADR 0282 d.4 tells a steward who suspects their access was copied to "change
your passcode"
. On IDIP that line names something a steward cannot do:

  • A steward never sees a passcode. They hold twelve words; the passcode
    (bran) is derived from them (passcodeFromMnemonic, ADR 0195).
  • There is no screen. The mechanism exists — KERIClient.rekey(newMnemonic)
    (app/src/lib/keri/client.ts), ADR 0195's rescue rung 2, verified at build
    time by ADR 0201's verifyPasscodeRotation — but no component, page or
    wireframe offers it. I searched app/src/components, pages, screens and all
    of docs/ux/wireframes: nothing.

This now matters more than it did. ADR 0282 ruled the C2 passcode handoff: at
control-panel sign-in the steward's phone hands the browser tab their passcode.
Its accepted limit is that a copied passcode is the steward's whole identity, and
the stated remedy is re-keying. So C2's entire safety story rests on a door that
does not exist.

Ben ruled (2026-09-27) that the wallet's copy reads "replace your twelve
words"
and that this screen is filed as its own ticket. PU-W5
(docs/ux/wireframes/panel-unlock/pu-w5-sign-out-everywhere.html) already carries
data-action="open-replace-phrase" pointing at it, with a comment that the line
must not ship before the screen does.

Good news: the remedy is milder than the records say

Research #1895's C2 column, which ADR 0282 d.1 inherited, says take-back
"requires a new steward identity + re-vouch + group re-key — one-way door".
The code is gentler. rekey runs signify's SignifyClient.rotate(nbran, aids), which advances the agent's controlling key to the new bran and
re-encrypts every managed AID's salt under it, so the prefixes survive — the
steward's own AID and the community group AID — and the old phrase then reaches
an empty agent (app/tests/unit/keri/rekey.test.ts). No new identity, no
re-vouching, no group re-key. DDR 0284's closing section records this correction,
and an amendment on ADR 0282 carries it.

Scope

A wallet screen for ADR 0195 rung 2, reachable from the identity screen and from
PU-W5's line. It needs to:

  • generate a new twelve-word phrase, show it once, and confirm it the way founding
    does (re-enter randomly-picked words — ADR 0195's ceremony, #1706's twelve-box
    layout);
  • state plainly what re-keying does and does not do (see below);
  • perform the rotation and report honestly if it fails, degrading to ADR 0195's
    warning rather than dead-ending (DDR 0088);
  • make the old phrase's death unmistakable — anything written down is now wrong.

One thing to settle first

rekey retires the passcode. It is not established that it rotates each AID's
KERI signing keys.
rotate(nbran, aids) re-encrypts salts; whether keys an
attacker already extracted stop verifying as current is a different operation,
and verifyPasscodeRotation does not cover it. So:

  • no copy may promise the steward is "safe" — only that the leaked passcode
    stops working
    ;
  • if the stronger property is wanted (extracted keys made useless), that is a
    real KERI key rotation per AID, including a multisig rotation for the
    community group AID, and it needs its own ruling before any copy implies it.

Worth answering before the screen's words are written, because the honest claim
and the reassuring claim are different sentences.

Acceptance

  • A steward can replace their twelve words from the wallet, and the old phrase
    afterwards reaches an empty agent.
  • Both AID prefixes are unchanged; membership, credentials and stewardship all
    survive.
  • PU-W5's open-replace-phrase reaches it, and the "replace your twelve words"
    line ships with it, not before.
  • Copy claims only what the mechanism delivers, per the question above.
  • A failed rotation shows ADR 0195's honest warning.

References

ADR 0195 (the ladder, rung 2), ADR 0201 + verifyPasscodeRotation (the build-time
check), DDR 0088 (degrade honestly), ADR 0282 d.1/d.4 (the limit and the copy),
DDR 0284 (the correction), research #1895, #1706 (the twelve-box layout), #1886.

🤖 Generated with Claude Code

https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY

## Why **ADR 0282 d.4** tells a steward who suspects their access was copied to *"change your passcode"*. On IDIP that line names something a steward cannot do: - A steward never sees a **passcode**. They hold **twelve words**; the passcode (`bran`) is derived from them (`passcodeFromMnemonic`, ADR 0195). - **There is no screen.** The mechanism exists — `KERIClient.rekey(newMnemonic)` (`app/src/lib/keri/client.ts`), ADR 0195's rescue **rung 2**, verified at build time by ADR 0201's `verifyPasscodeRotation` — but no component, page or wireframe offers it. I searched `app/src/components`, `pages`, `screens` and all of `docs/ux/wireframes`: nothing. This now matters more than it did. ADR 0282 ruled the **C2 passcode handoff**: at control-panel sign-in the steward's phone hands the browser tab their passcode. Its accepted limit is that a copied passcode is the steward's whole identity, and the stated remedy is re-keying. So C2's entire safety story rests on a door that does not exist. Ben ruled (2026-09-27) that the wallet's copy reads **"replace your twelve words"** and that this screen is filed as its own ticket. `PU-W5` (`docs/ux/wireframes/panel-unlock/pu-w5-sign-out-everywhere.html`) already carries `data-action="open-replace-phrase"` pointing at it, with a comment that the line must not ship before the screen does. ## Good news: the remedy is milder than the records say Research #1895's C2 column, which ADR 0282 d.1 inherited, says take-back "requires a new steward identity + re-vouch + group re-key — one-way door". **The code is gentler.** `rekey` runs signify's `SignifyClient.rotate(nbran, aids)`, which advances the agent's controlling key to the new bran and re-encrypts every managed AID's salt under it, so **the prefixes survive** — the steward's own AID *and* the community group AID — and the old phrase then reaches an empty agent (`app/tests/unit/keri/rekey.test.ts`). No new identity, no re-vouching, no group re-key. DDR 0284's closing section records this correction, and an amendment on ADR 0282 carries it. ## Scope A wallet screen for ADR 0195 rung 2, reachable from the identity screen and from `PU-W5`'s line. It needs to: - generate a new twelve-word phrase, show it once, and confirm it the way founding does (re-enter randomly-picked words — ADR 0195's ceremony, `#1706`'s twelve-box layout); - state plainly what re-keying does and does not do (see below); - perform the rotation and report honestly if it fails, degrading to ADR 0195's warning rather than dead-ending (DDR 0088); - make the old phrase's death unmistakable — anything written down is now wrong. ## One thing to settle first **`rekey` retires the passcode. It is not established that it rotates each AID's KERI signing keys.** `rotate(nbran, aids)` re-encrypts salts; whether keys an attacker already extracted stop verifying as *current* is a different operation, and `verifyPasscodeRotation` does not cover it. So: - no copy may promise the steward is "safe" — only that **the leaked passcode stops working**; - if the stronger property is wanted (extracted keys made useless), that is a real KERI key rotation per AID, including a **multisig rotation** for the community group AID, and it needs its own ruling before any copy implies it. Worth answering before the screen's words are written, because the honest claim and the reassuring claim are different sentences. ## Acceptance - A steward can replace their twelve words from the wallet, and the old phrase afterwards reaches an empty agent. - Both AID prefixes are unchanged; membership, credentials and stewardship all survive. - `PU-W5`'s `open-replace-phrase` reaches it, and the "replace your twelve words" line ships **with** it, not before. - Copy claims only what the mechanism delivers, per the question above. - A failed rotation shows ADR 0195's honest warning. ## References ADR 0195 (the ladder, rung 2), ADR 0201 + `verifyPasscodeRotation` (the build-time check), DDR 0088 (degrade honestly), ADR 0282 d.1/d.4 (the limit and the copy), DDR 0284 (the correction), research #1895, #1706 (the twelve-box layout), #1886. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
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.

Dependencies

No dependencies set.

Reference
Matou/idss#1914
No description provided.