From 909134e15a0f30646b7360144a1613d34243dec4 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sun, 5 Jul 2009 14:31:08 -0600 Subject: [PATCH] Horde_Cipher_Blowfish is broken. Fallback to RC2 instead. --- framework/Secret/lib/Horde/Secret.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/Secret/lib/Horde/Secret.php b/framework/Secret/lib/Horde/Secret.php index f036b02da..95292da85 100644 --- a/framework/Secret/lib/Horde/Secret.php +++ b/framework/Secret/lib/Horde/Secret.php @@ -102,8 +102,7 @@ class Horde_Secret $idx = hash('md5', $key); if (!isset(self::$_cipherCache[$idx])) { - self::$_cipherCache[$idx] = &Horde_Cipher::factory('blowfish'); - self::$_cipherCache[$idx]->setBlockMode('ofb64'); + self::$_cipherCache[$idx] = Horde_Cipher::factory('rc2'); self::$_cipherCache[$idx]->setKey($key); } -- 2.11.0