[core] PKI: the Domi CA from the shared crate domi-pki v1.0.0 #9
Reference in New Issue
Block a user
Delete Branch "feature/domi-pki"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Domi CA moves to the shared public crate domi-pki v1.0.0 (Fabrica docs/32_coherence.md, T3a), so Fabrica can issue Legatus agent certificates without Ianitor. Behaviour unchanged.
What
crates/core/src/pki.rsis Ianitor's view of domi-pki: the same public API (create_root,sign_intermediate,Intermediate,issue_server,issue_device,inspect,issued_by,intermediate_problem,match_code, the openssl profile, the placeholder,testing), the samePkiErrorand messages (mapped from domi-pki's), and the encrypted-key format kept here (Ianitor's storage, not the CA).domi-pkiby git tagv1.0.0; core drops its direct rcgen, x509-parser and time dependencies.cargoLock.outputHashes."domi-pki-1.0.0"indeploy/nixos/package.nix(the NAR hash of the tag's tree; the script that computed it reproduces CustosPublic's flake.locknarHashexactly).Tests: no test file changed. Windows: core 103 (pki 15), control 21, edge 31, diff 2, testkit 1: the same counts as the last handover.
Self-review (adversarial)
PkiErrorstays Ianitor's own enum with the same texts; domi-pki's new variants (Signer,UnsupportedKey,WrongIntermediate) cannot arise from Ianitor's calls with local P-256 keys and map toBuild/BadKey.CertInfogains aurisfield (re-exported from domi-pki): nothing in Ianitor builds aCertInfoliteral.nix build .#ianitor,nix flake checkand the Linux-only Rust suites (WSL2 Debian has no disk on this PC:E:\WSL\Debian\ext4.vhdxis missing). T4 runs them first.