Encryption
How PinkyBond encrypts messages and calls
Everything she shares with you is encrypted on her phone and decrypted on yours. Our server forwards sealed envelopes it cannot open. We never hold the key.
Built on platform cryptography
We did not write our own crypto. On iPhone we use Apple's CryptoKit. On Android we use Google's Tink. Curve25519 key agreement, HKDF-SHA256 and AES-256-GCM on both, pinned to each other by shared test vectors, so an iPhone and an Android phone produce byte-for-byte identical ciphertext.
Key agreement
Curve25519 (X25519) ECDH
Encryption
AES-256-GCM
Key derivation
HKDF-SHA256
What we do, and what we don't
Every row is checkable. The last three are where we fall short of the best messengers, and we would rather you read that here than find it out later.
| Dimension | PinkyBond |
|---|---|
| Encryption | AES-256-GCM, end-to-end between the two phones |
| Key agreement | Curve25519 (X25519) ECDH, then HKDF-SHA256 |
| Implementation | Apple CryptoKit on iPhone, Google Tink on Android — byte-for-byte interoperable |
| Key storage | iOS Keychain / Android Keystore, hardware-backed where available |
| Pairing | QR code in person, or a 6-character code / link exchanged remotely; both public keys exchanged |
| Verification | A 6-digit code on both phones confirms no one sat in the middle |
| Account | None — no phone number, no email, no password |
| Accès du serveur au contenu des messages et des appels | Aucun. Nous n'avons jamais la clé. |
| What the relay stores | Identifiant de jumelage, type de message, horodatage, taille, texte chiffré — supprimé dès la remise, 30 jours maximum |
| Photos, vidéos et fichiers | Jusqu'à 2 Go, scellés avec une nouvelle clé par fichier que seuls vos deux téléphones détiennent ; supprimés dès le téléchargement, 30 jours maximum. Vers une app partenaire pas encore mise à jour : jusqu'à 25 Mo sous la clé de jumelage, conservés 30 jours |
| Journal des appels | Quel téléphone a appelé, quand, appel vocal ou vidéo, le résultat et la durée — lisible par notre serveur, conservé 90 jours, supprimé quand vous rompez le jumelage. Jamais l'audio ni la vidéo. |
| Push notifications | Carry no text; the phone decrypts locally |
| Safety Mode | Yes — her phone sends neutral substitute data instead of her real status. Your app shows no indicator, though the flag itself is in the snapshot. |
| Forward secrecy | No — one key per pairing |
| Open source | No |
| Independent audit | Not yet |
How pairing works
No phone number. No email. No account. In the same room, she shows a QR code and you scan it. Apart, she sends you a 6-character code or a link. Either way both phones exchange public keys, derive the same secret, and show a 6-digit verification code so the two of you can confirm no one sat in the middle.
She taps “Pair with partner” in PinkyBloom
Her phone generates a Curve25519 key pair (Apple CryptoKit on iPhone, Google Tink on Android)
She shows a QR code, or sends you a 6-character code or link if you are apart
You scan or enter it in PinkyBond, and your phone generates its own key pair
Your public key travels back to her the same way; both phones now hold both public keys
Each phone runs ECDH and HKDF-SHA256 to derive the same shared secret — nothing secret crosses the network
The shared secret is stored in the iOS Keychain or the Android Keystore
A 6-digit verification code appears on both phones; if they match, no one sat in the middle
The Blind Relay
Notre serveur est une boîte aux lettres pour des enveloppes scellées. Il ne retient le texte chiffré que jusqu'à ce que l'autre téléphone le récupère, puis le supprime — au bout de 30 jours maximum, si ce téléphone reste hors ligne. Il n'a jamais de clé. Les notifications push ne contiennent aucun texte ; le téléphone déchiffre localement.
PinkyBloom
Encrypts on her phone
Blind Relay
Retient le texte chiffré jusqu'à la remise, 30 jours maximum
Cannot decrypt
PinkyBond
Decrypts on your phone
Tout ce que notre serveur stocke sur un message, un fichier et un appel :
pairingId
Identifier for the pairing; not a name, number or email
senderRole
Which app sent it: PinkyBloom or PinkyBond
messageType
Quel type d'enveloppe c'est — par exemple un message de chat, un instantané de statut, un accusé de réception ou l'établissement d'un appel — jamais ce qu'il y a dedans
timestamp
When it was sent
ciphertext
AES-256-GCM blob we cannot open; its length is the only thing we can measure
retention
Supprimé dès que l'autre téléphone le reçoit ; 30 jours maximum s'il reste hors ligne
relayReceipts
Après la remise, un enregistrement sans contenu : de quel message il s'agissait et s'il a été remis ou a expiré. Conservé 30 jours, pour que le téléphone de l'expéditeur puisse afficher « non remis »
mediaObjects
Photos, messages vocaux, vidéos et fichiers jusqu'à 2 Go, stockés sur Cloudflare R2 sous forme de texte chiffré avec une nouvelle clé par fichier qui ne voyage qu'à l'intérieur du message chiffré. Supprimé dès que le téléphone de votre partenaire l'a téléchargé ; 30 jours maximum
callLog
Lequel des deux téléphones a appelé, quand, appel vocal ou vidéo, décroché, manqué ou refusé, et combien de temps ça a duré. Lisible par notre serveur — c'est ainsi qu'un téléphone éteint apprend malgré tout un appel manqué. Conservé 90 jours, supprimé quand vous rompez le jumelage. Jamais l'audio ni la vidéo
Calls
Voice and video are peer-to-peer WebRTC with DTLS-SRTP and fresh keys for every call. The call setup rides the encrypted relay like any message. Before media flows, your phone checks the peer's DTLS fingerprint against a key derived from the pairing secret; a failed check aborts the call.
Quand un réseau bloque le chemin direct, un relais transmet des paquets qu'il ne peut pas lire. Aucun serveur multimédia n'entend jamais un appel, et aucun appel n'est enregistré. Ça fonctionne entre iPhone et Android. Ce que notre serveur conserve, c'est un journal des appels — quel téléphone a appelé, quand, appel vocal ou vidéo, le résultat et la durée — pendant 90 jours, pour qu'un partenaire dont le téléphone était éteint voie quand même l'appel manqué. Plus d'informations sur /calls.
Safety Mode
Encryption protects her data from outsiders and from us. Safety Mode is for the case where the person on the other end is the concern. She can pause sharing at any time, and he is never notified. She can also turn on Safety Mode, which substitutes neutral data he cannot distinguish from a real update.
When Safety Mode is active, the partner sees:
Phase
“Follicular”
Mood
“Good”
Energy
3 (Moderate)
The neutral data is encrypted and sent through the normal relay, so it looks the same as a real update in transit and on his screen.
