[dev] Registry.php: Ciphertext must not be empty

M. Braun mi.braun at onlinehome.de
Mon Jun 21 06:36:57 UTC 2010


Hi,

when trying to setup horde 4 from git, a got an error stateting that the
ciphertext must not be empty from Crypt_Bluefish.
It turned out that the $_SESSION['horde_auth']['app'] array exists
but was empty, so no ciphertext for the $app was saved.

This could be fixed by
*** Registry.php.orig   2010-06-21 08:34:38.000000000 +0200
--- Registry.php        2010-06-21 08:03:53.000000000 +0200
*************** class Horde_Registry
*** 1915,1921 ****
       */
      protected function _getAuthCredentials($app)
      {
!         if (!isset($_SESSION['horde_auth']['app'])) {
              return false;
          }

--- 1915,1921 ----
       */
      protected function _getAuthCredentials($app)
      {
!         if (!isset($_SESSION['horde_auth']['app'][$app])) {
              return false;
          }

where Registry.php is horde/libs/Registry.php.

Regards,
 M. Braun

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/dev/attachments/20100621/6c5c0333/attachment.bin>


More information about the dev mailing list