Roundcube Community Forum

 

1.2-RC testing Enigma Plugin, can't create keys

Started by dweimer, April 14, 2016, 02:16:09 PM

Previous topic - Next topic

dweimer

I am getting the following when trying to create a key using the new Enigma plugin, it ends up creating the public key with no matching private key.

[14-Apr-2016 13:00:19 -0500]: <bb176cc5> PHP Error: Enigma plugin: Unknown error importing GPG key. Please use the 'debug' option when creating the Crypt_GPG object, and file a bug report at http://pear.php.net/bugs/report.php?package=Crypt_GPG in /usr/local/www/webmail/plugins/enigma/lib/enigma_engine.php on line 1069 (POST /webmail/?_task=settings&_framed=1&_action=plugin.enigmakeys)

Server is running FreeBSD 10.3, Apache2.4.20, PHP 7.0.5, gnupg 2.1.11

Anyone have any ideas what to do as far as further troubleshooting?

alec

There are some known issues with gnupg-2.1. Can you try with 2.0?

fraksken

I am having the exact same issue.
Latest RoundCube image on an nginx 1.1.18 docker container.
PHP 7.1 fpm connected in another container.
guest OS's are alpine.
Seems like there's only 2.1.1x versions available:
https://pkgs.alpinelinux.org/packages?name=gnupg&branch=&repo=&arch=&maintainer=

Did you solve this Dweimer?

I notice the public key is available, but the private key cannot be found.
This problem is also presented when generating the GPG locally and trying to import it: the public one works, the private one doesn't.

alec


fraksken

#4
Thank you. The 1.3 is still in beta though.
I'll have a look if it's ready enough to run in production and see for a possible update.
Is there an upgrade procedure available so the database does not have to be recreated?

fraksken

RC1.3 is great. Having lots of fun with it.
Thanks!