-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
Limit decrypt to 256 characters #2685
Conversation
Note that |
By default it is also used by admin user password validation. |
Co-authored-by: sv3n <github-sr@hotmail.com>
Do you or your code uses a password longer 256 chars? |
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.
Mhhh, better use a new constant?
Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH
was not my best choice.
You are right. May be add |
A hash is not necessary used for a password, can be any other value. |
True , buts only used to validate passwords (and one api-key) in ...
|
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.
ok by me, let's wait for @sreichel to un-block his change request
done |
merged and cherrypicked to v20 |
Description
Limit decrypt to 256 characters. This fix #2245.
In production since 3 months.
OpenMage 20.0.16 / PHP 8.0.25
Contribution checklist