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 |
| Acces al serverului la conținutul mesajelor și apelurilor | Niciunul. Nu deținem niciodată cheia. |
| What the relay stores | ID de asociere, tipul mesajului, marcaj temporal, dimensiune, text criptat — șters imediat ce este livrat, cel mult 30 de zile |
| Fotografii, videoclipuri și fișiere | Până la 2 GB, sigilate cu o cheie nouă pentru fiecare fișier, pe care o dețin doar cele două telefoane ale voastre; șterse imediat ce sunt descărcate, cel mult 30 de zile. Către o aplicație parteneră care nu a fost încă actualizată: până la 25 MB sub cheia de asociere, păstrate 30 de zile |
| Istoricul apelurilor | Ce telefon a sunat, când, apel vocal sau video, rezultatul și durata — lizibil pentru serverul nostru, păstrat 90 de zile, șters când anulați asocierea. Niciodată sunetul sau imaginea. |
| 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
Serverul nostru este o cutie poștală pentru plicuri sigilate. Păstrează textul criptat doar până când celălalt telefon îl preia, apoi îl șterge — cel mult după 30 de zile, dacă acel telefon rămâne offline. Nu deține niciodată o cheie. Notificările push nu conțin text; telefonul decriptează local.
PinkyBloom
Encrypts on her phone
Blind Relay
Păstrează textul criptat până la livrare, cel mult 30 de zile
Cannot decrypt
PinkyBond
Decrypts on your phone
Tot ce stochează serverul nostru despre un mesaj, un fișier și un apel:
pairingId
Identifier for the pairing; not a name, number or email
senderRole
Which app sent it: PinkyBloom or PinkyBond
messageType
Ce tip de plic este — de exemplu un mesaj de chat, o fotografie de stare, o confirmare de primire sau o inițiere de apel — niciodată ce se află înăuntru
timestamp
When it was sent
ciphertext
AES-256-GCM blob we cannot open; its length is the only thing we can measure
retention
Șters imediat ce celălalt telefon îl primește; cel mult 30 de zile dacă rămâne offline
relayReceipts
După livrare, o înregistrare fără conținut: care mesaj a fost și dacă a fost livrat sau a expirat. Păstrată 30 de zile, ca telefonul expeditorului să poată afișa „nelivrat”
mediaObjects
Fotografii, note vocale, videoclipuri și fișiere de până la 2 GB, stocate pe Cloudflare R2 ca text criptat sub o cheie nouă pentru fiecare fișier, care călătorește doar în interiorul mesajului criptat. Șters imediat ce telefonul partenerei tale l-a descărcat; cel mult 30 de zile
callLog
Care dintre cele două telefoane a sunat, când, apel vocal sau video, răspuns, ratat sau refuzat, și cât a durat. Lizibil pentru serverul nostru — așa află un telefon care era oprit despre un apel ratat. Păstrat 90 de zile, șters când anulați asocierea. Niciodată sunetul sau imaginea
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.
Când o rețea blochează calea directă, un releu retransmite pachete pe care nu le poate citi. Niciun server media nu aude vreodată un apel, și niciun apel nu este înregistrat. Funcționează între iPhone și Android. Ce păstrează serverul nostru este un istoric al apelurilor — ce telefon a sunat, când, apel vocal sau video, rezultatul și cât a durat — timp de 90 de zile, ca o parteneră al cărei telefon era oprit să vadă totuși apelul ratat. Mai multe pe /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.
