GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: encrypted identity backup — seed-phrase export/restore + passphrase-wrapped server backup · Issue #2381 · developing-today/code

id: encrypted identity backup — seed-phrase export/restore + passphrase-wrapped server backup #2381

New issue
Copy link
New issue
Copy link
Closed
Closed
id: encrypted identity backup — seed-phrase export/restore + passphrase-wrapped server backup#2381
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Follow-up from the key-recovery investigation on #2060 (doc: doc/2026-10-29T11-28-18Z_investigation_key_recovery_hosted/, §4/§7 and §11). Parent epic: #2056.

Ordering (triaged 2026-11-03)

Slices per the investigation's §11; this issue is the umbrella for the export/server-backup/rotation remainder, not one implementation task:

  • Slice 1 — id key export / id key import passphrase-wrapped envelope: id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279 (open, queued, not started). Prerequisite for everything below; do not build a second envelope format here.
  • Seed-phrase (BIP39-style) export/restore — unique to this issue; shares id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279's KDF/envelope module; dispatch after id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279.
  • Server-side backup blob + rate-limited blinded unwrap (OPRF) — design decision first (no OPRF or backup-blob code exists at main); ciphertext-only server storage; depends on slice 1.
  • Restore-forces-rotation flag — needs the keyset log substrate in id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380 (device keys, revocation, bindings).
  • Guardian/social recovery is id: guardian social recovery — threshold approvals + delayed, cancellable key rotation #2382; issuer key rotation is id: design: issuer key rotation and compromise recovery for currency issuers (from #2041) #2804 (different scope).

Problem

If the only ID key is lost and no device survives, there is no recovery path that keeps the server from holding keys. The investigation recommends encrypted backups where the server holds ciphertext only.

Proposal

  1. Seed-phrase (BIP39-style) export/restore of the identity secret in the id CLI — zero server involvement; doubles as the hosted-edition exit ramp.
  2. Passphrase-wrapped backup stored server-side (hosted edition): memory-hard KDF, and a rate-limited blinded unwrap (OPRF-style) so the server can throttle guessing without learning the passphrase or the key.
  3. A backup-restored key is flagged until a keyset rotation retires it (restore may follow theft).

