Security, in plain English

This page describes what Aegis protects, how, and where its limits are. If something here stops being true, this page gets updated.

What is live today: the public website and the server that runs it. There are no user accounts and no vault yet, so Aegis does not hold anyone’s records right now. The rest of this page is the design we are building to, written down first on purpose.

What Aegis stores

An email address for each account, encrypted vault items, encrypted files, which household each person belongs to, and a security log of sign-ins and blocked attempts. Website visits are counted with our own simple analytics, and visitor IP addresses are never stored, only a salted one-way hash.

What is encrypted in your browser

Before anything leaves your device, the title and contents of every vault item, and every file you upload, are encrypted with AES-GCM, a modern encryption method that also detects tampering. Each item gets its own fresh random value so no two encryptions look alike.

Where the keys live

Your vault has one master key. It is random, created in your browser, and only ever held in your browser’s memory while the vault is unlocked. Closing the tab or pressing Lock wipes it.

We store the master key only in locked form. It is locked with a key made from your passphrase (stretched 600,000 times so guessing is slow), and later also with your passkey and your recovery codes. Those are three doors to the same key. Your passphrase itself is never sent to us.

What we, the operators, can and cannot see

This table is the honest version of “we can’t read your data”.
DataEncrypted in your browser?Can we read it?
Your email addressNoYes. We need it to send sign-in codes.
When your account was createdNoYes.
A vault item's titleYesNo.
A vault item's contentsYesNo.
A vault item's category, e.g. "Insurance"NoYes. It is used for filtering.
Uploaded files and their namesYesNo.
Which household you belong toNoYes.
The security log (sign-ins, blocked attempts)NoYes. It is how we detect attacks.

That means we can see that someone has, say, 47 items in the “Insurance” category, but not what any of them say. We can see who shares a household. That is real metadata, and we would rather tell you than pretend otherwise.

If you lose your passphrase and your passkey

If you lose your passphrase, your passkey device and your recovery codes, your data is gone, permanently. There is no reset link and no support email that can bring it back, because we never had the key. That is the price of privacy that does not depend on trusting us.

Trade-offs we have chosen

  • Account lockout on repeated failed sign-ins. It stops someone guessing their way in, but it also means an attacker could deliberately lock a real person out for a while. We accept that cost because the alternative is worse.
  • Categories are not encrypted, so that filtering works. See the table above.
  • The database itself refuses to hand out private rows to the public key (Row Level Security), so a bug in our code is not enough on its own to leak data.

What Aegis does not protect against

  • Malware on your own device, which can see what you see while the vault is unlocked.
  • Someone who knows your passphrase, or has your unlocked device in their hands.
  • A weak passphrase. Use a long one.