Bug #55169 [Com]: mcrypt_create_iv always fails to gather sufficient random data
| From: | nikic@php.net | Date: | Sun, 10 Jul 2011 18:32:12 +0000 |
| Subject: | Bug #55169 [Com]: mcrypt_create_iv always fails to gather sufficient random data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161755@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55169&edit=1
ID: 55169
Comment by: nikic@php.net
Reported by: nikic@php.net
Summary: mcrypt_create_iv always fails to gather sufficient
random data
Status: Feedback
Type: Bug
Package: mcrypt related
Operating System: Windows 7
PHP Version: 5.4SVN-2011-07-09 (snap)
Block user comment: N
Private report: N
New Comment:
I'm still seeing the issue in 313114:
D:\htdocs\stack>C:\php313114\php.exe -f quick.php
Warning: mcrypt_create_iv(): Could not gather sufficient random data in D:\htdoc
s\stack\quick.php on line 3
bool(false)
Previous Comments:
------------------------------------------------------------------------
[2011-07-10 11:32:30] pajoye@php.net
yes, 313110 or higher is what you have to test (see the commit in this report, the
commits tab).
------------------------------------------------------------------------
[2011-07-10 11:19:34] nikic@php.net
Oi, I didn't see your comment, I'm sorry. I will try as soon as a binary is available ;)
------------------------------------------------------------------------
[2011-07-10 11:12:35] nikic@php.net
Just tried the snap for 312201, too, and it seems to work there too. Does that mean that either
312202 or 312203 broke it?
D:\htdocs\stack>C:\php312201\php.exe -f quick.php
string(1) "B"
------------------------------------------------------------------------
[2011-07-10 11:09:43] nikic@php.net
I just tried snaps for 312169 and 312203. The former still worked, but the latter was already
broken:
D:\htdocs\stack>C:\php312169\php.exe -f quick.php
string(1) "ð"
D:\htdocs\stack>C:\php312203\php.exe -f quick.php
Fatal error: mcrypt_create_iv(): Could not gather sufficient random data in D:\h
tdocs\stack\quick.php on line 3
------------------------------------------------------------------------
[2011-07-10 10:37:24] pajoye@php.net
I apply a fix to all branches (5.3 was possibly affected as well). Please try a
snapshot with the revision id equal or higher to the commit referred here.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55169
--
Edit this bug report at https://bugs.php.net/bug.php?id=55169&edit=1