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: finish QR revoke and pairing payload validation by dezren39 · Pull Request #14688 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Stacked on #14460; this follow-up addresses the remaining QR/paste-budget fixes without duplicating its pairing surface.

  • Accept id:keyset-device?... scanned payloads for id keyset revoke, while preserving the existing hex-key argument.
  • Check the eventual accept payload length before printing an enrolment offer, including device key and countersignature overhead.
  • Carry forward id: enrol a second device key via QR pairing (#2380 packet 2) #14581’s rule that a revoked device key cannot be re-enrolled, with an updated generated-history model and regression test.

Verification passed on exact head 3c4ef96e274: cargo test -p id-directory keyset_pairing::tests, the revoked-key re-enrolment regression, and the id-cli QR parsing test all succeeded in Fleet run https://github.com/dezren39/fleet/actions/runs/45973739132. Group-encryption consumption and lazy migration landed in #15030 and #11733.

Closes #13955

Refs #14460, #14581, #14662, #15030, #11733.

{
  "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-25T00:48:19Z",
    "session_id": "ses_e5df011be70ffeeXkCXzWJD2ur",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/task-22889-revoke-qr-20261125T003626Z-d0cafced",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/task-22889-revoke-qr-20261125T003626Z-d0cafced",
      "repo": "developing-today/code",
      "branch": "oc-code-04/22889-pairing-fixes",
      "sha": "8d38fe9f907f9b34b6c86cae21ec868f0e0a9efa"
    },
    "auth_subject": "oc-code-04",
    "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 added 2 commits November 24, 2026 18:44
@dezren39
id: validate pairing accept budget and revoke QR
cf874bf
@dezren39
id: prevent re-enrolling revoked device keys
8d38fe9
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: 3c264b5b-8dbb-46db-ab4d-c8362114c1be
  • 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.

@dezren39 dezren39 mentioned this pull request Nov 25, 2026
id keyset log (#2380) implementation: enrolment/revocation, device-key consumption, migration #13955
Closed
3 tasks done
@dezren39

dezren39 commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

Verification update: final pushed head 8d38fe9f907f9b34b6c86cae21ec868f0e0a9efa was tested in Fleet run 45521496793. The command failed during compilation of unchanged id-store dependencies, before any targeted QR/keyset tests ran: mixed iroh-blobs 0.103.1/0.105.0 Hash types and redb 5 range API errors (E0107/E0277/E0308). This is not a passing-test claim; PR remains draft. I am comparing the same keyset compile on main in 45522686635 to determine whether the failure is inherited baseline or branch-specific.

All reactions

Sorry, something went wrong.

Uh oh!

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

dezren39 added 4 commits November 24, 2026 19:25
@dezren39
Merge remote-tracking branch 'origin/keyset-pairing-2380' into oc-cod…
1399c91
…e-04/22889-pairing-fixes
@dezren39
test(id): assert refusal and persisted stability for unknown revocation
6d76755
@dezren39
test(id): match unknown-device revocation error
b02bb0c
@dezren39
test(id): assert stable refusal for unknown-device revocation
bb0c92e
The append API intentionally collapses failed candidate-fold detail into
'the keyset refused this change'; keep refusal plus no-memory/no-bytes invariants.
@dezren39

dezren39 commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

Exact-head Fleet verification passed at bb0c92eda973e111d402c809cf973467c2cd96f0: cargo test --manifest-path pkgs/id/Cargo.toml -p id-directory keyset_pairing::tests — 12 passed, 0 failed. Run: https://github.com/developing-today-forks/fleet/actions/runs/45615332005. Keeping this draft until prerequisite #14460 is resolved.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 mentioned this pull request Nov 26, 2026
id: keyset/authorization log — device keys, revocation, bindings as signed records (identity substrate) #2380
Closed
4 tasks
Base automatically changed from keyset-pairing-2380 to main November 26, 2026 20:32
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
Stray work audit: PRs and issues not tied to a design or roadmap item #13874
Open
@dezren39
Merge remote-tracking branch 'origin/main' into oc-code-04/22889-revo…
3c4ef96
…ke-error-detail

# Conflicts:
#	pkgs/id/crates/id-directory/src/keyset_pairing.rs
@developing-today-fleet
developing-today-fleet Bot marked this pull request as ready for review November 27, 2026 09:43
@developing-today-fleet
developing-today-fleet Bot merged commit 9e80e4a into main Nov 27, 2026
3 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-04/22889-pairing-fixes branch November 27, 2026 09:45
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.

id keyset log (#2380) implementation: enrolment/revocation, device-key consumption, migration

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.