A practical guide to post-quantum encryption (updated December 2026)

December 3, 2026
A practical guide to post-quantum encryption (updated December 2026)

A practical guide to post-quantum encryption (updated December 2026)

December 3, 2026
A practical guide to post-quantum encryption (updated December 2026)A practical guide to post-quantum encryption (updated December 2026)

This is an update to our April 2026 post, A practical guide to post-quantum encryption, which covers enabling hybrid ML-KEM key exchange in OpenSSH step by step.

Updated December 2026

  • On 2 December 2026 the NSA told national security system operators to speed up their move to post-quantum cryptography, and eight large US technology firms backed the call the same day. The advice in this guide still stands: hybrid ML-KEM key exchange is the first thing to switch on.
  • Post-quantum host and user keys now exist. OpenSSH 10.6 enables the hybrid ssh-mldsa44-ed25519 signature algorithm. Key exchange is ready for production; hybrid signatures are worth piloting, and Ed25519 stays in place for now.
  • From OpenSSH 10.6, sshd logs clients that negotiate a non-post-quantum key exchange by default, so finding fallbacks is a log query rather than extra telemetry.
  • Ubuntu 26.04 LTS and RHEL 10 now default to hybrid ML-KEM. The gap to close is older LTS releases.

Why are we updating this guide now?

On 2 December 2026 the NSA, CISA and the Office of the National Cyber Director said that AI companies had disclosed discoveries affecting the security of some cryptography in use today, and the NSA urged operators of national security systems to accelerate their post-quantum migration immediately. The same agencies also said the advances do not present an immediate and widespread threat. Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle issued a joint statement backing the guidance and asking organisations to move as soon as possible.

Part of the background is a set of papers Anthropic published on 30 November describing a new quantum attack on structured lattices, the family of maths behind ML-KEM and ML-DSA. The independent cryptographers who reviewed it said the attack needs vastly more computation than the best known attacks on the deployed standards, and the NSA kept ML-KEM and ML-DSA at the centre of its guidance. Several of those reviewers recommended hybrid schemes that combine different mathematical foundations. That is the approach this guide already takes: mlkem768x25519-sha256 pairs ML-KEM with X25519, so a session stays protected unless both halves are broken.

Nothing in the original commands or KexAlgorithms configuration has stopped working. Four things have changed since April, and the first two matter most.

Can SSH host and user keys be post-quantum now?

Yes, in a hybrid form, from OpenSSH 10.6. The original guide said post-quantum key exchange does not make authentication keys post-quantum. That was accurate in April, and it still describes the Ed25519 and RSA keys that most estates run today.

  • OpenSSH 10.4, released in July 2026, added a hybrid ML-DSA-44 plus Ed25519 signature scheme as an experimental option, off by default, under the name ssh-mldsa44-ed25519@openssh.com.
  • OpenSSH 10.6, released on 6 October 2026, enables the hybrid ssh-mldsa44-ed25519 signature algorithm. The name dropped its @openssh.com suffix, so any keys created with the experimental 10.4 support must be regenerated or removed.
  • The standard is still a draft. Damien Miller's "Post-Quantum Composite Signatures in SSH" was adopted by the IETF sshm working group in August 2026 as draft-ietf-sshm-composite-sigs, aimed at the Standards Track. It also defines an ML-DSA-87 plus P-384 variant.

Signatures and key exchange protect against different threats. A recorded session can be decrypted later if its key exchange is broken, which is why key exchange comes first. A signature only has to hold at the moment of login, so a quantum-capable attacker would need to exist on the day they want to impersonate a host or user. That makes signatures less urgent, but long-lived host keys and CA keys are slow to replace, so it is worth starting a pilot now.

# OpenSSH 10.6 or later: check the algorithm is available
ssh -Q key | grep mldsa

# Generate a hybrid user key alongside the existing Ed25519 key
ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa44_ed25519

# Built with 10.4 experimental support? Regenerate it on 10.6

Hybrid key exchange is ready for production now, and hybrid signatures are not there yet. Keep Ed25519 host keys and user keys in service. On pilot hosts, add a hybrid host key next to the Ed25519 one so that 10.6 clients can use it and older clients carry on as before. Hold back on CA-signed certificates and hardware tokens until the draft settles and the surrounding tooling supports the new key type.

How can non-post-quantum SSH connections be found?

From OpenSSH 10.6, read the sshd logs. The original guide recommended monitoring for fallbacks to classical-only key exchange. OpenSSH 10.1 added a client-side warning controlled by WarnWeakCrypto in ssh_config. OpenSSH 10.6 adds the same option to sshd_config and turns it on by default, so the server logs every client that negotiates a key exchange that is not post-quantum safe.

# On a 10.6 server, list recent non-PQ clients (adjust the pattern to the exact log text on the build in use)
journalctl -u ssh -u sshd --since "7 days ago" | grep -iE 'quantum|WarnWeakCrypto'

Sending these entries to the existing log platform with a per-host alert produces a list of clients and automation accounts that still need upgrading, without deploying extra agents. Servers older than 10.6 do not log this, which is another reason to upgrade bastions and jump hosts first, as the original guide suggested.

Is the ML-KEM SSH key exchange a standard now?

It has an RFC number. The IETF draft referenced in the original guide was published in August 2026 as RFC 10042, "Post-Quantum/Traditional Hybrid Key Exchange with the Module-Lattice-Based Key-Encapsulation Mechanism for Use in SSH". It is an Informational RFC, not an Internet Standard, but it gives procurement and audit teams a stable reference. It defines mlkem768x25519-sha256 along with two NIST-curve variants, mlkem768nistp256-sha256 and mlkem1024nistp384-sha384.

Which Linux releases default to post-quantum SSH?

Current releases of Ubuntu and RHEL default to hybrid ML-KEM, so the remaining gap is older LTS releases. The original advice to upgrade first still applies, but in most estates that now means a distribution upgrade rather than a custom OpenSSH build.

Default SSH key exchange by distribution release, December 2026
ReleaseOpenSSHDefault key exchangeStatus
Ubuntu 26.04 LTS10.2p1mlkem768x25519-sha256, warns on non-PQ connectionsPQ, ML-KEM
RHEL 10.1 and later9.9mlkem768x25519-sha256 via the DEFAULT crypto policyPQ, ML-KEM
RHEL 10.2 in FIPS mode9.9mlkem768nistp256-sha256 or mlkem1024nistp384-sha384PQ, FIPS
Ubuntu 24.04 LTS9.6p1sntrup761x25519-sha512@openssh.com, no ML-KEMPQ, not ML-KEM
RHEL 9.7 and later8.7 (Red Hat build)Classical unless the DEFAULT:PQ policy is appliedOpt-in
Ubuntu 22.04 LTS8.9p1curve25519-sha256Classical

On RHEL, set key exchange through system-wide crypto policies rather than hard-coding KexAlgorithms in sshd_config, because a hand-written list can override the policy and, in FIPS mode, name algorithms FIPS does not allow. The FIPS hybrids come from a Red Hat patch and are not in upstream OpenSSH, so test FIPS hosts against non-RHEL clients.

On RHEL 10.2, applications built on libssh also prefer mlkem768x25519-sha256 by default.

What about CNSA 2.0 and US federal requirements?

Customers with US national security or federal requirements should track the draft CNSA 2.0 profile for SSH. It specifies ML-KEM-1024 for key establishment and ML-DSA-87 for signatures, used on their own rather than as hybrids, so it is a different target from the hybrid defaults described here. It is an individual Informational draft, not an IETF standard.

Which OpenSSH version is the right target now?

For key exchange, the original baseline holds: OpenSSH 10.0 preferred, 9.9 minimum. For hybrid signatures and server-side fallback logging, plan for 10.6 or later. Before rolling 10.6 out, check three unrelated changes in that release:

  • SSH compression is less effective, because the LZ77 dictionary coder is now disabled to close a side channel. Anything that relied on SSH compression over slow links may run slower.
  • Usernames containing $ or \ are rejected when given on the command line. Check automation that builds SSH commands from variables.
  • scp -R still works but now prints a deprecation warning, so scripts that treat stderr output as failure may break.

December 2026 update: frequently asked questions

Does the NSA's December 2026 warning mean ML-KEM is broken?

No. The NSA, CISA and the Office of the National Cyber Director said recent AI-driven advances do not present an immediate and widespread threat, and the NSA kept ML-KEM and ML-DSA at the centre of its guidance. Reviewers of the related lattice research said the new attack needs far more computation than the best known attacks on the deployed standards.

Can SSH host keys be post-quantum today?

From OpenSSH 10.6 the hybrid ssh-mldsa44-ed25519 signature algorithm is enabled. It is suitable for pilots alongside existing Ed25519 keys. The IETF specification is still a working group draft, so keep Ed25519 in service and regenerate any keys made with the experimental OpenSSH 10.4 support.

How can SSH clients that do not use post-quantum key exchange be found?

On OpenSSH 10.6 and later, sshd enables WarnWeakCrypto by default and logs clients that negotiate a key exchange that is not post-quantum safe. Searching the sshd logs gives a list of clients and automation accounts to upgrade.

Is Ubuntu 24.04 post-quantum for SSH?

Partly. Ubuntu 24.04 ships OpenSSH 9.6, which defaults to the sntrup761x25519 hybrid. That is post-quantum but does not include ML-KEM. Ubuntu 26.04 ships OpenSSH 10.2 and defaults to mlkem768x25519-sha256.

End of the December 2026 update. The full setup steps are in the original guide, A practical guide to post-quantum encryption, published 10 April 2026.

Subscribe to newsletter

Subscribe to receive the latest blog posts to your inbox every week.

By subscribing you agree to with our Privacy Policy.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Ready to Transform 

Your Business?