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