From ea79afee588ecb077fd07663fbf0da4302707f79 Mon Sep 17 00:00:00 2001 From: premultiply <4681172+premultiply@users.noreply.github.com> Date: Fri, 30 Sep 2022 21:26:50 +0200 Subject: [PATCH] Redact pin and mac from config (#4657) --- cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index bd0d613cf..695cac71e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -153,9 +153,9 @@ func unwrap(err error) (res []string) { func redact(src string) string { secrets := []string{ - "url", "uri", "host", "broker", // infrastructure + "url", "uri", "host", "broker", "mac", // infrastructure "sponsortoken", "plant", // global settings - "user", "password", // users + "user", "password", "pin", // users "token", "access", "refresh", // tokens "ain", "id", "secret", "serial", "deviceid", "machineid", // devices "vin"} // vehicles