remove the use key stripping and store the proper keys (#1603)

This commit is contained in:
Kristoffer Dalby
2023-11-16 17:55:29 +01:00
committed by GitHub
parent 2af71c9e31
commit c0fd06e3f5
21 changed files with 99 additions and 198 deletions

View File

@@ -545,7 +545,7 @@ func (api headscaleV1APIServer) DebugCreateNode(
}
api.h.registrationCache.Set(
util.NodePublicKeyStripPrefix(nodeKey),
nodeKey.String(),
newNode,
registerCacheExpiration,
)