Skip to content

Instantly share code, notes, and snippets.

@espeed
Last active December 21, 2015 19:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espeed/6353291 to your computer and use it in GitHub Desktop.
Save espeed/6353291 to your computer and use it in GitHub Desktop.
Preliminary ideas for the design of a secure, decentralized (peer-to-peer) replacement for email (possibly based on Apache Wave).

Preliminary Ideas for a Secure p2p Email Replacement

Summary: Brainstorm for the design of a secure, decentralized (peer-to-peer) replacement for email.

Goals

  • Secure p2p messaging; Decentralized messaging platform (no centralized server).
  • Do not rely on central Certificates of Authority (CA).
  • Leverage modern environment where users have multiple, always-on devices.
  • Enable client-side implementations of modern email features, such as search, tagging, filtering, and so on.

Features

  • Trustless, p2p, open source.
  • Support mobile and desktop.
  • Each user device (e.g. desktop, laptop, phone, pad) runs a local client/server app.
  • User connects multiple devices via VPN using Perfect Forward Secrecy
  • All user devices are synced with outgoing and incoming messages.
  • Messages are sent directly to recipient via secure PFS connection; does not rely on central CA.
  • Message can be routed to any of recipient’s devices that are online; offline devices are synced when they come online.
  • Messages are queued on sender’s devices until recipient comes online.
  • Messages are stored encrypted on client’s devices.
  • Search is built into client apps using techniques for searching encrypted data:

Implementation Options

Comments and ideas welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment