Dont print private key

This commit is contained in:
Owen
2025-07-28 20:07:13 -07:00
parent 47321ea9ad
commit 29567d6e0b

View File

@@ -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()))