sodium_compat icon indicating copy to clipboard operation
sodium_compat copied to clipboard

Pure PHP polyfill for ext/sodium

Results 6 sodium_compat issues
Sort by recently updated
recently updated
newest added

As PHP 8.1's release draws nearer, we're looking at the long tail of backwards compatibility (5.2.4+) and wondering if we should ever create a new major version of sodium_compat that...

question

https://github.com/jedisct1/libsodium/releases/tag/1.0.19-RELEASE We should support AEGIS-128L and AEGIS-256 in the next release of sodium_compat.

https://github.com/jedisct1/libsodium/releases/tag/1.0.19-RELEASE Libsodium 1.0.9 provids HKDF over SHA256 and SHA512. We should ensure it's available on all relevant PHP versions.

The sodium-compat.phar file fails to load on PHP 7.2.34 giving this error: `Warning: require_once(phar:///www/codebase/Ampletracks/lib/sodium-compat.phar/autoload-php7.php): failed to open stream: phar error: "autoload-php7.php" is not a file in phar "/www/codebase/Ampletracks/lib/sodium-compat.phar" in phar:///www/codebase/Ampletracks/lib/sodium-compat.phar/autoload.php...

Trying to run build-phar.sh on Amazon linux 2 fails thus... ``` ... Writing lock file Installing dependencies from lock file Package operations: 1 install, 0 updates, 0 removals - Installing...

https://packagist.org/packages/paragonie/sodium_compat#v2.0.0 Trying to deal with this has been not fun.