-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#5463 - Use specified hashing algo in \Magento\Framework\Encryption\Encryptor::getHash #13884
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
#5463 - Use specified hashing algo in \Magento\Framework\Encryption\Encryptor::getHash #13884
Conversation
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.
Why haven't you passed $version variable at line 146?
https://github.com/magento/magento2/pull/13884/files#diff-07981c7827bdf60bd9649fa9f8ec974dR146
@ihor-sviziev This was an oversight on my part. I've updated the code and added coverage for it in the unit test. |
@k4emic now your changes looks good. Could you squash your changes into 1 commit and force push to your branch? |
@ihor-sviziev Done. Let me know if I missed something. |
Hi @ihor-sviziev, thank you for the review. |
…Encryption\Encryptor::getHash #13884
Description
\Magento\Framework\Encryption\Encryptor::getHash would previously ignore the specified hashing algorithm version that was supplied
Fixed Issues (if relevant)
Manual testing scenarios
N/A, Magento currently has no support for specifying hashing algorithms by default.
Contribution checklist