NSA's P-256 Doubt: What Payments Backends Should Inventory
Filippo Valsorda reads the 1 Dec 2026 NSA advisory as a hint that P-256 and Curve25519 may be weakened. For a payments backend, the first step is the same either way: inventory your algorithms.

An NSA advisory published on 1 Dec 2026 tells National Security Systems to speed up their move to post-quantum cryptography, and it cites "recent advances disclosed by frontier AI companies" as a threat to current crypto. In his write-up, Filippo Valsorda reads between the lines and concludes that P-256 and Curve25519 are probably weakened, that RSA-3072 or P-384 are only a stopgap, and that ML-KEM and ML-DSA look fine.
I'll say the careful part first, because the internet will skip it. The P-256 claim is Valsorda's inference from what the advisory leaves out. The NSA did not say it. The AI-found attack that supposedly triggered all this has not been published. He may well be right, and he knows this field far better than I do. But a backend team should not rewrite its threat model around an unpublished attack.
Whether P-256 is weakened is a cryptographer's question. Whether you can find P-256 in your own systems is yours to answer, and the advisory's first action points straight at it: record which algorithm each system uses for key establishment, signatures and certificates. The advisory itself asks for that inventory, so this is not a new idea. The practical point is how few backends can produce one on request.
Where to look is a matter of experience, not a sourced survey. In a payments backend I would expect P-256 around JWT and JWS signing, mTLS between services, HSM-backed keys and bank or partner API signatures, and WebAuthn if you use it. Ed25519 and X25519 tend to show up in SSH keys and in TLS defaults you never chose. Some of it lives in your code, some in a keystore created years ago, some inside a vendor SDK you can't open.
Crypto-agility is not a property of an algorithm. It is an operational property you either built into configuration or you didn't. If ES256 is hard-coded across your services, if the keystore type and curve are baked into a build, or if a partner's SDK pins the signature scheme, then "swap the algorithm" becomes a large project however the cryptography turns out.
A sensible first pass is modest. Grep the repos, scan your endpoints with a TLS scanner, and write down what you find. Where you own the code, move algorithm choices behind config. Turn on hybrid key exchange with the X25519MLKEM768 group, where your JDK or edge proxy supports it. Then check certificate lifetimes, because a rotation you have never rehearsed is likely to fail when you need it. I covered the same inventory-first reasoning in an earlier post on the NSA and CNSA 2.0 deadline; that post is my own analysis, not a source for the claims above.
My position: assume nothing about P-256 until there's a paper, but treat the inventory as overdue. If you can't list your algorithms, you aren't crypto-agile, and no NIST standard will fix that for you.