-
Notifications
You must be signed in to change notification settings - Fork 674
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: Suppress printing out of password to console when using auth command #2857
CLI: Suppress printing out of password to console when using auth command #2857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! It's almost embarrassing we did it the way we did it!
@epugh Is something like this worth a ticket or added in the changes (planning to backport it)? |
Normally I would say no. However, since it improves our security posture? That might be worth going in CHANGES.txt. |
we should try and get this in.... do you want me to take it forward? |
If you have the time please do. I am a bit busy and this should already been merged. It should be backported to 9.x and 9.8 as well. Should also resolve SOLR-17554, which was created after the PR. |
https://issues.apache.org/jira/browse/SOLR-17554
Description
The console is currently printing the username and password when the user enables authentication via
This defeats the purpose of a hidden password prompt.
Solution
Do not print the password when basic authentication is enabled.