openSUSE / wicked

Framework for network configuration
https://en.opensuse.org/Portal:Wicked
GNU General Public License v2.0
101 stars 50 forks source link

hide secrets in debug log (bsc#1221194) #1006

Closed cfconrad closed 8 months ago

cfconrad commented 8 months ago

Replaces cdata in a copy of a config node and it's children that contain passwords before logging it.

Please merge https://github.com/openSUSE/wicked/pull/1005 first.

cfconrad commented 8 months ago

I would simply use ni_debug_config function everywhere, IMO it has now the better api and looks more clean. But don't have hard feelings and take your advice.