Blog Network

WireGuard · 2026-12-02 · major

WireGuard v2 in the works — a post-quantum plan after AI crypto finds

WireGuard creator Jason A. Donenfeld says the project has started work on a WireGuard v2 after reports that AI-driven math could weaken today's cryptography. Until then he advises the 256-bit pre-shared key option.

WireGuard project logo
WireGuard LLC, via Wikimedia Commons

WireGuard's author starts on a new protocol version and tells users how to add quantum-safe keys today.

Quick facts

Announced byJason A. Donenfeld, WireGuard mailing list
Date2 December 2026
StatusWireGuard v2 under investigation, no release or timeline
Advice now256-bit pre-shared key, shared offline
FallbackPost-quantum key exchange inside the tunnel, result in the PSK slot

What is it?

WireGuard v2 is a new version of the WireGuard VPN protocol that creator Jason A. Donenfeld says he has begun investigating. He announced it on the WireGuard mailing list on 2 December 2026, in response to recent reports that AI-enabled mathematical advances could affect cryptographic security.

How does it work?

The current protocol already has an optional 256-bit pre-shared key. When that key is shared over a secure offline channel, an attacker has to break a 256-bit ChaCha20 key rather than an elliptic-curve exchange. Without an offline key, the post suggests running one or more post-quantum key exchanges inside an established tunnel and placing the result in the pre-shared key slot, which some VPN providers already do. WireGuard's versioned crypto design lets the project raise the version number when primitives break.

Why does it matter?

WireGuard is built into Linux and used by many commercial VPNs, so a protocol change reaches a very large number of networks. Donenfeld warns the redesign is hard: elliptic-curve cryptography was an ergonomic sweet spot, and keeping WireGuard's simplicity with current post-quantum primitives is a challenge. Operators who are worried can turn on pre-shared keys now.

Who is it for?

VPN operators, network and security engineers

Frequently asked questions

When will WireGuard v2 be released?
Jason A. Donenfeld gives no date for WireGuard v2. His 2 December 2026 post says only that he has begun investigating a protocol update and that the WireGuard Project is charting a path forward. He also says the mailing list is not the place to design the new version, so no draft specification has been published.
How can I make an existing WireGuard tunnel safer today?
WireGuard already supports a 256-bit pre-shared key. If peers exchange that key over a secure offline channel, Donenfeld says the security of the tunnel comes down to breaking a 256-bit ChaCha20 key. Without an offline channel, a post-quantum key exchange run inside the tunnel can feed its result into the pre-shared key slot.
Why is a post-quantum WireGuard hard to build?
Donenfeld writes that building something elegant that keeps WireGuard's properties with current post-quantum primitives is challenging, though hopefully not impossible. Elliptic-curve cryptography gave WireGuard small keys and a simple handshake, an ergonomic sweet spot that the WireGuard Project now expects it will have to move on from.
Do VPN providers already use post-quantum keys with WireGuard?
Yes, according to Donenfeld's post, some VPN providers already run post-quantum key exchanges inside an established WireGuard tunnel and put the resulting secret into WireGuard's pre-shared key slot. This keeps the standard WireGuard protocol unchanged while adding a quantum-resistant layer on top of the elliptic-curve handshake.

Sources · 3 outlets

Tags

  • wireguard
  • vpn
  • post-quantum-cryptography
  • pqc
  • cryptography
  • ai-math
  • pre-shared-key
  • jason-donenfeld
  • networking

← All releases