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
Anton Tolchanov fd6686d81a tka: truncate long rotation signature chains
When a rotation signature chain reaches a certain size, remove the
oldest rotation signature from the chain before wrapping it in a new
rotation signature.

Since all previous rotation signatures are signed by the same wrapping
pubkey (node's own tailnet lock key), the node can re-construct the
chain, re-signing previous rotation signatures. This will satisfy the
existing certificate validation logic.

Updates #13185

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
3 months ago
..
aum.go all: use new AppendEncode methods available in Go 1.22 (#11079) 10 months 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 all: use Go 1.22 range-over-int 8 months 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: cleanup unused code, part 1 (#10661) 12 months ago
sig.go tka: truncate long rotation signature chains 3 months ago
sig_test.go tka: truncate long rotation signature chains 3 months ago
state.go tka: clarify field comment 1 year ago
state_test.go various: add golangci-lint, fix issues (#7905) 2 years ago
sync.go all: use Go 1.22 range-over-int 8 months ago
sync_test.go all: update copyright and license headers 2 years ago
tailchonk.go all: use Go 1.22 range-over-int 8 months ago
tailchonk_test.go tka: fix go vet complaint on copy of lock value in tailchonk_test.go (#8208) 2 years ago
tka.go ipn/ipnlocal: discard node keys that have been rotated out 6 months ago
tka_clone.go cmd/tl-longchain: tool to re-sign nodes with long rotation signatures 4 months ago
tka_test.go all: implement lock revoke-keys command 1 year ago