Post

After the NSA's Post-Quantum Warning, I Checked My Homelab

If you’ve seen headlines this week saying AI broke RSA, it didn’t. But the week did end with the NSA, CISA and the White House cyber office urging a faster move to post-quantum cryptography, so I checked where my homelab stood.

I’d already started. I spent the last couple of weeks moving the public side of my homelab onto its own edge VM (that’s a post of its own, coming soon). While I was in there, I added preshared keys to every WireGuard client so the VPN would hold up against “harvest now, decrypt later.” Then I wondered what else needed the same treatment. I expected a list of config changes. What I got was mostly a list of things that were already done.

What Happened This Week

This is moving fast, so treat it as accurate as of December 4, 2026.

The RSA rumor. In late November, word spread that an AI lab had found a fast way to factor large numbers, which would break RSA without a quantum computer. Scott Aaronson wrote that he was “virtually certain” the labs were sitting on cryptography results, and Elon Musk amplified it. Within two days Aaronson was describing the result as theoretical and not an imminent danger to deployed cryptography. The AI-assisted RSA work that’s actually public is factoring records: Cognition factored RSA-260 in September, and an Anthropic engineer factored an 896-bit number with Claude a few weeks later. That’s still more than 1,100 bits short of a 2,048-bit key, and nobody has claimed RSA as deployed is broken.

The lattice papers. On November 30, Anthropic published four theoretical papers. The main result is a quantum algorithm, found by unreleased Claude models, aimed at the lattice math underneath ML-KEM and ML-DSA, the NIST post-quantum standards. It isn’t a practical attack. It only beats older methods at key sizes far larger than anything deployed. A 21-member Cryptography Incident Review Group looked at it before release and estimated that even 2^1000 quantum operations wouldn’t cover breaking the smallest ML-KEM parameter set. One MIT cryptographer told NPR it only matters if you have a quantum computer larger than the Earth.

The guidance. On December 2, ONCD, NSA and CISA released a joint statement. AI companies had disclosed findings to the government, and the agencies said recent advances “do not present an immediate and widespread threat” to current cryptography, but that upgrades should happen quickly anyway. NSA published an advisory alongside it, Immediate Actions to Push Toward Post-Quantum (PP-26-4956), with six actions. It’s written for national security systems and defense contractors, not homelabs, but two of the actions line up with what’s below: move TLS to 1.3 with post-quantum settings turned on, and don’t leave non-PQC defaults in place.

The breaches. The same weeks brought breaches at the CIA and ODNI, an FBI database, and 1Password. None of them involved breaking encryption. The CIA intrusion has been linked to an AI tool that automates ordinary hacking steps, and 1Password’s started with a hacked employee GitHub account; vaults weren’t decrypted. Bad news, but not a crypto story, and the guidance doesn’t cite them.

What Needs Protecting Now

The quantum threat that matters today isn’t someone breaking into a server in real time. It’s someone recording encrypted traffic now and decrypting it years from now, once a big enough quantum computer exists. That only works against key exchange, the part of a connection where both sides agree on a session key. If the key exchange holds, the recording is useless.

None of this week’s news changes that. The RSA rumor wouldn’t have touched my key exchange either way, because nothing below uses RSA for it. It’s X25519, ML-KEM, and WireGuard’s Curve25519.

Certificates and signatures are a separate problem. A forged signature only helps an attacker while the connection is happening, so recording it gets them nothing. It’ll need solving eventually, but not by me, and not this year.

Everything below is about key exchange. What’s actually deployed are hybrids: a classical X25519 exchange and a post-quantum ML-KEM exchange combined, so the session key holds as long as either one does. For TLS that’s X25519MLKEM768, defined in RFC 10024, and it only exists in TLS 1.3. It’s also the RFC NSA’s advisory points to for hybrid TLS.

This week is a good example of why hybrids exist. The Anthropic result went after the math under ML-KEM. It’s nowhere near practical, but if a future version were, a hybrid connection would still be protected by X25519 against anyone without a quantum computer. The review group’s advice was to keep migrating and to use hybrids that combine schemes built on different math. That’s exactly what X25519MLKEM768 is, and it uses ML-KEM-768, a step above the smallest parameter set they costed out.

WireGuard: The One Thing I Changed

WireGuard’s handshake is Curve25519 only. There’s no post-quantum mode in the protocol, but there is an optional preshared key. The PSK gets mixed into the handshake as a symmetric secret, and a recording of the handshake doesn’t help a quantum attacker recover it. Because it’s symmetric, it doesn’t rely on lattice math or factoring at all, so nothing in this week’s news touches it.

My VPN runs on the UniFi gateway’s built-in WireGuard server. If you add a client there with manual configuration, you can paste in a preshared key, and it ends up in the client config as PresharedKey. Generate a separate one for every peer:

1
wg genpsk

Then check the gateway to make sure you didn’t miss anyone:

1
wg show all preshared-keys

Every peer should list a key. A peer that shows (none) is still classical only.

The PSK is only as safe as the way it got to the device. Email a config to yourself and the PSK has crossed the internet once, inside a classical TLS session that someone could record. I moved configs to phones and laptops on the LAN and nowhere else. That part took longer than the change itself.

TLS: Already On

My plan was to add X25519MLKEM768 to Traefik’s TLS options. Before changing anything, I tested what it was already doing.

