---
title: "WireGuard creator Jason Donenfeld starts work on WireGuard v2 as AI math advances spur post-quantum fears"
url: https://badiyaa.com/wireguard-v2-post-quantum-donenfeld/
published: 2026-12-04T01:27:00+00:00
modified: 2026-12-03T15:41:06+00:00
section: Tech
publisher: Badiyaa
---

# WireGuard creator Jason Donenfeld starts work on WireGuard v2 as AI math advances spur post-quantum fears

WireGuard creator Jason Donenfeld says he has begun work on a WireGuard v2 and urges worried users to switch on its 256-bit pre-shared key.

WireGuard, the lean VPN protocol built into Linux and used by millions of VPN customers, is getting a version 2. Its creator, Jason A. Donenfeld, says he has "already begun investigating updating the protocol" after a wave of AI-assisted math results put the cryptography world on edge.

Donenfeld broke the news in a short email to the project's users on Wednesday, December 2, 2026, titled "Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth," which sits in [the WireGuard mailing list's December 2026 archive](https://lists.zx2c4.com/pipermail/wireguard/2026-December/date.html).

"Cryptanalytic progress moves forward, and so will WireGuard," he wrote.

## Why now

Donenfeld pointed to "the recent chatter" about "mathematical advances via AI that might impact cryptographic security" and said the project "is aware of this, and is actively charting a path forward." That chatter includes the work Badiyaa covered in [Anthropic's report of a Claude-found quantum attack on lattice encryption](https://badiyaa.com/anthropic-claude-lattice-quantum-attack/), which only works on an impossibly large computer.

WireGuard's handshake leans on elliptic-curve math. It uses Curve25519 to agree on keys, then ChaCha20 and Poly1305 to scramble and stamp the traffic, according to [Wikipedia's technical summary of the WireGuard protocol](https://en.wikipedia.org/wiki/WireGuard). A big enough quantum computer could, in theory, break the curve part, and recorded traffic could be decrypted years later.

## What you can do right now

The most useful part of the email is practical. WireGuard already has a 256-bit pre-shared key option, and Donenfeld urges worried users to consider it.

Think of it as a spare house key handed over in person before the trip. If two machines share a secret key through some safe offline route, an attacker must break that 256-bit ChaCha20 key, "which isn't going to happen," Donenfeld wrote in [his December 2 email to the WireGuard list](https://lists.zx2c4.com/pipermail/wireguard/2026-December.txt), rather than any of the public-key math.

If an in-person swap is impossible, he suggests a second route:

- Open a normal WireGuard tunnel.

- Run one or more post-quantum key exchanges inside it.

- Drop the result into WireGuard's pre-shared key slot.

He says some VPN providers already do this, and calls both approaches "good solutions as things stand now."

## What WireGuard v2 means

WireGuard was built around what Donenfeld calls "versioned crypto." Instead of letting users mix and match algorithms, the protocol fixes one small set of primitives; when one weakens, the whole thing moves up a version. That design is why a v2 is the natural answer.

He was blunt that it will not be easy. Building something elegant from today's post-quantum building blocks is "certainly challenging (though hopefully not impossible)," he wrote, adding: "ECC was really in an ergonomic sweet spot, which we'll have to move on from."

He also shut down any design-by-committee hopes: the email "is not an invitation to 'let's all design it in a mailing list thread' or something."

## A short history

Donenfeld first released WireGuard in 2015. It entered the mainline Linux kernel in January 2020 and shipped in Linux 5.6 that March, and today runs on Windows, macOS, Android, iOS and the BSDs. No v2 release date has been given; for now, the pre-shared key slot is the tool on offer. More security and software stories are in [Badiyaa's Tech section](https://badiyaa.com/category/tech/).

## Sources
- [Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries (Jason A. Donenfeld email)](https://lists.zx2c4.com/pipermail/wireguard/2026-December.txt), WireGuard project mailing list, 2026
- [WireGuard mailing list archive, December 2026](https://lists.zx2c4.com/pipermail/wireguard/2026-December/date.html), WireGuard project, 2026
- [WireGuard](https://en.wikipedia.org/wiki/WireGuard), Wikipedia, 2026

*Image: ShakataGaNai, CC BY-SA 3.0 via Wikimedia Commons*

*This article was produced with AI assistance and reviewed by our Editorial Desk. [How we work](https://badiyaa.com/editorial-policy/).*
