fix(jointoken): initialize HMAC secret on service startup
Consume() called loadSecret() which failed with "no such file" when cluster-join-secret didn't exist yet. New() now calls ensureSecret() so the file is always created before any Consume() attempt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -60,7 +60,7 @@ import (
|
||||
usersvc "git.netcell-it.de/projekte/edgeguard-native/internal/services/users"
|
||||
)
|
||||
|
||||
var version = "1.1.159"
|
||||
var version = "1.1.160"
|
||||
|
||||
func main() {
|
||||
addr := os.Getenv("EDGEGUARD_API_ADDR")
|
||||
|
||||
Reference in New Issue
Block a user