-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security/Core] require libsodium >= 1.0.14 #32169
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
Conversation
6eaec4f
to
4b40c59
Compare
4b40c59
to
2c234b6
Compare
2c234b6
to
4fed5d3
Compare
Thank you @nicolas-grekas. |
This PR was merged into the 4.3 branch. Discussion ---------- [Security/Core] require libsodium >= 1.0.14 | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32166 | License | MIT | Doc PR | - - bump libsodium to >=1.0.14 - Minimum opscost must be 3, as described in https://wiki.php.net/rfc/libsodium and in https://github.com/jedisct1/libsodium/releases/tag/1.0.15 - ParagonIE_Sodium_Compat [explicitly doesn't implement Argon2](https://github.com/paragonie/sodium_compat#features-excluded-from-this-polyfill), so it makes no sense to check for it. Commits ------- 4fed5d3 [Security/Core] require libsodium >= 1.0.14
@nicolas-grekas The checks for the sodium_compat library are actually needed because the library exposes the functions but has stubs that only throw Exceptions if neither |
Seriously, wow. |
That seems fair, as long as it's not relying purely on the function checks you're probably OK. |
…rekas) This PR was merged into the 3.4 branch. Discussion ---------- [Security/Core] work around sodium_compat issue | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - As reported by @mbabker in #32169 1.0.9 per https://github.com/jedisct1/libsodium/releases/tag/1.0.9 Commits ------- df50685 [Security/Core] work around sodium_compat issue
Uh oh!
There was an error while loading. Please reload this page.