Author Topic: 1.2-RC testing Enigma Plugin, can't create keys  (Read 5369 times)

Offline dweimer

  • Jr. Member
  • **
  • Posts: 10
    • http://www.dweimer.net/
1.2-RC testing Enigma Plugin, can't create keys
« on: April 14, 2016, 02:16:09 PM »
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?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: 1.2-RC testing Enigma Plugin, can't create keys
« Reply #1 on: April 14, 2016, 03:15:13 PM »
There are some known issues with gnupg-2.1. Can you try with 2.0?

Offline fraksken

  • Newbie
  • *
  • Posts: 4
Re: 1.2-RC testing Enigma Plugin, can't create keys
« Reply #2 on: February 10, 2017, 02:29:54 AM »
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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: 1.2-RC testing Enigma Plugin, can't create keys
« Reply #3 on: February 10, 2017, 02:37:16 AM »
For GnuPG-2.1 you need Roundcube 1.3.

Offline fraksken

  • Newbie
  • *
  • Posts: 4
Re: 1.2-RC testing Enigma Plugin, can't create keys
« Reply #4 on: February 20, 2017, 03:05:10 AM »
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?
« Last Edit: February 20, 2017, 03:09:25 AM by fraksken »

Offline fraksken

  • Newbie
  • *
  • Posts: 4
Re: 1.2-RC testing Enigma Plugin, can't create keys
« Reply #5 on: March 03, 2017, 02:28:07 AM »
RC1.3 is great. Having lots of fun with it.
Thanks!