Files
domi-pki/README.md
T
mnovak ad97caabd0 [repo] Licence: CPAL-1.0 instead of MPL-2.0, with the Domi attribution in Exhibit B
Mark's decision of 2026-11-23: every public Domi repository is licensed under the Common Public Attribution License 1.0. LICENSE is the canonical SPDX text with Exhibit A and B filled in (template sha256 8035b912...021f1). Cargo.toml, README and CLAUDE.md now say CPAL-1.0. Earlier versions stay MPL-2.0 for those who received them.
2026-11-23 00:04:01 +01:00

18 lines
1.1 KiB
Markdown

# 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: 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.