18 lines
805 B
Markdown
18 lines
805 B
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: MPL-2.0.
|