Releases: paragonie/random_compat
Version 1.2.1
PHP 5.6.10 - 5.6.12 will hang when mcrypt is used on Unix-based operating systems (PHP bug 69833). If you are running one of these versions, please upgrade (or make sure /dev/urandom
is readable) otherwise you're relying on OpenSSL.
Version 1.2.0
- Whitespace and other cosmetic changes
- Added a changelog.
- We now ship with a command line utility to build a PHP Archive from the command line. Every time we publish a new release, we will also upload a .phar to Github. Our ECDSA public key is signed by our GPG key.
Version 1.1.6
- Eliminate
open_basedir
warnings by detecting this configuration setting. (Thanks @oucil for reporting this.) - Added install instructions to the README.
- Documentation cleanup (there is, in fact, no
MCRYPT_CREATE_IV
constant, I meant to writeMCRYPT_DEV_URANDOM
)
Version 1.1.5
Prevent fatal errors on platforms with older versions of libsodium.
Version 1.1.4
Thanks @narfbg for critiquing the previous patch and suggesting a fix.
Version 1.1.3
The test for COM in disabled_classes is now case-insensitive.
Version 1.1.2
Don't instantiate COM if it's a disabled class. Removes the E_WARNING on Windows.
Version 1.1.1
Fix a performance issue with /dev/urandom
buffering.
Version 1.1.0
Fix performance issues with ancient versions of PHP on Windows, but dropped support for PHP < 5.4.1 without mcrypt on Windows 7+ in the process. Since this is a BC break, semver dictates a minor version bump.
Version 1.0.10
- Avoid a performance killer with OpenSSL on Windows PHP 5.3.0 - 5.3.3 that was affecting WordPress users.
- Use
$var = null
instead ofunset($var)
to avoid triggering the garbage collector and slowing things down.