Thibault Martin:今天才知道 WireGuard v2 正在开发中
原标题: Thibault Martin: TIL that WireGuard v2 is in the works
AI 摘要 AI 生成,可能有误
WireGuard 使用 Curve25519 密钥对来保护隧道的安全,但美国国家安全局(NSA)最近发布的一项建议将除 P-384 和 P-521 之外的所有椭圆曲线都标记为存在问题,这引发了人们对 Curve25519 可能会被普通计算机破解的担忧。由于 WireGuard 对其加密原语进行了硬编码,而后量子算法所需的密钥要大得多,无法容纳在其较小的握手数据包中,因此需要一个全新的协议版本,而不是简单地替换算法。作者 Jason Donenfeld 已宣布 WireGuard v2 正在开发之中,与此同时,用户可以在此期间为隧道添加预共享密钥以获得保护。
核心要点
- WireGuard 依靠 Curve25519 密钥对来建立安全隧道。
- 美国国家安全局(NSA)的一项建议表明,Curve25519 可能会被普通计算机破解。
- WireGuard 对其加密原语进行了硬编码,因此无法简单地替换算法。
- 后量子算法使用的密钥更大,无法容纳在 WireGuard 较小的握手数据包中。
- WireGuard v2 正在开发中;预共享密钥可提供临时保护。
WireGuard builds secure private connections between devices by combining several cryptographic building blocks, called primitives.
To build a WireGuard tunnel, each device needs a key pair (a private key it keeps secret, and a public key it can send to others) based on the Curve25519 primitive.
To keep the explanation simple, each device takes the other one’s public key, mixes it with its own private key, adds specific maths to the mix, and shakes vigorously to create the actual tunnel keys.
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。