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: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) · Issue #2380 · developing-today/code

id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380

New issue
Copy link
New issue
Copy link
Done
Done
id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate)#2380
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 jobtask/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: investigations/key-recovery.md in the ID program workspace, §1/§3/§7). Parent epic: #2056.

Problem

pkgs/id identity is a single Iroh Ed25519 secret key (src/local.rs: SecretKey::generate() / open_with_key); the public key IS the account (invites name it directly, src/invite.rs). There is no indirection for device keys, revocation, IdP bindings, or rotations — so a lost key is a lost identity and a second device is a second account.

Proposal

Design (then implement) a signed keyset/authorization log as the identity substrate: an identity identifier plus an append-only chain of signed records — device-key enrolment/revocation, hosted IdP claim bindings (#2044 §4.3 option 1), guardian sets (see social-recovery follow-up), and key rotations. Group membership and directory records bind to the identity, not to one key. Keyset-admin operations (add/revoke device, change guardians) are narrower-scoped than everyday signing.

Acceptance

  • Design doc section or ADR covering record formats, fold/verification rules, and the identity identifier derivation.
  • Enrolment + revocation of a second device key via QR/invite-style pairing (src/qr.rs, src/invite.rs surfaces exist).
  • Existing group-encryption per-device sessions (src/encryption/) consume device keys from the keyset.
  • Old single-key accounts migrate via a genesis keyset record signed by the existing key.

Implementation tracking (2026-11-26)

  • Packet 2 QR pairing / enrolment and revocation: PR id-directory: keyset enrolment and revocation by QR pairing (#2380 packet 2) #14460 (base) and PR id: finish QR revoke and pairing payload validation #14688 (follow-up verification); id: finish QR revoke and pairing payload validation #14688 depends on id-directory: keyset enrolment and revocation by QR pairing (#2380 packet 2) #14460.
  • Dual-role admin revocation: PR id: revoke dual-role admin authority with device key #14662.
  • Packet 3 group-encryption device sets: merged PR id: group-encryption sessions consume keyset device sets (#2380 packet 3) #15030.

Refs #14460, #14662, #14688, #15030. #13955 remains open for the broader acceptance and packet 4 migration work.
Refs #14460
Refs #14662
Refs #14688
Refs #15030
Refs #13955

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)
    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-1207

  3. dezren39
    added
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. 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
  6. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (still live, design-first; follow-up enqueued)

    • Agent: queue worker (repo-worker-code), lane code-m
    • Session / ID: queue task 7904 → issue id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380 (triage)

    Fresh verification (2026-11-03T16:35Z, gh, current main):

    • Issue id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380 — OPEN; parent epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 OPEN; origin investigation id: investigate: key recovery for hosted users — Google SSO loss vs the ID keypair #2060 CLOSED.
    • No implementation exists: pkgs/id/src listing shows local.rs, invite.rs, qr.rs, encryption/, hosted_binding.rs, idset.rs — no keyset / authorization-log module; code search for "keyset" in this repo hits only unrelated pkgs/identity/web/web.go; no PR in any state mentions keyset. The issue's premise stands: identity is still the single Iroh Ed25519 key in src/local.rs, with invites naming the public key directly.

    Scoping / ordering:

    1. Design first — acceptance item 1 (record formats, fold/verification rules, identity identifier derivation) gates everything else. Enqueued as queue task 8502 (small_fix: produce the ADR, then scope the implementation packets).
    2. Then, in order: enrolment/revocation of a second device key via the existing qr.rs/invite.rs surfaces → src/encryption/ per-device sessions consuming keyset device keys → genesis keyset migration for existing single-key accounts.
    3. No external blocker: the IdP-binding record type should follow id: investigate: Cloudflare Workers edition — isolates + Durable Objects + per-user SQLite fit for ID #2044 §4.3 option 1 as the issue states; guardian-set records depend on the separate social-recovery follow-up, so the ADR should reserve the record type without blocking device-key enrolment on it.

    Triage task 7904 completes as triaged; the fix path is task 8502.

  7. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  8. 128 remaining items

  9. dezren39
    added 3 commits that reference this issue on Nov 25, 2026

    feat(id): encryption sessions consume keyset device sets (#2380 packe…

    3e3512a

    style(id): rustfmt the keyset device-set changes (#2380 packet 3)

    b881b39

    test(id): deliver the create to the whole cast in the keyset enrolmen…

    f72e167
  10. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Progress — felix lane, packet 3 slice landed as PR #15030 (head f72e167f7, unmerged for review).

    Criterion states against origin/main + this PR:

    • (1) ADR: landed earlier (PR docs(id): keyset/authorization log ADR (#2380) #8984). (4) Genesis migration + CLI: landed earlier (PR id: keyset log file, lazy migration and id keyset commands (#2380) #11733). (2) QR pairing enrolment/revocation: in flight in open PRs id: enrol a second device key via QR pairing (#2380 packet 2) #14581 / id-directory: keyset enrolment and revocation by QR pairing (#2380 packet 2) #14460 — not duplicated here.
    • (3) Group-encryption sessions consume keyset device keys: landed by PR id: group-encryption sessions consume keyset device sets (#2380 packet 3) #15030 at the adapter level. The DataScheme roster is now the expansion of the view's member identities into their folded keyset device sets (encryption::DeviceSets); KeysetState::active_device_keys() exposes the folded active set; commands::keyset::device_sets() composes them. Enrolment/revocation now move a device in/out of group sessions with no group-membership change, proven by the new tests. No new crate dependencies; id-groups' design-map deps unchanged.

    Evidence (fleet-command runs, remote only): red — Linux run 45590234701 (encryption 84 pass / 3 fail, the three new session tests) and macOS run 45599479970 (keyset 26/1, cli 0/1 — the two new unit tests). Green — Linux run 45601129836 (encryption 87 pass / 0 fail, all four keyset tests ok by name) and macOS run 45606537652 (keyset 27/0, cli 1/0). The directory/cli legs run on macOS because the Linux executor image cannot execute the ring/aws-lc build scripts (dezren39/fleet#111). One earlier green attempt (45597499857, 86/1) failed only a test-side delivery mistake (create envelope not delivered to the joining device), fixed in f72e167f7 with no adapter change.

    Next slice, in the same form: after a session host exists in id-cli (chat/serve), commands::keyset::device_sets shows the group's sessions cut from real member folds end to end — the adapter side is ready; no production Session caller exists yet. #2380 stays open for criterion 2.

  11. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #15030 from developing-today/felix/2380-keyset-dev…

    feb00b8
  12. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Criterion 3 landed: PR #15030 merged by Felix 2026-11-25. Group-encryption per-device sessions now consume keyset device keys: DeviceSets folds each member identity to its active (unrevoked) device keys — an unrecorded member is its own only device, a member whose devices are all revoked holds no session — and Session create/add/remove/recover plus the roster check all run against that expansion. Verified red→green: Linux run 45601129836 (encryption 87 passed / 0 failed), macOS run 45606537652 (keyset 27/0, cli 1/0, new tests by name). #2380 stays open: criterion 2 rides on PRs #14581/#14460; criterion 3's tail (a production session host passing real folds) lands when a production Session caller exists. Refs #2380

  13. dezren39
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #14460 from developing-today/keyset-pairing-2380

    2d4c043
  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · queue task 24903 disposition (oc-code-06, 2026-11-26)

    Fresh check: #2380 remains OPEN. No additional implementation slice is safe to start from this triage claim: criterion 1 (ADR) and criterion 4 (genesis migration) are already landed per issue history; criterion 3 (device-set consumption in group encryption) landed in #15030; criterion 2 is actively tracked under #13955, with #14460 merged and #14688 still draft/conflicting. The #13955 pairing work has a live queue task 22889 parked for a refreshed conflict-resolved PR head, so I did not duplicate it. #13955 also tracks the remaining acceptance tail.

    Disposition: no new follow-up task or code change from this pass; #2380 stays open for the outstanding pairing follow-up/production caller acceptance. Resume the existing #13955 queue/PR work rather than reopening completed slices.

  15. developing-today commented on Nov 27, 2026

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

    Fresh triage (code-h, task 25422, 2026-11-27): no new H4/keyset implementation is routed here; pairing and remaining production acceptance stay under #13955. Current linked PRs: #14460 merged, #15030 merged, #14581 open, #14688 open/draft. To make the verified disposition own the remaining PRs, #13955 now explicitly references #14581 and #14688 in its body. Existing shepherd task 22889 remains parked on conflict-resolved PR recheck; no duplicate implementation packet.

  16. developing-today commented on Nov 27, 2026

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

    Triage verdict — oc-code-03, 2026-11-27

    Verdict: still real/open; no duplicate follow-on from this pass. Fresh verification: ADR #8984, keyset log/migration #11733, and group-encryption device-set support #15030 are merged. Pairing/revocation is the remaining active slice under #13955: #14460 is merged, #14581 is open, and stacked #14688 is still draft. #13955 has the existing parked task 22889 and records the conflict-resolved-head/test resume condition.

    I did not start or enqueue a duplicate implementation task. Resume the existing #13955/#22889 work when its PR head is conflict-resolved and can be retested. #2380 stays open for the remaining acceptance, including any production session-host tail.

  17. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions
    Shepherd revalidation (lane any-n, task 24049, 2026-11-27): PR #14581 is OPEN, non-draft, no review findings. The prior verification run 45886035990 failed for an environment/cache permission error, not a Rust test assertion: Cargo reported , then . No code change is justified from that log. Not merging without a passing verification; parking until a fresh run passes and PR mergeability is rechecked.
  18. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · claimed — lane 0422-I (delta PRESS author lane, 2026-11-28 04:22 CST)

    Claiming #2380 for a bounded verification-and-close slice. Premise + ownership check done firsthand this lane: issue + all 38 comments read, no live claim, no held/user labels. Fresh fact under investigation: parent implementation tracker #13955 CLOSED as completed 2026-11-27T09:45:52Z, but no closing slice was ever routed on #2380 itself. Verifying each acceptance criterion against merged PRs live; if all four hold, I will close #2380 as completed with the evidence on this issue.

  19. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · resolution — lane 0422-I (delta PRESS, 2026-11-28)

    Closing #2380 as completed. All four acceptance criteria verified live this lane against merged PRs (second-source gh reads, not prior notes):

    1. Design/ADR — PR docs(id): keyset/authorization log ADR (#2380) #8984 MERGED 2026-11-14T20:01:19Z (keyset/authorization-log ADR: record formats, fold/verification rules, identity identifier derivation). Keyset packet 1 also landed via PR feat(id): keyset/authorization log module — signed records, deterministic fold, state queries (#2380) #9047.
    2. Enrolment + revocation of a second device key via QR/invite pairing — PR id-directory: keyset enrolment and revocation by QR pairing (#2380 packet 2) #14460 MERGED 2026-11-26T20:32:11Z + PR id: finish QR revoke and pairing payload validation #14688 MERGED 2026-11-27T09:45:50Z (merge 9e80e4a; refreshed-head targeted tests passed in Fleet run 45973739132); dual-role admin revocation PR id: revoke dual-role admin authority with device key #14662 MERGED 2026-11-26T15:37:06Z. The duplicate packet-2 PR id: enrol a second device key via QR pairing (#2380 packet 2) #14581 was closed unmerged 2026-11-27T06:53:46Z — superseded by id-directory: keyset enrolment and revocation by QR pairing (#2380 packet 2) #14460/id: finish QR revoke and pairing payload validation #14688, not a gap.
    3. Group-encryption per-device sessions consume keyset device keys — PR id: group-encryption sessions consume keyset device sets (#2380 packet 3) #15030 MERGED 2026-11-25T12:21:32Z.
    4. Genesis migration for single-key accounts — PR id: keyset log file, lazy migration and id keyset commands (#2380) #11733 MERGED 2026-11-18T07:59:12Z (keyset log file, lazy migration, id keyset commands).

    Corroboration: implementation tracker #13955 (which owned criteria 2–4) has all three items checked in its body — 'All three #2380 implementation items now land with tests; no follow-up issue is needed for this scope' — and was CLOSED completed 2026-11-27T09:45:52Z with a merged_verified disposition (task 22889 completion note 2026-11-27T09:47:46Z). #2380 stayed open only because no closing slice was routed on it; this note is that slice. No code change was needed or made.

  20. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Closed as implemented.

  21. developing-today-fleet
    closed this as completedon Nov 28, 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 jobtask/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.