[docs] domi-pki: CLAUDE.md, design (docs/01), README, MPL-2.0 licence, pre-commit hook

This commit is contained in:
2026-11-17 11:12:12 +01:00
commit b37c30b413
8 changed files with 964 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# 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](https://gitea.marek-novak.cz/mnovak/Ianitor) and by Fabrica for its
[Legatus](https://gitea.marek-novak.cz/mnovak/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.
```toml
[dependencies]
domi-pki = { git = "https://gitea.marek-novak.cz/mnovak/domi-pki", tag = "v1.0.0" }
```
Design and rules: [docs/01_domi_pki.md](docs/01_domi_pki.md). Licence: MPL-2.0.