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

[cli] Do not print sensitive information when exception happens #3355

Merged

Conversation

csordasmarton
Copy link
Contributor

Closes #3354

It is possible that the performLogin API functions throws an exception.
On the client side we print the API function name and the argument list
if an exception happens. The argument list may contain sensitive
information such as password. In this patch we will skip printing
the argument list in this situation.

It is possible that the `performLogin` API functions throws an exception.
On the client side we print the API function name and the argument list
if an exception happens. The argument list may contain sensitive
information such as password. In this patch we will skip printing
the argument list in this situation.
@csordasmarton csordasmarton added CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands bugfix 🔨 labels Jun 11, 2021
@csordasmarton csordasmarton added this to the release 6.17.0 milestone Jun 11, 2021
@csordasmarton csordasmarton requested review from bruntib and zomen2 June 11, 2021 13:43
@bruntib bruntib merged commit b9ee0b3 into Ericsson:master Jun 18, 2021
@csordasmarton csordasmarton deleted the fix_printing_sensitive_information branch January 28, 2022 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 🔨 CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mask username and password when a login exception is thrown
2 participants