-
Notifications
You must be signed in to change notification settings - Fork 2k
PASSWORD_ARGON2I constant undefined in 7.2-alpine #659
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
Comments
From #515 (comment)
Unfortunately this is still true, so perhaps with Alpine 3.8 we can have the argon2 library. |
Create an issue on https://bugs.alpinelinux.org/ and it might get backported. |
I think updating to Alpine 3.8 (now that it's released) is probably our best bet forward here (ala #683). |
Woot, this is fixed (and will be published once docker-library/official-images#4752 merges). 👍 Thanks @TimWolla and @forevermatt! |
While testing
password_hash()
in PHP 7.2, I noticed that the7.2-alpine
Docker image seems to lack thePASSWORD_ARGON2I
constant.Example of error:
Example of expected behavior (using the
7.2
image):I don't know if it's related to the LibreSSL configuration discussion here, but this seemed worth mentioning since the new password hashing stuff is one of the great benefits of PHP 7.2
The text was updated successfully, but these errors were encountered: