-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Increase password strength in Plone 6 #3370
Comments
The password length in 6.0.0b1 is still 5 chars |
I agree that we should increase this. |
@mauritsvanrees the password reset form is in https://github.com/plone/plone.app.users/blob/master/plone/app/users/browser/passwordpanel.py. It uses portal_registration.testPasswordValidity to validate the password, which is in https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/RegistrationTool.py#L182 and calls all IValidationPlugin plugins from PAS. The default one is indeed in PlonePAS: https://github.com/plone/Products.PlonePAS/blob/master/src/Products/PlonePAS/plugins/passwordpolicy.py |
@davisagli @mauritsvanrees Just needed to change the required password length in the password reset form... Right? |
A modern authentication solution should enforce a decent password policy. And this is not only 8-10 chars at least, but also a combination of chars, numbers, special chars. |
Ah okay... |
But this is not the issue. I think a Plip is required to give it a modern shape. I think:
|
For Plone 6.0 I would already be happy if the standard length is increased to 8. Not anything fancy. Bonus points if this is a property that you can set in the ZMI. Then I would say: use 10. It is easy enough for admins to adjust it if wanted. Or set it in the configuration registry, and add it to the security settings. But then it already begins to sound fancy. And maybe we should not simply expose the password length here, but allow admins to choose from a few password policies. Even more fancy, and not really something to do in the beta phase. Are there any public packages that define a different password policy, maybe in the collective? Ah, Note: |
plone/Products.PlonePAS#69 increased the minimum password length to 8 characters |
@davisagli @mauritsvanrees |
The minimum pw length in Plone 6 is still 5. Please increase min length to at least 8 or 10 chars.
5 chars is completely unacceptable in 2021 as out of the box configuration.
The text was updated successfully, but these errors were encountered: