mirror of
https://github.com/fosrl/newt.git
synced 2026-02-08 05:56:40 +00:00
Dont print private key
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user