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
Alex Chan 55a43c3736 tka: don't look up parent/child information from purged AUMs
We soft-delete AUMs when they're purged, but when we call `ChildAUMs()`,
we look up soft-deleted AUMs to find the `Children` field.

This patch changes the behaviour of `ChildAUMs()` so it only looks at
not-deleted AUMs. This means we don't need to record child information
on AUMs any more, which is a minor space saving for any newly-recorded
AUMs.

Updates https://github.com/tailscale/tailscale/issues/17566
Updates https://github.com/tailscale/corp/issues/27166

Signed-off-by: Alex Chan <alexc@tailscale.com>
2 months ago
..
aum.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
aum_test.go all: update copyright and license headers 3 years ago
builder.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
builder_test.go tka: block key addition when the max number of keys is reached 4 months ago
chaintest_test.go all: use Go 1.22 range-over-int 2 years ago
deeplink.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
deeplink_test.go tka: add function for generating signing deeplinks (#8385) 2 years ago
disabled_stub.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
key.go tka: use ts_omit_tailnetlock in another spot, for ed25519consensus 2 months ago
key_test.go all: update copyright and license headers 3 years ago
scenario_test.go all: cleanup unused code, part 1 (#10661) 2 years ago
sig.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
sig_test.go all: use a consistent capitalisation for "Tailnet Lock" 2 months ago
state.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
state_test.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
sync.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
sync_test.go all: update copyright and license headers 3 years ago
tailchonk.go tka: don't look up parent/child information from purged AUMs 2 months ago
tailchonk_test.go tka: don't look up parent/child information from purged AUMs 2 months ago
tka.go tka: use ts_omit_tailnetlock in another spot, for ed25519consensus 2 months ago
tka_clone.go cmd/tl-longchain: tool to re-sign nodes with long rotation signatures 1 year ago
tka_test.go all: implement lock revoke-keys command 2 years ago
verify.go tka: use ts_omit_tailnetlock in another spot, for ed25519consensus 2 months ago
verify_disabled.go tka: use ts_omit_tailnetlock in another spot, for ed25519consensus 2 months ago