Free and open-source password manager

Two secrets. Only you hold both.

2Secret keeps your passwords, cards and documents encrypted on your device. Your vault stays with you: on one device, or on a server you run yourself. No subscription, no tracking.

Free for macOS, Windows, Linux, BSD and Android. The iOS app has a small one-time price.

Two-Secret Key Derivation

Your password alone can’t open your vault. That’s the point.

Your vault is locked with two secrets: one you remember and one your device creates. A thief would need both, and the server never has either.

  1. You type your master password

    Your master password is stretched with Argon2id: a deliberately slow process that needs a lot of memory (64 MiB, 3 passes), which makes guessing very expensive. It needs at least 12 characters and a “good” strength rating.

  2. Your device adds the Secret Key

    A random 130-bit Secret Key is created on your device and never sent to the server. It looks like 2S-XXXXXX-XXXXX-… and is printed on your Emergency Kit.

  3. Together they become your keys

    The two secrets combine into an unlock key that never leaves your device. Every vault gets its own 256-bit key, and every item is encrypted with XChaCha20-Poly1305 before it goes anywhere.

  4. Only ciphertext reaches the server

    If you sync, your server receives encrypted data only. Even a complete copy of its database is useless for guessing your password, because the Secret Key isn’t in it.

How your two secrets become an unlock key that never leaves your device Your master password is stretched with Argon2id and combined with your 130-bit Secret Key, which is created on your device. Together they produce an unlock key, which stays on your device and opens a separate key for each vault. Your vaults reach the server only as encrypted data, ciphertext. Your device Master password Argon2id 64 MiB · 3 passes Secret Key 2S-7QK4P2-… 130-bit, made on this device. Never sent. Unlock key Never leaves this device Vault Vault Vault c1f0…9a7e 4be2…0d13 Server Gets your vaults as ciphertext
For the technically curious

Your master password goes through Argon2id (64 MiB of memory, 3 passes) and is combined with the 130-bit Secret Key. The result is split into an unlock key, which never leaves your device, and an authentication key. The server only stores an Argon2id hash of that authentication key, so it can check that it’s you without learning anything that helps to decrypt your data.

Apps refuse to derive keys, and servers refuse to store accounts, with Argon2id parameters below 19 MiB of memory and 2 passes, so a hostile server can’t talk your app into weak key derivation.

What you get

Everything a password manager should do.

Apps for every platform, all built from one open-source codebase.

  • 19 item types

    Logins, cards, identities, bank accounts, SSH keys, documents and more, with custom fields, tags and encrypted attachments.

    Item types
  • Watchtower

    Finds weak, reused and old passwords, http websites and expiring cards, with an optional Have I Been Pwned check.

    About Watchtower
  • Browser extension

    Fills in only when you click, checks the page first, and saves and uses passkeys.

    About the extension
  • Sync and sharing

    Offline-first sync through your own server, and vaults you share as viewer, editor or manager.

    About sharing
  • CLI for developers

    2secret read, run and inject keep secrets out of config files and CI.

    About the CLI
  • Bring your passwords

    Import from Bitwarden, LastPass, your browser, KeePass, Dashlane and other password managers.

    Importing

You own your data

Your device or your server. Never ours.

The 2Secret project doesn’t host anyone’s vault. You choose where yours lives, and you can change your mind later.

Simplest

Only on your device

Your vault lives on one device. There is no server at all, and your vault never leaves your device.

  • Works completely offline
  • Encrypted backups and exports
  • Connect a server later, in Settings
  • Not included: No sync between devices
  • Not included: No sharing with others
Sync and share

On your own server

Run the 2Secret server in Docker on a Raspberry Pi, NAS, Proxmox or VPS. Your devices sync through it, and it only ever sees ciphertext.

  • Sync between all your devices
  • Share vaults with family or your team
  • Offline-first: keeps working without a connection
  • Invite-only sign-ups
  • Not included: You look after the server: updates and backups

Free & open source

No subscription. No tracking. Nothing to hide.

2Secret is free and open source under the MIT or Apache 2.0 licence, at your option. Every line of code is public, so anyone can check what it does, and nobody can quietly change the rules.

The only thing that costs money is the iOS app in the App Store: a small one-time fee for Apple’s developer account and hosting. Even that app is open source and can be built from source. Donations help cover the remaining costs.

Stars on GitHub
1
Latest version
v1.16.4
Licence
Apache-2.0
Price
€0

Figures from GitHub, refreshed regularly.

More from the maker

2DriveScan

See what is taking up your disk space.

2DriveScan scans drives in seconds and shows every folder as an interactive sunburst. Free and open source.

macOS, Windows and Linux

Visit 2drivescan.app

Your secrets deserve better than a subscription.

Download 2Secret for free and bring your passwords over from your current password manager or browser in a few minutes.