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

Lukas Gradl horde at ssn.at
Thu Jun 24 18:57:10 UTC 2010



Am 24.06.2010 19:01, schrieb Jan Schneider:
> Zitat von "M. Braun" <mi.braun at onlinehome.de>:
>
>> 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.
>
> This sounds suspiciously like curing the symptoms instead of fixing the
> cause. I'm not as deep into the authentication code as Michael, but I
> guess the array shouldn't be empty in the first place.
>
> Jan.
>

That reminds me of a problem I had with activesync.

The solution was that my ActiveSync client did'nt support cookies - 
perhaps take a look at the thread titled "ActiveSync with Nokia MfE - 
Strange Problem in Horde_Auth_Base" som days ago...

regards
Lukas

-- 

----------------------------
software security networks
Lukas Gradl <horde#ssn.at>
Eduard-Bodem-Gasse 5
A - 6020 Innsbruck
Tel: +43-512-214040-0
Fax: +43-512-214040-21
----------------------------


More information about the dev mailing list