[core] domi-pki: pin v1.0.1 (CPAL-1.0) #17

Manually merged
mnovak merged 2 commits from feature/domi-pki-1.0.1 into main 2026-11-23 01:23:59 +01:00
Owner

Moves the shared Domi CA crate domi-pki from tag v1.0.0 to v1.0.1 (tag 40cbd80 → commit 801dfbd), the first CPAL-1.0 tag. Per the domi-licence session, its code is identical to v1.0.0; only the comments and the version differ.

What changed

  • Cargo.toml: tag = "v1.0.1".
  • Cargo.lock: only domi-pki changes (1.0.0 at b1ec5b3 → 1.0.1 at 801dfbd).
  • deploy/nixos/package.nix: cargoLock.outputHashes."domi-pki-1.0.1" is the NAR hash the NixOS runner reported (run rd0z37n78zq08: sha256-C3l3Iqo1pFn/k977Y6TMGdh4aRDU76+W4/kyxv+1mXw=).

Tests

  • In WSL: cargo test -p ianitor-core passes, including the PKI tests (hostile PEM input among them), and cargo test -p ianitor-control pki passes.
  • verify-nix run r1szbcc3jh577 builds .#ianitor and .#ianitor-web with the real hash.

Adversarial self-review

  • The NAR hash's key carries the version. importCargoLock keys outputHashes by <name>-<version>. The old domi-pki-1.0.0 key had to go, or Nix would refuse the lock with "no hash for domi-pki-1.0.1". Both the key and the hash were replaced.
  • "Same code" is the other session's word. The Rust tests are the check: the CA tests pass on v1.0.1.
  • The release pin (.fabrica/nix/pin.json) still doesn't exist; that's unchanged and tracked in the ROADMAP.
Moves the shared Domi CA crate **domi-pki** from tag v1.0.0 to **v1.0.1** (tag 40cbd80 → commit 801dfbd), the first CPAL-1.0 tag. Per the domi-licence session, its code is identical to v1.0.0; only the comments and the version differ. ## What changed - `Cargo.toml`: `tag = "v1.0.1"`. - `Cargo.lock`: only domi-pki changes (1.0.0 at b1ec5b3 → 1.0.1 at 801dfbd). - `deploy/nixos/package.nix`: `cargoLock.outputHashes."domi-pki-1.0.1"` is the NAR hash the NixOS runner reported (run `rd0z37n78zq08`: `sha256-C3l3Iqo1pFn/k977Y6TMGdh4aRDU76+W4/kyxv+1mXw=`). ## Tests - In WSL: `cargo test -p ianitor-core` passes, including the PKI tests (hostile PEM input among them), and `cargo test -p ianitor-control pki` passes. - verify-nix run `r1szbcc3jh577` builds `.#ianitor` and `.#ianitor-web` with the real hash. ## Adversarial self-review - **The NAR hash's key carries the version.** `importCargoLock` keys `outputHashes` by `<name>-<version>`. The old `domi-pki-1.0.0` key had to go, or Nix would refuse the lock with "no hash for domi-pki-1.0.1". Both the key and the hash were replaced. - **"Same code" is the other session's word.** The Rust tests are the check: the CA tests pass on v1.0.1. - **The release pin** (`.fabrica/nix/pin.json`) still doesn't exist; that's unchanged and tracked in the ROADMAP.
mnovak added 2 commits 2026-11-23 01:06:03 +01:00
mnovak manually merged commit 3bf4a4f4d2 into main 2026-11-23 01:23:59 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mnovak/ianitor#17