Jason A. Donenfeld jason at zx2c4.com
Wed Dec 2 21:05:49 UTC 2026
Hey folks,
If you've been following the Internet lately, I'm sure you've noticed the recent chatter [1] about mathematical advances via AI that might impact cryptographic security. I wanted to email you all to let you know that the WireGuard Project is aware of this, and is actively charting a path forward.
Firstly, it seems this is as good of a time as any to mention that WireGuard has a 256-bit pre-shared key option. If you have the ability to use this, and you're worried about the implications of the various advances being made, you might consider using it. If you can actually pre-share a key over a secure offline means, the security of the WireGuard protocol comes down to breaking that 256-bit ChaCha20 key, which isn't going to happen, rather than any asymmetric primitive. If you can't pre-share a key like that, you can run a variety of PQ key exchanges (which I suppose now has come to implicitly stand in for, "primitives that are not yet broken by AI"), or multiple of such key exchanges combined, through an established WireGuard tunnel, and then pop the result into the pre-shared key slot. I believe some VPN providers are already doing this. These are both good solutions as things stand now.
Moving forward, I've already begun investigating updating the protocol for a WireGuard v2. This is not an invitation to "let's all design it in a mailing list thread" or something. Rather, this is to inform you that things are in the works. As you know, WireGuard is designed around "versioned crypto." It seems like as things are broken, and we need to roll out new primitives and new ideas, being able to increment the version when needed is a good thing. When things are broken (well, hopefully before things are broken), we'll roll out new software, just like every other software issue that gets fixed.
I should be frank though - it is certainly challenging (though hopefully not impossible) to come up with something really elegant that preserves all the properties we know and love about WireGuard, using the current crop of PQ crypto primitives. ECC was really in an ergonomic sweet spot, which we'll have to move on from. But so it goes. Cryptanalytic progress moves forward, and so will WireGuard.
Jason