Home/Documentation/Passport, Beacon & Governance
Passport, Beacon, governance & the immune feed
The full-system services around the seal: per-object history that a third party can verify, signed liveness heartbeats, threshold governance and the burn machine, graded revocation — and ABSOLUTE, the separate experimental service.
Passport & Survival Vector
Passport & the transparency log
History record
Every object carries a Passport: its history, HMAC-chained entry by entry. A 32 B stub sits in every header, derived from the object_id.
5-of-9 ML-DSA-65
Checkpoints are signed by ≥ 5 of 9 local ML-DSA-65 holders. A multisignature — not a threshold signature scheme (no DKG, no single threshold public key).
Hash-chained, Merkle-anchored
Records append to a hash-chained log (log_hash = SHA-384, frame NIRVQ-LOG-v1) with Merkle batch roots and inclusion proofs. Witness attestations: quorum 3.
Verify from the log alone
verify_from_log checks an object from the public keys and the log alone — no key service needed — across the L1–L8 verify limbs.
The log file + the public-key roster. The Survival Vector scores an object’s evidence (fresh object: 25; FAILED: 0; worked example with H=100 + S=75: 81).
The reference log is a local file, not an external transparency service — every verdict carries the UNANCHORED label. Node KAT verifier: 40/40 on real-KEM vectors (F8). No cross-implementation open is claimed.
verify_from_log checks it from public keys and the log alone — the reference log is a local file, not an external service.Full-system module F2. Implementation: src/nirvq/passport/.
Every object is born with a Passport. In the core envelope it appears as the 32-byte stub inside the authenticated header. In the full system the Passport is an HMAC-chained record of the object's lifecycle events (birth, re-wrap, verification, burn of its epoch) — the interim construction as specified — countersigned with threshold post-quantum signatures (ML-DSA via liboqs), and appended to a transparency log: hash-chained and Merkle-anchored. The reference log is a local append-only file — labelled LOCAL LOG, not an external transparency service.
Verification from the log alone
verify_from_log checks a Passport against the public keys and the log, with no access to the key service or the operator's store. The integrated demo (demo_third_party_verify.py, 2 tests) exercises exactly this path. If the log entry, the chain, or the threshold signature does not check out, verification fails — an operator cannot quietly rewrite an object's history after the fact.
Survival Vector
The Survival Vector v0.2 is a computed summary of an object's (or a fleet's) survival posture: which profiles, epochs, families, and custody arrangements its confidentiality currently depends on. It exists so that "how exposed are we if HQC falls tomorrow?" is a query, not an investigation. The vector reports posture; it does not change it. Re-wrap is how posture improves.
Beacon & Fallback Covenant
Beacon — the heartbeat of the system
Signed heartbeat
A signed liveness heartbeat, hash-chained to the previous one, binding the epoch set, the constitution version, the parameter direction, and the latest 60-second beacon round.
Constitution + parameters
The heartbeat carries the current constitution version and parameter direction — how a successor-algorithm direction is announced before it is needed.
24-hour staleness bound
may_seal() refuses seals on NO-HEARTBEAT, STALE (> 24 h silence), or COVENANT-ACTIVE.
Fallback Covenant
On silence over 24 h, the pre-signed Fallback Covenant is adopted: ML-KEM-only, 90 days. Exiting it needs a fresh heartbeat corroborated by ≥ 2 mirrors.
| Fact | Value |
|---|---|
| Heartbeat cadence | Every 60 minutes, signed, hash-chained. |
| Staleness bound | 24 hours of silence triggers the Covenant. |
| Fallback Covenant | Pre-signed; ML-KEM-only; 90 days. Exit needs a fresh heartbeat corroborated by ≥ 2 mirrors. |
| Sealing under silence | may_seal() refuses on NO-HEARTBEAT, STALE, or COVENANT-ACTIVE. |
| Signature stand-in | BLS is Absent — liboqs 0.16.0 provides no BLS mechanism (221 signature mechanisms, zero containing “BLS”). Heartbeats carry an ML-DSA-87 stand-in; no VERIFIED binding verdict is reachable in this build (V5/V6/V7 cannot pass). |
It answers “is the system alive and on its stated course?” It is not a timestamping service and not a price oracle.
T-COMB-15(c): beacon announcement → re-wrap → verify → burn must complete inside a realistic break-arrival window. Specified, not yet implemented.
Full-system module F3. The Beacon is NIRVQ's liveness signal for the system's own cryptographic direction:
- Signed heartbeats every 60 minutes, carrying the current constitution version and parameter direction;
- 24-hour staleness bound — clients treat a beacon older than 24 h as silence;
- PQ successor shortlist mechanism — the beacon is how a successor algorithm direction is announced before it is needed;
- Fallback Covenant — on sustained silence, the pre-agreed fallback triggers: clients and custodians follow the covenant procedure rather than improvising during an incident.
Where the specification calls for BLS-only evidence and BLS is unavailable in the reference stack, the module records what stands in its place and why. The beacon answers "is the system alive and on its stated course?" — it is not a timestamping service and not a price oracle.
Governance, constitution & epoch burn
Governance — constitution, curators, burn, exit
Constitution
Version-pinned as NIRVQ-CONST-vX.Y + SHA-384 hash. Clients pin a version; a mismatch refuses with VERSION-NOT-PINNED.
Curator voting
Threshold votes by severity — see the table below. Vote counts with no key material behind them do not authorise.
Tribunal & exit
Independent tribunal (3 + 2 alternates) for disputes; 12 K-4 triggers watch for break-response conditions; exit under retention bound T0+31.
| Decision severity | Curator threshold | What it covers |
|---|---|---|
| Ordinary | 5-of-9 | Routine governance decisions, including the separate 5-of-9 burn authorisation (gate item (e)). |
| Emergency | 7-of-9 | Emergency decisions — e.g. emergency revocation ladder (7-of-9-signed for Ladder E). |
| Constitutional | 8-of-9 | Constitutional changes — amendments to the pinned constitution itself. |
The burn machine — one machine, steps 0–5
| Step | Name | What happens |
|---|---|---|
| 0 | Gate | Gate items (a)–(f) all present: ALL_VERIFIED, successor openable + vendor-independent drill record, governance window resolved, stranded list published, separate 5-of-9 burn authorisation, backup propagation attested or operator-held-only label. Exemptions ≤ 1% of objects; retention bound T0+31 (S) / T0+47 (E); a stay in force freezes burn; no emergency waiver, ever. |
| 1 | Successors | The no-burn rule, re-checked: refused if even 1 envelope is still unmigrated. |
| 2 | Finalise | Attestation collection opens; attestations due within 7 days. Finalising with 0 attestations is refused, not recorded. |
| 3 | Declare | Declaration ≥ 14 days after the first attestation (refused day 13, issued day 14). |
| 4 | Destroy | Per-custodian destruction attestations; keys erased; backup KEKs zeroed. A stay is re-checked here, not only at step 0. |
| 5 | Audit | Post-burn audit: old opens fail, new opens succeed, backup restores refused. |
All attest (7/7 vendor + 5/5 customer) → BURNED. Exactly one unaccounted per sharing → RETIRED-WITH-UNACCOUNTED-SHARES — terminal; keys destroyed ≠ BURNED (§31.8.5). Two or more unaccounted per sharing → BURN_REFUSED; the epoch stays ACTIVE, a 30-day clock starts, and the tribunal is notified.
Two proposal-vs-W3 disagreements are recorded (F5-D1/D2) — not resolved by silence. Every burn refusal (missing gate item, stay in force, exemption > 1%) is recorded in the machine.
Full-system module F5. Implementation: src/nirvq/governance/.
Constitution pinning
Clients pin a constitution version — NIRVQ-CONST-vX.Y plus its SHA-384 hash — and validate artefacts against exactly that version. The immune feed's client rule depends on this pin: a revocation is only actionable if it is valid against the pinned constitution.
Curator voting
| Threshold | Used for |
|---|---|
| 5-of-9 | Standard curator actions |
| 7-of-9 | Serious actions (parameter / constitution changes) |
| 8-of-9 | The most severe actions (burn authorisation class) |
A tribunal and deputies mechanism covers disputed or unavailable-curator cases, as specified in Chapters 31/33 of the proposal.
The burn machine
Epoch burn is executed by a single burn machine, steps 0–5, enforcing the n−1 rule (a burn may not strand the system without a live successor epoch) and emitting RETIRED-WITH-UNACCOUNTED-SHARES where share accounting is incomplete instead of pretending the accounting closed.
K-4 triggers
Twelve K-4 triggers (detection only) watch for conditions that must surface to governance — key-compromise signals, beacon silence, budget exhaustion, and similar. Detection raises the case; it does not auto-execute a response.
Immune system & revocation feed
Full-system module F4. Implementation: src/nirvq/immune.py (72 tests in the integrated build).
When an artefact — a parameter set, a library build, a constitution version, a key generation — is found compromised, every client needs the same graded, verifiable answer to "what do I do now?" The immune system is that feed.
- Ladder E (emergency) and Ladder S (standard), each with its own clock;
- Grades R0–R5, resolved from the artefact package and the reproduction record, with grade gating which ladder a grade may use;
- Reproduction quorum: a revocation must be reproduced by 3-of-5 eligible reproducers before it grades. Reproducers sign verdicts; dissent is recorded, not hidden;
- Automatic stays and a Precautionary Tier (14 days, renewable once) hold the line while reproduction completes.
An artefact package must be complete before it can ground a revocation — incomplete evidence cannot revoke.
Client rule
A client acts on a feed entry only if all four check out: (1) the entry's signature verifies; (2) the artefact it names matches the artefact in use; (3) its grade permits the ladder being invoked; (4) it is valid against the client's pinned constitution version. Anything else is ignored. This rule is the difference between a revocation system and a remote kill switch.
Security model
NIRVQ is designed against: HNDL collection; single-family break (a classical or quantum break of ML-KEM or HQC alone); single-custodian compromise (the anchor is threshold-held; no one custodian holds S_3); decapsulation-oracle abuse (bounded by the budget — partial on real KEMs: ML-KEM slot metered, HQC slot unmetered); tampering and downgrade (any mutation fails the tag or digest check; reduced-slot envelopes are never sealed and never accepted below the policy floor); and silent history rewriting (Passport chain + Merkle-anchored log). Out of scope: endpoint compromise, plaintext handling after open, side channels of the host OS, and availability attacks against the key service.
What a break of one component gives an attacker
| Compromised | CORE | VAULT-FEDERAL | VAULT |
|---|---|---|---|
| Slot 1 (ML-KEM) | Opens (by design) | Still needs S_3 | Still needs ss_2 and S_3 |
| Slot 2 (HQC) | n/a | n/a | Still needs ss_1 and S_3 |
| Slot 3 (anchor) | n/a | Still needs ss_1 | Still needs ss_1 and ss_2 |
| Slots 1+2 | Opens if anchor also known | — | Still needs S_3 |
The claim "both KEM families broken still does not open a VAULT object" depends on A-EXT: roughly, that the anchor secret cannot be extracted from the combiner output / envelope material alone. A-EXT was adopted as Option A — a formalised assumption, unendorsed until G-1. The proof deliverables D-COMB-PROOF-1–5 are drafts, with a recorded oracle-reduction gap, and no independent cryptographer has yet reviewed the combiner. The approved wording is: "AND-survival is specified and gated (G-1, Phase 1, M9); not yet demonstrated."
The Anchor Compromise-Simulation Programme specifies six scenarios for anchor compromise. In the build programme's run, scenarios S3–S6 passed and S1/S2 failed — a silent attacker went undetected in those limbs. The failing gate is carried as accepted residual R-ACSP-1. Detection of a silent anchor compromise is an open engineering problem for the next phase, recorded here and in the proposal — not smoothed over. The D-2 canaries have landed, the core open-path wiring has landed, and the canary fraction is decided at p = 0.05 per profile (VAULT and VAULT-FEDERAL only; CORE refused).
T-COMB-15 (quantum-relevant attack-model tests: HNDL including anchor leak on harvested copies, Grover-era margins, family-break timing) is part of the G-COMB pass condition. Status: Specified, not implemented. Error uniformity is implemented and functionally tested; a statistical timing campaign (Welch's t) is Absent in v0.1, and no timing claim is made.
ABSOLUTE — experimental specialist service
ABSOLUTE — the one-time-pad service
EXPERIMENTAL — SEPARATE SERVICE Not part of the VAULT counts: its gates, tests, and claims are never mixed with VAULT.
Pads generated
Pads are generated and Shamir-shared; depot simulation models pad logistics.
One-time-pad + WC auth
Encrypt with a one-time pad, authenticated by Wegman–Carter. The 1 GiB pilot cap is enforced here.
Pad used exactly once
A pad is consumed on use and never reused.
Every use recorded
The pad ledger tracks generation, allocation, and destruction — the audit trail for every pad.
| Fact | What holds |
|---|---|
| Authentication | Wegman–Carter, per-message MAC. |
| Pilot cap | 1 GiB of pad per pilot, enforced in code — any operation that would take total generated pad past 1 GiB is refused (src/absolute/caps.py). |
| Crash safety | Pad reuse on crash — fixed (ABS F1). |
| Open question F3 | Burn-on-framing-failure — MANDATE (founder ruling, Dec 6, 2026). A truncated envelope must never burn a pad it did not consume. |
| Evidence | F6: 98 tests passed, 0 failed (closing run Dec 5, 2026). Own package, CLI, store, and test counts — never summed with VAULT. No G-ABS gate claimed passed. |
Full-system module F6. Proposal Chapter 35; separated as experimental. ABSOLUTE is not VAULT with stronger marketing. It is a separate service with a different construction: one-time pad encryption with Wegman–Carter authentication; a pad ledger tracking pad generation, allocation, and destruction; a depot simulation for pad logistics; a 1 GiB pilot cap enforced in code (and a $250k programme cap recorded — not enforced, as no money moves in the reference build); and its own process and service boundary, never counted toward VAULT gates, test counts, or claims.
Information-theoretic protection costs pad material equal to the data. That is why ABSOLUTE fits small, extreme-value artefacts (a 24-word seed archive is the canonical case) and not bulk storage. Every ABSOLUTE surface carries the word experimental — including this one. Its gate, G-ABS-5, has not passed. F3 is RULED MANDATE (Dec 6, 2026): burn on identifiable framing failure (Ch. 35 §35.4.1, stated three times over); where no trustworthy pad_range_id exists there is nothing to burn. Backward rotation is FORBIDDEN (OQ-01 ruling): a re-wrap target epoch must exceed all predecessor epochs.
