Vendor: WireGuard · https://www.wireguard.com/ · pkg:generic/wireguard · Last reviewed 2026-12-05 · History
Summary
- Key agreement is classical: the handshake
Noise_IKpsk2_25519_ChaChaPoly_BLAKE2suses X25519, and no post-quantum key agreement is part of the protocol (checked 2026-12-05).1 - The protocol has no algorithm negotiation; the paper says WireGuard “intentionally lacks cipher and protocol agility”.2
- Available, needs configuration: an optional 256-bit pre-shared key is mixed into the handshake; upstream says it adds “an additional layer of symmetric-key cryptography … for post-quantum resistance”.13
- Classical key agreement cannot be disabled: X25519 is part of every handshake (checked 2026-12-05).1
2026-12-02: the maintainer wrote he has “already begun investigating updating the protocol for a WireGuard v2”, with no release date.4
To add a symmetric layer, generate a key with
wg genpskand set it per peer aspreshared-keyorPresharedKey.3
Cryptographic operations
- Handshake (key agreement and authentication, both classical): peers authenticate by static X25519 public keys; Curve25519 is used “for ECDH”.1 The paper: “WireGuard is cryptographically opinionated. It intentionally lacks cipher and protocol agility. If holes are found in the underlying primitives, all endpoints will be required to update.”2 The maintainer calls this “versioned crypto”.4
- Pre-shared key: “When pre-shared key mode is not in use, the pre-shared key value used below is assumed to be an all-zero string of 32 bytes.”1 The paper calls it an optional hybrid of a symmetric key with elliptic curve cryptography and says completely post-quantum systems were “not practical for use here”.2
- Known limitations: “The best bet for post-quantum security is to run a truly post-quantum handshake on top of WireGuard, and then insert that key into WireGuard’s pre-shared key slot.”5 The maintainer repeated this on 2026-12-02.4
- Rosenpass follows this approach; its author described it as using “a PSK, as Jason suggested”.6 It is not part of WireGuard and not reviewed here.
- Data transport: ChaCha20-Poly1305, symmetric, not covered.12
- For a product that extends WireGuard, see Tailscale.
Configuration
Enabling PQC
No setting adds a post-quantum algorithm to the handshake; the pre-shared key is the only upstream mechanism.3
wg genpsk
wg set wg0 peer <base64-public-key> preshared-key <file-path>
Disabling classical algorithms
Not possible; the construction is fixed and no option removes the X25519 operations.1
Vendor commitments
- 2026-12-02, mailing list: “I’ve already begun investigating updating the protocol for a WireGuard v2 … this is to inform you that things are in the works.” No release date; the message calls preserving WireGuard’s properties with current post-quantum primitives “certainly challenging”. Open.4
Open work
- No released protocol version, kernel module or
wireguard-toolshas a post-quantum key agreement (checked 2026-12-05).14 - No WireGuard v2 specification is mentioned on the protocol page, in the paper or on the known-limitations page (checked 2026-12-05).125
- Distribution and kernel versions: not checked.
References
-
WireGuard, Protocol and Cryptography. https://www.wireguard.com/protocol/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
-
J. Donenfeld, “WireGuard: Next Generation Kernel Network Tunnel”, draft revision e2da747, 2020-06-01. https://www.wireguard.com/papers/wireguard.pdf (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5
-
wg(8), wireguard-tools source. https://git.zx2c4.com/wireguard-tools/plain/src/man/wg.8 (accessed 2026-12-05) ↩ ↩2 ↩3
-
J. Donenfeld, “Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth”, WireGuard mailing list, 2026-12-02. https://lists.zx2c4.com/pipermail/wireguard/2026-December/009817.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5
-
WireGuard, Known Limitations, section “Post-Quantum Secrecy”. https://www.wireguard.com/known-limitations/ (accessed 2026-12-05) ↩ ↩2
-
K. Varner, “Rosenpass Re: Post Quantum WireGuard, WireGuard v2, …”, WireGuard mailing list, 2026-12-04. https://lists.zx2c4.com/pipermail/wireguard/2026-December/009819.html (accessed 2026-12-05)