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 85373ef822 tka: move RemoveAll() to CompactableChonk
I added a RemoveAll() method on tka.Chonk in #17946, but it's only used
in the node to purge local AUMs. We don't need it in the SQLite storage,
which currently implements tka.Chonk, so move it to CompactableChonk
instead.

Also add some automated tests, as a safety net.

Updates tailscale/corp#33599

Change-Id: I54de9ccf1d6a3d29b36a94eccb0ebd235acd4ebc
Signed-off-by: Alex Chan <alexc@tailscale.com>
1 month ago
..
aum.go all: rename variables with lowercase-l/uppercase-I 1 month ago
aum_test.go tka: add a test for unmarshaling existing AUMs 1 month ago
builder.go various: adds missing apostrophes to comments 1 month 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) 3 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 3 months ago
key_test.go various: adds missing apostrophes to comments 1 month ago
scenario_test.go various: adds missing apostrophes to comments 1 month ago
sig.go various: adds missing apostrophes to comments 1 month ago
sig_test.go all: rename variables with lowercase-l/uppercase-I 1 month ago
state.go various: adds missing apostrophes to comments 1 month ago
state_test.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago
sync.go various: adds missing apostrophes to comments 1 month ago
sync_test.go various: adds missing apostrophes to comments 1 month ago
tailchonk.go tka: move RemoveAll() to CompactableChonk 1 month ago
tailchonk_test.go ipn/ipnlocal: use an in-memory TKA store if FS is unavailable 1 month ago
tka.go tka: fix typo in comment 1 month 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 various: adds missing apostrophes to comments 1 month ago
verify_disabled.go tka: use ts_omit_tailnetlock in another spot, for ed25519consensus 3 months ago