Hacker News new | ask | show | jobs
by tptacek 1 day ago
Interesting, I was wondering how people would handle this in protocols like WireGuard. So you're not getting quantum resistance across all the security properties provided by WireGuard's Noise handshake, but you are getting a quantum-resistant ephemeral key exchange; that exchange is theoretically MITM-vulnerable, but MITM is outside the scope of HNDL attacks.
3 comments

(tailscale employee here) Yes, this addresses strictly HNDL attacks, and brings the p2p tunnels roughly on par with the security level of TLS 1.3 with hybrid ML-KEM kex and classical certs/signatures (i.e. the best widely rolled out thing webpki has right now).

The plan was to do more technical writeups of what we did in the days following release. It ended up being trickier than just "bolt ML-KEM into the Noise handshake" due to increased packet sizes, so there's some complexity there for anyone wanting to follow in this path. But for obvious reasons those writeups are a "later" thing now.

AFAIK WireGuard is working on a v2 that adds PQC to the protocol.

https://lists.zx2c4.com/pipermail/wireguard/2026-December/00...

Yes, this was always the plan. The tricky thing is that the shape of key establishment with mainstream quantum-resistant algorithms is different from the one Noise wants.

This is why supersingular isogenies were briefly so interesting: they promised constructions you could just drop in to things like Noise.

But if you already change the code to add a new algorithm, is it really that hard to also change the shape of the key exch? Code needs to be upgraded either way on both sides.
No, the deployment story is the same, but the design process is more complicated, because you have to make departures from Noise. Remember, Jason didn't freelance the WireGuard key exchange; he built it on a formally modeled foundation.
There’s a paper called PQNoise that is more or less a KEM-based Noise adaptation, and if I put all the pieces together right, Wireguard’s use of Noise could switch to PQNoise without adding rounds.

https://eprint.iacr.org/2022/539

Unfortunately pqnoise makes each handshake message exceed typical internet MTUs by a big margin. So it's not a drop-in replacement in UDP-based contexts.
> he built it on a formally modeled foundation.

Interesting, sounds like something today's agents can help a lot with.

Only if you don't care about understanding it. Understanding things someone else wrote is slower than writing it yourself.

And nobody wants to yolo crypto, or put their names on things they don't understand.

WireGuard also supports symmetric pre-shared keys, and PQC can be plugged in there to mix in the negotiated secret into that key. This will also protect against active MITM.