Skip to content

TL;DR: NSA Advisory to transition to Post-quantum cryptography

Practical takeaways for tired engineers

Alessio Maffeis
Dec 3, 20262 min read
1

Key Takeaway

Based on the Dec 2026 NSA advisory, 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) may be weaker than previously assumed. Move to post-quantum crypto (ML-KEM and ML-DSA) sooner than planned, using RSA-3072/4096 or P-384 only as temporary stopgaps.


Practical Steps

1. Inventory asymmetric crypto

ind everywhere we use P-256, X25519/Ed25519, DSA, or legacy DH groups—across TLS, SSH (including personal GitHub keys, deploy keys, and commit-signing keys), VPNs, API/JWT signing, and code/firmware signing. Leave AES-256 and SHA-384 alone; symmetric crypto is unaffected.

2. Move TLS to TLS 1.3 with X25519MLKEM768

Upgrade web servers, load balancers, and TLS libraries to enable hybrid PQC key exchange (X25519MLKEM768) on external services first. Strip weaker elliptic curves and deprecated DH groups from configs.

3. Rotate GitHub SSH keys to RSA-4096 or ECDSA P-384

GitHub doesn't support ML-DSA user keys yet, and Ed25519 falls under the 256-bit curve warning. Rotate auth, deploy, and commit-signing keys to RSA-4096 (3072-bit minimum enforced by GitHub since Oct 14, 2026) or ECDSA P-384:

ssh-keygen -t rsa -b 4096 -C "you@example.com"
# or
ssh-keygen -t ecdsa -b 384 -C "you@example.com"

4. Upgrade SSH clients for hybrid PQC key exchange

  • Upgrade workstations and CI runners to OpenSSH 10.0+ (defaults to mlkem768x25519-sha256, supported on github.com and most GHEC regions) or PuTTY 0.83+.
  • CI/CD deadline: GitHub has a brownout on Dec 9, 2026 and permanently drops SHA-1 ssh-rsa and diffie-hellman-group-exchange-sha256 on Jan 13, 2027 (RSA keys require SHA-2 signatures, OpenSSH 7.2p1+).
  • Verify your connection:
ssh -vT git@github.com 2>&1 | grep -E "kex: algorithm|Offering public key|Server accepts key"

5. Migrate private PKI and signing to ML-DSA

Stand up PQC-capable CAs and rotate internal certs, roots, and signing keys to ML-DSA where supported. Use RSA-3072 or P-384 as an interim fallback where PQC signatures aren't ready yet.

6. Patch, explicitly enforce configs, and isolate legacy systems

Update OS packages, TLS libraries, and firmware, and explicitly configure approved profiles rather than trusting defaults. Re-sign software/firmware under updated trust chains, and segment/monitor anything that can't be upgraded right away.


Quick Algorithm Cheat Sheet

For a longer, more nuanced analysis: https://words.filippo.io/nsa-advisory/

Did you enjoy this article?

Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.

Across the AtmosphereDiscussions