-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[reference][configuration][security]Added key_length for pbkdf2 encoder #4369
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
[reference][configuration][security]Added key_length for pbkdf2 encoder #4369
Conversation
Guillaume-Rossignol
commented
Oct 25, 2014
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | >=2.2 |
Fixed tickets | - |
I'm not a security guy, can you maybe add some more information about this change? (in this PR) |
The pbdkf2 encoder has 4 parameters :
but only the three first are documented in the full example. in the event of migration (django to symfony in my case) it may be necessary to play with this last parameter to be compatible with old database. |
Some options are not documented either, maybe it's an occasion to add theme : https://github.com/symfony/symfony/blob/master/src%2FSymfony%2FBundle%2FSecurityBundle%2FDependencyInjection%2FMainConfiguration.php#L421 ( |
For the plain_text encoder should i :
And for the bcrypt encoder, should i integrate its configuration in the full example ? |
@Guillaume-Rossignol thanks for starting with this and sorry for my delay... It looks great now! I don't think dedicated section should be created for the |
cost: 13 | ||
|
||
# Plaintext encoder | ||
# he does not do any encoding |
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.
"he" should be "it". ("he" is only used for men in english)
Added bcrypt and plaintext encoder
99e9640
to
730dbb8
Compare
😢 i'm full of shame
I'm not sure that my english is well enough for this exercise, but i can try during the week |
Don't worry, you're doing a great job! It's just a very minor thing that I also do wrong most of the time :)
As said, let's wait when this one is merged first. After that, feel free to start, we are here to help you with your english and all other things. |
Really great job - I love the added examples! Thanks Guillaume! |
…r pbkdf2 encoder (Guillaume-Rossignol) This PR was merged into the 2.3 branch. Discussion ---------- [reference][configuration][security]Added key_length for pbkdf2 encoder | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | >=2.2 | Fixed tickets | - Commits ------- 730dbb8 [Config] Complete security encoder in full default configuration 4b9a885 [reference][configuration][security]Added key_length for pbkdf2 encoder