You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sha512a doesn't exist, only sha512 does (on my system).
What happened
Warning
What you expected to happen
Exception
Reason: This should break your application not just throw a warning for better security.
Result was that $hash became false. Labeled as bug just cause I consider this bad practice for security.
I could probably create a PR if I can make the test cases catch the exception.
This should probably happen for 4.x as it is non-BC?
The text was updated successfully, but these errors were encountered:
This is a (multiple allowed):
bug
enhancement
CakePHP Version: 3.4.2
What you did
$hash = Security::hash('foobar', 'sha512a');
sha512a
doesn't exist, onlysha512
does (on my system).What happened
Warning
What you expected to happen
Exception
Reason: This should break your application not just throw a warning for better security.
Result was that $hash became
false
. Labeled as bug just cause I consider this bad practice for security.I could probably create a PR if I can make the test cases catch the exception.
This should probably happen for 4.x as it is non-BC?
The text was updated successfully, but these errors were encountered: