#49311 [NEW]: WAKE, enigma and arcfour ciphers fail to initialize
| From: | Unprivileged user | Date: | Thu, 20 Aug 2009 15:06:57 +0000 |
| Subject: | #49311 [NEW]: WAKE, enigma and arcfour ciphers fail to initialize | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-141314@lists.php.net to get a copy of this message | ||
From: c58999 at tyldd dot com
Operating system: Windows
PHP version: 5.3.0
PHP Bug Type: mcrypt related
Bug description: WAKE, enigma and arcfour ciphers fail to initialize
Description:
------------
The arcfour algoritm fails to initialize on PHP 5.3.0 win32. This also
appears to happen with the wake and enigma ciphers. I could also reproduce
this behaviour on PHP 5.2.6-2ubuntu4.2.
Reproduce code:
---------------
$algs = mcrypt_list_algorithms();
foreach($algs as $alg){
echo "$alg\n";
$td = mcrypt_module_open($alg, '', 'ecb', '');
echo "\n";
}
Expected result:
----------------
I would expect this code to execute without any errors.
Actual result:
--------------
C:\php>php mcrypt.php
cast-128
gost
rijndael-128
twofish
cast-256
loki97
rijndael-192
saferplus
wake
PHP Warning: mcrypt_module_open(): Could not open encryption module in
C:\php\mcrypt.php on line 6
blowfish-compat
des
rijndael-256
serpent
xtea
blowfish
enigma
PHP Warning: mcrypt_module_open(): Could not open encryption module in
C:\php\mcrypt.php on line 6
rc2
tripledes
arcfour
PHP Warning: mcrypt_module_open(): Could not open encryption module in
C:\php\mcrypt.php on line 6
--
Edit bug report at http://bugs.php.net/?id=49311&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49311&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49311&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49311&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49311&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49311&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49311&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49311&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49311&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49311&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49311&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49311&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49311&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49311&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49311&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49311&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49311&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49311&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49311&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49311&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49311&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49311&r=mysqlcfg