Delivery between people

Once you've added someone in People, what you send them arrives by itself, and so does what they send you. There's no server of midden's in between. Each person keeps a mailbox folder in their own Google Drive. You post what you send into yours, and the other person's midden collects it from there. Nobody ever writes into anyone else's Drive.

Delivery needs sync to be set up first.

How it works

Adding someone

The folders

midden mailbox/        private: only you (and midden, through drive.file)
  ├─ hello/            shared by link; its ID is on your card
  ├─ <opaque>/         shared by link; one per contact, its ID handed to them sealed
  └─ <opaque>/

Sending and receiving

  1. Sending: midden seals the item (see Security) and posts it as one file in the folder you made for that person. The file is named <mailbox>.<message id>.i, where <mailbox> is worked out from both people's keys, so only the two of you can work it out.
  2. Receiving: your midden lists your contacts' folders and fetches what's yours. It does this without signing in, using midden's API key: the folders are link-shared, and the key only identifies midden's Cloud project to Google, not you.
  3. Receipts: once you have an item, midden posts a sealed receipt in your folder for them (<mailbox>.<id>.r.<item id>).
  4. Cleanup: when the sender sees your receipt, they take their copy down. Once their copy is gone, you take your receipt down. Everything clears itself, from listings alone, on whichever device checks first.
    • What nobody picks up is taken down after 14 days.
    • Removing a contact deletes their folder, and everything in it.

When it runs

Security

What protects a message

Each item, receipt and handover is sealed before it leaves the device:

Nothing outside the sealed file says who it's from, who it's for, or what it is.

What each party can see

Who Sees Doesn't see
Google your mailbox folders and files: their count, sizes and times; that they're link-shared anything inside them; your other Drive files are no different from before
midden's Drive access (drive.file) only files and folders midden made anything else in your Drive
Anyone with your card your hello/ folder: how many first contacts and handovers, their sizes and times who they're from, what they say, anything in your contact folders
A contact their own folder: opaque names, sizes and times of what you sent them your other contacts, or anything you sent anyone else
Anyone with midden's API key what anyone with a link can see: a link-shared folder whose ID they already have private folders; folders whose ID they don't have

The API key

Limits, said plainly