-
Notifications
You must be signed in to change notification settings - Fork 421
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
password_verify fails for hashes from crypt() #101
Comments
Generic The final condition here should be However given this library has been in maintenance mode for years, and that 5.4 is not a currently supported version and CRYPT_STD_DES is horrifically insecure, I'm inclined to close as a wont/fix... Open to hearing discussion in the other direction though. |
Well, of course I don't plan to create new passwords with std_des. But I have a couple of really old databases where existing passwords have been created with that function. So I was hoping I could |
P.S.: I tested the change you proposed, works like a charm! |
When I run the following code in PHP 5.4.45
I get
false
as result. When I run the same code with PHP's nativepassword_verify
function, I gettrue
The text was updated successfully, but these errors were encountered: