mirror of
https://github.com/fosrl/newt.git
synced 2026-03-07 19:26:41 +00:00
Dont print private key
This commit is contained in:
@@ -490,7 +490,7 @@ func (s *WireGuardService) ensureWireguardInterface(wgconfig WgConfig) error {
|
|||||||
"wireguard: ",
|
"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
|
// Configure WireGuard with private key
|
||||||
config := fmt.Sprintf("private_key=%s", fixKey(s.key.String()))
|
config := fmt.Sprintf("private_key=%s", fixKey(s.key.String()))
|
||||||
|
|||||||
Reference in New Issue
Block a user