Uplink Docs Get Uplink
Privacy and settings

Post-quantum encryption

On by default: messages sealed so a quantum computer can't open what is recorded today, and what it costs.

Messages between Uplink friends are sealed on your device with keys agreed using P-256. A quantum computer big enough, if one is ever built, could work those keys out and open messages someone recorded today. Post-quantum adds ML-KEM-768, the US standard for post-quantum encryption (FIPS 203), beside P-256. Opening a message then needs both, so it stays sealed even against a quantum computer, and if ML-KEM ever turned out to be flawed, P-256 would still protect it as it does now.

On by default

From Uplink 0.13.18, post-quantum is on unless you choose Standard. In 0.13.17 it was off until you turned it on; if you set a device to Standard there, it stays Standard.

  1. Open Settings › Security

    Post-quantum encryption is the first switch, on unless you turned it off.

    Security
    Post-quantum encryptionML-KEM-768 beside P-256 for every message
  2. Keep it on, or switch it off for Standard

    With it on, messages with friends and copies to your own devices are sealed with both. Off is Standard, which keeps messages smallest. Press the row itself for Encryption method, with both ways side by side and what post-quantum costs.

What it costs

Only with friends it's in use with. Nothing changes for anyone else.

Bigger messagesAbout 1.1 KB more for each device a message is sealed for. A short text to a friend with a phone and a computer grows from about 0.5 KB to 2.7 KB, and its copy to your other device by 1.1 KB. Still far below the 60 KB the relay carries.
A key each dayEach of your devices sends each friend a 1.6 KB key once a day, until all their devices have it.
More data, not slowerA hundred messages a day with such a friend come to about 220 KB more a day. Sealing and opening take a few milliseconds more for each device, in the background, so nothing feels slower.

What it covers

The full design, with the wire format and how it works with older versions, is docs/POST_QUANTUM.md in the source.

Something wrong or missing here? Tell us in the Alpha testers circle, or at the app's GitHub.