Post-quantum
Every key exchange combines a classical algorithm with ML-KEM, the NIST-standardised post-quantum algorithm, so an attacker would need to break both. This protects against “record now, decrypt later”.
Security
We would rather tell you exactly what is protected than tell you it is safe.
Condensed from the project’s threat model. Read the full document
Threat model
| Who | What they can see | What they cannot do |
|---|---|---|
| Relay operator | Padded sizes, timing, rotating mailbox IDs, the IP of the last hop (or yours with hops off) | Read content, learn senders, tell which community a mailbox belongs to, forge or silently reorder messages |
| Network observer | That you talk to relays, TLS metadata | Read content |
| Future quantum computer | Recorded ciphertext | Decrypt it (hybrid post-quantum key agreement at every layer) |
| Malicious member | What they are allowed to view while a member | Read private channels they can’t view, read after removal, forge others’ messages or moderation, exceed their permissions, learn other members’ IP addresses |
| Malicious owner or Administrator | Everything in that community | Impersonate members, read other communities, rewrite past history |
| Device thief (machine off or locked) | An encrypted file | Read it without the passphrase, Hello gesture or security key |
| Someone with your backup file | One encrypted blob | Read it without the backup passphrase |
Inside a community, the owner can see and do everything, by design. Owners and Administrators hold every private channel’s keys. What they cannot do is impersonate members, read other communities, or rewrite past history.
In a browser there is no hop network, so the relay sees your IP address, and the server delivers the app’s code on every visit. The desktop app is the private option.
Cryptography
Every key exchange combines a classical algorithm with ML-KEM, the NIST-standardised post-quantum algorithm, so an attacker would need to break both. This protects against “record now, decrypt later”.
Identities sign with both Ed25519 and ML-DSA. A forgery would need to break both.
The IETF standard for group encryption, giving forward secrecy and post-compromise security as groups change.
| Purpose | Construction |
|---|---|
| Group messaging | MLS (RFC 9420), ciphersuite MLS_256_XWING_CHACHA20POLY1305_SHA256_Ed25519, PURE_CIPHERTEXT wire format |
| Post-quantum key agreement | X-Wing hybrid KEM: ML-KEM-768 + X25519 |
| Identity signatures | Ed25519 + ML-DSA-65; both must verify; every signing context is domain-separated |
| MLS leaf binding | Each device’s leaf carries a hybrid signature by the persona |
| Sealed boxes (join requests, DM invites) | X-Wing KEM + HKDF + XChaCha20-Poly1305 |
| Outer envelope | XChaCha20-Poly1305 under a key from the per-community routing secret; mailbox = HKDF(routing secret, day) |
| Call media | AES-256-GCM per frame; per-sender key = HKDF(MLS exporter, epoch, sender) |
| Hop circuits | X-Wing per hop, then ChaCha20 layers over fixed-size cells |
| At rest | XChaCha20-Poly1305 per value, bound to table and row; data key wrapped per unlock slot |
| Passphrases | Argon2id, parameters stored per slot and raised when defaults go up |
| Hashing | SHA3-256 with length-prefixed parts |
Quality and testing
Multi-profile tests cover joins, roles, private channels, device linking, DMs, emoji, call keys, hop circuits, ledger upgrades and catch-up.
A modified client runs among honest members: extreme clocks, forged or edited messages, unauthorized group changes, forked groups, banned members returning. Each test was confirmed to fail with its defence switched off.
For the ledger and every wire decoder.
Clippy with warnings as errors, all tests, UI type checks, cargo audit and license checks with cargo-deny on every push.
A spec team wrote 144 testable claims from the docs alone. Attack teams wrote black-box tests from those claims, and review teams read the code separately.
Caveat: this was an internal audit run with an AI coding assistant. It is not a substitute for an external audit by a security firm.
Read the audit reportGood-faith security research on your own network, or with the operator’s permission, is allowed under the license if findings are reported privately first.