Package: php4-mcrypt
Version: 3:4.2.3-10
Severity: grave
Justification: renders package unusable

The following simple test case doesn't work:

<?
$td = mcrypt_module_open ('des', '', 'ejb', '') or die;
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size($td), MCRYPT_DEV_RANDOM);
$ks = mcrypt_enc_get_key_size ($td);
$key = substr (md5 ($_GET["key"]), 0, $ks);
mcrypt_generic_init ($td, $key, $iv);
echo mcrypt_generic ($td, $_GET["data"]);
mcrypt_generic_deinit ($td);
?>

and fails with the error:

Warning: could not open encryption module in /tmp/1.php on line 2

Thanks,
-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages php4-mcrypt depends on:
ii  debconf                     1.4.41       Debian configuration management sy
ii  libapache-mod-php4 [phpapi- 4:4.3.10-2   server-side, HTML-embedded scripti
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libltdl3                    1.6-0+1.5a-4 A system independent dlopen wrappe
ii  libmcrypt4                  2.5.7-4      De-/Encryption Library
ii  php4-cgi [phpapi-20020918]  4:4.3.10-2   server-side, HTML-embedded scripti
ii  php4-cli [phpapi-20020918]  4:4.3.10-2   command-line interpreter for the p

-- debconf information:
  php4/add_extension: true
  php4/remove_extension: true
  php4/extension_mcrypt_apache: true
  php4/extension_mcrypt_cgi: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to