The test needs OpenSSL 3.5 or newer on the client. My fileserver runs Ubuntu 24.04, which ships OpenSSL 3.0, and it refused to even try:

1
2
Call to SSL_CONF_cmd(-groups, X25519MLKEM768) failed
...group 'X25519MLKEM768' cannot be set

That error is about the client, not the server. My edge VM runs Debian 13 with OpenSSL 3.5, so I ran it there. First I offered only the hybrid group, so the answer is a plain yes or no:

1
2
openssl s_client -connect 127.0.0.1:443 -servername app.example.com \
  -groups X25519MLKEM768 </dev/null 2>&1 | grep -iE 'group|Protocol'
1
2
Negotiated TLS1.3 group: X25519MLKEM768
Protocol: TLSv1.3

Then I ran it again without -groups, so OpenSSL offered everything it supports. Traefik still picked X25519MLKEM768, so it prefers the hybrid over plain X25519.

I ran the same pair from my Mac (with Homebrew’s OpenSSL) against the second Traefik, the one that serves my LAN and VPN clients. Same result.

Why It Was Already On

Traefik is written in Go, and Go’s TLS library has supported X25519MLKEM768 since Go 1.24. It’s on by default as long as the application doesn’t set its own curve list. The Kubernetes folks found the same thing in their own code. Traefik’s migration notes say it’s been built with Go 1.27 since v3.7.17. Both of my instances run 3.8, and my TLS options only set a minimum version:

1
2
3
4
tls:
  options:
    default:
      minVersion: VersionTLS12

No curvePreferences, so Go’s defaults apply.

That’s also the catch. Plenty of hardening guides tell you to set curvePreferences. If you copied one from before ML-KEM existed, X25519MLKEM768 isn’t in your list, and you’ve turned post-quantum off without knowing it. NSA’s advisory makes the same point in its own terms: don’t leave non-PQC defaults in place. A curve list from before ML-KEM is exactly that kind of default. If you want an explicit list, put the hybrid first and run the test again afterwards:

1
2
3
4
5
6
7
8
tls:
  options:
    default:
      minVersion: VersionTLS12
      curvePreferences:
        - X25519MLKEM768
        - X25519
        - CurveP256

I left mine alone. Not setting it means I get whatever Go ships next.

SSH: Also Already On

I figured SSH would be the one that needed work. It didn’t. OpenSSH has used a hybrid key exchange by default since 9.0 (sntrup761x25519), added ML-KEM in 9.9, and made that the default in 10.0. Their post-quantum page has the details.

You can see what a session negotiated with:

1
ssh -v edge exit 2>&1 | grep 'kex: algorithm'

From my Mac, which runs OpenSSH 10.6:

ServerOpenSSHKey exchange
Edge VM (Debian 13)10.0mlkem768x25519-sha256
Fileserver (Ubuntu 24.04)9.6sntrup761x25519-sha512

The fileserver’s OpenSSH is too old for ML-KEM, so it falls back to the older hybrid. That’s still post-quantum. sntrup761 is a lattice scheme too, but it’s paired with X25519, so the same hybrid reasoning applies.

There’s an easier check than running that against every host. OpenSSH 10.1 and newer print a warning when a session isn’t using a post-quantum key exchange. If your client is recent and you’ve never seen the warning, the servers you connect to are fine.

What’s Still Classical

I don’t want to oversell this, so here’s what none of it covers.

Certificates are classical. Let’s Encrypt doesn’t issue post-quantum certificates, and browsers wouldn’t accept them yet anyway. SSH host and user keys are the same story; mine are still Ed25519. Both are authentication, and recorded traffic doesn’t help anyone forge them later.

NSA’s advisory also wants roots of trust on RSA-3072 or P-384, and post-quantum certificate authorities stood up. That’s aimed at national security systems running their own PKI. A homelab on Let’s Encrypt doesn’t control that layer.

Clients decide what gets negotiated. Anything on TLS 1.2 gets no post-quantum key exchange at all, and neither does an older app or TV client that doesn’t offer the hybrid group. The server can only offer it.

The hop behind my edge proxy is plain HTTP on the LAN. That traffic isn’t encrypted at all, which is a different problem from this one, and it’s on my list.

Checking Your Own Setup

  1. Check the client first. openssl version needs to say 3.5 or later. Ubuntu 24.04’s 3.0 can’t run the test, and the openssl that ships with macOS is LibreSSL. Debian 13 works as is; on a Mac, use Homebrew’s openssl@3.
  2. Test with only the hybrid group, against the hostname a browser would use:

    1
    2
    
     openssl s_client -connect proxy.example.com:443 -servername app.example.com \
       -groups X25519MLKEM768 </dev/null 2>&1 | grep -iE 'group|Protocol|alert|error'
    

    Pass -servername every time. Without it you’re testing the proxy’s default certificate, not your site.

  3. Run it again without -groups to see whether the server prefers the hybrid.
  4. For SSH, look for kex: algorithm in the ssh -v output, or just watch for the OpenSSH 10.1 warning.

If you’d rather skip the terminal, Chrome’s DevTools shows the key exchange for the current page in its security panel.

AI didn’t break RSA this week. Strip out the national-security parts and the guidance comes down to three things: use TLS 1.3, turn on hybrid key exchange, and don’t override the defaults that already do it. In the end, the only post-quantum change I made was the WireGuard preshared keys. Everything else was already there, and my job was to check it and not break it.

This post is licensed under CC BY 4.0 by the author.