Home/Documentation/Profiles & API / CLI
Profiles & the API / CLI reference
Choosing between CORE, VAULT-FEDERAL, and VAULT — then the complete reference surface: the Python API of the reference implementation, the full-system CLI, and third-party verification from the log alone.
Profiles: CORE, VAULT-FEDERAL, VAULT
| CORE | VAULT-FEDERAL | VAULT | |
|---|---|---|---|
| AND set | {1} | {1,3} | {1,2,3} |
| Slots | ML-KEM-768 | ML-KEM-768 + anchor | ML-KEM-768 + HQC-192 + anchor |
| IKM | 32 B | 64 B | 96 B |
| slot_map | 0x01 | 0x05 | 0x07 |
| Envelope (KAT) | 1,459 B | 1,528 B | 10,521 B |
| Intended use | Single-family sealing where the anchor and second family are not required | Deployments that require the threshold anchor but cannot carry HQC (size / jurisdiction) | Default high-assurance profile |
| Falls if… | ML-KEM-768 falls | ML-KEM-768 falls and the anchor is recovered | All three components fall (subject to the standards position and A-EXT) |
Choosing a profile
- Choose VAULT unless you have a specific reason not to. It is the only profile with family diversity and the anchor.
- Choose VAULT-FEDERAL when the deployment mandates anchor custody but HQC ciphertext size (≈9 KB per object) or availability is disqualifying.
- Choose CORE only for low-assurance or interoperability cases, and document the decision: CORE is a single-family construction by design, and slot 1 alone opening a CORE object is specified behaviour, not a bug.
Downgrade is rejected: an opener enforces the policy floor for the expected profile, and a VAULT object presented as CORE (or with a reduced slot map) fails with ERR-OPEN-FAILED after the full decap/tag path. The profile string is exact and case-sensitive: "CORE", "VAULT", or "VAULT-FEDERAL".
Python API (reference implementation)
Envelope — nirvq.envelope
Combiner — nirvq.combiner
Key service — nirvq.keyservice
Errors — nirvq.errors
KEM backend — nirvq.kem
Full-system services & CLI (F7 integration)
The full reference system wires the core into a persistent object store (SQLite); a sealing service exposing seal / open / rewrap / burn / verify; a CLI and a local API over that service; and an end-to-end demo: seal a BIP-39-style seed archive, re-wrap it across an epoch, burn the old epoch, and verify the result from the transparency log alone.
The sealing service also runs read-only: serve --read-only refuses epoch-create, seal, rewrap, and burn with 403 after auth, while open and GETs still work (TR-01 guardrail, Dec 6, 2026). Duplicate epoch creates are idempotent — a repeat create returns 201 with the stored record, not an error (decision-review D-01 ruling).
Third-party verification
A verifier who has only the public keys and the transparency log — no key-service access — can check an object's Passport chain and Merkle anchoring:
This is the property that makes Passport more than a receipt: verification does not require trusting the operator's database.
Digital Asset Preservation — worked flow
- Export a BIP-39-style seed archive from the wallet (owner's existing process).
sealit under VAULT at the current epoch; store the envelope in the object store.- At epoch rotation,
rewrapto the new epoch (header-only; the seed plaintext never leaves the boundary). - Verify successors (4 steps), then
burnthe old epoch. - At any point, a third party can
verify --from-logthat the archive's Passport history is intact.
This wedge is ABSENT as a market position: no custody partner, no letter of intent, no pilot, no chain integration, and no market size is claimed. Validation runs through the proposal's P4 interview and LOI gates. NIRVQ does not generate keys, sign transactions, participate in consensus, or protect a live signing path — its job starts when material is at rest and ends when it is opened inside the owner's boundary.
