NSA's post-quantum advisory read as a warning on P-256 and X25519

NSA's post-quantum advisory read as a warning on P-256 and X25519

The NSA has published an advisory recommending an "immediate transition to post-quantum cryptography." Filippo Valsorda, writing on words.filippo.io, says the implications are hard to interpret without background on the NSA's standing recommendations. His post is, by his own description, hastily drafted. It is aimed mostly at cryptography engineers and security practitioners; for everyone else his advice is to make sure you can update things.

His summary has three parts. First, 256-bit elliptic curves (P-256 and Curve25519, meaning X25519 and Ed25519) are likely broken or significantly weaker than we thought. Second, RSA and P-384 might be fine as an interim solution, but attacks only get better and quantum computers are still coming, so they can only be a stopgap. Third, ML-DSA and ML-KEM are doing fine and are what we need to move to ASAP, much quicker than planned. This is the author's reading of the advisory. The advisory itself does not say that P-256, X25519 or Ed25519 are broken.

He walks through the NSA texts, quoting the press release, the joint ONCD, NSA and CISA statement, and the advisory. The top-level message is that NSA advises National Security Systems (NSS) owners, operators and vendors to immediately accelerate the move to post-quantum cryptography (PQC), and that organizations must prioritize it before outdated systems can be exploited. By PQC the NSA means ML-DSA and ML-KEM; its CNSA 2.0 guidelines allow only those two as general-purpose algorithms and require the largest parameter sets, ML-DSA-87 and ML-KEM-1024, because CNSA 2.0 uniformly targets the 256-bit security level. The advisory's headline says "PQC" and relegates CNSA 2.0 to a footnote, which the author takes to mean there is no new concern about ML-DSA or ML-KEM. He adds that a lattice result appeared just yesterday, but calls it completely theoretical and says it should not have gotten as much attention as it did.

The advisory warns that adversaries are already collecting encrypted information to decrypt once the capabilities become available. The author calls this a good warning about harvest-now-decrypt-later. Priority one is post-quantum confidentiality (ML-KEM key exchange), but post-quantum authentication has also moved from a later thing to a now thing. Non-PQ connections, by and large secured by P-256 and X25519, might be retroactively compromised much sooner than anticipated.

The advisory also says that "Frontier SI companies" have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use, and that this threat, alongside existing quantum concerns, presents a significant threat to cryptographic systems. The author notes the news came from AI companies and infers that this is a classical attack: no quantum algorithm would pose such a threat without big progress toward a cryptographically relevant quantum computer, and none is mentioned. The source does not name the companies or describe the attack.

The author calls the inventory instruction "the most telling bit." The advisory tells organizations to record which algorithms each system uses for key establishment, signatures and certificates, and to check for algorithms not approved in CNSA 2.0 or CNSA 1.0, with examples: DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups and pairing-based cryptography. In the author's reading this calls out P-256 by exclusion and Ed25519 (the only EdDSA in the NIST specifications), which implicates X25519 and Curve25519 too. RSA is not called out. DSA and deprecated DH groups mean finite-field versions that are already essentially gone from TLS, WebPKI and SSH. Pairing-based cryptography mostly runs over curves with roughly 256-bit prime subgroup order (BLS12-381's group order is 255 bits), which he sees as another hint that 256-bit ECC specifically was lost.

The advisory says that if a hybrid key exchange is needed, it should be configured per IETF RFC 10024. The author notes that the NSA is saying explicitly, against its previous recommendations, that X25519MLKEM768 can be used because it is the most widely available solution. He calls this commendable policy and says it lends credence to the view that the NSA's earlier anti-hybrid position was a simplicity expedient.

For PKI, the advisory says to verify the use of RSA 3K or P-384 as the base size for roots when updating infrastructure, with a footnote that 2K may be required for legacy support. The author reads this as the NSA acknowledging that moving PKIs to ML-DSA will not always be possible within weeks, so it names stopgaps. His order: do not delay PQC rollout; use ML-DSA if you can; otherwise RSA 3072 or P-384; otherwise RSA 2048. In his words, this is a "get off 256-bit elliptic curves" advisory.

He also addresses a more reassuring line from a different press release, which he thinks is aimed at the general public: the NSA's current assessment, in consultation with the technology companies, is that recent SI advances do not present an immediate and widespread threat to that cryptography. He reads that as no need to panic, and suggests "immediate and widespread" could mean the attack is barely practical now and costly to run, but might become widespread if it improves.

Where he has authority, the author is discussing four steps: drop 256-bit ECC key exchange ASAP by moving to ML-KEM hybrids; prepare to require ML-DSA or RSA 3072/P-384 for authentication (hard, because auth is secure only once no vulnerable anchors remain); accelerate a full move to ML-DSA and ML-KEM everywhere, ahead of everything else in cryptography (though RCEs might still matter more); and plan contingencies in case attacks on ECC and/or RSA improve or materialize over the next weeks and months. A fuller what-to-do post may follow in the coming days. In short: get TLS to X25519MLKEM768, move private PKI to ML-DSA (or RSA 3072/P-384 if you really can't), get ready to rotate WebPKI certificates and update the TLS/ACME stack, and update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys.

Key facts

  • The NSA advisory recommends an "immediate transition to post-quantum cryptography" for National Security Systems owners, operators and vendors, and says organizations must prioritize it before outdated systems can be exploited.
  • The author reads the advisory's inventory list (elliptic curves other than P-384 or P-521, EdDSA, pairing-based cryptography) as implicating P-256, X25519 and Ed25519; RSA is not called out. This is his inference, not an NSA statement.
  • The advisory cites a disclosure by frontier AI companies; the author infers a classical attack, since no big quantum progress is mentioned.
  • The NSA now explicitly allows the X25519MLKEM768 hybrid key exchange (RFC 10024) as the most widely available option, which the author notes goes against its earlier recommendations.
  • The author's fallback order for authentication: ML-DSA first, then RSA 3072 or P-384, then RSA 2048 if nothing else works; ML-DSA and ML-KEM show no new concern.

Why it matters

If the author's reading is right, the most widely deployed key exchange and signature curves, P-256 and X25519/Ed25519, are no longer safe against a recently disclosed attack, and non-PQ connections might be retroactively compromised much sooner than anticipated. The NSA also reversed its stance on hybrid key exchange to speed adoption, and it moved post-quantum authentication from a later task to a now task. The author says this should take priority over everything else in cryptography work.

Who it affects

The advisory is addressed to owners, operators and vendors of National Security Systems. The author's post is aimed mostly at cryptography engineers and security practitioners, but anyone running TLS, WebPKI, private PKI or SSH is in scope, since non-PQ connections are largely secured by P-256 and X25519. Everyone else, he says, should make sure they can update things.

How to use it

The author's short list: get TLS connections to X25519MLKEM768; move private PKI to ML-DSA, or to RSA 3072 or P-384 if that is truly impossible, with RSA 2048 as the last resort; get ready to rotate WebPKI certificates and update the TLS/ACME stack; update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys. For hybrid key exchange the advisory points to IETF RFC 10024. Also inventory every system's key establishment, signature and certificate algorithms against CNSA 1.0 and CNSA 2.0, as the advisory instructs.

How solid is it

The advisory's own wording is the solid part: an immediate transition to PQC, a warning about harvest-now-decrypt-later, and an inventory list that excludes most 256-bit curves. The conclusion that P-256, X25519 and Ed25519 are broken is the author's inference from that wording, and the post is a hastily drafted interpretation by his own description. The source does not name the AI companies, describe the attack, or give a timescale or resource estimate. A separate NSA press release says recent advances do not present an immediate and widespread threat.

Risks and caveats

The classical-attack theory rests on the absence of any mention of quantum computer progress, not on disclosed details. The author's own reading of "immediate and widespread" allows that the threat could be immediate but costly to run now, and could widen if the attack improves. RSA and P-384 are only a stopgap, and he says to plan contingencies in case attacks on ECC and/or RSA get better or materialize over the next weeks and months. Moving PKIs to ML-DSA is not yet as available as X25519MLKEM768, and he adds that authentication is secure only once no vulnerable anchors remain.

“Again, this is a “get off 256-bit elliptic curves” advisory.”

— Filippo Valsorda, words.filippo.io