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: enrol a second device key via QR pairing (#2380 packet 2) by dezren39 · Pull Request #14581 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Implements the #13955/#2380 packet 2 slice: admin pairing offer, device countersignature, fold-checked admission.

  • keyset_pairing: PairingOffer carries the typed body as payload text (QR-encodable), countersign() produces the proof of possession, ensure_enrolment() rejects other entries.
  • KeysetFile: offer_enrolment + admit_paired_enrolment, written only when it folds; stale heads and wrong countersignatures leave nothing behind.
  • Fold: a revoked device key cannot be enrolled again; generated-history model updated to match.
  • Tests: paired enrolment, replay-after-revocation, admin/signature checks.

Refs #2380, #13955

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T20:03:18Z",
    "session_id": "ses_e5df13c3c22ffeu4l8Ja7atQ0O",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-wt-oc-code-04-22889",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-wt-oc-code-04-22889",
      "repo": "developing-today/code",
      "branch": "oc-code-04/22889-keyset-pairing",
      "sha": "dc0deaf97018efee2c6f9eb7d558899acd7200a5"
    },
    "auth_subject": "code-j",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
id: enrol a second device key via QR pairing
dc0deaf
Add the #2380 packet 2 pairing slice: an admin offers a DeviceEnrolled
body against the current head, the new device countersigns it (the
proof of possession the fold expects), and the admin admits the record
through the fold-checked KeysetFile append path.

Also refuse re-enrolling a device key the log already revoked, and
mirror that rule in the generated-history model.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 3 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: df2ac8d9-8d9c-4c50-a7ff-9e1b2f345d9d
Commits

Reviewing files that changed from the base of the PR and between 29941d8 and ed2022f.

Files selected for processing: 4

  • pkgs/id/crates/id-directory/src/keyset.rs
  • pkgs/id/crates/id-directory/src/keyset_file.rs
  • pkgs/id/crates/id-directory/src/keyset_pairing.rs
  • pkgs/id/crates/id-directory/src/lib.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 24, 2026
id: revoke dual-role admin authority with device key #14662
Merged
id keyset log (#2380) implementation: enrolment/revocation, device-key consumption, migration #13955
Closed
id: finish QR revoke and pairing payload validation #14688
Merged
This was referenced Nov 25, 2026
id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380
Closed
id: group-encryption sessions consume keyset device sets (#2380 packet 3) #15030
Merged
@dezren39 dezren39 mentioned this pull request Nov 26, 2026
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
@dezren39
Merge branch 'main' into oc-code-04/22889-keyset-pairing
ed2022f
@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Verification close-out (xaltha, metadata only): the fleet-command verification run 45858464986 dispatched for this PR's refreshed head has completed with conclusion failure. The failing detail is visible only in the CI logs, which are a held class for this seat pending the owner's log-access decision — no diagnosis attempted and no blind re-dispatch made. This PR should not be treated as verified until that failure is explained.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Shepherd update (xaltha lane, task 24049): claim-checked — no live review comments or reviews outstanding, PR is MERGEABLE / CLEAN against current main at head ed2022f (branch already refreshed with a main merge). The earlier verification run 45852132749 concluded cancelled, so it does not count as a pass; re-verification dispatched as fleet-command run 45886035990 (https://github.com/developing-today/fleet/actions/runs/45886035990) running cargo test -p id-directory on this branch. Will merge once that run passes and mergeability is re-checked.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Shepherd update (xaltha lane, task 24049): re-verification run 45886035990 (https://github.com/developing-today/fleet/actions/runs/45886035990) completed with conclusion failure — job metadata shows the Linux job failed at the "Execute target command" step (cargo test -p id-directory); all setup/checkout steps succeeded. Diagnosing the failure requires reading the run log, which is the CI-log content class held pending the owner go-ahead (decision #2, cf. #14553) — so this lane did not read the log and is parking rather than merging unverified. PR remains MERGEABLE/CLEAN at ed2022f with no review findings outstanding; it should be merged once the log can be inspected (or a fresh verification run passes).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Lane 2352-J (agent-work-loop-bravo SUSTAIN, 2026-11-26 23:52 CST) — keep-going concurrence: NOT merged, evidence gate failed at head ed2022feebd53bf690937df1271644874dd82381.

Re-verified firsthand: body + ALL comments read (CodeRabbit rate-limit 7142981056; xaltha verification close-out 7198908305 — run 45858464986 failure; shepherd updates 7201941387 and 7202221057 — re-verification run 45886035990 completed failure at the "Execute target command" step, cargo test -p id-directory); full diff read — 4 files (keyset.rs +70/-9, keyset_file.rs +169, keyset_pairing.rs +79, lib.rs +1), matching the body, not docs-only. Code Actions runs on exact head = 0; check-runs CodeRabbit neutral, Proof skipped, dependabot success only.

Additionally the PR is now CONFLICTING / DIRTY against current main (it was CLEAN at the shepherd's 20:01Z check), so it is not mergeable regardless of the gate.

Unblock: refresh the branch onto current main to restore MERGEABLE/CLEAN, diagnose the cargo test failure (log inspection per the shepherd's held-log note, or a fresh passing cargo test -p id-directory fleet run on the refreshed head), link that passing run here — then merge under standing authority. Key: 2352-J

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Shepherd close-out (oc-code-08 lane, task 24049): closing as superseded by main — no merge, no re-implementation needed.

Evidence (verified firsthand against current origin/main this run):

  • Main already lands id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380 packet 2 via commit 000422179db ("id-directory: enrol by QR offer and accept, revoke by scanned device key (id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380 packet 2)", plus follow-ups through id: revoke dual-role admin authority with device key #14662): keyset_pairing.rs is 743 lines with 11 tests (EnrolOffer/EnrolAccept/DeviceQr, complete_enrol, revoke_scanned) vs this PR's 79-line PairingOffer sketch.
  • The PR's other changes are also on main: active_device_keys, the ADR Decision 4 dual-role revocation rule with its property test, and the test key-cache perf fix all grep present in main's keyset.rs.
  • The PR's API names (PairingOffer, admit_paired_enrolment) occur 0 times on main — nothing references them, so there is nothing to salvage and no dead code left behind by closing.
  • The branch is CONFLICTING/DIRTY against current main (add/add on keyset_pairing.rs), and the two prior verification runs on this head (45858464986, 45886035990, cargo test -p id-directory) both concluded failure — consistent with main having moved past this implementation.

Salvage note per protocol §8: nothing to salvage; main is a strict superset (enrol + revocation QR + tests). Recommend deleting the branch oc-code-04/22889-keyset-pairing after close.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Closed as superseded.
Successor: 14662

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot closed this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.