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 del servidor al contingut de missatges i trucades | Cap. Mai no tenim la clau. |
| What the relay stores | Identificador d'aparellament, tipus de missatge, marca horària, mida, text xifrat — s'esborra un cop lliurat, com a màxim 30 dies |
| Fotos, vídeos i fitxers | Fins a 2 GB, segellats amb una clau nova per a cada fitxer que només tenen els vostres dos telèfons; s'esborren un cop descarregats, com a màxim 30 dies. A una app de la parella que encara no s'ha actualitzat: fins a 25 MB amb la clau d'aparellament, es guarda 30 dies |
| Registre de trucades | Quin telèfon ha trucat, quan, veu o vídeo, el resultat i la durada — llegible pel nostre servidor, es guarda 90 dies, s'esborra quan us desapareu. Mai l'àudio ni el vídeo. |
| 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
El nostre servidor és una bústia per a sobres segellats. Guarda el text xifrat només fins que l'altre telèfon el recull, i llavors l'esborra — com a màxim després de 30 dies, si aquell telèfon es queda fora de línia. Mai no guarda cap clau. Les notificacions push no porten text; el telèfon desxifra localment.
PinkyBloom
Encrypts on her phone
Blind Relay
Guarda el text xifrat fins que es lliura, com a màxim 30 dies
Cannot decrypt
PinkyBond
Decrypts on your phone
Tot el que el nostre servidor guarda sobre un missatge, un fitxer i una trucada:
pairingId
Identifier for the pairing; not a name, number or email
senderRole
Which app sent it: PinkyBloom or PinkyBond
messageType
Quin tipus de sobre és — per exemple un missatge de xat, una instantània d'estat, un rebut o una configuració de trucada — mai què hi ha a dins
timestamp
When it was sent
ciphertext
AES-256-GCM blob we cannot open; its length is the only thing we can measure
retention
S'esborra tan bon punt l'altre telèfon el rep; com a màxim 30 dies si es queda fora de línia
relayReceipts
Després del lliurament, un registre sense contingut: quin missatge era i si es va lliurar o va caducar. Es guarda 30 dies, perquè el telèfon del remitent pugui mostrar «no lliurat»
mediaObjects
Fotos, notes de veu, vídeos i fitxers fins a 2 GB, emmagatzemats a Cloudflare R2 com a text xifrat amb una clau nova per a cada fitxer que només viatja dins del missatge xifrat. S'esborra un cop el telèfon de la teva parella l'ha descarregat; com a màxim 30 dies
callLog
Quin dels dos telèfons ha trucat, quan, veu o vídeo, contestada, perduda o rebutjada, i quant ha durat. Llegible pel nostre servidor — així és com un telèfon que estava apagat s'assabenta d'una trucada perduda. Es guarda 90 dies, s'esborra quan us desapareu. Mai àudio ni vídeo
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.
Quan una xarxa bloqueja el camí directe, un servidor repetidor reenvia paquets que no pot llegir. Cap servidor de mèdia sent mai una trucada, i cap trucada es grava. Funciona entre iPhone i Android. El que el nostre servidor sí que guarda és un registre de trucades — quin telèfon ha trucat, quan, veu o vídeo, el resultat i quant ha durat — durant 90 dies, perquè una parella el telèfon de la qual estava apagat vegi igualment la trucada perduda. Més informació a /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.
