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
Fixes #16730: Update users configuration file to add BCrypt support #2771
Fixes #16730: Update users configuration file to add BCrypt support #2771
Conversation
@@ -70,9 +73,9 @@ | |||
into account: /etc/init.d/rudder-jetty restart | |||
--> | |||
|
|||
<authentication hash="sha512"> | |||
<authentication hash="bcrypt"> | |||
|
|||
<!-- Default credentials: admin / admin --> |
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.
we should not keep this comment
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.
comment
OK, merging this PR |
|
||
Not specifying the "hash" attribute means using plain text passwords, which is not | ||
adviseable for security reasons. | ||
|
||
To create a bcrypt hash of your password, please run this command: | ||
htpasswd -nBC 12 "" | tr -d ':\n' | sed 's/$2y/$2b/' |
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.
Is the sed really necessary? The compare algo should work with "2y", and it's a risk that user do ad thing
https://issues.rudder.io/issues/16730