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 |
| Достъп на сървъра до съдържанието на съобщения и обаждания | Никакъв. Никога не пазим ключа. |
| What the relay stores | Идентификатор на сдвояването, тип на съобщението, времеви печат, размер, шифрован текст — изтрива се веднага след доставяне, най-много 30 дни |
| Снимки, видеа и файлове | До 2 GB, запечатани с нов ключ за всеки файл, който имат само вашите два телефона; изтрива се веднага след изтегляне, най-много 30 дни. За партньорско приложение, което още не е обновено: до 25 MB под ключа на сдвояването, съхранява се 30 дни |
| Дневник на обажданията | Кой телефон се е обадил, кога, гласово или видео, резултатът и продължителността — четими от нашия сървър, съхранява се 90 дни, изтрива се, когато разделите сдвояването. Никога звукът или видеото. |
| 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
Нашият сървър е пощенска кутия за запечатани пликове. Пази шифрован текст само докато другият телефон го вземе, след което го изтрива — най-много след 30 дни, ако този телефон остане офлайн. Никога не пази ключ. Push известията не носят текст; телефонът дешифрира локално.
PinkyBloom
Encrypts on her phone
Blind Relay
Пази шифрован текст до доставяне, най-много 30 дни
Cannot decrypt
PinkyBond
Decrypts on your phone
Всичко, което нашият сървър съхранява за съобщение, файл и обаждане:
pairingId
Identifier for the pairing; not a name, number or email
senderRole
Which app sent it: PinkyBloom or PinkyBond
messageType
Какъв вид плик е — например чат съобщение, моментна снимка на статус, потвърждение за получаване или настройка на обаждане — никога какво има вътре
timestamp
When it was sent
ciphertext
AES-256-GCM blob we cannot open; its length is the only thing we can measure
retention
Изтрива се веднага щом другият телефон го получи; най-много 30 дни, ако остане офлайн
relayReceipts
След доставянето — запис без съдържание: кое съобщение е било и дали е доставено, или е изтекло. Съхранява се 30 дни, за да може телефонът на подателя да покаже „недоставено“
mediaObjects
Снимки, гласови съобщения, видеа и файлове до 2 GB, съхранени в Cloudflare R2 като шифрован текст с нов ключ за всеки файл, който пътува само вътре в шифрованото съобщение. Изтрива се веднага щом телефонът на партньора ти го изтегли; най-много 30 дни
callLog
Кой от двата телефона се е обадил, кога, гласово или видео, вдигнато, пропуснато или отхвърлено, и колко е продължило. Четимо от нашия сървър — само така телефон, който е бил изключен, научава за пропуснато обаждане. Съхранява се 90 дни, изтрива се, когато разделите сдвояването. Никога звук или видео
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.
Когато мрежата блокира директен път, релей препраща пакети, които не може да прочете. Никой медиен сървър никога не чува обаждане и никое обаждане не се записва. Работи между iPhone и Android. Това, което нашият сървър пази, е дневник на обажданията — кой телефон се е обадил, кога, гласово или видео, резултатът и колко е продължило — за 90 дни, за да може партньор, чийто телефон е бил изключен, все пак да види пропуснатото обаждане. Повече на /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.
