Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth lists...

@best

Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth lists.zx2c4.com · 285 points · 56 comments · HN thread

TL;DR Jason A. Donenfeld, WireGuard's lead developer, posted to the WireGuard mailing list that the project is responding to recent AI-driven cryptanalysis news and the NSA's call for post-quantum transition. He recommends WireGuard's 256-bit pre-shared key option as a stopgap and says work has started on a WireGuard v2 with new primitives, while warning that replacing ECC's ergonomics will be hard.

  • WireGuard's optional 256-bit pre-shared key (PSK) means that, if the key is shared over a secure offline channel, security rests on the symmetric ChaCha20 key rather than on any asymmetric primitive.
  • Users who cannot pre-share a key can run one or more post-quantum key exchanges inside an existing WireGuard tunnel and place the result in the PSK slot; Donenfeld says some VPN providers already do this.
  • Donenfeld says work on a WireGuard v2 has begun, using WireGuard's versioned-crypto design, but explicitly says it is not an invitation to design the protocol on the mailing list.
  • He admits that designing an elegant replacement that keeps WireGuard's properties with current post-quantum primitives is challenging, since ECC offered an unusually convenient balance.
  • The email cites the NSA's press release urging immediate transition to post-quantum cryptography as context for the update.

Discussion The thread is mostly appreciative of the calm tone of the announcement, with many commenters praising it as a model technical update. A large side discussion grew out of a claim that public SSH is dangerous versus WireGuard's stealth behavior, which led to arguments about whether hiding a port counts as security through obscurity, plus examples such as regreSSHion. Other threads cover practical PSK key management, hybrid and PSK designs for SSH, a VPN vendor pointing to its own work, and skepticism that the alarm is overblown.

  • Praise for the calm, clear, reassuring announcement (many): Many commenters thank Donenfeld and say the email is a good model of technical communication that makes them trust WireGuard's maintainers more.
  • PSK is a practical hedge against future asymmetric breaks (many): Users say they already rely on the pre-shared key, and that it protects an exposed WireGuard port and requires both a stolen PSK and an asymmetric break to exploit.
  • Stealth WireGuard ports are safer than public SSH (some): Some argue a WireGuard port does not respond without the right key, unlike SSH, which is easily scanned. Others counter that this is just obscurity and that OpenSSH has had real vulnerabilities like regreSSHion.
  • Security through obscurity debate (some): A long subthread argues whether hiding a port or key counts as security through obscurity, with some saying all security is obscurity and others insisting the distinction matters.
  • SSH should adopt PSK or diverse hybrid schemes (a few): A commenter says SSH lacks a PSK hybrid mode and proposes combining many hard problems and a symmetric chained secret, while another notes ML-KEM at the NSA minimum parameter level is thin.
  • The alarm is overblown (a few): One commenter calls the reaction an overreaction with no concrete sign of a break, and another replies that the NSA's transition mandate is itself a strong signal.
  • Skepticism about the framing of the NSA mandate (a few): One commenter notes the NSA guidance mainly requires new root-certificate products to be quantum-resistant from 2027, with older products allowed until 2030.

Links from the comments

#WireGuard #postQuantum #cryptography #VPN #OpenSSH #NSA