Security
Yeaply carries your questions and answers without being able to read them. Each question is sealed by the service for your phones, and each answer is sealed by your phone for that service.
What Yeaply can see
- Who sent a packet to whom, and when.
- The envelope: ids, times, whether a passkey is asked for. Never the title, body or options.
- The sizes of the sealed packets.
- Your account email.
What Yeaply cannot see
- The question.
- The options.
- Your answer.
- Your note.
- Your keys.
How it works
- Keys made on your phone. Your phone makes your keys and keeps them in its secure storage. They are never sent to Yeaply.
- A signed device list. The phones a service seals your questions to come from a list signed by your own identity key. A service checks the signature, so the server cannot slip in a phone of its own or bring back one you removed.
- A new phone is approved with a 6-digit match. When you add a phone, it and one of your existing phones show the same 6-digit number. You check they match and approve on the phone you already have.
- A recovery code you keep. When you set up, the app shows a recovery code once. Write it down; it is never sent anywhere, and it lets you set up a new phone if you lose all of yours.
- Fingerprints to compare. When you connect a service, the app shows its fingerprint, sixteen characters in four groups, and the service shows the same. Your own fingerprint appears in the app and in the service, so either side can check the other.
Honest limits
- The first pairing relies on comparing fingerprints. Until a service has paired with you, nothing but the fingerprints shows that the server did not stand in between. Compare them when you connect.
- The recovery code gives full access. Whoever holds it can add a phone to your account and answer for you. Keep it somewhere safe and private.
- Answer callbacks are not signed. A connection may set a callback URL (
PATCH /api/v1/connections/{id}) that gets an unsigned POST of{ packetId }when an answer is ready. It carries only the packet id; the service should collect and check the sealed answer itself rather than trust the call.
The details are in the protocol draft.