Shared secrets

How Share a secret sends a password or other text, how the recipient's page shows it, and what our servers and AWS can see.

Sharing a secret

How it is sent

The Share a secret page sends a secret that the sender types or pastes. The shared secret is sent the same way as a file: the same keys, frames, checks and one-time links. The shared secret isn't stored along the way, so the sender's page must stay open until each recipient has it.

Size and type

The sender's browser turns the shared secret into a file that exists only in memory, with a fixed name and a type that marks it as a shared secret. Like any file's, the name and type travel only inside the encrypted META. A shared secret can have up to 10,000 characters, which is at most 30,000 bytes.

The text box

The text box tells the browser to turn off spell checking, autocorrect, automatic capitals, autocomplete, writing suggestions and translation for it.

What the recipient sees

The recipient's browser treats an offer as a shared secret only if it has exactly that type and is at most 32 KiB. Anything else is offered as a file. For a shared secret, the recipient sees the sender's typed name but not the size, and chooses Show or Decline. After Decline the link still works.

Showing it

Show keeps the shared secret in the browser's memory, never in a save dialog or a download. Only once the checks against END pass is it decoded and shown, as plain text with translation off. The page inserts it as text and never reads it as HTML. It isn't in a form field, whose contents a browser can save with the session. The Copy secret button puts it on the clipboard.

What our servers and AWS see

Our server and relay handle a shared secret like any file. When the Share a secret page is loaded, by typing its address, reloading or following a link, the CDN that delivers it sees that someone opened it, and from which IP address. Our server sees no page loads. The page then opens a signaling connection to our server like every sender page, and moving to it inside the app opens one too. The server never gets the shared secret or its length, unless someone types it after one of our Slack commands, which Slack sends to us. A connection doesn't say which page opened it. But AWS runs both the CDN and our load balancer, and sees both. After a full load, it could tie the connection that follows from the same address to the visit, and infer that this visitor shares a secret, and with how many links. Each sender page connects when it is first shown and stays connected while the tab is open. So when two sender connections are open at once from the same address, the visitor most likely opened both the Send a file page and the Share a secret page in one tab. The CDN, its firewall and our load balancer have their request logs off, AWS's security analytics included, but CloudFront's own reports keep each day's most requested page addresses, which can include this page's, with no IP addresses. CloudFront's plan has also counted each hour how many requests look automated and how many don't. AWS doesn't say how long it keeps those counts, and we don't know yet whether it still counts with security analytics off. What we can see of them holds no IP address, page address or browser details.