mirror of https://github.com/tailscale/tailscale/
types/key: restore Curve25519 clamping in NewPrivate
It was lost during a copy from wgcfg.NewPresharedKey (which doesn't clamp) instead of wgcfg.NewPrivateKey (which does). Fortunately this was only use for discovery messages (not WireGuard) and only for ephemeral process-lifetime keys.pull/701/head
parent
e415991256
commit
309c15dfdd
Loading…
Reference in New Issue