New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hide secrets in debug log (bsc#1221194) #1006
hide secrets in debug log (bsc#1221194) #1006
Conversation
22901e9
to
d1047fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/appconfig.c is about the /etc/wicked/*.xml
appconfig files -- extension definition config in this case and not about interface configs/polices.
I would simply use |
Replaces cdata in a copy of a config node and it's children that contain passwords before logging it.
d1047fc
to
909ee2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See previous comment. Commit d1047fc is not needed and I'd not add it.
The xml does not contain any passwords (which would be valid for all users) and will never do. It's useless to clone the appconfig extension definition for nothing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Replaces cdata in a copy of a config node and it's children that contain passwords before logging it.
Please merge #1005 first.