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 — Key compromise/revocation effect on previously accepted data (revalidate, flag, or quarantine) · Issue #10204 · developing-today/code

Key compromise/revocation effect on previously accepted data (revalidate, flag, or quarantine) #10204

New issue
Copy link
New issue
Copy link
Closed
Closed
Key compromise/revocation effect on previously accepted data (revalidate, flag, or quarantine)#10204
Copy link
Assignees
dezren39
Labels
queue/queuedHas a queued queue taskstatus:done

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Problem and goal

Implement minimal V2 key/peer emergency disable, revocation and quarantine for previously accepted data; preserve evidence and do not claim signing-time proof from issuer timestamps.

Version and design basis

Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/versioned-design.md#wiredata-model (section: Wire/data model).
Tier: crucial.
Statement IDs: S1.22, S1.84, S1.86
Enables: Provides mandatory V2 emergency containment before advanced takeover automation.

Scope and ownership

Parent: #9141 (native component/meta parent).

  • pkgs/id/crates/id-sync/src/federation/slices/b02_key_revocation.rs (new; owner: B02)
  • pkgs/id/crates/id-sync/tests/federation_b02.rs (new; owner: B02)
    Hard dependencies (native blockers): 9110-02 — Minimum output from design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110-02: root federation/slices registry scaffolding and Cargo convention, with this exact module path recorded but not exported before it exists. Slice PRs do not edit shared roots/Cargo/lib.rs; design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110-09 wires versioned public exports after module outputs land.; B01 — Minimum output: Key lifecycle: rotation, generation overlap, and preserving validity of data signed by a then-current key; stable interface needed by B02.; B31 — Minimum output: per-peer class/disable policy state so emergency peer disable is explicit.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/crates/id-sync/tests/federation_b02.rs first. Proposed command: cargo test -p id-sync --test federation_b02
