From d08f830d502b457fd955f1f346ece8df9519b2f8 Mon Sep 17 00:00:00 2001 From: Mike O'Driscoll Date: Thu, 6 Feb 2025 10:53:08 -0500 Subject: [PATCH] cmd/derper: support no mesh key (#14931) Incorrect disabled support for not having a mesh key in d5316a4fbb4a1105ce2ba6f92d9688452b7747cd Allow for no mesh key to be set. Fixes #14928 Signed-off-by: Mike O'Driscoll --- cmd/derper/derper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/derper/derper.go b/cmd/derper/derper.go index f08be7d08..4af63e192 100644 --- a/cmd/derper/derper.go +++ b/cmd/derper/derper.go @@ -236,6 +236,8 @@ func main() { if meshKey == "" && *dev { log.Printf("No mesh key configured for --dev mode") + } else if meshKey == "" { + log.Printf("No mesh key configured") } else if key, err := checkMeshKey(meshKey); err != nil { log.Fatalf("invalid mesh key: %v", err) } else {