The NSA advisory and what to do about it

Thu 03 December 2026 by jillian

So, there was a big scary the-sky-is-falling NSA advisory about all your crypto being hopelessly broken and you are trying to figure out what it means. I won't say you've come to the right place, but you've come to a place and I'm going to try to make it make sense.

Why should I listen to you?

You probably shouldn't. I'm just some internet rando. There are certainly more celebrated experts writing about this. At the time of this writing, none of them are leaning too hard into "what to do about it." I'm going to tell you what I'm doing on systems I control. If it helps, I have been responsible for the security of systems and their data since late last millennium.

What do I need to do and how long do I have?

Nobody knows. The advisory and joint statement were stunningly light on technical and timeline details.

Are you serious right now?

Unfortunately, yes. If you want to read the "primary" source, you can start with the paper referenced by the NSA announcement. If you want someone to make that paper make sense, I'll include two additional links here, and you can draw your own conclusions.

Ok, what are they saying I should do?

There is widespread agreement (at the time of this writing) that you should restrict the key exchange algorithms allowed by your ssh and TLS endpoints. Specifically, the guidance is to allow only the post-quantum key-exchange algorithm(s) that allow your clients and servers to establish encrypted sessions. There is also widespread agreement that this should be your number one priority.

  • Definitely: restrict endpoints' allowable key exchange algorithms to the strongest you can tolerate
  • Maybe: retire/revoke/destroy (asymmetric) signing and auth keys of certain types
  • Definitely: if you are disavowing keys, DO NOT re-use their passphrases

How do I do that?

This is muddied by the availability of several post-quantum key exchange algorithms that one might call "recommended." It is further complicated by the fact that different software (and different versions of the same software) support different subsets of the available algorithms. This means you must determine which algorithms to allow, based on your threat model and the specific mix of software you need.

I'll tell you what I'm doing further below.

What was that bit about asymmetric signing keys?

These would be, for example, SSH keys and the certificates for your TLS endpoints. There is widespread disagreement about how strongly to interpret the guidance in the DoD paper linked in the NSA announcement, whether any key types are broken, which ones are broken, and which of the ones that remain are safer than others.

If you want to do something about the keys, you need to decide which key types you want to allow/use, then you need to go generate the keys, install them, authorize them, test them, and then remove/deauthorize/destroy the keys of types you don't want to allow/use.

REMEMBER: These particular keys are not typically used in encrypting the channel. Therefore, if you can secure the encrypted channels by restricting key exchange algorithms, you get a little bit of breathing room. Hopefully, better information about compromised signing key algorithms will be available Real Soon Now(tm)

That sounds like a server-side thing?

It's also possible to configure your ssh client, and perhaps some gemini and web browsers, to require post-quantum key exchange and to accept only certificates that use signing algorithms of your choosing. Some things to remember:

  • Again, the key exchange and encrypted session negotiation is the most important
  • To make it harder for someone to impersonate you, change your keys/certs
  • To make it harder for someone to impersonate the remote end, restrict the remote key/cert types your client will allow

For OpenSSH 8.5 - 9.8, you can use:

ssh -o KexAlgorithms=sntrup761x25519-sha512@openssh.com user@host

For OpenSSH 9.9 and later:

ssh -o KexAlgorithms=sntrup761x25519-sha512@openssh.com,sntrup761x25519-sha512,mlkem768x25519-sha256 user@host

For DropBear SSH, I don't see a way to limit the kex in dbclient. If you want to support post-quantum kex, you should use at least Dropbear 2026.92, which fixed build issues for these key exchange types.

Is MLKEM-blabla also called Kyber?

Yes, but that may be an oversimplification. You should probably be allowing/requiring specific algorithm, not families of algorithms.

What I am doing about it

A lot of panicking, but reading up on the issues and maintaining this document is helping to make things clearer and reduce the panic from over 9000 to a solid 5 out of 7.

OpenSSH Server Key Exchange (Kex)

OpenSSH 8.5 and newer support the Kex Algorithm sntrup761x25519-sha512. I am adding a restriction on all my ssh servers to require Kex to be at least this strong by adding this line to my /etc/ssh/sshd_config:

KexAlgorithms sntrup761x25519-sha512@openssh.com

OpenSSH 9.9 and newer support Kex with mlkem768x25519-sha256. For my ssh servers that support this algorithm, I am expanding the restriction to allow both algorithms by adding this line to my /etc/ssh/sshd_config:

KexAlgorithms sntrup761x25519-sha512@openssh.com,sntrup761x25519-sha512,mlkem768x25519-sha256

This solves the highest priority issue, which is that we need post-quantum Key Exchange and encrypted sessions, and we need them ASAP.

When you do this, you may find that some mobile SSH clients don't support these Kex methods. So far, WebSSH doesn't. I haven't tried JuiceSSH. But Termius does on both Android and iOS. I hope that helps.

What versions of SSH am I running?

Kex and signing key types are advancing quickly.

I am requiring OpenSSH 9.9 or later on systems I control. I also considered Dropbear. I have determined that the latest versions of Dropbear, starting with 2026.92, would meet my needs as a server. But I couldn't find a way to restrict the kex in dbclient, so I'm sticking with OpenSSH. I didn't look closely at WolfSSH.

Fortunately (and unfortunately!) OpenSSH is fixing bugs and updating to the newest crypto standards faster than distributions can keep up. I checked on 2 December 2026, and the only two distros I have installed that have the latest OpenSSH are OpenBSD 8.0 and NetBSD 11.1. So I'm strongly considering:

  • Aggressively restricting which of my systems can be reached, relayed to, or jumped to from the internet at large
  • Manually tracking the latest OpenSSH releases for the public-facing endpoints

I haven't decided yet, and even when I do, I might change my mind as new information comes to fore.

I've revoked/destroyed/erased/deauthorized all my elliptical keys

I've standardized on one key type to limit how much news I need to pay attention to. When that key type is broken, I'll change all my keys. I've done this because the recurring theme among commentary at the time of this writing is that the DoD paper strongly implies that several elliptical key types are no longer cryptographically sound (i.e., they are broken) but no one agrees on which ones are "probably broken." I've chosen a particular key type based on the best commentary I can find, with the knowledge that it probably isn't any safer than any of the elliptical key types. But it isn't mentioned as "definitely broken" or even "definitely implied to be broken" by any of the analysis I follow at the time of this writing. I won't name it, because what I'm doing is not necessarily what you should do.

You should pick one or more signing/auth key types that fit your threat model, but ONLY AFTER YOU ADDRESS POST-QUANTUM KEY EXCHANGE.

Requiring PQ KEX in my TLS endpoints

Mostly, this is research in progress. If you only publish static content and don't have any TLS services to protect (e.g., IMAP, SMTP...) you can probably consider it lower priority because everything you're "protecting" with TLS is just served up to anyone who can speak TLS.

However, if you need to secure such endpoints, here's what I'm reading:

Depending on your openssl/libressl version, you might be able to use any old gemini server with a post-quantum cert, but I haven't tested this yet.

Fun with WireGuard

You should consider reading up on wp genpsk and the use of Pre-Shared Keys (PSKs), which are intended to provide symmetric key protection against record-and-decrypt-later attacks.

TLS Certificates and PKI

For public root-of-trust derived certs, I'm reading up on what Let's Encrypt is doing. I already use Let's Encrypt for (almost) all of the systems in this use case. For Privately-rooted PKI, each use case is a little different. If you are doing private PKI, you probably have experts available already who can help you.

Change log

  • 20261203 - Initial version
  • 20261204 - Added information about kex support in SSH clients, added additional KexAlgo names in the OpenSSH Server 9.9+ configs, added root-of-trust info from Let's Encrypt, noted passphrase re-use is bad