Skip to content

Releases: paragonie/sodium_compat

Version 2.5.0

Choose a tag to compare

@paragonie-security paragonie-security released this 30 Dec 16:20
v2.5.0

Security Fix

Read: A vulnerability in libsodium

This fixes a congruent issue in the main branch of the PHP implementation.

For older PHP versions, see v1.24.0 instead.

Version 1.24.0

Choose a tag to compare

@paragonie-security paragonie-security released this 30 Dec 16:19
v1.24.0

Security Fix

Read: A vulnerability in libsodium

This fixes a congruent issue in the v1.x branch of the PHP implementation.

Version 2.4.0

Choose a tag to compare

@paragonie-security paragonie-security released this 06 Oct 09:01
v2.4.0
547e2dc

The biggest change (besides unit testing) in this release is the optimization of Curve25519 field arithmetic by using object properties instead of an internal array. This skips some internal overhead in PHP (i.e., hash tables and memory allocation) that we ultimately never needed.

Beyond that, we mostly expanded our unit test coverage. We're running Infection to identify code that can be mutated without the test suite failing, and it's identified a lot of false positives but also some useful information. The end result? We've fixed a few bugs.

What's Changed

New Contributors

Full Changelog: v2.3.1...v2.4.0

Version 1.23.0

Choose a tag to compare

@paragonie-security paragonie-security released this 06 Oct 08:56
v1.23.0
b938a5c

We backported some optimizations from #198 by replacing the array in the Curve25519 field element with 10 integer object properties instead. The result is a 7% to 12% speedup for the overall PHPUnit suite.

What's Changed

Full Changelog: v1.22.0...v1.23.0

Version 2.3.1

Choose a tag to compare

@paragonie-security paragonie-security released this 30 Sep 15:11
v2.3.1

Deletes the erroneous PSR-0 autoloader declaration from composer.json, fixing #196

Full Changelog: v2.3.0...v2.3.1

Version 2.3.0

Choose a tag to compare

@paragonie-security paragonie-security released this 30 Sep 07:39
v2.3.0
693f6fe

Important

The previous version of sodium_compat was overly permissible with sodium_base642bin() when the *_NO_PADDING variants were specified, which was not compatible with ext-sodium. This has been fixed in v2.3.0.

If you need the old behavior in the meantime, you can call ParagonIE_Core_Base64_Original::decode() or ParagonIE_Core_Base64_UrlSafe:decode() to get lax padding enabled.

Aside from this fix, most of the changes were to the unit test suite in order to improve our mutation testing metrics.

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.3.0

Version 1.22.0

Choose a tag to compare

@paragonie-security paragonie-security released this 30 Sep 07:38
v1.22.0
873679a

Important

The previous version of sodium_compat was overly permissible with sodium_base642bin() when the *_NO_PADDING variants were specified, which was not compatible with ext-sodium. This has been fixed in v1.22.0.

If you need the old behavior in the meantime, you can call ParagonIE_Core_Base64_Original::decode() or ParagonIE_Core_Base64_UrlSafe:decode() to get lax padding enabled.

What's Changed

Full Changelog: v1.21.2...v1.22.0

Version 2.2.0

Choose a tag to compare

@paragonie-security paragonie-security released this 21 Sep 18:34
v2.2.0
9c35358

Version 2.2.0 of Sodium_Compat is mostly a maintenance release. Some dev-dependencies were changed in order to facilitate mutation and fuzz testing in CI. No significant changes to the src directory were required as a result of this additional testing.

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

Version 1.21.2

Choose a tag to compare

@paragonie-security paragonie-security released this 19 Sep 16:18
v1.21.2
d3043fd

What's Changed

Full Changelog: v1.21.1...v1.21.2

Version 2.1.0

Choose a tag to compare

@paragonie-security paragonie-security released this 04 Sep 12:52
v2.1.0
a673d5f

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.1.0