Skip to content
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

Issue with argon hashing configuration #2

Closed
GrahamCampbell opened this issue Aug 13, 2020 · 2 comments
Closed

Issue with argon hashing configuration #2

GrahamCampbell opened this issue Aug 13, 2020 · 2 comments

Comments

@GrahamCampbell
Copy link
Contributor

I don't have an exact date this broke, but I can say it was working 16 days ago, and not working over the last 4 days. I think there is some issue with the configure build step, only affecting the nightly linux builds (and not Windows), which is causing:

ValueError: A thread value other than 1 is not supported by this implementation

When the following code is run:

password_hash('password', PASSWORD_ARGON2I, [
    'memory_cost' => 1024,
    'time_cost' => 2,
    'threads' => 2,
]);

When I build PHP 8 on my own Debian machine (not using this repo), then I don't see the issue, which is why I think there must be a build configuration issue specifically here.

@GrahamCampbell
Copy link
Contributor Author

I think the issue as simple as this: #3. I guess PHP didn't used to hard fail until recently, which is why this has gone unnoticed.

@MHCreations
Copy link

MHCreations commented Jun 14, 2021

This issue is with PHP 7.4.20 . As of this date (June 2021) this remains in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants