Last reviewed 2026-12-05 · History
Summary
- The WireGuard handshake is fixed:
Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s, with Curve25519 used “for ECDH”.1 - Peers run a Noise IK handshake with static Curve25519 keys, which is also how a peer is identified; key agreement and peer authentication are classical; no post-quantum key agreement or signature is part of the protocol (checked 2026-12-05).1
- An optional 256-bit pre-shared key is mixed into the handshake; the protocol page describes it as an “additional layer of symmetric-key crypto” for “post-quantum resistance”.1
- Nothing is standardised and nothing is a named draft. On 2026-12-02 the maintainer wrote that he has “already begun investigating updating the protocol for a WireGuard v2”.2
- Tooling and commands are on the WireGuard software page.
Post-quantum key agreement in WireGuard waits on a new protocol version, because the protocol has no algorithm negotiation.23
Post-quantum options
- Key agreement: nothing standardised and no draft was found (checked 2026-12-05).
- The known-limitations page says: “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.”4
- The maintainer’s message of 2026-12-02 repeats this: run “a variety of PQ key exchanges … through an established WireGuard tunnel, and then pop the result into the pre-shared key slot”. That key agreement is outside the protocol.2
- Pre-shared key: symmetric. “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 If the key is shared out of band, protocol strength “comes down to breaking that 256-bit ChaCha20 key … rather than any asymmetric primitive”.2
- Peer authentication: nothing standardised and no draft was found (checked 2026-12-05).
Downgrade and enforcement
- There is no algorithm negotiation, so nothing to downgrade; the paper says WireGuard “intentionally lacks cipher and protocol agility”.3
- A change of primitives needs a new protocol version; the maintainer describes the design as “versioned crypto” and calls it “certainly challenging” to preserve WireGuard’s properties with current post-quantum primitives.2
- The classical handshake cannot be turned off, because it is the only handshake.1
References
-
WireGuard, Protocol and Cryptography. https://www.wireguard.com/protocol/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5
-
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
-
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
-
WireGuard, Known Limitations, section “Post-Quantum Secrecy”. https://www.wireguard.com/known-limitations/ (accessed 2026-12-05) ↩