mnovak e533a38883 [vault] Signing: the Android grant, one answer for every Domi app's release APK and its key on first use; v0.19.0
signing.android: patterns owner/name or owner/*, the certificate's O and C, uses, last used and the keys it
made. A request fits when it is an apk from this PC's pipe with a run, pipeline release, a covered repository,
and that repository's own app key (<name>-android, scoped to exactly it and release, role release), while
card-signing is not ticked; a key's first signature fits. android_grant_make_key makes that key for a covered
repository (android-key-made in the security audit). Granting and revoking write standing-granted and
standing-revoked. A vault whose grant made a key needs core 0.19.0; older cores drop the grant itself.
2026-11-21 08:57:48 +01:00

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 Edge/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).

S
Description
No description provided
Readme 2.3 MiB
2026-11-03 23:11:50 +01:00
Languages
Rust 96.3%
JavaScript 2%
Python 0.8%
PowerShell 0.5%
Shell 0.2%
Other 0.1%