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.

One message, end to endIllustration

Your device

See you Thursday at 10. The budget sheet is in our folder.

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.
No recovery, by design. There is no master key, no admin key and no copy of your keys with us, so we can't recover your data, and neither can an organization admin. If you lose every linked device, your encrypted data is gone. Keep a second device linked.
Signing in is separate from unlocking. Sign-in uses OPAQUE: the server checks your password without ever receiving it. Two-step sign-in works with an authenticator app or a security key, with one-time recovery codes for sign-in only. None of these can unlock your data; only your devices can.

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.

DataEncrypted on your deviceVisible to our servers
Mail to members or OpenPGP users Text and attachmentsAddresses, 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 attachmentsAddresses, subject, date
Contacts Names, addresses, phones, notes, key statesHow many cards, and their sizes
Files Contents, names, types, folder namesFolder structure, exact sizes, times
Calendar Titles, times, places, guests, repeatsNumber of events, when they were changed
Notes, docs, databases, tasks Titles, text, rows, every task fieldPage tree shape, counts, sizes, times
Chat Messages, files, group names, receiptsWho is in which chat, timing, sizes
Video calls Audio, video, the call keyRoom, 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.

Tested against what the server actually receives. Before anything is called end-to-end encrypted, automated browser tests capture what reaches our servers and check that no readable content, file name or key is in it. The design has been written up for an independent cryptographic review, which is still to come.

Known limits

What end-to-end encryption can't do

You trust the code we serve. In a web app, encryption runs in code your browser downloads from us. A strict Content Security Policy and other measures reduce the risk, but don't remove it.
Ordinary email isn't end-to-end encrypted. Mail to people without a key goes as standard email, and mail from them is readable to our server as it arrives. The app labels both.
Metadata is visible. Addresses, subject lines, times and sizes are needed to deliver mail and sync your data.
Sharing can't be undone. Someone who already opened or downloaded what you shared keeps their copy.

Private email, without the guesswork

Every plan gets the same encryption. Start free and check the labels for yourself.