From d6d1f8d36dc46dd34eb7d204e7d8a3edc066ef3f Mon Sep 17 00:00:00 2001 From: mnovak Date: Mon, 23 Nov 2026 01:02:45 +0100 Subject: [PATCH 1/2] [core] domi-pki: pin v1.0.1 (CPAL-1.0; the same code as v1.0.0), NAR hash to come from the NixOS runner --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- deploy/nixos/package.nix | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c65c9d4..1f6e1ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -861,8 +861,8 @@ dependencies = [ [[package]] name = "domi-pki" -version = "1.0.0" -source = "git+https://gitea.marek-novak.cz/mnovak/domi-pki?tag=v1.0.0#b1ec5b3196fc22355270f381e5a7748c50e3380d" +version = "1.0.1" +source = "git+https://gitea.marek-novak.cz/mnovak/domi-pki?tag=v1.0.1#801dfbdc75cff8ea545422b9ada2fa4a3b6693f8" dependencies = [ "base64 0.22.1", "rcgen", diff --git a/Cargo.toml b/Cargo.toml index 4e94883..f3df68b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ ianitor-core = { path = "crates/core" } ianitor-edge = { path = "crates/edge" } ianitor-testkit = { path = "tests/support" } # The Domi CA, shared with Fabrica (docs/32_coherence.md T3a); pinned by tag. -domi-pki = { git = "https://gitea.marek-novak.cz/mnovak/domi-pki", tag = "v1.0.0" } +domi-pki = { git = "https://gitea.marek-novak.cz/mnovak/domi-pki", tag = "v1.0.1" } serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.145" toml = "1.2.1" diff --git a/deploy/nixos/package.nix b/deploy/nixos/package.nix index adcb571..0785bcb 100644 --- a/deploy/nixos/package.nix +++ b/deploy/nixos/package.nix @@ -27,8 +27,8 @@ rustPlatform.buildRustPackage { cargoLock = { lockFile = ../../Cargo.lock; - # domi-pki, the shared Domi CA (Cargo.toml pins tag v1.0.0): the NAR hash of its tree at that tag. - outputHashes."domi-pki-1.0.0" = "sha256-JdknFJ5cxsI1/MtWmvsItoE6f7znJjUr4C/rwUEz9i4="; + # domi-pki, the shared Domi CA (Cargo.toml pins tag v1.0.1, CPAL-1.0): the NAR hash of its tree at that tag. + outputHashes."domi-pki-1.0.1" = lib.fakeHash; }; # libz-ng-sys (Pingora's compression) builds zlib-ng with CMake. nativeBuildInputs = [ cmake ]; From 5ea0bc1581a562b7494c7a2ed19b5eaf177ebaa7 Mon Sep 17 00:00:00 2001 From: mnovak Date: Mon, 23 Nov 2026 01:05:33 +0100 Subject: [PATCH 2/2] [core] domi-pki: the v1.0.1 NAR hash the NixOS runner reported --- deploy/nixos/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/nixos/package.nix b/deploy/nixos/package.nix index 0785bcb..2f7f20a 100644 --- a/deploy/nixos/package.nix +++ b/deploy/nixos/package.nix @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage { cargoLock = { lockFile = ../../Cargo.lock; # domi-pki, the shared Domi CA (Cargo.toml pins tag v1.0.1, CPAL-1.0): the NAR hash of its tree at that tag. - outputHashes."domi-pki-1.0.1" = lib.fakeHash; + outputHashes."domi-pki-1.0.1" = "sha256-C3l3Iqo1pFn/k977Y6TMGdh4aRDU76+W4/kyxv+1mXw="; }; # libz-ng-sys (Pingora's compression) builds zlib-ng with CMake. nativeBuildInputs = [ cmake ];