Issue Bug Closed

#23496t3lib_div::generateRandomBytes() is bad and buggy

Stefan Froemken 09/03/10, 08:55 updated 10/02/18, 12:22

Description

I just try to install the new indroduction version of TYPO3 on my server. On step two I get following warning:

Fatal error: mcrypt_create_iv(): Could not gather sufficient random data in C:\Programme\Apache Software Foundation\Apache2.2\htdocs\introductionpackage-4.4.2\t3lib\class.t3lib_div.php on line 1597

The dropdown-box for “Driver” is empty.

I’m using PHP 5.3.3

I found a page where Marcus Krause and Helmut Hummel have already tried to fix that problem:

http://github.com/typo3/typo3v4core/commit/00ce0fe45aa46b62e8aa499912c9e36483185737

But on this site you can read, that the code was not perfect:

http://bugs.php.net/bug.php?id=52523

Have a look at following entry: [2010-08-03 16:11 UTC] pajoye@php.net
(issue imported from #M15629)

Reviews 1