Security model

Reference

Security model

What is encrypted, with which keys, and what the server can and can't see.

Your keys

  1. Master keypair. Argon2id stretches your master password into an X25519 keypair. It is derived on demand and never stored.
  2. Device keypair. A random X25519 keypair created at sign-up and kept in your browser. A copy sealed to your master key is stored on the server, so a new device can recover it with your master password.
  3. Shared secret. A Diffie-Hellman exchange between the two keypairs gives a root secret that either private key can recover.
  4. Record key. Each record's key is derived from that root with BLAKE2b, so one record's key opens that record and nothing else.

Encryption

Records are encrypted with XSalsa20-Poly1305 (libsodium's secretbox) in your browser or the CLI. Sharing with another user wraps the record key with a key derived from your keypair and theirs. Public links use a one-off key carried in the link's # fragment, which browsers don't send to the server.

What the server sees

  • Record ciphertext, plus each record's title, URL and icon URL in plain text.
  • Your public keys and the sealed copy of your device key.
  • A hash of your sign-in password.

It never sees your master password, your private keys or the contents of a record.

Recovery

There is no password reset. If you lose your master password and every device that holds your key, the vault can't be decrypted by anyone, including us.

esc
↑↓ move ↵ open esc close