• v0.8.0 38c458d21b

    mnovak released this 2026-11-03 23:11:50 +01:00 | 53 commits to main since this release

    Core for Custos v1.2, KeePass import and export (CustosPublic PR #10).

    What's new

    • custos-kdbx (docs/KDBX.md): its own KDBX reader and writer on RustCrypto, no KeePass library.
      • Reads KDBX 4 (ChaCha20 or AES, Argon2 or AES-KDF) and KDBX 3.1 (what keepassxc-cli writes).
      • Writes KDBX 4 that KeePassXC opens.
      • Passwords, key files in all four forms, or both.
      • Groups become folders; URLs, TOTP, attachments, custom fields and the history of secret fields carry over. An entry's UUID becomes its id, so importing the same file again updates instead of duplicating.
    • The vault: Item.folder, Item.attachments and SecretBytes for attachment data.

    Tests

    custos-kdbx: 22 (format, mapping, and three round trips against files KeePassXC wrote). tools/kdbx/interop.sh runs the KeePassXC round trip in both directions: 0 differences.

    The core is a library: there is nothing to download besides the source archives below.

    Downloads
  • v0.6.0 6e4da02351

    mnovak released this 2026-11-03 15:28:30 +01:00 | 62 commits to main since this release

    Core for Custos phase 4, the phone (CustosPublic PR #8).

    What's new

    • custos-wasm: two factors in the browser (docs/FACTORS.md "In the browser and on a phone"):
      • factors reads a vault's factor ids and types from its header;
      • recipient makes a one-time key whose secret half stays in WebAssembly memory;
      • open_with opens a vault with any two factors: the password, a sealed answer (a TOTP release or another device's approval), or a passkey's PRF output;
      • phone_enrol / phone_approve pair a phone with a PC and let it approve the PC.
    • Vault::add_factor_apart, Error::SameDevice. Two factors kept on one device (a phone's passkey and its approval key, a PC's key and its approval key) never open the vault together. Each still pairs with every other factor.
    • custos_seal::sender_code (docs/SEAL.md): the match code of a box's ephemeral key, so the receiver can confirm who sealed it.

    Tests

    84, all pass. custos-wasm builds for wasm32 with the Custos flake's Nix toolchain.

    The core is a library: there is nothing to download besides the source archives below.

    Downloads
  • v0.5.0 df7c149b25

    mnovak released this 2026-11-03 11:57:04 +01:00 | 64 commits to main since this release

    Core for Custos phase 3 (CustosPublic PR #7).

    What's new

    • custos-seal (new crate, docs/SEAL.md): boxes sealed to a one-time X25519 key
      (X25519 → HKDF-SHA256 → XChaCha20-Poly1305, bound to a context), a six-digit match code shown on both
      screens, and at-rest sealing.
    • custos_keys::import (docs/KEYS.md "Importing"): OpenSSH, PKCS#8, PKCS#1 and SEC1 private keys
      (Ed25519, ECDSA P-256, RSA 2048–4096). Public parts and the fingerprint are derived from the private key.
      Passphrase-protected keys are refused. Works around ssh-key 0.6.7 passing p twice for RSA keys.
    • Vault::factor_ids: each factor's id and type from the header alone.

    Tests

    79, all pass.

    The core is a library: there is nothing to download besides the source archives below.

    Downloads