Insight

What a message leaves behind

A message stays its sender's after it is sent: it can be given a lifetime, withdrawn from every device that holds it, and its keys destroyed, so what is ended does not linger in a store or a backup.

3 min read

In most messengers a sent message stops belonging to its sender. It sits on every recipient's device and in the provider's storage, and deleting it removes the sender's own copy and little else. f|gment treats a message as its sender's to end: it can be given a lifetime before it is sent, and withdrawn from every device after.

What is left by default

Even untouched, a message leaves less behind than it would elsewhere. Each message key is wiped from memory once it has been used. The server keeps its sealed copy only until the conversation's devices have confirmed delivery and a grace period has passed, and then deletes it. When one of the conversation's key periods is retired, every device destroys that period's chain keys, so a sealed copy that survives somewhere, in a cache or an old snapshot of the server, is left with nothing that opens it.

A lifetime set in advance

A conversation can set a timer, from thirty seconds to seven days. It starts when a message is sent, and when it runs out each device deletes its own copy; the server's copy carries an expiry of its own as a fallback. A timer is a deletion that each device carries out on what it holds, and it does not reach a copy made outside the app, such as a photograph of the screen.

Withdrawn after it was sent

The sender can delete a sent message for everyone. Only the sender can: a recipient can remove someone else's message from its own device, and from nobody else's. The sender's device issues a deletion notice, authenticated under a key derived from the conversation's current keys and signed, so no one else can forge one. The server deletes its stored copy, and every device that receives the notice deletes the message and destroys the key that would open it.

Sender's phone the message Recipient's phone the message Recipient's tablet the message Storage server sealed copy notice deleted keeps the notice until every device confirms, or 30 days removed key destroyed removed key destroyed removed key destroyed
  • The message's key, and the signed deletion notice
  • Removed by the withdrawal
A withdrawal is a signed notice that reaches the server and every device that holds the message; each deletes its copy and destroys the key that would open it.

The notice reaches every device of the conversation, including a Discrete one, so a device held at the lower tier does not keep what the others removed. The server keeps the notice until every recipient's device has confirmed it, or for thirty days, so a device that was switched off when the message was withdrawn still learns of it when it returns.

What it cannot reach

A withdrawal reaches devices, not memories: what a recipient has already read, or copied outside the app, stays with them. And in a group, deleting a message for everyone is not yet available; it works in one-to-one conversations, and in a group a message can be removed from one's own device.