后量子 WireGuard、WireGuard v2、不断涌现的 AI 发现,等等
Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth

原始链接: https://lists.zx2c4.com/pipermail/wireguard/2026-December/009817.html

Jason A. Donenfeld 表示,WireGuard 项目正在跟踪近期 AI 辅助的数学进展,这些进展可能削弱密码学假设,项目也在规划后续路径。作为即时缓解措施,他强调了 WireGuard 的 256 位预共享密钥选项:如果密钥能够安全地离线共享,安全性就依托 ChaCha20,而不是非对称密码原语。无法做到这一点的用户,可以在现有 WireGuard 隧道内运行后量子密钥交换——可能是多个组合使用——并将结果填入 PSK 槽位;一些 VPN 服务商可能已经采用了这种做法。更长期来看,Donenfeld 已开始探索 WireGuard v2。由于 WireGuard 采用版本化加密设计,新密码原语可以随着威胁出现通过软件更新推出。他提醒说,设计出一个保留 WireGuard 理想特性的优雅后量子版本很困难,因为 ECC 曾异常便利,但项目会随着密码分析的进展继续演进。

Hacker News 上的一场讨论围绕 zx2c4.com 上一篇题为“后量子 WireGuard、WireGuard v2、AI 领域的持续发现,等等”的帖子展开。评论者称赞 WireGuard 的可选预共享密钥功能,称它让公开暴露 WireGuard 端口比开放 SSH 端口让人感觉更安全。有人感谢 Jason 的持续开发。另有人建议提供有限的加密算法灵活性,使对端在有硬件支持时可以使用 AES-256,而不是始终使用 ChaCha20。该讨论还指出,在预共享密钥经过安全交换的情况下,WireGuard 的安全性就归结为破解 256 位 ChaCha20 密钥,而不是攻破非对称密码学。这引发了一个关于“人肉网络”将在赛博朋克未来回归的玩笑,并附上了人肉网络简介的链接。
相关文章

原文
Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth Jason A. Donenfeld jason at zx2c4.com
Wed Dec 2 21:05:49 UTC 2026
Hey folks,

If you've been following the Internet lately, I'm sure you've noticed
the recent chatter [1] about mathematical advances via AI that might
impact cryptographic security. I wanted to email you all to let you
know that the WireGuard Project is aware of this, and is actively
charting a path forward.

Firstly, it seems this is as good of a time as any to mention that
WireGuard has a 256-bit pre-shared key option. If you have the ability
to use this, and you're worried about the implications of the various
advances being made, you might consider using it. If you can actually
pre-share a key over a secure offline means, the security of the
WireGuard protocol comes down to breaking that 256-bit ChaCha20 key,
which isn't going to happen, rather than any asymmetric primitive. If
you can't pre-share a key like that, you can run a variety of PQ key
exchanges (which I suppose now has come to implicitly stand in for,
"primitives that are not yet broken by AI"), or multiple of such key
exchanges combined, through an established WireGuard tunnel, and then
pop the result into the pre-shared key slot. I believe some VPN
providers are already doing this. These are both good solutions as
things stand now.

Moving forward, I've already begun investigating updating the protocol
for a WireGuard v2. This is not an invitation to "let's all design it
in a mailing list thread" or something. Rather, this is to inform you
that things are in the works. As you know, WireGuard is designed
around "versioned crypto." It seems like as things are broken, and we
need to roll out new primitives and new ideas, being able to increment
the version when needed is a good thing. When things are broken (well,
hopefully before things are broken), we'll roll out new software, just
like every other software issue that gets fixed.

I should be frank though - it is certainly challenging (though
hopefully not impossible) to come up with something really elegant
that preserves all the properties we know and love about WireGuard,
using the current crop of PQ crypto primitives. ECC was really in an
ergonomic sweet spot, which we'll have to move on from. But so it
goes. Cryptanalytic progress moves forward, and so will WireGuard.

Jason

[1] https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/


More information about the WireGuard mailing list
联系我们 contact @ memedata.com