state: apply a new pre-auth key's tags on re-registration

Re-registering a tagged node with a different key discarded the new key's
tags and left a stale auth-key reference; retag on key change and persist it.

Fixes #3370
This commit is contained in:
Kristoffer Dalby authored and Kristoffer Dalby committed 2026-07-28 11:55:17 +02:00
1 parent 1ed5693fa4
commit fc16cc6905
5 files changed
+813 -13

No files matched your search

+2
View File
@@ -352,6 +352,8 @@ jobs:
- TestTagsAuthKeyWithTagCannotAddViaCLI
- TestTagsAuthKeyWithTagCannotChangeViaCLI
- TestTagsAuthKeyWithTagAdminOverrideReauthPreserves
- TestTagsReauthDifferentKeyRetagsNode
- TestTagsReauthDifferentKeyRemovesTag
- TestTagsAuthKeyWithTagCLICannotModifyAdminTags
- TestTagsAuthKeyWithoutTagCannotRequestTags
- TestTagsAuthKeyWithoutTagRegisterNoTags