Secret attributes of the wifi connection object might leak to the logs, e.g. if methods like inspect() are used.
Solution
Mark them as secret with secret_attr from YaST2::SecretAttributes.
Caveat
In this branch, secret_attributes.rb still lives in the Y2Storage namespace and in the yast-storage repo. From SLE-15-SP4 on, it lives in the Yast namespace and in the yast-yast2 repo.
Test
Extended and executed the unit tests with packages from the same branch.
Target Branch
This is for SLE-15-SP2.
Bugzilla
https://bugzilla.suse.com/show_bug.cgi?id=1221194
Trello
https://trello.com/c/6SAaaYZ3/
Problem
Secret attributes of the wifi connection object might leak to the logs, e.g. if methods like
inspect()
are used.Solution
Mark them as secret with
secret_attr
fromYaST2::SecretAttributes
.Caveat
In this branch,
secret_attributes.rb
still lives in theY2Storage
namespace and in theyast-storage
repo. From SLE-15-SP4 on, it lives in theYast
namespace and in theyast-yast2
repo.Test
Related PRs