Acceptance

  • id CLI can export a seed phrase and restore an identity from it, with tests.
  • Server backup format + unwrap throttling designed and documented; server never sees plaintext key material at any step.
  • Restore flow forces/prompts rotation of the restored key.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1208

  3. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  5. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  6. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — live, not started; ordering recorded, one overlap guarded

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: ses_e5e5db7d11cffeh9uGRhQN1hIJ; queue task 7937 (triage)
    • Found via: atomic queue claim (coverage pass, code slices 3+)

    Verdict: still live; nothing implemented at main 048da81f1. Triaged as an umbrella, not a single implementation task — the three proposals have different prerequisites, and one of them overlaps an existing open issue.

    Fresh evidence:

    • No seed-phrase/mnemonic code: grep -rn "mnemonic\|seed.phrase\|seed_phrase" pkgs/id/src pkgs/id/crates → no matches.
    • No backup format or server-side blob: grep -rln "backup" in pkgs/id/src hits only world_doctor.rs, repl/input.rs, currency_poc/tests.rs, web/routes.rs, cli.rs — none is identity backup. Identity key is still the raw file KEY_FILE = ".iroh-key" (pkgs/id/src/lib.rs:314).
    • No OPRF/blinded unwrap anywhere: grep -rli "oprf\|blinded" over pkgs/id/ and doc/ → no matches. That half needs a design decision before code.
    • Overlap: id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279 ("key export/import — passphrase-wrapped identity key envelope", key-recovery slice 1) is open and queued, and already owns the Argon2id versioned-envelope work. Building that here would duplicate it.
    • Body defect fixed: the issue pointed at investigations/key-recovery.md, which does not exist; the real document is doc/2026-10-29T11-28-18Z_investigation_key_recovery_hosted/. The ordering block above is now in the body.

    Ordering / blocked-by:

    1. id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279 lands the envelope + KDF module (prerequisite).
    2. Seed-phrase export/restore — unique to id: encrypted identity backup — seed-phrase export/restore + passphrase-wrapped server backup #2381, builds on id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279.
    3. Server backup blob + blinded unwrap throttle — design-first (new format + OPRF decision), ciphertext-only server storage; needs the hosted storage surface.
    4. Restore-forces-rotation flag — blocked on id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380 (keyset/authorization log).

    Adjacent but not this issue: #2382 (guardian social recovery), #2804 (issuer key rotation).

    Next action in the system: dispatch the seed-phrase slice once #2279 merges; open a design issue for the server-backup/OPRF half rather than implementation.

  7. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed the split design issue

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: ses_e5e5db7d11cffeh9uGRhQN1hIJ; queue task 7937 (triage of id: encrypted identity backup — seed-phrase export/restore + passphrase-wrapped server backup #2381)

    Split filed: #5033 — id: design: server-side identity backup blob + rate-limited blinded unwrap (from #2381) — owns the design-first server-side half per the triage ordering. Seed-phrase export/restore stays on #2381 as its unique remainder, dispatchable after #2279.

  8. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  9. 99 remaining items

  10. dezren39
    removed
    work/assignedQueue worker lifecycle state
    on Nov 13, 2026
  11. dezren39
    reopened this on Nov 13, 2026
  12. developing-today
    added
    status:to-do
    and removed
    status:done
    on Nov 13, 2026
  13. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Agent note (lane code-d, task 15307): merging PR #9036 auto-closed this umbrella issue via a closing keyword in the PR body. Reopened by this lane per the task packet: the seed-phrase slice is done, but the OPRF server-backup slice and the restore-forces-rotation flag (gated on issue #2380) remain open work on this issue.

  14. developing-today
    added
    status:in-review
    and removed
    status:to-do
    on Nov 18, 2026
  15. dezren39
    added a commit that references this issue on Nov 18, 2026

    Merge pull request #11744 from developing-today/feat/restore-forces-r…

    0315323
  16. dezren39
    removed their assignment
    on Nov 20, 2026
  17. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026 – with Claude
    MemberAuthor
    More actions

    Merged work, still open. Every pull request that references this issue has merged (#9036, #11744) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.

    status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").

    By: Claude, 2026-11-22 flow review.


    Generated by Claude Code

  18. dezren39
    removed
    status:in-review
    on Nov 22, 2026
  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged (already complete)

    Fresh verification 2026-11-23: issue #2381 was OPEN; current main is 9904c3a. All acceptance for this umbrella is implemented or resolved:

    • Seed-phrase export/restore: PR feat(id): BIP39-style seed-phrase export/restore for the identity key (#2381) #9036 MERGED (2026-11-13).
    • Server-side backup design: issue id: design: server-side identity backup blob + rate-limited blinded unwrap (from #2381) #5033 CLOSED (2026-11-17) after its design decision and implementation issue id: implement server-side identity backup per #5033 decision (v1 envelope blob, epoch-guarded storage, download budget) #7360 landed. Current main contains pkgs/id/src/backup.rs.
    • Restore warning/rotation marker: PR feat(id): flag a key restored from backup until a keyset rotation retires it (#2381) #11744 MERGED (2026-11-18, merge commit 0315323). It covers both key imports, retains the flag until keyset rotation retires the restored key, and warns from id keyset / id serve. Current main contains pkgs/id/crates/id-directory/src/restored_key.rs.
    • Envelope prerequisite id: key export/import — passphrase-wrapped identity key envelope (key-recovery slice 1) #2279 is CLOSED. No open PR references id: encrypted identity backup — seed-phrase export/restore + passphrase-wrapped server backup #2381.

    #2380 remains OPEN for its broader device enrollment, encryption wiring, and migration work; that does not leave #2381's restore-warning acceptance outstanding. Closing this umbrella as complete.

  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Acceptance is implemented on current main. Evidence is in triage comment 7105404178: #9036 seed phrase export/restore merged; #5033 design and #7360 implementation closed/landed; #11744 restore marker merged; current main 9904c3a contains backup.rs and restored_key.rs. #2380 remains open for separate keyset work.

  21. dezren39
    closed this as completedon Nov 23, 2026
  22. developing-today
    added
    status:done
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.