Security
How Shmooze protects your messages
Everything sensitive happens on your iPhone. Our relay server only moves sealed envelopes it can't open.
How a message is sealed
- Your phone signs the message with your Ed25519 key, bound to the recipient, so it can't be forged or re-sent to someone else.
- It creates a fresh X25519 key for this message only, agrees a secret with the recipient's key, and derives an encryption key with HKDF-SHA256.
- It encrypts the signed message with ChaCha20-Poly1305.
- The envelope that leaves your phone has the recipient's account ID, the one-time public key and ciphertext. No sender.
All of this uses Apple's CryptoKit. There is no home-made cryptography.
What the server holds
| Item | Form |
|---|---|
| Phone number | HMAC-SHA256 with a secret key |
| Sign-in token | SHA-256 hash |
| Username and public keys | Plain, by design: they're how others reach you |
| Messages | Sealed envelopes, deleted on delivery or after 30 days |
| Logs | No access logs; no phone numbers, codes, tokens or message data, ever |
Keys
Your private keys are generated on your iPhone and kept in the Keychain with "this device only" protection, so they're not synced to iCloud or included in backups. Each account has a safety number you can compare in person to check you're talking to the right person.
Where we're going
Today's protocol (v1) protects every message, but a stolen long-term key could decrypt old messages that were saved. Version 2 moves to the Signal protocol (X3DH and the Double Ratchet) for forward secrecy, along with support for several devices.
Report a vulnerability
Please email security@shmooze.chat with the details and how to reproduce it. Don't post it publicly until we've fixed it. We'll reply within three working days and credit you if you'd like.