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

(cherry picked from commit fc16cc6905)
This commit is contained in:
Kristoffer Dalby
2026-07-22 06:32:08 +00:00
committed by Kristoffer Dalby
parent d202883200
commit 1fccdb18bd
5 changed files with 814 additions and 14 deletions
+2
View File
@@ -340,6 +340,8 @@ jobs:
- TestTagsAuthKeyWithTagCannotAddViaCLI
- TestTagsAuthKeyWithTagCannotChangeViaCLI
- TestTagsAuthKeyWithTagAdminOverrideReauthPreserves
- TestTagsReauthDifferentKeyRetagsNode
- TestTagsReauthDifferentKeyRemovesTag
- TestTagsAuthKeyWithTagCLICannotModifyAdminTags
- TestTagsAuthKeyWithoutTagCannotRequestTags
- TestTagsAuthKeyWithoutTagRegisterNoTags