https://bugzilla.wikimedia.org/show_bug.cgi?id=35894
Max Semenik <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #9 from Max Semenik <[email protected]> 2012-07-27 18:44:58 UTC --- (In reply to comment #7) > https://bugs.php.net/bug.php?id=55169 > > "When using the 5.4 snaps calling mcrypt_create_iv with either > MCRYPT_DEV_RANDOM or MCRYPT_DEV_URANDOM as source always fails to gather > sufficient random data regardless of the specified size." People report problems with 5.3.x > https://bugs.php.net/bug.php?id=52523 > > Test script: > --------------- > The following code should loop forever, but does not do so on Windows (XP and > Windows 7): > > php -r "$i=0; while( mcrypt_create_iv(16) !== false ) {echo ($i++).'.';};" MWCryptRand checks for this. We can make the installer call itself via HTTP(S) to generate the keys - this will allow it to time out/handle fatals. Does this hack worth implementing? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
