[horde] Encrypted notes cannot be decrypted

Michael J Rubinsky mrubinsk at horde.org
Mon May 31 16:06:46 UTC 2021


Quoting Andreas Mauser <andreas at mauser.info>:

> ----- Nachricht von Andreas Mauser <andreas at mauser.info> ---------
>   Datum: Wed, 26 May 2021 14:17:18 +0200
>     Von: Andreas Mauser <andreas at mauser.info>
> Betreff: Re: [horde] Encrypted notes cannot be decrypted
>      An: horde at lists.horde.org
>
>
>> ----- Nachricht von Andreas Mauser <andreas at mauser.info> ---------
>>  Datum: Mon, 24 May 2021 10:23:58 +0200
>>    Von: Andreas Mauser <andreas at mauser.info>
>> Betreff: Re: [horde] Encrypted notes cannot be decrypted
>>     An: horde at lists.horde.org
>>
>>
>>> Hi Jens,
>>>
>>> ----- Nachricht von Jens Wahnes <wahnes at uni-koeln.de> ---------
>>> Datum: Sun, 23 May 2021 23:15:33 +0200
>>>   Von: Jens Wahnes <wahnes at uni-koeln.de>
>>> Betreff: Re: [horde] Encrypted notes cannot be decrypted
>>>    An: horde at lists.horde.org
>>>
>>>
>>>> Andreas Mauser wrote:
>>>>> after I moved my webserver to a new hardware I am not able to  
>>>>> open my encrypted mnemo-notes anymore.
>>>>
>>>> Did you check that gpg is installed on the new server? Maybe its  
>>>> location needs to be configured using Horde's
>>>> $conf['gnupg']['path']
>>>> setting. Or this setting might refer to a path that is not  
>>>> available on the newer server.
>>>
>>> This has set up and is the right path.
>>>
>>>> Also, when moving to a newer server, this might mean that you  
>>>> moved from gpg version 1 to version 2, so this could also be  
>>>> causing trouble. If that's the case, you might try to install a  
>>>> "gnupg1" package (at least that's the name used in Redhat based  
>>>> distros) and then point Horde's gnupg path setting to the  
>>>> respective binary, e.g. /bin/gpg1
>>>
>>> I installed gnupg, gnupg1 and gnupg2, tried all 3 but no success.
>>
>> I am also not able to encrypt new notes, where this appears in the  
>> horde.log:
>>
>> A fatal error has occurred:
>> The message could not be encrypted with PGP.
>>
>> Am I missing some pear modules?
>
> After setting Logging to Debug the horde.log shows
>
> 2021-05-26T21:33:20+02:00 DEBUG: HORDE Load config file (conf.php;  
> app: horde) [pid 71244 on line 109 of  
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2021-05-26T21:33:20+02:00 DEBUG: HORDE PHP ERROR: implode(): Passing  
> glue string after array is deprecated. Swap the parameters [pid  
> 71244 on line 205 of "/usr/share/php/Horde/Memcache.php"]
> 2021-05-26T21:33:20+02:00 DEBUG: HORDE  1. Horde_Registry::appInit()  
> /var/www/html/post/mnemo/view.php:14
>  2. Horde_Registry->__construct() /usr/share/php/Horde/Registry.php:287
>  3. Horde_Session->setup() /usr/share/php/Horde/Registry.php:535
>  4. Horde_Injector->createInstance() /usr/share/php/Horde/Session.php:185
>  5. Horde_Injector_Binder_Factory->create()  
> /usr/share/php/Horde/Injector.php:238
>  6. Horde_Core_Factory_SessionHandler->create()  
> /usr/share/php/Horde/Injector/Binder/Factory.php:119
>  7. Horde_Injector->getInstance()  
> /usr/share/php/Horde/Core/Factory/SessionHandler.php:53
>  8. Horde_Injector->getInstance() /usr/share/php/Horde/Injector.php:267
>  9. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:272
> 10. Horde_Injector_Binder_Factory->create()  
> /usr/share/php/Horde/Injector.php:238
> 11. Horde_Core_Factory_HashTable->create()  
> /usr/share/php/Horde/Injector/Binder/Factory.php:119
> 12. Horde_Memcache->__construct()  
> /usr/share/php/Horde/Core/Factory/HashTable.php:53
> 13. Horde_Memcache->_init() /usr/share/php/Horde/Memcache.php:138
> 14. implode() /usr/share/php/Horde/Memcache.php:205
> 15. Horde_ErrorHandler::errorHandler()
>
> Maybe someone sees directly whats going on here?

This is from the no longer supported ordering of parameters to the  
implode command in PHP 8.0.  Fixed in Horde_Memcache 2.1.2



> Many thanks,
> Andreas
>
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20210531/846a51ba/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20210531/846a51ba/attachment.sig>


More information about the horde mailing list