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

Modified NetworkManager lense #723

Merged
merged 4 commits into from
May 31, 2021

Conversation

mchf
Copy link
Contributor

@mchf mchf commented May 26, 2021

The lense will not encapsulate value of a newly created entry by quotes.
Values containing # are accepted (allowed character e.g. for WPA-PSK)

Details

  • For WPA-PSK each character in the pass-phrase must have an encoding in the range of 32 to 126 (decimal), inclusive. (IEEE Std. 802.11i-2004, Annex H.4.1)

E.g. # and space character are included in this range.

@raphink
Copy link
Member

raphink commented May 26, 2021

Thanks for this. Could you add tests to identify the current issue and validate the fix please?

@mchf mchf force-pushed the fixed-networkmanager-lense branch 3 times, most recently from cc4770b to f6bbe41 Compare May 27, 2021 08:34
@mchf
Copy link
Contributor Author

mchf commented May 27, 2021

I've added some test for the get direction. However, I haven't been able to create a test for writting new value (I wanted to check that new value is written without quotes) but I haven't found out how it could be done. But keep trying.

mchf added 3 commits May 27, 2021 11:28
The lense will not encapsulate value of a newly created entry by quotes.
Values containing # are accepted (allowed character e.g. for WPA-PSK)
@mchf mchf force-pushed the fixed-networkmanager-lense branch from f6bbe41 to 2671d01 Compare May 27, 2021 09:49
@mchf
Copy link
Contributor Author

mchf commented May 27, 2021

ok, even put direction is now tested. It covers the issue #719 referenced in the description

Copy link
Member

@raphink raphink left a comment

Choose a reason for hiding this comment

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

LGTM

@raphink raphink merged commit fc6d33f into hercules-team:master May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants