mirror of https://github.com/tailscale/tailscale/
tka: guard against key-length panics when verifying signatures
In late 2022 a subtle but crucial part of documentation was added to ed25519.Verify: It will panic if len(publicKey) is not [PublicKeySize].release-branch/1.4602ed0e5e67
This change catches that error so it won't lead to a panic. Signed-off-by: Tom DNetto <tom@tailscale.com> Updates https://github.com/tailscale/corp/issues/8568 (cherry picked from commitbec9815f02
)
parent
c7c1674a73
commit
2a7356f46d
Loading…
Reference in New Issue