WireGuard v2 is in the works, says Donenfeld, as AI crypto worries grow

On 2 December 2026, Jason A. Donenfeld posted a message to the WireGuard mailing list titled "Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth". He opens by noting the recent chatter about mathematical advances made with AI that might impact cryptographic security. His message links that chatter to an NSA press-release page whose URL slug reads "nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation". He writes that the WireGuard Project is aware of the discussion and is actively charting a path forward.

His first advice is about what exists today. WireGuard already has a 256-bit pre-shared key option, and he suggests users who are worried about the advances being made might consider using it. If a key can be pre-shared over a secure offline means, he says, 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.

For people who cannot pre-share a key that way, he describes a second route. They can run one post-quantum key exchange, or several combined, through an already established WireGuard tunnel, then put the result into the pre-shared key slot. He remarks that post-quantum key exchanges now implicitly stand in for "primitives that are not yet broken by AI". He says he believes some VPN providers are already doing this, and calls both approaches good solutions as things stand now.

Looking ahead, he says he has already begun investigating a protocol update for a WireGuard v2. He stresses this is not an invitation to design it in a mailing list thread; the point is only to tell people that things are in the works. He recalls that WireGuard is designed around "versioned crypto", so the version can be incremented when new primitives and ideas must be rolled out as old ones are broken. Ideally that happens before things break, and the fix ships as new software, like any other software issue.

He is frank about the difficulty. Finding something really elegant that keeps all the properties people know and love about WireGuard, using the current crop of post-quantum primitives, is in his words certainly challenging, though hopefully not impossible. Elliptic-curve cryptography sat in an ergonomic sweet spot that WireGuard will have to move on from. He closes: "Cryptanalytic progress moves forward, and so will WireGuard."

Key facts

  • Jason A. Donenfeld posted to the WireGuard mailing list on 2 December 2026, saying the WireGuard Project is aware of recent chatter about AI-driven math advances that might affect cryptographic security.
  • Stopgap one: use WireGuard's existing 256-bit pre-shared key option. If the key is shared over a secure offline means, security rests on the 256-bit ChaCha20 key rather than any asymmetric primitive.
  • Stopgap two: where a key cannot be pre-shared, run one or more post-quantum key exchanges through an established tunnel and put the result into the pre-shared key slot. He believes some VPN providers already do this.
  • He has begun investigating a protocol update for WireGuard v2, building on the protocol's "versioned crypto" design, but gives no timeline or technical design.
  • He calls it challenging, though hopefully not impossible, to keep WireGuard's known properties with current post-quantum primitives.

Why it matters

WireGuard is a widely used VPN protocol, and Donenfeld is now publicly saying that a new protocol version is being investigated because of worries about AI-assisted cryptanalysis. The message is a signal of direction rather than a release. It also shows the design choice the project made early: because WireGuard uses versioned crypto, the version can be bumped when primitives need replacing. Donenfeld says the elliptic-curve cryptography WireGuard relies on was in an ergonomic sweet spot that will have to be left behind.

Who it affects

WireGuard users, and anyone who runs or relies on a WireGuard-based VPN, are the audience. Donenfeld says he believes some VPN providers are already putting post-quantum key exchange results into the pre-shared key slot, though he names none. People who can share a key offline have the simplest option available today.

How to use it

Nothing new has shipped, so there is nothing to install. The advice is about existing features. If you can pre-share a key over a secure offline channel, use WireGuard's 256-bit pre-shared key option. If you cannot, run one post-quantum key exchange, or several combined, through an already established WireGuard tunnel and place the result in the pre-shared key slot. He describes both as good solutions as things stand now. The message does not name a specific post-quantum algorithm.

How solid is it

This is a first-party post: the author is the person writing about the WireGuard Project, and the text is on the project's mailing list archive. The advice about the pre-shared key is stated plainly by him. The v2 plan is only an announcement that investigation has begun. No timeline, release date or technical design for WireGuard v2 is given. The email does not say any cryptographic primitive has actually been broken by AI; it speaks of advances that might impact security. It does not name the advances or the researchers behind them, and it does not describe the NSA page beyond linking it.

Risks and caveats

Donenfeld says plainly that designing something elegant that preserves WireGuard's known properties with current post-quantum primitives is certainly challenging. The pre-shared key route only helps if the key can really be shared over a secure offline means. The post-quantum workaround relies on the established tunnel and on whichever key exchanges a user picks. He also asks that v2 not be designed in a mailing list thread, so the message is not an open call for proposals. The email does not say that current WireGuard is broken or vulnerable today.

“Cryptanalytic progress moves forward, and so will WireGuard.”

— Jason A. Donenfeld, WireGuard mailing list, 2 December 2026