gnmic icon indicating copy to clipboard operation
gnmic copied to clipboard

debug mode outputs password

Open peejaychilds opened this issue 1 year ago • 0 comments

I noticed some parts of the debug the password are obscured to prevent accidental leakage, but in other areas they are not.

gnmic -d -p super-secret-password version  2>&1 | grep pass
password: super-secret-password
2024/03/28 00:58:17.710051 /home/runner/work/gnmic/gnmic/pkg/app/app.go:280: [gnmic] password='super-secret-password'(string)

peejaychilds avatar Mar 28 '24 00:03 peejaychilds