Skip to content
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

Guard secret attributes against leaking to the logs [SLE-15-SP6] #1365

Merged
merged 10 commits into from
Mar 13, 2024

Conversation

shundhammer
Copy link
Contributor

@shundhammer shundhammer commented Mar 13, 2024

Target Branch

This is the merge PR of #1364 to SLE-15-SP6.

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 from YaST2::SecretAttributes.

Test

  • Extended and executed the unit tests with packages from the same branch.

Related PRs

@coveralls
Copy link

coveralls commented Mar 13, 2024

Coverage Status

coverage: 80.584% (-0.02%) from 80.607%
when pulling b3597d3 on huha-pw-leak-15-6
into 9b0050d on SLE-15-SP6.

Copy link
Contributor

@teclator teclator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shundhammer shundhammer merged commit 5495aeb into SLE-15-SP6 Mar 13, 2024
10 checks passed
@shundhammer shundhammer deleted the huha-pw-leak-15-6 branch March 13, 2024 17:16
@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #6 successfully finished
✔️ Created IBS submit request #323993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants