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.
Open Settings › Security
Post-quantum encryption is the first switch, on unless you turned it off.
SecurityPost-quantum encryptionML-KEM-768 beside P-256 for every messageKeep 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.
- Either of you is enough. Messages between you and a friend use it if either of you has it, so Standard saves data only with friends who chose Standard too. One of your devices on Post-quantum covers all of them.
- It needs this version. It's used with friends whose devices all have Uplink 0.13.17 or newer. Until then, messages to them go the standard way, and nothing is lost.
- Standard is still strong. Today nobody can open the standard way: post-quantum is for messages that must stay sealed for many years.
What it costs
Only with friends it's in use with. Nothing changes for anyone else.
| Bigger messages | About 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 day | Each of your devices sends each friend a 1.6 KB key once a day, until all their devices have it. |
| More data, not slower | A 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
- Covered: texts, friend requests, calls being set up, and groups of friends, and the copies of all of it to your own devices.
- Not yet: circles, the sound and picture of calls (sealed by the call itself, with DTLS-SRTP), and texts over SMS and LoRa, which stay standard.
- Who you are is still proven with P-256, your account's own key. That can't open old messages, and no quantum computer exists today to pretend to be you with it.
The full design, with the wire format and how it works with older versions, is docs/POST_QUANTUM.md in the source.
Docs