The cryptography scare: what to change on your own systems
For most people, auto-updates do the work; for developers and sysadmins, there's a short list with a March 2027 deadline.
After a week of NSA advisories and AI-lab statements: if you’re not running servers, there’s nothing you need to do. Keep your browser, OS and apps updating. Most of the protection is already arriving that way.
If you do run servers, sign tokens or manage SSH keys, there’s a short list, and one item has a hard date.
This is the third of three posts. The first covers what happened, the second Bitcoin and Ethereum. The working assumption throughout: 256-bit elliptic curves (P-256, X25519, Ed25519) are probably weaker than we thought. That’s an inference, not an official statement.
Two clocks
There are two separate problems:
| Key exchange (confidentiality) | Signatures (authenticity) | |
|---|---|---|
| Threat | Record traffic now, decrypt later | Forge certificates, tokens and updates once the attack exists |
| Retroactive? | Yes; past recordings are exposed | No; only keys still trusted matter |
| Fix | Hybrid post-quantum key exchange | Rotate keys and certificates; hardest for roots of trust and firmware |
Key exchange is mostly handled. Signatures are where the work is. Valsorda put it as moving signature migration “from a later thing to a now thing.”
What’s not affected
Symmetric cryptography: AES, ChaCha20, SHA-2. That means disk encryption (LUKS, FileVault, BitLocker) and password-manager vaults are fine; they’re keyed from your password or hardware. What you do depend on vendors for are the public-key parts around them: sharing, recovery keys, device sync.
TLS
Chrome, Firefox, Safari and Edge already negotiate X25519MLKEM768 with servers that support it. Cloudflare says 73% of human traffic to its network is post-quantum encrypted, up from under 3% at the start of 2024. RFC 10024 standardised the hybrids in August.
The deadline is authentication: from 15 March 2027, Chrome stops trusting CA keys using ECDSA P-256. Check whether any certificate in your chain is signed by one.
Here’s what that looks like:
$ openssl s_client -connect example.com:443 -showcerts </dev/null 2>/dev/null \
| awk '/BEGIN CERT/,/END CERT/' > chain.pem
$ openssl storeutl -noout -text -certs chain.pem | grep -E 'Subject:|ASN1 OID'
RSA keys print no OID line. If an intermediate or root shows ASN1 OID: prime256v1, make sure your ACME client renews onto a non-P-256 chain before March. Chrome says over 99% of affected certificates expire before then anyway, but renewal lead times mean the CAs need to have switched well before that.
While you’re there: move server keys off P-256 too (P-384 or RSA-3072 as a stopgap), and make sure X25519MLKEM768 is enabled.
SSH
OpenSSH has had post-quantum key exchange by default since 10.0 (mlkem768x25519-sha256). 10.6 (October) enabled the hybrid signature type ssh-mldsa44-ed25519. A signature needs both halves, so it’s never weaker than Ed25519.
Here’s what you need:
$ ssh -V
$ ssh-keygen -t mldsa44-ed25519
- Run 10.6 or later on both ends.
- Add a hybrid host key alongside the existing ones. Some 10.6 packages put it last in
HostKeyAlgorithms, so clients will still pick Ed25519 unless you change the order. - Regenerate any key made with the experimental 10.4 support.
- Keep a P-384 key for hosts that can’t speak the new type yet; that’s what the development tree now generates by default.
Identity: passkeys, JWTs, code signing
- Passkeys overwhelmingly use ES256, which is ECDSA P-256. There’s no deployed post-quantum passkey standard yet.
- JWTs and OIDC commonly sign with ES256 or EdDSA.
- Code signing, secure boot and hardware roots of trust are the hardest; a key burned into a device can’t be rotated. That’s why CNSA 2.0 has required hash-based LMS/XMSS for firmware since 2022.
If 256-bit curves are weakened, all of these become rotation targets. For passkeys, that mostly means accepting re-enrolment prompts when vendors rotate. For tokens you issue yourself, it means knowing where you sign and with what.
Start with an inventory. Here’s a rough first pass over a codebase:
$ grep -rnE 'ES256|EdDSA|Ed25519|P-256|prime256v1|secp256r1' --include=*.{rs,ts,go,py,java,toml,yaml,json} .
Then put the algorithm behind configuration. Anything that hard-codes ES256 will need a deploy to change; anything that reads it from config needs a restart.
Rust
- TLS: rustls with the
aws-lc-rsprovider supports X25519MLKEM768 and recent releases prefer it. Theringbackend has lagged on post-quantum. - Primitives:
aws-lc-rsexposes ML-KEM and, in recent versions, ML-DSA. The RustCryptoml-kemandml-dsacrates exist but have had less audit time.
Defaults are changing week to week, so check each crate’s changelog rather than trusting this list.
Files, messaging, VPNs
- age 1.4.0 (1 December) defaults to post-quantum keys and warns on legacy-key encryption. Re-encrypt long-lived archives to new recipients.
- GPG: GnuPG 2.5 added ML-KEM composite encryption, but default keys are still classical.
- Signal (PQXDH, SPQR) and iMessage (PQ3) already have post-quantum key agreement. Identity keys are still classical.
- WireGuard uses X25519 with no native post-quantum mode. A pre-shared key distributed out-of-band adds post-quantum resistance; Rosenpass automates that.
The list
To summarize:
- Check TLS chains for P-256 CAs before 15 March 2027.
- Enable X25519MLKEM768; use rustls with
aws-lc-rsin Rust services. - OpenSSH 10.6+,
mldsa44-ed25519keys, P-384 for legacy hosts. - Inventory ES256 and EdDSA in JWTs, WebAuthn and code signing; move the algorithm into config.
- Move age and GPG archives to post-quantum recipients.
If you distrust the NSA’s interim advice (P-384 is from the same NSA-seeded curve family), the answer is the same list: hybrids combine different maths and are never weaker than their strongest half. None of this is wasted if the 256-bit ECC reading turns out wrong; NIST IR 8547 deprecates all of it after 2030 anyway.