You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tka
Tom DNetto bec9815f02 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].

02ed0e5e67

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
11 months ago
..
aum.go all: update copyright and license headers 1 year ago
aum_test.go all: update copyright and license headers 1 year ago
builder.go all: update copyright and license headers 1 year ago
builder_test.go all: update copyright and license headers 1 year ago
chaintest_test.go various: add golangci-lint, fix issues (#7905) 1 year ago
deeplink.go tka: add function for generating signing deeplinks (#8385) 12 months ago
deeplink_test.go tka: add function for generating signing deeplinks (#8385) 12 months ago
key.go tka: guard against key-length panics when verifying signatures 11 months ago
key_test.go all: update copyright and license headers 1 year ago
scenario_test.go all: update copyright and license headers 1 year ago
sig.go tka: guard against key-length panics when verifying signatures 11 months ago
sig_test.go all: update copyright and license headers 1 year ago
state.go all: update copyright and license headers 1 year ago
state_test.go various: add golangci-lint, fix issues (#7905) 1 year ago
sync.go all: update copyright and license headers 1 year ago
sync_test.go all: update copyright and license headers 1 year ago
tailchonk.go various: add golangci-lint, fix issues (#7905) 1 year ago
tailchonk_test.go tka: fix go vet complaint on copy of lock value in tailchonk_test.go (#8208) 1 year ago
tka.go tka: allow checkpoint AUMs to change TKA state 11 months ago
tka_test.go various: add golangci-lint, fix issues (#7905) 1 year ago