Files

1.1 KiB

domi-pki

The Domi CA as a pure Rust crate: the root's certificate, intermediates, server, device and agent certificates, and the checks on them. Used by Ianitor and by Fabrica for its Legatus agents.

  • Pure: no files, no network, no clock. You pass now and do the I/O.
  • The root never touches this crate: anything the root signs goes through the Signer trait, which Custos implements behind an approval.
  • Hostile input in, typed errors out: certificates, chains and CSRs never panic the crate.
[dependencies]
domi-pki = { git = "https://gitea.marek-novak.cz/mnovak/domi-pki", tag = "v1.0.1" }

Design and rules: docs/01_domi_pki.md. Licence: CPAL-1.0 (Common Public Attribution License 1.0), see LICENSE. Anyone redistributing this code, or a work that includes it, must show the attribution in Exhibit B: "Built on Domi", https://aula.marek-novak.cz, Copyright (c) 2026 Marek Novák. Versions before this change stay available under MPL-2.0 to those who received them.