Security
Security and cryptography.
How Whispyr protects your conversations, described as it is actually implemented today, including the limits.
On this page
At a glance
- Whispyr has no message servers. Message content travels directly between devices over local Wi-Fi, Bluetooth or Apple Multipeer Connectivity and is never uploaded to a Whispyr server.
- Direct chats are end-to-end encrypted with ChaCha20-Poly1305. Each session uses fresh X25519 keys, which gives per-session forward secrecy.
- Whispyr is not a Double Ratchet design. There is no per-message ratchet and no post-compromise security.
- Trust is established on first use. Authenticity is confirmed by comparing safety numbers in person.
- Whispyr has not yet been independently audited. The protocol is Whispyr’s own design and has been reviewed internally only. We welcome external review.
How a chat is encrypted
When two devices start a session, each side generates a fresh ephemeral X25519 key pair for that session. The session key is derived with HKDF-SHA256 from the X25519 shared secret, a fixed salt and both participants’ handles. Long-term keys are not used to derive the session key on current builds.
The ephemeral public key is carried in a handshake signed with the sender’s long-term Ed25519 identity key, so an attacker on the path cannot substitute their own key without that identity key.
Message content is sealed with ChaCha20-Poly1305. The associated data binds every ciphertext to the sender’s handle and the message type, and for control messages to the exact kind, so a ciphertext cannot be replayed as a different kind of message.
Session lifetime
Ephemeral keys and session keys live only in memory. They are never written to the Keychain or to disk, and are discarded when the session ends, is re-keyed, or the app exits. A session key expires after 30 minutes and the next message triggers a new handshake; the previous key is kept for a 30-second grace period. To survive brief link drops, the responding device may reuse its existing ephemeral key during a re-handshake, so in practice the forward-secrecy window can be longer than 30 minutes.
Older app versions
Current versions no longer connect to devices running Whispyr 1.0.15 / 272 or older, so there is no fallback to weaker encryption. If a chat does not connect, update both devices.
Cryptographic primitives
On iPhone, iPad and Mac, Whispyr builds on Apple CryptoKit primitives and does not invent new ones.
| Purpose | Primitive |
|---|---|
| Key agreement | X25519 |
| Signatures and identity | Ed25519 |
| Message encryption | ChaCha20-Poly1305 |
| Link encryption (Bluetooth, local network) | AES-256-GCM |
| Key derivation | HKDF-SHA256 |
| Key confirmation | HMAC-SHA256 |
| Encrypted backups | PBKDF2-HMAC-SHA256 (600,000 iterations); ChaCha20-Poly1305 on iPhone, iPad and Mac, AES-256-GCM on Android |
The Bluetooth link layer and the backup key derivation use small HKDF and PBKDF2 helpers written in-house on top of CryptoKit’s HMAC-SHA256; on Android, the backup key derivation uses the platform’s PBKDF2 implementation. Like the rest of the protocol, they have been reviewed internally but not audited externally.
Bluetooth and local-network links
Over Bluetooth Low Energy, the encrypted chat session runs on top of an additional authenticated link. Each side sends an ephemeral X25519 key signed with its Ed25519 identity, both derive directional AES-256-GCM keys with HKDF-SHA256, and a key-confirmation message must verify before the connection is used. Handshake attempts are rate-limited.
Links over the local network use the same kind of AES-256-GCM link encryption, with separate keys and counters for each direction. In both cases the chat itself stays end-to-end encrypted inside the link.
What is and isn’t encrypted
- Direct chats are end-to-end encrypted as described above.
- Profile information you choose to show, such as your name, handle and profile photo, is shared with nearby devices during discovery and the handshake, before a chat is encrypted.
- Spaces between iPhones travel over Apple’s encrypted Multipeer Connectivity sessions.
- Emergency broadcasts are intentionally not encrypted, so that anyone nearby can read them. They are signed with a key carried in the message itself, which proves the text was not changed in transit but not who sent it. Treat them as unverified.
- Metadata such as which devices are near each other, when they communicate and how much is sent is visible to observers of the radio and local network.
Trust and verification
Whispyr uses trust on first use. When you first talk to someone, Whispyr records their long-term identity key for that contact.
Safety numbers are derived from both identity keys and let two people confirm in person that no one is in the middle. Automatic checks against the recorded key and key-change alerts exist, but their coverage currently varies by platform and app version. Do not treat the absence of a warning as proof that a key did not change; comparing safety numbers is the authoritative check.
The first exchange with a new contact is not authenticated until you compare safety numbers. An attacker who is actively on the path at that exact moment could interpose.
Key storage
Your identity keys are generated on your device and never leave it. There is no key escrow and no backdoor.
On iPhone, iPad and Mac, keys are stored in the Keychain as device-only items: they are never synced to iCloud Keychain and cannot be restored onto another device, and they are readable only after the device has been unlocked once since restarting. They are not stored in the Secure Enclave. Keychain items can outlive an uninstall; to remove them, use Me → Advanced options → Delete profile and data in the app (on iPad and Mac: Me → Privacy & Security → Delete profile and data).
Data on your device
Your chats, contacts in Whispyr, Spaces, stories and events are stored on your device and are not synced to any Whispyr-operated cloud. Before a photo is sent, Whispyr removes GPS, EXIF and other capture metadata on your device.
On iPhone, iPad and Mac, Whispyr marks its chat database, photos, voice messages and files as excluded from your device’s iCloud and computer backups, and identity keys are device-only Keychain items. On Android, Whispyr’s data is not included in Google backups. To move your data to another device, use Whispyr’s own encrypted backup.
Backups are optional and created only by you. The backup file is encrypted on your device with a passphrase you choose and saved where you decide. Whispyr has no copy and cannot recover a lost passphrase. A restored device receives new encryption keys. The backup file format differs between platforms: a backup made on iPhone, iPad or Mac restores only there, and an Android backup only on Android.
Analytics and crash reports
Usage statistics are opt-in and off by default, in the apps for iPhone, iPad and Mac and for Android. After setup, Whispyr asks you once whether to share usage statistics, with two equal choices. Nothing is sent until you agree, and you can change your choice at any time in Me → Advanced options → Diagnostics.
If you opt in, each event contains only a random install identifier, a random record ID, an event name from a fixed list (for example, that the app was opened or a message was sent), a timestamp, the app version and build number, and the platform (iOS or Android). Crash reports are included only when you have opted in. They add your operating-system version, your device model and a sanitised stack trace: the error type and the top stack frames, with error messages, text you entered and file paths removed. Your region setting is not sent.
Turning usage statistics off stops sending, clears any queued events and deletes the install identifier. Whispyr never stores or logs IP addresses and uses them only momentarily to limit abuse; Cloudflare, which delivers the data, sets how long it keeps request data. Raw events are deleted after 13 months and crash reports after 90 days. There is no push-notification server; notifications are created on your device.
Whispyr never sends message content, attachments, names, handles, contacts, your location, or hardware or advertising identifiers. The app contains no third-party analytics or advertising SDKs. The Privacy Policy describes this in full.
What Whispyr does not protect against
- A compromised device. Malware, a jailbroken operating system or someone with access to your unlocked phone can read messages before encryption and after decryption.
- Session key compromise. Forward secrecy is per session. If a session key leaks, that whole session is exposed, and the protocol does not self-heal.
- Metadata and traffic analysis. Whispyr protects content, not the fact that devices are nearby and communicating.
- Well-resourced state-level attackers. Whispyr is not designed to withstand them.
- Denial of service. Radio signals can be jammed or flooded. Whispyr makes no availability guarantee.
Reporting a vulnerability
We take security reports seriously and will not pursue legal action against good-faith researchers who follow coordinated disclosure.
Email support@getwhispyr.app with the subject “Security Report”. Please include the affected platform and app version, a description, steps to reproduce and the impact you expect. We aim to acknowledge reports within 5 business days and to provide a triage assessment within 10 business days. With your permission, we will credit you when a fix ships.
Please give us a reasonable chance to fix an issue before disclosing it publicly, and do not test against other people’s devices without their consent.