Purpose

Twokeep keeps private photos and videos for two partners, with viewing only on the other partner's approval. The content can be intimate, so a leak would hurt the people in it badly. The assessment asks how the service can run without being able to read that content, and what can still go wrong.

Data flows

  • Media, titles and notes are encrypted on the phone. The ciphertext goes to Cloudflare R2 in the vault's region (EU or US).
  • Account, device, vault and event metadata go to the API and its database on Hetzner in Helsinki, Finland (EU).
  • Key halves travel between the two phones encrypted to the receiving phone.
  • Push notifications go through Apple, email through Resend, App Store billing events come from Apple.
  • The web forms go through Cloudflare's bot check to the API.

Risks considered

  • Provider breach: someone gets the database, the object store or our administrator access.
  • Device compromise: a stolen, lost or infected phone.
  • Coercion between partners: one partner pressures the other to approve, or keeps content after the relationship ends.
  • Backups: deleted data surviving in database backups.
  • Logs: personal data or secrets leaking into server logs.
  • Abuse: the service used for non-consensual intimate imagery, sexual or intimate content involving minors, or impersonation.

Measures

  • End-to-end encryption with split custody: each content key is split into two halves, one per partner, and we hold neither in usable form.
  • Device keys created in the phone's secure hardware and checked at enrollment.
  • Mutual approval for every viewing, and removal for both by either partner.
  • Capture response: a detected screenshot or recording locks the item, ends the viewing and tells both partners.
  • A retention schedule for every kind of record.
  • Database backups kept for 30 days.
  • Redacted logs: the API redacts media, keys and tokens from its logs, and the log pipeline keeps them for 14 days.
  • Least-privilege workloads, in part: since 29 October 2026 the API and the background worker have separate secrets, and a default-deny network policy limits what each can reach. Separate storage tokens and a narrower database role are planned before the public launch.
  • A report form open to everyone, with decisions on the most serious reports within 48 hours.

Risks that remain

  • A compromised phone, or a modified app, can keep what it is shown during an approved viewing.
  • Screenshots are detected where the phone allows it, not prevented. A camera pointed at the screen is outside every control.
  • A provider breach exposes metadata: who shares a vault with whom, timings, display names, reports and support email. It does not expose media or keys.
  • Someone who takes over your Apple or Google account cannot open media without an approved phone, but can see your account's metadata and lock your vaults.
  • Deleted records can persist in backups for up to 30 days.
  • After a database restore from backup, items removed after the restore point come back as records until they are removed again.

The security page lists every limit in more detail.

Review

Last reviewed on 29 October 2026. We review the assessment before the public launch, after any change to how data flows, and at least every 12 months. Questions: [email protected].