At a glance
| What | Encrypted end to end | Encrypted in transit | Visible to AetherHub |
|---|---|---|---|
| Direct messages, group chats and squad chat (and replies, edits and reactions) | Yes: Yes, once everyone in the chat has set up encryption | Yes: Yes (HTTPS) | Not the text. We see who is in the chat, who sent each message, when, and roughly how big it is. |
| Files in direct messages, group chats and squad chat | Not yet: Not yet: sending files is planned for v0.4.1, encrypted on your device with a key of its own | Not yet: Planned: device to device, encrypted on the way (DTLS) | Planned: we never store them. We would pass on the connection setup, so we’d know which accounts’ devices connected, in which chat, and when. |
| Messages sent while someone in the chat hadn’t set up encryption | No: No. The chat says “Not encrypted”. Planned to end for new chats in v0.4.2 | Yes: Yes (HTTPS) | Yes, the text. |
| Group chat names and pictures | Not yet: Not yet. Planned for v0.5.0 | Yes: Yes (HTTPS) | Yes. |
| Voice and video calls | Not yet: Not yet. Planned: peer-to-peer DM and squad calls in v0.4.2, every call in v0.5.0 | Yes: Yes (DTLS-SRTP) | Not the sound or picture. For DM and squad calls, our servers pass on the call setup, so we know who is calling whom and when. |
| Sphere channels hosted by AetherHub | No: No | Yes: Yes (HTTPS) | Yes. Our Sphere server can read them, and the files sent in them. Both are stored encrypted on its disk, with our key. |
| Sphere channels on your own server | No: No | Yes: Yes (HTTPS) | No. They and their files stay on the owner’s server, and the owner can read them. We know the server’s address, its join code and which accounts joined it. |
| Your recovery backup | Yes: Encrypted on your device with your passphrase | Yes: Yes (HTTPS) | Only the encrypted backup. We can’t open it or reset its passphrase. |
| Account, friends, profile, status, squads and sessions | No: No | Yes: Yes (HTTPS) | Yes. We need them to run the service. |
“End to end” means only the devices of the people in the conversation hold the keys to read it. “In transit” means it’s encrypted on the way between your device and a server, and readable on the server.
What is end-to-end encrypted
Direct messages, group chats and squad chat are end-to-end encrypted, and so are replies, edits and reactions in direct messages and group chats. They’re encrypted on your device before they’re sent, and only the devices of the people in the conversation can open them. Our servers store and pass on the encrypted message and can’t read it.
A chat is encrypted once everyone in it has set up encryption, which the app does when they first sign in on an up-to-date version. Until then the chat says Not encrypted and its messages are sent as plain text. Each chat shows which it is. Messages sent before encryption was set up stay as they were. We plan to set up encryption when every account is created, so new chats are never sent unencrypted (planned for v0.4.2).
A device that has lost its keys (for example, a new one that hasn’t been approved yet) won’t send plain text instead. It asks you to approve it or restore your backup first.
How a message is encrypted
For readers who want to check the details, these are the building blocks:
- XChaCha20-Poly1305 encrypts each message, under a fresh random 256-bit key.
- X25519 and HKDF-SHA256 wrap that message key separately for each recipient key, with a fresh ephemeral key each time.
- Ed25519 signs every message with the sending device’s key, and signs every device’s certificate with your account’s identity key.
- scrypt turns your recovery passphrase into a key; SHA-256 and SHA-512 make the codes and safety numbers you compare.
The sender’s device picks a random message key, encrypts the message with it, then wraps the message key for every device of everyone in the chat, its own other devices included, and for each person’s archive key (so their history can be restored on a new device). It signs the whole envelope. The conversation, sender and time are bound into the encryption, so a message can’t be moved to another chat or have its details changed without failing to open.
There is no shared group key. In a group, each message is wrapped for every member’s devices one by one, up to 128 keys per message. The message text can be up to 16 KB.
When a message arrives, the app checks the sender’s device certificate against their identity key, checks the signature, then decrypts. If any check fails it shows “Couldn’t decrypt this message”, never part of it.
Keys, devices and backups
Keys are made on your device
Your first device creates two keys for your account: an identity key (Ed25519) and an archive key (X25519). Each device also creates its own pair: one key to receive messages and one to sign what it sends. Only the public halves go to our servers. Each device is listed under your account with a certificate signed by your identity key, and the apps ignore any device whose certificate doesn’t check out. We never have your identity key, so our servers can’t add a device to your account.
Adding a device
A new phone or computer makes a one-time key and asks your existing devices to approve it. Both screens show the same six emoji (and a QR code and a short code as alternatives). Check they match, then tap Approve. Nothing moves without that tap, and a request runs out after 10 minutes.
The code is worked out from the new device’s one-time key, so if anyone in the middle, our servers included, swapped in their own key, the code wouldn’t match and the approving device refuses. On approval, your account keys travel to the new device encrypted to its one-time key and signed by the approving device; our servers only relay them.
Approving a device lets it read all your encrypted messages, old and new, and send messages as you. The app says so before you tap.
Your recovery backup
You can back up your account keys with a recovery passphrase (at least 8 characters) or a generated 24-character recovery key. Your device encrypts the backup before it leaves: scrypt (N = 217, r = 8, p = 1) derives the key and XChaCha20-Poly1305 encrypts. We store only the encrypted backup, so we can’t open it, and we can’t reset or recover the passphrase.
A backup is only as strong as its passphrase. Anyone holding the encrypted backup, which includes us and anyone who ever broke into our database, could try guesses against it. scrypt makes each guess slow, but a short or common passphrase can still be found. The generated recovery key avoids that; if you choose your own passphrase, make it long.
Checking who you’re talking to
The first time you message someone, your app trusts the keys our servers hand it for them, after checking their signatures. To make sure nobody swapped them, open Verify in the chat and compare your safety number (60 digits, in 12 groups of 5) with theirs, in person or over a call you trust. It’s the same number on both sides.
If someone’s keys change later, for example because they reset their encryption, the app tells you once and clears the “verified” mark until you check again. Verification is kept on your device only.
What it doesn’t protect against
- No forward secrecy yet. There’s no ratchet: messages are wrapped to long-lived keys. If someone got hold of your keys (from an unlocked device, or your backup plus its passphrase) together with copies of your encrypted messages, they could read past messages, not just new ones. The format has a version number so it can be upgraded. Forward secrecy is planned for v0.7.0.
- Every set-up device holds your account keys. Removing a device stops new messages being encrypted to its own key, but it doesn’t replace your account keys. Treat each device you approve as able to read everything. Replacing your account keys when you remove a device is planned for v0.5.0.
- Metadata isn’t hidden. We can see who talks to whom, when, and how much. See What our servers see and What we won’t encrypt.
- Your device is the weak point. Encryption protects messages on the way and on our servers. Anything that can read your unlocked device or screen can read your messages.
What is not end-to-end encrypted
Spheres
Sphere channels are not end-to-end encrypted. A Sphere’s server can read its channels, as on most community chat services. That’s what lets it search, moderate and keep history for people who join later.
- Spheres hosted by AetherHub: our server can read them. Message text is stored encrypted on its disk (AES-256-GCM) with our key, so a copied database or backup can’t be read on its own, but the running server can read it.
- Spheres on your own server: the messages live on that server and never reach AetherHub. They’re encrypted on its disk with the owner’s key, and the owner can read them. We know the server’s address, its join code, who owns it and which accounts have joined it, because that’s how join codes and your Sphere list work.
- Files sent in a Sphere (Sphere server v0.4.1) are kept on that Sphere’s server and stored encrypted on its disk with the same key as its messages (AES-256-GCM), so the running server can read them. They download only through the signed-in app, to members who can see the channel. The server removes location data from JPEG, PNG and WebP photos before storing them; other files, videos included, are stored as they were sent. The Android app (v0.4.1) removes location data before a file leaves the phone, for photos (JPEG, PNG, WebP, GIF; HEIC is converted to JPEG) and videos; when it can’t rewrite a video, it tells you before it goes.
Direct messages never go through a Sphere.
Voice and video
Calls are encrypted in transit with DTLS-SRTP, the standard WebRTC encryption. They connect directly between the people in them where possible; otherwise a relay (TURN) server passes the encrypted packets along without being able to decode them. We don’t record calls.
They are not end-to-end encrypted yet. The call setup, which includes the keys’ fingerprints, passes through our servers (or the Sphere’s server for Sphere voice), and nothing yet lets you check that it wasn’t tampered with. A server that wanted to could put itself in the middle of a call. Checking the call setup inside your encrypted chat is planned for v0.4.2, and end-to-end encrypted voice and video for every call, with keys tied to the same device keys as your messages, for v0.5.0 (see What we’re improving). Until then, the app won’t call a call end-to-end encrypted.
To connect directly, your app shares your IP address with the other people in the call and asks a public STUN server which address you can be reached on.
What our servers see
Our Cloud stores what it needs to run your account and deliver messages. Specifically:
- Your account: email address, username, display name, profile picture and profile details, and how you sign in.
- People: your friends and friend requests, friend groups, who you’ve blocked, and your privacy settings.
- Presence: your status, when you were last active, and the game you’re playing if you choose to show it.
- Squads and sessions: squads and their members, sessions, RSVPs and the Activity feed.
- Conversations: who is in each chat, group names and pictures (until v0.5.0, see What we’re improving), and for every message its id, sender, time and encrypted envelope (so its size). For edits, reactions and pins we see who did it, to which message and when, but not the new text or the emoji.
- Keys: your public keys, your devices’ names and platforms, your encrypted backup, and pending device approvals (for up to 10 minutes).
- Calls: call setup for DM and squad calls passes through us, and squad lounges and group calls record who is in them while they’re live.
- Spheres: which Spheres you’ve joined, and their addresses and join codes, and the addresses, names and Sphere counts of self-hosted servers you’ve claimed (“My servers”). We don’t contact those servers.
- Activity days: which days your account was used and how long you spent in squad voice, which feed trust ranks.
- Technical logs at our hosting providers, which include IP addresses.
- Reports: if you report messages from an encrypted chat, your device decrypts only the messages you tick and sends their text to our safety team with the report. You see this before you send.
- Crash reports and feedback, only if you choose to send one: your note, app and system versions, the app’s recent logs with message text, tokens and addresses removed (and checked again on our server), and a screenshot if you add one. Deleted after 90 days.
We don’t use a push notification service today, so there are no push tokens. The full list, with how long each thing is kept, is in our Privacy policy.
What we won’t encrypt, and why
Some things we’ve decided not to encrypt end to end, because doing so would break what they’re for. Here they are, and what we do instead.
Spheres
A Sphere is a community. Whoever runs it, AetherHub Cloud or you on your own server, can read it. That’s what makes moderation, search, reports and big communities work. Spheres hosted by AetherHub stay encrypted on disk with our key, as described in What is not end-to-end encrypted. If you want nobody else to hold your community’s messages, run your own Sphere.
Your account, friends list, profile, status, squads and sessions
The service needs these to work: to sign you in, show your friends who’s online, and run squads and sessions. Instead of encrypting them, we keep as little as we can:
- The apps send no analytics, and there are no push tokens. Crash reports and feedback are sent only when you choose to, and deleted after 90 days.
- The counters that stop abuse, such as too many sign-in attempts from one place, use your IP address and are cleared out after about two days. We don’t store your IP address with your account.
- Device approvals and sign-in QR codes expire within minutes.
- Our hosting providers’ technical logs include IP addresses. They’re kept as long as the providers keep them, typically days to weeks; we don’t set a shorter limit ourselves.
Who talks to whom, and when
Hiding this metadata would need a very different design, so we don’t. What we can see is listed in What our servers see.
Analytics
- The apps send no analytics. Crash reports and feedback are sent only when you choose to send one, and you see what’s included first.
- This website sets no cookies and runs no analytics. It loads fonts from Google Fonts, so Google sees your IP address.
- Our own dashboard shows totals only, such as sign-ups or messages sent per day, counted from the data above. No names, emails or messages appear in it, messages are only ever counted, never read, and percentages are hidden for groups smaller than 10 accounts.
What happens if…
…you lose a device
Remove it from Settings → Security on another device. It stops receiving new encrypted messages, but anything it already downloaded stays on it, and it still holds your account keys. If someone else may be able to unlock it, keep that in mind (see What it doesn’t protect against).
…you forget your passphrase
We can’t recover or reset it. If you still have a working device, your messages are fine: approve new devices from it, and set a new passphrase there. If you’ve lost every device and the passphrase, you can start fresh with new keys, but messages sent before can’t be read again, and your contacts see that your keys changed.
…AetherHub is asked for your messages
We can only hand over what we have. For end-to-end encrypted chats that’s the encrypted messages, which we can’t read, and the information listed in What our servers see. Chats that weren’t encrypted, and Spheres we host, we can read. Spheres on someone else’s server we don’t have.
On your computer and phone
Desktop (Windows, macOS, Linux)
- Your keys and your sign-in are kept in your system’s keychain: Keychain on macOS, Credential Manager on Windows, and the Secret Service keyring (GNOME Keyring or KWallet) on Linux. The app never writes them to a file instead: on Linux without a running, unlocked keyring it tells you it needs one.
- Encrypted messages are stored as they arrived, still encrypted. Everything else the app keeps about your chats, including messages that were sent unencrypted, chat names and previews, is encrypted (AES-256-GCM) with a key held in your keychain. Decrypted text is only ever in memory.
- Sphere messages saved on your computer are encrypted the same way. Sphere and channel names and the channel list aren’t, so they’re as protected as the rest of your files.
- Signing out deletes this copy and its key from your computer. Your encryption keys stay, so this computer is the same device when you sign back in.
Android
- Your keys are encrypted (AES-256-GCM) with a key held in the Android Keystore, which never leaves the phone, and they’re left out of phone backups.
- Encrypted messages are stored as they arrived, still encrypted; decrypted text is never written to storage. Messages that were sent unencrypted are encrypted with a Keystore-protected key.
- Other things the app keeps, such as Sphere messages and chat names, are protected by Android’s device encryption.
- Files from Spheres that the app keeps for viewing are encrypted (AES-256-GCM) with a Keystore-protected key, left out of phone backups, and deleted when you sign out. A video plays from a temporary unencrypted copy in the app’s private storage, deleted when you close it (and when the app next starts), and so does a file you open in another app.
- A sticker sent in a direct message or group travels inside the end-to-end encrypted message, so our servers can’t see that a sticker was sent, or which; stickers are only offered in encrypted chats. A Sphere’s own emoji and sticker pictures are kept the same way as its files.
What we’re improving, and when
These are our plans, by release. They’re plans, not promises: an item can move to a later release, and we’ll update this page as each one ships.
v0.4.1
- Files in chats, device to device. Photos, videos and files up to 100 MB in direct messages, group chats and squad chat. Each file is encrypted on your device with a key of its own before it leaves, and that key travels only inside your end-to-end encrypted message. The file then goes straight from one device to the other, so both have to be online at the same time, and it is never stored on AetherHub’s servers. We pass on the connection setup, so we know which accounts’ devices connected, in which chat, and when, but not the file, its name or its type.
- What a direct connection shows. Like a call, a direct connection shows each device’s IP address to the other, so files from people who aren’t your friends wait for you to tap Download. When no direct path works, the file goes through our relay, which can’t read it but sees both IP addresses, when they connected and roughly how much data passed.
- When you’re never online together. The sender’s app can leave the encrypted file for a short time (7 days unless the owner sets otherwise) on a Sphere you both belong to, if that Sphere’s owner allows it (it’s off until they turn it on). The Sphere never gets the key, and isn’t told who the file is for. The owner can’t read it, but can see that a member left a file of a certain size and when, and, if they keep request logs, which members fetched it and when. It sits on AetherHub’s servers only if that Sphere is hosted on AetherHub Cloud.
- Location removed first. Location data in photos and videos is removed on your device before encryption, because no server could remove it afterwards. Since no server can see inside these files, they can’t be scanned or matched against lists either.
v0.4.2
- Encryption from the start. Encryption is set up automatically when an account is created, on every app, so no new chat is ever sent “Not encrypted”. Existing accounts without keys are asked to set it up.
- Checked call setup. Each call’s connection fingerprints are sent inside your end-to-end encrypted chat and checked by your device, so a server in the middle of the call setup can’t put itself into a DM or squad call. Calls that connect peer to peer are then end-to-end encrypted in practice. Calls through a relay, and big Sphere voice rooms, wait for v0.5.0.
v0.5.0
- Group chat names and pictures are end-to-end encrypted.
- Change my keys. Removing a lost device replaces your account keys, so it can’t read anything new.
- End-to-end encrypted voice and video for every call, including big Sphere voice rooms.
v0.6.0
- AetherHub in your browser. The web app isn’t available yet. When it opens, a browser you sign in to becomes a new device on your account, set up like any other: approved from a device you already have, or with your recovery backup. It never gets a copy of another device’s keys.
- Where a browser keeps your keys. In that browser’s own storage, encrypted (AES-256-GCM) under a key the browser holds for the page, which the page’s code can use but can’t export. Direct messages kept in the browser are encrypted the same way as on desktop and decrypted only in memory.
- What a browser can’t promise. We deliver the web app’s code each time you open it, so a browser trusts that delivery in a way an installed app, whose code is fixed when you install it, doesn’t. Browser extensions that can read the page can read your messages. Clearing your browsing data or this site’s data deletes the keys, and so does signing out; a private window forgets them when it closes. Browsers can also clear a site’s storage on their own: Safari deletes it after seven days of using Safari without visiting the site, unless you add it to your Home Screen. The app asks the browser to keep its storage and tells you whether it agreed.
- Your recovery backup matters more there. If a browser loses its keys, your backup or another of your devices is how you read your messages there again.
v0.7.0
- Forward secrecy for chats, using MLS (Messaging Layer Security, the IETF standard for group encryption), so a stolen key can’t read past messages. Built once, in the core that all our apps share.
- A public spec. We publish the encryption design, the threat model and test vectors, with a way to report vulnerabilities.
Where to look
AetherHub isn’t open source, and the protocol isn’t published yet. We plan to publish the encryption design, its threat model, test vectors and a way to report vulnerabilities, so the claims on this page can be checked against a public spec (planned for v0.7.0).
Until then, if you find a problem or want to ask about any of this, write to hello@aetherhub.chat.