Oracle: invariant — expected Emergency disable prevents new acceptance/relay and quarantines in-scope prior accepted records without trusting issuer wall-clock signing times.; verifier: Independent reference state machine or golden fixture in the dedicated integration test; cryptographic tests use independent vectors, not the implementation under test..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable affected peer/key admission and relay immediately; preserve quarantine and evidence. Do not restore acceptance as rollback.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

  1. dezren39
    marked this as blocked by 3 issues on Nov 14, 2026
    • Define versioned capability-oriented port contracts #10160
    • Key lifecycle: rotation, generation overlap, and preserving validity of data signed by a then-current key #10183
    • Core directional peer-class behavior and unknown-peer default #10186
  2. dezren39
    added a parent issue on Nov 14, 2026
    • design(id): peer trust classes + signed-data acceptance rule #9141
  3. developing-today commented on Nov 14, 2026

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

    CODE-3627

  4. dezren39
    marked this as blocking 2 issues on Nov 14, 2026
    • Highly trusted server takeover/key compromise: rapid revocation, blast-radius identification and prior-data posture #10232
    • Wire versioned public module exports and verify Rust/TypeScript conformance #10267
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: blocked
    task: 17049
    lane: any-c
    worker: repo-worker-code

    Preflight for B02 (#10204, Key compromise/revocation effect on previously accepted data): verified fresh on 2026-11-14 that all native blockers remain OPEN — #10160 (Define versioned capability-oriented port contracts), #10183, and #10186. No held / user/owned / do-not-merge / do-not-auto-edit labels on #10204, #10160, #10183, or #10186.

    Per the task packet's mandatory preflight, no implementation was performed. Task 17049 is dep-blocked on #10160, #10183, and #10186 (broker-watched, TTL 3 days); it will return to the pool automatically when all blockers close.

  6. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  7. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  8. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    Preflight for B02 recorded (task 17049, lane code-a, 2026-11-16): ALL native blockers are CLOSED — the implementation is unblocked. No self-block.

    Fresh verification this shift (gh, 2026-11-16):

    • Issue Key compromise/revocation effect on previously accepted data (revalidate, flag, or quarantine) #10204 OPEN. Native blockers: Define versioned capability-oriented port contracts #10160 CLOSED (versioned capability port contracts / 9110-02 scaffolding), Key lifecycle: rotation, generation overlap, and preserving validity of data signed by a then-current key #10183 CLOSED (B01 key lifecycle), Core directional peer-class behavior and unknown-peer default #10186 CLOSED (B31 peer classes). All three verified CLOSED this shift — a change from the packet's stale state, where all three were open.
    • Tree evidence: pkgs/id/crates/id-sync/src/federation/slices/ holds b01_key_lifecycle.rs and b31_peer_classes.rs with federation_b01.rs / federation_b31.rs tests; no b02_key_revocation.rs or federation_b02.rs exists yet — B02 itself is unimplemented.
    • No contingent research trigger applies (packet: none).

    Routing: this packet is the mandatory preflight only. The B02 implementation (crucial-tier Rust slice with an invariant oracle and an independent reference state machine in its test) is enqueued as the bounded follow-on task 17469 (dedupe repo-health:v1:fix:developing-today/code:issue:10204, dedupe-checked: no live implementation task for #10204 existed). Task 17049 completes as triaged naming task 17469.

  9. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    work/assignedQueue worker lifecycle state
    on Nov 16, 2026
  10. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    Agent note (fleet conductor, dispatch binding): queue task 17469 is claimed (worker conductor, 2026-11-16T12:12:20Z) and a session is implementing this slice on opencode-route/workhorse: ses_e5e1baac469ffeX1EFwc1PkLI9, worktree /home/user/git/fleet/17469-10204-key-revoke, branch queue/17469-10204-key-revoke off origin/main bb57b6f.

    Scope handed to the worker: create only pkgs/id/crates/id-sync/src/federation/slices/b02_key_revocation.rs + pkgs/id/crates/id-sync/tests/federation_b02.rs (no shared-root/Cargo/lib.rs edits; exports are #9110-09). Dependencies verified in tree on main: B01 key lifecycle (b01_key_lifecycle.rs) and B31 peer classes (b31_peer_classes.rs); the 9110-02 registry in slices/mod.rs already records b02_key_revocation. Design semantics (S1.22, S1.84, S1.86): a locally signed emergency key/peer disable or revocation immediately blocks new acceptance and relay; previously accepted affected data is flagged/quarantined with signed bytes and admission-time evidence preserved, never silently rewritten; issuer wall-clock timestamps do not prove signing time (historical validity may be indeterminate). Oracle: cargo test -p id-sync --test federation_b02, with an independent reference state machine / golden fixture and independent crypto vectors. The worker will open a PR against main (no merge, no push to main) and checkpoint the task to a terminal state; the conductor tends it every 5-15 minutes.

  11. dezren39
    added a commit that references this issue on Nov 16, 2026

    feat(federation): B02 key/peer revocation and quarantine (#10204)

    b2dec42
  12. developing-today
    added
    status:in-review
    on Nov 16, 2026
  13. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    B02 implemented — PR #10752 (task 17469, branch queue/17469-10204-key-revoke, commit b2dec42315). Not merged.

    Files (2 new, nothing else touched):

    • pkgs/id/crates/id-sync/src/federation/slices/b02_key_revocation.rs — revocation records, admission/relay decisions, quarantine registry, explicit revalidation
    • pkgs/id/crates/id-sync/tests/federation_b02.rs — independent reference-state-machine oracle

    No edits to src/lib.rs, src/federation/mod.rs, src/federation/slices/mod.rs or Cargo.toml; the test includes the module by path exactly as tests/federation_b01.rs does. Deps reused unmodified: B01 key lifecycle, B31 peer classes.

    Test output (cd pkgs/id && cargo test -p id-sync --test federation_b02):

    running 9 tests ... test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
    

    cargo clippy -p id-sync --test federation_b02: no diagnostics for either new file.

    Oracle independence: the expected verdicts come from a reference state machine written from the design statements (S1.22/S1.84/S1.86), sharing no code with the module, including a 25-seed differential run over interleaved admissions/revocations. Signatures are produced by ed25519-dalek directly and the re-attestation path is pinned by hard-coded RFC 8032 §7.1 TEST 3 vectors; the module only verifies.

    Semantics: revocation/disable blocks new acceptance and relay immediately inside its effective interval; sweep quarantines records admitted at/after the effective start and flags records admitted before it (releasable but indeterminate); quarantine is sticky and only explicit evidence — an independent good-through witness, or re-attestation under a currently unrevoked key — clears it; signed bytes and admission-time evidence are never rewritten; issuer_claimed_at is stored but never consulted, so backdating cannot exonerate anything; unrelated keys/peers and out-of-scope records unaffected.

    Questions (recorded, defaults taken, nothing blocked):

    1. Suspension vs. compromise. A bounded effective_until allows new acceptance again when the interval ends, but the sweep's quarantine/flag is not undone by expiry. Default taken: interval expiry is not evidence — only explicit revalidation clears, per "never silently rewrite". If operations wants a bounded suspension to also release past records, that should be an explicit operator revalidation for the interval, not an implicit expiry rule.
    2. Re-attestation trust root. Reattested accepts any key that is unrevoked locally, because this slice has no key-lineage/enrolment authority wired in yet. Default taken: unrevoked-now is the whole test; when design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110-09 wires exports, the attesting key should additionally be required to be an enrolled lineage member (B01) of the record's signer. Recorded here rather than silently assumed.
    3. Late-arriving revocation. A revocation whose effective_from predates recorded_at (learned late) quarantines records admitted inside the asserted interval. Default taken: operator assertion of effect time is authoritative for scoping the sweep, while scoping never depends on issuer timestamps — consistent with "local signed record" authority.

    Rollback: do not restore acceptance. Disable affected peer/key admission and relay immediately, preserve quarantine and admission-time evidence, and leave release to explicit revalidation.

  14. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #10752 from developing-today/queue/17469-10204-key…

    94276de
  15. dezren39
    closed this as completedon Nov 18, 2026
  16. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

queue/queuedHas a queued queue taskstatus:done

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.