From 29567d6e0baa33b6dbf06254787ee4f4f36913ee Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 28 Jul 2025 20:07:13 -0700 Subject: [PATCH] Dont print private key --- wgnetstack/wgnetstack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgnetstack/wgnetstack.go b/wgnetstack/wgnetstack.go index 0dd7f0f..3dc25e5 100644 --- a/wgnetstack/wgnetstack.go +++ b/wgnetstack/wgnetstack.go @@ -490,7 +490,7 @@ func (s *WireGuardService) ensureWireguardInterface(wgconfig WgConfig) error { "wireguard: ", )) - logger.Info("Private key is %s", fixKey(s.key.String())) + // logger.Info("Private key is %s", fixKey(s.key.String())) // Configure WireGuard with private key config := fmt.Sprintf("private_key=%s", fixKey(s.key.String()))