Hi,
I wrote PR 1513 about two weeks ago to make the following enhancements
to the CSPRNG feature in PHP 7:
* Use getrandom(2) on new Linux kernels
* When reading from /dev/urandom, make sure it's actually a character device
* On Linux, make sure that the device has a major ID of 1 and a minor
ID of 9 (which is the urandom device)
* Removes /dev/arandom, as it was only available in deprecated
versions of OpenBSD and modern versions will use arc4random_buf()
anyway
I'd greatly appreciate it if anyone could look over it, test it on
weird machines, and let me know if it causes any issues. And then if
we can get it merged by 7.0.0-RC4, I'd be estatic.
https://github.com/php/php-src/pull/1513
Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises https://paragonie.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I wrote PR 1513 about two weeks ago to make the following enhancements
to the CSPRNG feature in PHP 7:
* Use getrandom(2) on new Linux kernels
* When reading from /dev/urandom, make sure it's actually a character device
* On Linux, make sure that the device has a major ID of 1 and a minor
ID of 9 (which is the urandom device)
* Removes /dev/arandom, as it was only available in deprecated
versions of OpenBSD and modern versions will use arc4random_buf()
anyway
I'd greatly appreciate it if anyone could look over it, test it on
weird machines, and let me know if it causes any issues. And then if
we can get it merged by 7.0.0-RC4, I'd be estatic.
https://github.com/php/php-src/pull/1513
Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises https://paragonie.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php