Files
CustosPublic/README.md
mnovak 04a6031c5d [browser] Firefox: one extension source for Firefox, Edge and Chrome; frames, public suffixes, the caller check, 2FA codes and saving logins; v0.20.0
- custos-browser: fill_allowed (a frame gets a login only when its page would too), public suffixes match
  exactly only (psl), ports digits only, caller (which extension started the host); spoof tests.
- custos-native: answers not_allowed to anything but the Custos extension, browser_totp and browser_save,
  the frame's and the page's origins, a random session per connection (its match code on Custos's cards).
- extension/: manifest.firefox.json (gecko id custos@marek-novak.cz) and manifest.chromium.json, one set of
  scripts; the popup shows 2FA codes, the save offer and the connection's code; tools/extension.mjs builds
  each browser and reproducible zips; tools/extension-test.mjs runs the background against a fake browser.
2026-11-22 21:57:35 +01:00

1.7 KiB

Custos Domi — core

The public, auditable core of Custos Domi, 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)
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)
custos-browser, custos-native, extension/ The Firefox, Edge and Chrome extension, its native messaging host and the rule for which login belongs on which page (docs/BROWSER.md)

Read docs/FORMAT.md for the file format and docs/THREAT_MODEL.md for what it does and does not protect. Report vulnerabilities as described in SECURITY.md.

cargo test --workspace

Licence: MPL-2.0. 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).