WireGuard v2 Is Under Investigation, Donenfeld Says, and the 256-Bit PSK Is the Stopgap
Software / news
WireGuard v2 Is Under Investigation, Donenfeld Says, and the 256-Bit PSK Is the Stopgap
Jason A. Donenfeld's December 2 mailing-list post names no algorithm and no date, but it tells worried users which setting to turn on today.

Jason A. Donenfeld, who maintains WireGuard, told the project's mailing list on December 2, 2026 that he has begun investigating an updated protocol he calls "WireGuard v2", and that anyone worried about quantum attacks can use a setting already present in every tunnel: the 256-bit pre-shared key.
The post, titled "Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth", went out at 21:05 UTC. It answers public discussion of AI-enabled mathematical advances that could affect cryptography, and it links an NSA press release urging a prompt move to post-quantum cryptography. It names no replacement algorithm and gives no date.
The stopgap that works on WireGuard today
Take the common setup: a laptop and a home server, one tunnel, keys generated years ago. Donenfeld offers two routes.
The first is to share a 256-bit pre-shared key (PSK) between both ends over a channel you trust, such as in person. He says the protocol's security then rests on breaking a 256-bit ChaCha20 key, not on any asymmetric primitive.
The second is for people who cannot hand over a key offline. Run one or more post-quantum key exchanges through the existing tunnel and put the resulting secret in the PSK slot. He says some VPN providers already do this. He does not name them, so that claim stands on his word alone.
What the PSK actually touches
The protocol page on wireguard.com lists the pieces. The PSK is optional, the handshake is Noise_IKpsk2, and the page itself suggests the PSK for post-quantum resistance.
| Job | Primitive | Needs a replacement for v2? |
|---|---|---|
| Key exchange | Curve25519 | Donenfeld says elliptic curves will be given up |
| Encryption and authentication | ChaCha20-Poly1305 | Not discussed in the post |
| Hashing | BLAKE2s | Not discussed in the post |
| Key derivation | HKDF | Not discussed in the post |
In the responder's handshake message the PSK is run through HMAC with the chaining key before session keys are derived. When no PSK is configured, a 32-byte all-zero value takes its place. That is why the fix needs no new software: the slot exists, and the sticking point is getting a secret into it.
What v2 would have to give up
Donenfeld says WireGuard uses "versioned crypto", so the version number rises when primitives need replacing, and the fix ships as new software like any other. He calls an elegant post-quantum design that keeps WireGuard's known properties challenging but hopefully not impossible, and says elliptic-curve cryptography offered an unusually convenient balance that will not carry over.
He also says the post is not an invitation to design the protocol on the mailing list.
The same argument is playing out elsewhere on the site's beat. The site has covered the NSA's post-quantum advisory and Chrome's plan to distrust ECDSA P-256 CA keys. WireGuard is the VPN-sized version of the same question.
What is not known
The post does not say which post-quantum algorithms v2 would use, how big its handshake would grow, or whether v2 peers would talk to v1 peers. It gives no release date and describes no code. It also describes no specific AI discovery; the reference is to "chatter" about advances in general.
If you run WireGuard for anything you expect to be recorded and read in ten years, the PSK is the step available this week. If you do not, there is nothing to change until Donenfeld posts again, and the list gives no schedule for that.
Sources
More in Software
- 01Matt Pocock's skills Repo Is at 339,662 Stars, With 27 Agent Skills and an MIT LicenceThe README names four failure modes it is built to fix, and one install warning: use one method per agent or get every skill twice.
- 02Droidspaces Boots Full Linux Distros on Rooted Android, and Its Own README Warns Root Escapes the ContainerThe GPL-3.0 runtime has 3,125 stars and release v7.2.0, but most stock kernels lack the options it needs and it publishes no benchmarks.
- 03Weavon's Pandoc Clone Scores 99.93% on Its Own Tests, Not Pandoc'sThe Rust rewrite claims 15.3x to 49.7x speedups on one Apple Silicon Mac, and Hacker News is arguing about the GPL.
- 04OpenWorker's README Promises Human-Only Floors but Never Lists ThemThe agent under Andrew Ng's GitHub account has 20,328 stars, an MIT licence and an open beta, and its approval design is documented in more detail by a third-party write-up than by the repository.