6.0.0-beta1
7/4/25

[#11797] openssl_encrypt fails
Summary openssl_encrypt fails
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester k (at) kulthauskante (dot) de
Created 11/30/2012 (4599 days ago)
Due
Updated 11/30/2012 (4599 days ago)
Assigned
Resolved 11/30/2012 (4599 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/30/2012 08:50:19 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
11/30/2012 08:50:03 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 0c820cf2f6fff2a7dbbd366e2f1ab1f2f2e7384d
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Nov 30 13:49:39 2012 -0700

     [mms] Fix Openssl driver for PHP 5.3.0-5.3.2 (Bug #11797).

  .../lib/Horde/Crypt/Blowfish/Openssl.php           |   16 ++++++++++++----
  framework/Crypt_Blowfish/package.xml               |    4 ++--
  2 files changed, 14 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/0c820cf2f6fff2a7dbbd366e2f1ab1f2f2e7384d
11/30/2012 08:17:43 PM k (at) kulthauskante (dot) de Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ openssl_encrypt fails
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hello!

I've tried to install Horde 5.0.2 via PEAR.

Unfortunately the packet Horde_Crypt_Blowfish is broken with my 
PHP-Version 5.3.2-1ubuntu4.18.

It states that, when using openssl_crypt(), five arguments are given, 
however only four at maximum are possible.

This impacts the whole login-process via IMP as the password passed to 
imap server is usually empty due to conversion problems inside 
Horde_Secret.

So basicly nothing works when authing against IMP.

I added the flag IGNORE_OPENSSL to $opts list in Constructor 
Horde/Crypt/Blowfish.php. That helps for now. However the problem 
relies in the openssl-backend. Maybe a version check needs to be done?

Thanks

Saved Queries