#35069 [Opn->Bgs]: 4.4.1 update seriously breaks mcrypt decryption
| From: | sniper@php.net | Date: | Wed, 02 Nov 2005 17:58:33 +0000 |
| Subject: | #35069 [Opn->Bgs]: 4.4.1 update seriously breaks mcrypt decryption | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87425@lists.php.net to get a copy of this message | ||
ID: 35069
Updated by: sniper@php.net
Reported By: greg at warprecords dot com
-Status: Open
+Status: Bogus
Bug Type: mcrypt related
Operating System: FreeBSD 5.3R-p5
PHP Version: 4.4.1
New Comment:
We don't support any ports. Reopen if you can reproduce this with PHP
build from the sources found here:
http://www.php.net/downloads.php
Previous Comments:
------------------------------------------------------------------------
[2005-11-02 18:12:45] greg at warprecords dot com
Description:
------------
Upgraded to 4.4.1 from 4.4.0 via FreeBSD ports broke some code
we use to decrypt Blowfish encrypted strings generated and
handled by PHP and passed between two servers.
Encrypting with 4.4.1
and decrypting with 4.4.0
works fine, We have fallen back to this.
Encrypting with 4.4.1
and decrypting with 4.4.1
is broken.
Not tried 4.4.0 to 4.4.1.
Reproduce code:
---------------
$SID = @mcrypt_ecb(MCRYPT_Blowfish, $crypt_key, $SID, MCRYPT_DECRYPT);
Expected result:
----------------
Encrypted string is decrypted correctly.
Actual result:
--------------
Encrypted string is decrypted as garbage.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35069&edit=1