Security and encryption
How Privatemail keeps your email private
In plain English: what is encrypted, where the keys live, what our servers can still see, and the limits we think you should know about.
End-to-end encryption
One message, from your device to theirs
Step through how an end-to-end encrypted message travels. The servers in the middle only ever hold ciphertext.
Your device
Ada's key: pinned, verified
Privatemail servers
No private keys here. Sees: addresses, subject, date, size.
Ada's device
Ada's private key never leaves her devices
You write a message to Ada. Your device looks up Ada's public key and checks it against the one pinned in your encrypted contacts, so a swapped key is caught.
Your keys
Private keys live only on your devices
- Made on your device. Your account key, identity keys and mail keys are generated in your browser and never stored on our servers, not even encrypted.
- Locked by your password, locally. On each device your keys are encrypted under a key derived from your password with Argon2id, and in the browser also under a key that can't be exported.
- Kept away from the page. Every operation that touches a password or private key runs in a separate worker; unlocked keys never reach the web page itself.
- New browsers are approved. To use your data on a new browser, approve it from one you already use and compare the words both show.
What is encrypted
What we can read, and what we can't
End-to-end encrypted means only your devices, and the people you share with, hold the keys. Some information has to stay visible for mail and sync to work. Here is all of it.
| Data | Encrypted on your device | Visible to our servers |
|---|---|---|
| Mail to members or OpenPGP users | Text and attachments | Addresses, subject, date, size |
| Ordinary mail from other providers | Encrypted to your key on arrival (at rest, not end-to-end) | Everything, briefly, as it arrives |
| Drafts and Sent copies | Text and attachments | Addresses, subject, date |
| Contacts | Names, addresses, phones, notes, key states | How many cards, and their sizes |
| Files | Contents, names, types, folder names | Folder structure, exact sizes, times |
| Calendar | Titles, times, places, guests, repeats | Number of events, when they were changed |
| Notes, docs, databases, tasks | Titles, text, rows, every task field | Page tree shape, counts, sizes, times |
| Chat | Messages, files, group names, receipts | Who is in which chat, timing, sizes |
| Video calls | Audio, video, the call key | Room, join and leave times, network addresses |
Also visible: your address, sign-in times and network addresses (kept for a limited time), your devices, your plan and storage use, and which aliases and domains belong to your account. For Free accounts we keep a keyed fingerprint of the phone number used at sign-up and its country, never the number itself.
Standards
Built only from established cryptography
No home-made algorithms. Every primitive is a published standard, implemented once in a shared core written in Rust and compiled for the browser.
OpenPGP
For email, so you can write to anyone with a PGP key. Modern AEAD encryption when every recipient supports it.
AES-256-GCM
For files and workspace data, with a fresh key for every file version and item.
HPKE and Argon2id
HPKE wraps keys to the right people; Argon2id turns your password into a key slowly, to resist guessing.
MLS and OPAQUE
MLS for chat and calls; OPAQUE for sign-in without sending your password.
Known limits
What end-to-end encryption can't do
Private email, without the guesswork
Every plan gets the same encryption. Start free and check the labels for yourself.
