Files
CustosPublic/README.md
T
mnovak b942c24077 [repo] Licence: CPAL-1.0 from v0.20.0, with the Exhibit B credit; versions before stay MPL-2.0
Mark's decision of 2026-11-23 for every public Domi repository. LICENSE is domi-licence's template with only
{ORIGINAL_CODE} = CustosPublic; the workspace licence is CPAL-1.0; the README says versions up to v0.19.1 stay
available under MPL-2.0 to those who received them and that redistributors show the credit. The EFF wordlist keeps
CC BY 3.0 US.
2026-11-23 00:06:03 +01:00

41 lines
2.3 KiB
Markdown

# Custos Domi — core
The public, auditable core of [Custos Domi](https://gitea.marek-novak.cz/mnovak), a small local-first
password and secret manager: everything that touches plaintext or keys.
| Crate | What |
|:--|:--|
| `custos-vault` | The `.custos` file: Argon2id → key slot → XChaCha20-Poly1305, atomic save, typed items |
| `custos-gen` | Memorable passwords (`Word7-Other3-Third9-Fourth2`), nicknames (`GitHub.Lantern.47`), random, PIN, strict-site |
| `custos-totp` | TOTP (RFC 6238) and HOTP (RFC 4226), `otpauth://` URIs |
| `custos-qr` | QR payloads: Wi-Fi join codes (escaped), plain secrets |
| `custos-share` | Private share links: encrypted in the sender's app, key in the link's `#fragment`, optional password ([`docs/SHARE.md`](docs/SHARE.md)) |
| `custos-wasm` | The same code compiled to WebAssembly for the web vault and the share page (no wasm-bindgen; `js/custos.mjs` is the whole JS side) |
| `custos-kdbx` | KeePass import (KDBX 3.1 and 4) and export (KDBX 4), checked against KeePassXC ([`docs/KDBX.md`](docs/KDBX.md)) |
| `custos-browser`, `custos-native`, `extension/` | The Edge/Chrome extension, its native messaging host and the rule for which login belongs on which page ([`docs/BROWSER.md`](docs/BROWSER.md)) |
Read [`docs/FORMAT.md`](docs/FORMAT.md) for the file format and [`docs/THREAT_MODEL.md`](docs/THREAT_MODEL.md)
for what it does and does not protect. Report vulnerabilities as described in [`SECURITY.md`](SECURITY.md).
```
cargo test --workspace
```
## Licence
CustosPublic is licensed under the **Common Public Attribution License 1.0** (SPDX `CPAL-1.0`), from v0.20.0 on: see
[LICENSE](LICENSE). Versions before this change (up to and including v0.19.1) stay available under MPL-2.0 to those
who received them under it.
**Attribution (Exhibit B).** Anyone who redistributes CustosPublic, or software built on it, must show this credit
where CPAL-1.0 §14 asks for it:
| | |
| :-- | :-- |
| Attribution Copyright Notice | Copyright (c) 2026 Marek Novák |
| Attribution Phrase | Built on Domi |
| Attribution URL | https://aula.marek-novak.cz |
| Graphic Image | none |
Third-party parts keep their own licences. The memorable-password words come from the EFF wordlist (CC BY 3.0 US), filtered with the ESDB/SCOWL English dictionary (see `crates/custos-gen/wordlists/SOURCES.md`).