Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fmata
Copy link
Contributor

@fmata fmata commented Mar 17, 2018

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

#26057 updated a test to handle libsodium when the lib is installed.
When it's not installed, the checks of Argon2iPasswordEncoder::isSupported() still returns true if sodium_crypto_pwhash_str() exists and in this case the password value displayed by the command security:encode-password contains $argon2i instead of $argon2id so preg_match() returns false, a notice is emit (Undefined offset: 1) and the test fails.

@fmata
Copy link
Contributor Author

fmata commented Mar 17, 2018

Ooop's, #26424 already fix it but it's not merged yet in master. Sorry for the noise.

@fmata fmata closed this Mar 17, 2018
@fmata fmata deleted the argon2i-tests branch March 17, 2018 11:46
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.

2 participants