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

Added support for argon2i and argon2id password hashes to PassHash.ph… #2957

Merged

Conversation

einhirn
Copy link
Contributor

@einhirn einhirn commented Jan 9, 2020

Added support for argon2i and argon2id password hashes to PassHash.php using php's own password_verify function.
Fixes #2956

@einhirn
Copy link
Contributor Author

einhirn commented Jan 9, 2020

Hmm... How do I circumvent the "scrutinizer inspection" errors? I don't need the salt, but hash_X is called with "salt" parameter, isn't it? See auth_cryptpassword() in inc/auth.php

@einhirn
Copy link
Contributor Author

einhirn commented Jan 9, 2020

Didn't know that would work - always learning something new.

Copy link
Collaborator

@phy25 phy25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@splitbrain splitbrain merged commit 114c60d into dokuwiki:master Jan 15, 2020
micgro42 added a commit that referenced this pull request Jan 15, 2020
This slipped in with #2957 between the checks on #2945 being run and
that pull request being merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Argon2i hash support (needed to AuthPDO against nextcloud 16.x)
4 participants