Matthew Garrett: What do we do with keys?

Matthew Garrett · Dec 4, 2026 · about 6 min read

AI summary AI-generated, may contain mistakes

Matthew Garrett analyzes the NSA's recent cryptographic guidance, observing that while RSA-3072 and P-384 remain adequate and RSA-2048 received an explicit legacy exemption, the conspicuous absence of a similar exemption for P-256 suggests it may have been weakened. This suspicion is reinforced by Chrome and Mozilla moving away from trusting P-256 intermediates, and if the weakness applies to elliptic curves broadly, algorithms like ed25519 and secp256k1 may also be affected. Garrett recommends migrating to modern algorithms such as ML-DSA where possible, while acknowledging that hardware constraints and migration costs leave many organizations unable to judge whether transitioning is worthwhile.

Key takeaways

  • The NSA's omission of a P-256 legacy exemption (while allowing RSA-2048) hints that P-256 is now considered weak.
  • Chrome and Mozilla's move away from trusting P-256 intermediates suggests it is weaker than RSA-2048.
  • If elliptic curves are affected in general, ed25519 and secp256k1 are probably weakened too, warranting migration away from 256-bit EC.
  • When transitioning anyway, adopt ML-DSA and other modern algorithms to avoid another migration in a few years.
  • For constrained hardware like TPMs, keeping a weaker key in hardware may still be safer than storing a strong key on disk, depending on attack costs.

This week the NSA released a statement that has been variously interpreted as “All cryptography is broken”, “Everything is fine”, or “It depends”. I am not a cryptographer, and nothing that I’m going to say here should be relied upon in any way, and if you want to ask questions about cryptography then you should be talking to someone qualified and not me. Anyway.

Let’s concentrate on what the NSA release does say.

Record which algorithms each system uses for key establishment, signatures,and certificates, particularly checking for algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography).

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.