One vault holding your bank login, your work Slack and the account for your anonymous blog is a single file that connects all three. That's fine until someone gets the file, or until a cloud provider gets a legal request for your account and hands over a list of every site you've saved. If you run more than one identity, the password manager is where they quietly meet, so it's worth setting up deliberately.

One vault per identity

The basic rule is a separate database for each identity you want kept apart, opened only in the environment that identity lives in. Not folders inside one vault. Separate files with separate master passphrases.

KeePassXC makes this easy because a vault is just a .kdbx file. You can have personal.kdbx on your laptop and pseudonym.kdbx on an encrypted USB stick or inside the Tails Persistent Storage, and the two never touch. No account, no server, nothing to subpoena except the file itself. KeePassXC is also included in Tails for exactly this reason.

The trade-off is syncing. If you want the vault on several devices, you need to move the file yourself (Syncthing, a USB stick, an encrypted cloud folder). For a pseudonymous identity, I'd argue that friction is a feature: the vault lives where the identity lives and nowhere else.

If you prefer a cloud manager

Bitwarden, 1Password and Proton Pass encrypt the vault on your device, so the provider can't read the passwords. They do know the email address on the account, the IPs you connect from, when you sync, and how many items you have. Some also keep site URLs or favicons in ways that leak more than you'd think.

So for separate identities with a cloud manager:

  • Use a separate account per identity, each registered with its own email. Bitwarden's apps support switching between several logged-in accounts, which is handy for work and personal but defeats the purpose for an anonymous identity if both are logged in on the same device.
  • Access the pseudonymous account only through the same route you use for that identity, for example Tor Browser on a separate machine or a separate VM.
  • Pay for it, if at all, in a way that isn't linked to you, or stay on a free tier.

Bitwarden is open source and can be self-hosted (Vaultwarden is a popular lightweight server), which removes the third party but adds a server you have to keep running and patched.

The master passphrase

Each vault needs its own master passphrase, and they shouldn't resemble each other. A passphrase made from six or seven words chosen with real dice from the EFF's long wordlist is strong and memorable. KeePassXC's password generator has a passphrase tab that does the same thing using the system's random number generator.

Don't reuse the passphrase for your disk encryption or your Tails persistent storage. And don't write the pseudonymous one on a sticky note inside your real wallet.

KeePassXC also supports a key file or a YubiKey challenge-response as a second factor for opening the database. That's useful for a vault you keep on a USB stick: losing the stick alone isn't enough to open it. Losing the key file without a backup means losing the vault, though, so back it up separately.

The recovery email problem

This is the one people miss. You make a pristine anonymous account, and then the service asks for a recovery email, and the easiest one to hand is your real Gmail. Now every password reset for the pseudonym lands in your real inbox, and the provider has the two linked in its database permanently.

Recovery addresses, phone numbers and backup codes for an identity belong to that identity. If the pseudonym needs an email, give it its own (see anonymous email), and store everything in the pseudonym's vault.

Browser integration

Autofill is a phishing defence: KeePassXC-Browser and the Bitwarden extension won't offer your password on a lookalike domain. That matters for onion sites, where phishing mirrors are common and addresses are hard to eyeball.

In Tor Browser, though, installing extensions changes your fingerprint and is discouraged. Copy and paste from KeePassXC instead. It clears the clipboard after a set time (10 seconds by default), which you can adjust in Settings, Security. If you're in Tails, KeePassXC is right there and copy-paste is the normal workflow.

Two-factor codes

KeePassXC and most cloud managers can store TOTP secrets and generate the six-digit codes. Convenient, but if the vault is compromised, both factors go at once. For the accounts you'd be ruined by losing, keep the second factor somewhere else: an authenticator app on a different device, or a hardware security key. For throwaway forum logins, keeping TOTP in the vault is a reasonable compromise.

The wider principle is in compartmentalization. A password manager is just one of the places where identities tend to leak into each other, but it's an easy one to get right.

#password-managers #keepassxc #bitwarden #compartmentalization