-
Notifications
You must be signed in to change notification settings - Fork 27
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
Configurable salt length #97
Comments
Hello @res13, I put this request in the roadmap for 1.6.4. If you want you can create a pull request with that feature. I will be happy to review it. |
Hi @firaja , I would like to work on this issue . |
@ishu-thakur assigned. Remember to check code coverage produced by jacoco. |
Hi @firaja i have raised the PR .Please go through it and if any changes required in it , i will be happy to do it :) |
Hi @firaja I have debugged the code and i found that while running mvn -X clean test there are two testcase failures in the com.password4j.PasswordTest
|
@ishu-thakur Can you please open a new issue with the full stack trace of both failing tests? We will discuss the problem in a different thread so this can be closed once you push the changes requested in PR #98 |
Fixed issue #97 configured salt length in properties.
Hi @res13 |
@res13 the feature is public under version 1.7.0. You can use |
Is your feature request related to a problem? Please describe.
In a situation where there are different remote java repositories for the same company, I would like to standardize all the password hashing algorithms among them. My goal is that all of them use password4j. I manage the property file (psw4j.properties) and they manage their code. Currently, the salt length can only be changed via code (not via properties), which can lead to inconsistencies between repositories.
Describe the solution you'd like
I would like to be able to have the salt length a configurable property like
global.salt.length=16
which is used in the classSaltGenerator
.Describe alternatives you've considered
Additional context
great library by the way, huge fan!
The text was updated successfully, but these errors were encountered: