Post-Quantum Encryption FAQ¶
Post-quantum key exchange protects encrypted traffic against "record now, decrypt later" attacks: an attacker records traffic today and decrypts it later with a quantum computer. SSH and TLS use a hybrid method for this. The hybrid method combines a classic algorithm (X25519) with a post-quantum algorithm (ML-KEM or NTRU Prime). The connection stays safe if one of the two stays safe.
Do I need to change anything on my server?¶
No. Keep the default SSH and nginx settings that Appliku installs. The sections below tell you what is already in use and how to check it.
Does SSH to my server use post-quantum key exchange?¶
This depends on the OpenSSH version on the server and on the client:
| Server OS | OpenSSH | Hybrid method |
|---|---|---|
| Ubuntu 22.04 | 8.9 | sntrup761x25519-sha512@openssh.com (when the client asks for it) |
| Ubuntu 24.04 | 9.6 | sntrup761x25519-sha512@openssh.com |
| Ubuntu 26.04 | 10.x | mlkem768x25519-sha256 (default) |
Your own SSH sessions use the hybrid method if your computer has OpenSSH 9.0 or later. To check, run:
The result must show mlkem768x25519-sha256 or sntrup761x25519-sha512.
Appliku connects to your server with an SSH client that supports mlkem768x25519-sha256. Appliku uses this method when the server supports it (OpenSSH 9.9 or later, for example Ubuntu 26.04). On older servers, Appliku uses curve25519-sha256.
Can I change KexAlgorithms in sshd_config?¶
You can, but always keep curve25519-sha256 in the list.
Appliku does not support sntrup761x25519-sha512. If you remove curve25519-sha256 from a server with OpenSSH older than 9.9 (Ubuntu 22.04 or 24.04), Appliku cannot connect to the server. Deployments, commands, server stats and all other operations that use SSH then fail.
A safe list for OpenSSH 9.9 or later:
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org
A safe list for OpenSSH 8.9 to 9.8:
Before you restart sshd:
- Run
sudo sshd -tto check the config. - Keep one SSH session open while you test a new connection.
- After the change, run a command from the Appliku dashboard (see Run Commands) to make sure Appliku can still connect.
Warning
An OpenSSH upgrade or a hardening script can also make new host keys. Appliku then stops SSH operations until you accept the new key. See SSH Host Key.
Does HTTPS use post-quantum key exchange?¶
- Visitors → Cloudflare: Cloudflare uses hybrid post-quantum TLS with modern browsers. You do not need to do anything.
- Visitors or Cloudflare → your server: the nginx that Appliku runs in Docker supports TLS 1.3 with
X25519MLKEM768. If you are not sure which nginx setup your server uses, contact support.
To check a domain, run this command with OpenSSL 3.5 or later:
openssl s_client -groups X25519MLKEM768 -connect yourdomain.com:443 </dev/null 2>&1 | grep -i "negotiated\|group"
Are the SSL certificates post-quantum?¶
No. Let's Encrypt and the other public certificate authorities do not issue post-quantum certificates yet. This is less urgent: certificates prove identity at the time of the connection, and "record now, decrypt later" attacks do not affect them.