How BlindPost protects your messages, what our servers can and cannot see, and the limits we know about. Everything here describes the current version (1.8.0).
Accounts and identity
- An account is an Ed25519 key pair generated from a 12-word BIP39 recovery phrase. Your account ID is the base58 encoding of the public key. Signing up needs no phone number, email or name.
- The keys for your encrypted message database (SQLCipher) and encrypted settings store are also derived from the recovery phrase with HKDF-SHA256, each under its own label.
- We cannot recover an account for you: our servers hold neither your private key nor anything that could reset it.
Private messages
- Every private message uses a fresh ephemeral X25519 key that agrees a secret with the recipient's prekey. The message key is derived with HKDF-SHA256 and the message is encrypted with XChaCha20-Poly1305. The sender, recipient and time are authenticated as associated data, so changing any of them makes the message fail to decrypt.
- The sender signs the ciphertext with their identity key, and signs the sender, recipient, message ID and content again as a content signature. Both are checked on receipt.
- Prekeys carry a signed generation time. Each prekey is signed by the identity key over a short readable text that contains the prekey's fingerprint and its generation time (UTC, to the millisecond). A contact accepts a prekey only if it is newer than the one they already have, so an old prekey cannot be pushed on them again, even by someone who holds it. The signed text is shown as is on the user details page, so anyone can check it with any Ed25519 tool.
- Prekeys rotate regularly. An old prekey's private key is deleted from the device once its retention period has passed (the newest two are always kept). After that, messages sent to that prekey can no longer be decrypted by anyone.
Groups and channels
- Group messages are also encrypted with a fresh ephemeral X25519 key per message, to the group's X25519 public key, with the same algorithms as private messages.
- Member proof: each group message carries, inside the ciphertext, an HMAC keyed from the group's private key that binds the sender, group, message ID, time and type. Only members holding the group key can produce it, and messages with a wrong proof are dropped.
- Owner and admin actions are signed. A group's ID is its Ed25519 identity public key. The owner's actions are signed with the group identity key. An admin is appointed by a signature from the group identity key over the admin's public key and account, and the admin then signs each action with that key. Clients accept these actions only after checking the signatures, never because of what a local database says.
Files and images
- Attachments are encrypted with AES-256-GCM in 5 MiB chunks. The nonce of chunk i is i, so chunks cannot be reordered or repeated. The file key travels inside the end-to-end encrypted message.
- After download, the hash of the decrypted file must match the file ID in the message, or the file is rejected.
- Location and similar metadata are removed from photos and videos before they are sent.
Data on your device
- The message database is fully encrypted with SQLCipher.
- Photos, videos, voice messages, files, link preview images and avatars are stored only in encrypted form. To display them, a local service that listens only on 127.0.0.1, with a new random token at each launch, decrypts them in memory. Saving, sharing or opening a file in another app creates a temporary plain copy that is deleted right after; leftovers are swept at startup.
- Backup files are encrypted with AES-256-GCM in chunks, with a key derived by PBKDF2-HMAC-SHA256 (600,000 iterations) from your backup password and recovery phrase.
Notifications
- Android and the desktop apps use no third-party push service (no Firebase). The app's own connection receives messages, and notifications are decrypted and shown on the device.
- On iPhone and iPad, an Apple push carries only a fixed "new message" alert and a 449-byte encrypted summary. The summary is signed and then encrypted to your prekey, so only your device can open it; with Message Preview on, the notification extension decrypts it on the device. Apple learns when a push was sent, and can associate the device’s push token with its Apple ID.
- Push is off until you turn it on: the app first explains what turning it on stores, and asks iOS for permission only after you agree. While it is on, our servers keep the link between your account and the device’s Apple push token; turning notifications off deletes it, and a link the app stops renewing expires.
- Messages and calls from people you have removed or blocked show no sender and make no sound.
Calls
- Voice and video calls use WebRTC, with media encrypted by DTLS-SRTP. Call setup (offer, answer, network candidates, hang-up) is sent as end-to-end encrypted messages.
- When a relay is needed, calls use the STUN/TURN service built into BlindPost's own nodes, not Google or any other third party. Relay credentials are short-lived.
What our servers keep, and for how long
- Private messages: once the recipient's device has received a message, it sends a delete request signed with the account key; every node checks the signature, deletes only messages addressed to the account that signed it, and passes the signed request on unchanged to the other nodes, which check it themselves. Undelivered private messages are deleted once the retention period has passed.
- Group and channel messages: kept on the servers, encrypted, until the retention period has passed.
- What servers can see: which account each message is from and to (for groups, the recipient is the group's public key), when it was sent and received, the size of each part and the message type, plus the IP address you connect from. The IP address is used to set proof-of-work difficulty and rate limits; when an ordinary request fails, logs keep only the network prefix, not the full address.
- What servers cannot see: the content of messages and files, your contact list and friendships, and the names you give your contacts.
- Signed-in devices: each device record is signed by both the account key and the device key. The device model and system version are encrypted with XChaCha20-Poly1305 and padded to a fixed length, so servers cannot read them.
Verifiable message records (Message Proof)
- For each message (private, group and channel), a node records a receipt that holds only the message IDs, the server time and the hash of the content signature, with no sender, recipient or content.
- At regular intervals, new receipts are sealed into a batch: an RFC 6962 Merkle root, chained to the previous batch and anchored in the Bitcoin blockchain through OpenTimestamps.
- This proves that a node had received a message with that content signature no later than the anchored time, and that the record cannot be changed or backdated afterwards. Chat history exported as JSON keeps every message's signature, so it can be checked independently.
- A public way to look up a receipt and check an exported message against it is not available yet; it will come in a later update.
Connections
- Apps talk to nodes over TLS 1.3 with the node certificate pinned by fingerprint, without relying on certificate authorities. Key exchange uses Go's default hybrid post-quantum scheme (X25519MLKEM768).
- You can connect through a SOCKS5 or HTTP proxy. When one is set, the app connects only through it and never falls back to a direct connection.
- With a proxy set, the addresses BlindPost connects to are not resolved on the device: they go to the proxy as they are, and the proxy resolves them. If the proxy's own address is a domain name, the device resolves that name with the system's DNS before connecting to the proxy; with an IP address, no DNS query is made at all.
Known limitations
- Forward secrecy is per prekey, not per message. Until a prekey is deleted, someone who obtains your device together with its keys can decrypt the messages sent to that prekey.
- On first contact there is no earlier prekey to compare with, so the first prekey the server hands out has to be trusted. You can check its fingerprint and signature on the user details page.
- Group keys are not currently rotated when a member is removed or leaves. A removed member who kept the group key could decrypt later group messages if they obtained the ciphertext.
- Identical files get the same file ID and key, because both are derived from the file's content (this allows deduplication). Someone who already has the exact same file can therefore tell whether it was uploaded.
- Metadata: as described above, servers can see who talks to whom, when, and how much.
- Notifications: notifications already shown are kept by the operating system; deleting or expiring a message does not remove them.
- Call media does not go through the proxy, and a relay node can see both sides' IP addresses.
- End-to-end encryption is not yet post-quantum; only the connection to the servers is.
- One device per account. Private messages are encrypted to the recipient's current prekey, which each device publishes for itself, and a node deletes a private message once one device has received it. If the same account is used on two devices at once, an incoming private message reaches only one of them, and the other may not receive it or may be unable to decrypt it; private messages you send are kept only on the device that sent them. To switch devices, use device migration.
BlindPost