Insight

Settings that cannot be quietly weakened

A conversation's protective settings belong to its two ends: a weakening needs its owner's confirmation, every change must be authentic and current before the other phone applies it, and each key-exchange interval is written to a signed record.

3 min read

An attacker who cannot break a conversation's encryption can try to turn it down instead. A conversation's settings decide how strong it is: how often a fresh post-quantum key exchange renews its keys, from every message at the strictest setting to every fiftieth, and how long its messages last. Where settings are kept by a server, whoever controls the server can change them, and the people talking would never know. In f|gment a conversation's settings belong to its two ends, and a change has to pass three checks before it takes effect, with a record behind them.

Agreed when the conversation begins

When two phones set up a conversation, each states the key-exchange interval it will accept and both take the more frequent of the two. The agreed interval is mixed into the conversation's keys, so a value altered on the way leaves the two phones with different keys, and no message opens: the tampering ends the conversation rather than weakening it.

Three checks on every change

A change later on, to the key-exchange interval or to the disappearing-message timer, crosses three checks.

Confirmed by its owner. Making the key exchange more frequent simply happens. Making it less frequent asks the phone's owner to confirm it first, and a weakening that was not confirmed is never sent.

Made inside the conversation. The change travels authenticated under a key derived from the conversation's own keys, which only its two ends hold, and it names the conversation and the setting it changes. A change written by the server, or by anyone else outside the conversation, fails that authentication and is refused, as is a genuine change moved over from another conversation, or one naming a value that is not a real setting.

Current. Every change names the value it replaces, and the receiving phone applies it only if that value is the one in force. An old, genuine change replayed later names a value that has since been replaced, so it is refused, which is how a server holding a copy of last month's weaker setting is kept from restoring it.

Owner's phone Server Other phone 1 confirmed 2 authentic 3 current weaker, confirmed applied and recorded weaker, unconfirmed never sent forged change refused replayed change refused: stale
  • Passes the check
  • A change the server sends on its own
Each check catches its own attack: an unconfirmed weakening never leaves the owner's phone, a forged change fails authentication, and a replayed old change is authentic but no longer current.

A change to the key-exchange interval takes effect with a key rotation: the changing phone rotates the conversation's keys, and the other phone adopts the new interval as it installs that rotation, so the two ends move together. In a group the interval is a group setting that only an administrator can change, by a change signed into the group's record of its administration; a member that has not received the signed change refuses the key rotation that would put it into force.

The record behind the checks

Every key-exchange interval a handle takes on, when a conversation begins and at every change after, is written to a signed, append-only record that the handle publishes, with each weakening marked as one. The handle's other devices, and anyone else checking, can read the record and verify its signatures, so a weakening is written down where others can see it, not only on the phone that made it.

What the server keeps is the ability to delay or drop a change it carries. What it loses is the ability to write one, alter one or bring an old one back.