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

fix: Fixed NetworkConfigurationService returning passwords as strings #4532

Conversation

nicolatimeus
Copy link
Contributor

Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.

The NetworkConfigurationService is currently returning password fields as strings instead of Password objects for the configuration of the network interfaces that are present in the snapshot and not currently attached to the system.

This adds a check before its configuration is returned to wrap any string password property into a Password object.

@MMaiero
Copy link
Contributor

MMaiero commented Apr 5, 2023

Sonar reports issues, can you please check? Thanks

@MMaiero MMaiero merged commit 06e60ae into eclipse-kura:develop Apr 5, 2023
github-actions bot pushed a commit that referenced this pull request Apr 5, 2023
…#4532)

* fix: Fixed NetworkConfigurationService returning passwords as strings

Signed-off-by: Nicola Timeus <[email protected]>

* Added test for string wrapping as password

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit 06e60ae)
nicolatimeus added a commit that referenced this pull request Apr 6, 2023
… [backport release-5.3.0] (#4539)

fix: Fixed NetworkConfigurationService returning passwords as strings (#4532)

* fix: Fixed NetworkConfigurationService returning passwords as strings

Signed-off-by: Nicola Timeus <[email protected]>

* Added test for string wrapping as password

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit 06e60ae)

Co-authored-by: nicolatimeus <[email protected]>
@nicolatimeus nicolatimeus deleted the fix_networkconfigservice-passwords-as-strings branch March 22, 2024 08:05
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.

3 participants