← All writing

My own password manager, with a new email address for every site

Keyhaven is a password manager and an email-alias inbox in one, made for exactly one person: me. It's inspired by AliasVault, everything is encrypted on my own devices, and it runs on free plans.

·12 min read
The Keyhaven vault in its dark theme: folders and tags on the left, a list of logins, and one login open with its live 2FA code and the inbox of the alias it was made with, showing a sign-up code with a Copy button.

Every site wants an email address. Give them all the same one and a few things happen: a leak at one site links all your accounts together, the spam never stops, and you can’t tell who sold your address.

AliasVault has a neat answer: a password manager that also makes a different email address for every site, with an inbox for each. I loved the idea. I also wanted my own look, my own rules, and something that runs on free plans. So I built Keyhaven. It’s the same idea, my own design and my own code.

Only for me

Keyhaven has exactly one account. Creating it needed a one-time setup key; the moment my account existed, sign-ups closed for good. There’s no “reset it by email” either: nobody, not even the server, can open the vault without my master password. The only way back in if I forget it is an emergency kit I made myself: a recovery code on paper, kept with my passport (how that stays zero-knowledge).

That’s not a missing feature, it’s the point. Keyhaven is a tool for one person, so it doesn’t need anything that only makes sense for many.

The vault

The password-manager half does what I used every day:

  • logins with several websites each, custom fields, notes and a 2FA secret, plus secure notes, cards and identities
  • one search across everything, favourites, folders, tags, and a trash with restore
  • the last 20 passwords of each login, with dates
  • a generator for passwords and passphrases, with a strength meter and a rough “time to guess”, right inside the password field
  • Ctrl+K searches everything at once (items, aliases, mail, commands), and a Vault health page lists weak, reused and old passwords and logins without 2FA
  • import from Bitwarden, Chrome, Opera or any CSV, and an encrypted export I keep somewhere safe
  • an optional leak check (off by default) that sends only the first 5 characters of a password’s hash

2FA codes live right next to the logins, with a countdown and a click to copy. I can add one from a QR picture, too: dropped, pasted or picked. Chrome and Opera on Windows have no built-in QR reader for web pages, so Keyhaven has its own small one.

A new address for every site

The other half is the reason I built it. One click makes an alias like quietotter215@aliases.example, and if I want, a made-up identity to go with it, saved as a login linked to that alias. Since 1.3.0 every address is built the same way, everywhere: [ name | 🎲 ] @ [ domain ▾ ], with one searchable domain picker that puts my own domain under Private and the temp-mail services under Public. It even sits inside the email field of a new login, so the alias is made when I save.

Every alias has its own inbox:

  • sign-up codes and verification links are found and offered with a Copy button
  • HTML mail is shown in a locked-down frame, with remote images blocked until I click Load images
  • I can reply, forward or write from an alias, and Sent shows whether each mail was really delivered, bounced or blocked
  • turn an alias off and its mail is simply dropped

The Keyhaven inbox: a sign-up mail open, with the code found in it and a Copy button next to it.

For sign-ups I truly don’t care about, an alias can also live on a public temp-mail service, with big warnings, because anyone who knows those addresses can read them. More on that in its own post.

The extension

Most of the time I don’t open Keyhaven at all. The browser extension (Opera and Chrome) does the work on the page:

  • in a login field, a small Keyhaven button offers the logins for that site and fills them
  • on a sign-up form, it offers New alias + strong password: I choose the address and the domain right there, and it makes the alias, saves the login and fills the form
  • after I sign in somewhere new, it asks Save this login?
  • right-click any field for the same options, or press Ctrl+Shift+L to fill
  • it unlocks with a PIN, if I set one

The extension on a made-up sign-up form, offering a new alias and a strong password, or just a strong password.

And the phone

The same site works as a phone app: add it to the home screen and it gets a bottom bar and works offline. Without a connection the vault opens read-only, from a copy that’s stored encrypted on the phone. It’s locked every time it opens. With a connection, a PIN (or the fingerprint, where the phone offers it) gets me in faster. With no connection it takes my master password, unless I’ve turned on the fingerprint option that came in 1.14.0. On Android, setup asks for a passkey, which may sync with the phone’s password manager, so the secret can reach my other devices. On its own it opens nothing, but with no connection a copy of this device’s data plus that passkey is enough. The page says so when the authenticator reports a passkey that can sync.

Keyhaven on a phone: the vault, the 2FA codes and a mail with its code found.

What the server knows

Almost nothing readable. My master password never leaves my device, and neither does anything that can decrypt the vault. The server stores scrambled data and a few facts it can’t avoid knowing: how many items there are, which alias got mail and when. Incoming mail is sealed to a key only my devices have, the moment it arrives.

It all runs on Cloudflare’s free plan, a free domain, and Brevo’s free plan for sending. The total is $0 a month.

It was at version 1.3.0 when I wrote this, with 213 automated tests. All the pictures in these posts are from a copy running on my own PC, filled with made-up accounts and addresses on aliases.example.

Since then (1.4.0): a new Secret item type for API keys, tokens, server logins and whole .env files, every value hidden until I ask; moving my 2FA codes over from Google Authenticator (its export QR codes, even with the phone camera), Aegis, 2FAS and others, with each code shown live so I can tick that it matches; a right-click menu on every item, mail, alias and code (a long-press on the phone); several private domains, added on one guided page that checks each step; and an on/off switch for every alias, public ones too. A login made with an alias now also shows that alias’s latest mail, code included, right inside the login (the picture at the top).

Since then (up to 1.7.0): sub-aliases like me.shop@, each with its own switch; burner aliases that turn themselves off after a time or after their first mails; simple rules per alias (delete mail after N days, only these senders, only codes and links, no newsletters); a calm “may be leaked” note when mail reaches an alias from a company other than the site it was made for, worked out on my device; secure links that end by time, by views or when copied, opened on a separate neutral site that names nothing; and, after a sign-up, the extension offers the code or verification link on the page, filling nothing until I click. Vault health is now called Monitor. Then 1.7.0 added no features at all: it put everything back on one simple page.

Since then (up to 1.10.0): one Trash for everything I delete, with one setting for when it empties; Who has my email, a map of my aliases, the sites I gave them to and whoever else has written, worked out on my device; Swap, one action when an address has got out: a new address, the login follows, and the old one keeps delivering for a while with a note on that mail, then stops by itself; Travel mode for a trip; links that open later; name styles, a lock to the first sender, snooze, labels and pins, and a canary, an address I never give out, so mail to it means someone guessed or scraped the domain. Then 1.10.0 filled out the pages: a reading page with a link checker that spots fake links, templates and a preview when creating an alias, and each alias’s mail by week with its top senders.

Since then (up to 1.13.0): the 2FA pages were redesigned around the code; site logos, saved encrypted with each login; a page for installing it on my phone, where with no connection it opens with my master password and shows my logins, passwords and 2FA codes; Free numbers, public phone numbers from 7 free sites for throwaway sign-ups (anyone can read those texts and use the number, so never for an account I care about); All tools, one page with a QR code maker and reader, a link checker, a photo cleaner, a file locker and a text and code kit, all working on my device; a QR code for any file up to 25 MB: a QR code only holds about 3 KB, so the file is encrypted on my device and the code holds a private link to it; and a Random tab in the generator with 15 tools. It also goes much easier on the free temp-mail services, which were blocking my server for asking too much.

Since then (up to 1.14.0): for mail, rules across all my aliases that show which mail they would catch before I save and can be undone (my mail is sealed, so they run on my device while an inbox is open, and mail that comes meanwhile gets its rule next time); a scan I start by hand that shows who tracks me and makes a best guess at my subscriptions and receipts; a one-time inbox that makes an address, shows the code big and goes to the Trash by itself; and smarter search, like “from amazon last month”. For the vault, notes that destroy themselves, for good (a copy someone already made, a shared link or a saved export can’t be recalled); one button to check every password; Your year, a private recap; and Home, widgets I pick, though the app still opens on the vault unless I choose otherwise. In All tools, a PDF maker with a password (tested in Chrome’s PDF reader, MuPDF and Xpdf; older readers can refuse it, and so does the PDF part built into Windows 10), a document cleaner that says what it couldn’t check or remove, image tools, a converter and a world clock, plus saved lists in Random. On Android only, it’s in the Share list of any app. My fingerprint can also open the saved copy with no connection, if I turn that on: it’s off by default because it’s less safe, and a PIN never works offline. Free numbers got a real flag for every country.

Since then (up to 1.15.0): Home does more. Everything that was there stays where it was, and after it I can open and close a vault, switch aliases on and off with search and Undo, find anything in the vault and copy it or share it by secure link, use quick actions, and reach every page and every tool from All pages. The Trash holds everything: ended shared links are each their own row, with Delete for good, and mail rules, saved Random lists, alias templates, alias labels, my password hint, my HaveIBeenPwned key and senders I unblock wait there too. Nothing leaves the Trash by itself unless I chose a time: mail no longer goes after 30 days, and ended links no longer go after 7. Settings has 58 more options, each one findable with Ctrl+K, and nothing changes until I choose it.

Since then (up to 1.15.5): fixes and ideas from full tests, and nothing moved on a computer. Delete for good only takes what’s in the Trash: the Trash page stays current, my device checks again after every question, and the server refuses mail, drafts and aliases that aren’t there. A thing deleted for good can’t come back from an old copy: a tab, form or extension copy made before it can’t bring it back, a form left open keeps what I typed and offers Save as a new item, and importing a backup always makes new copies with new ids. A phone keeps itself current, looking for a new version when it opens, comes back and unlocks, and everything is reachable by touch. An Undo list keeps recent actions after the message closes, in memory only, until I lock or sign out. What I changed lists every option that differs from how it came, with a reset. Ended shared links are listed in the Trash apart from what I deleted. Locking clears more from memory: passwords rated by the strength meter, the open hidden item, a Save still on its way, and the Inbox’s cache of opened mail and its key. 1,928 automated tests now.

Update, 12 November 2026 (up to 1.18.1): passkeys are a vault item now: added by hand or imported from Bitwarden, Proton Pass or 1Password, shown on their login’s page and exported for other managers (signing in to sites with them waits for the extension). A security key (a YubiKey or another FIDO2 key) can stand in for the 6-digit code when I sign in on a new device. Emergency access lets people I trust, each with their own Keyhaven, ask for my vault if something happens to me: I pick a waiting time (1 to 30 days) and whether they may only read it or take it over, I can say no during the wait, and my vault key is sealed to them on my own device, so the server still can’t read anything. Replies through an alias: mail an alias forwards to my real inbox comes from a reply address, so pressing Reply there answers from the alias, Reply all included. Forwarded mail can be encrypted with my PGP key before it leaves Cloudflare. Import asks what to do with a login that matches one of mine but changed (skip it, keep both or update mine), and the encrypted backup now holds my aliases too. And it starts faster: opening it and unlocking to the vault takes about 30 requests instead of 184. 2,064 automated tests now.

The rest of the story

Keyhaven turned into more stories than fit in one post, so here they are:

Keyhaven is a private tool for one person, so there’s no link to try it, and the code is private.