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

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

- Org: WireGuard
- Date: 2026-12-02
- Category: security, ecosystem
- Source: https://lists.zx2c4.com/pipermail/wireguard/2026-December/009817.html
- Canonical page: https://ai-tldr.dev/releases/wireguard-v2-post-quantum-plan/

## In short

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.

## What it is

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 it works

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 it matters

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 it's for

VPN operators, network and security engineers

## Quick facts

- Announced by: Jason A. Donenfeld, WireGuard mailing list
- Date: 2 December 2026
- Status: WireGuard v2 under investigation, no release or timeline
- Advice now: 256-bit pre-shared key, shared offline
- Fallback: Post-quantum key exchange inside the tunnel, result in the PSK slot

## FAQ

### 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.

## Links

- [Mailing List Post](https://lists.zx2c4.com/pipermail/wireguard/2026-December/009817.html)
- [WireGuard Protocol](https://www.wireguard.com/protocol/)
- [HN Discussion](https://news.ycombinator.com/item?id=50736464)
