Il 2016-05-26 11:59 A.L.E.C ha scritto:

On 05/26/2016 11:56 AM, Andrea Brancatelli wrote:
This is the debug log for the part that gives error:

Please, read
https://github.com/roundcube/roundcubemail/blob/master/plugins/enigma/README
very carefully.
 
Sorry, i'm bombing you :)
 
I've installed GnuPG 2.0 and now the key creation process is ok, but I can't send a signed mail... it just keeps asking for the password over and over again.
 
I think this is the corresponding part of the log:
 
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: STATUS: USERID_HINT E110E9C3B0EC4576 Utente di TEST <utente1@mail.qa.schema31.it>
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: STATUS: NEED_PASSPHRASE E110E9C3B0EC4576 E110E9C3B0EC4576 1 0
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: STATUS: ERROR get_passphrase 85
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: STATUS: MISSING_PASSPHRASE
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: STATUS: INV_SGNR 0 7A96AC4306471F2A62D1978CE110E9C3B0EC4576
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: STATUS: FAILURE sign 99
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: => closing GPG input pipe
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: selecting streams
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: => got 4
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: GPG output stream ready for reading
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: => about to read 8192 bytes from GPG output
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: => read 0 bytes
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: GPG error stream ready for reading
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: => about to read 8192 bytes from GPG error
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: => read 159 bytes
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: ERROR: gpg: problem with the agent: No pinentry
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: ERROR: gpg: skipped "7A96AC4306471F2A62D1978CE110E9C3B0EC4576": Operation cancelled
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: ERROR: gpg: signing failed: Operation cancelled
[26-May-2016 12:23:23 +0200]: <bcqpqb4l> GPG: GPG status stream ready for reading
 
Running crypt-gpg-pinentry from the command line seems to work ok:
 
[root@fosforo /home/webmail-dev/www/gcloud-webmail/roundcube/logs]# /usr/home/webmail-dev/www/gcloud-webmail/roundcube/vendor/pear-pear.php.net/Crypt_GPG/Crypt/GPG/../../bin/crypt-gpg-pinentry
OK Crypt_GPG pinentry ready and waiting
^C
[root@fosforo /home/webmail-dev/www/gcloud-webmail/roundcube/logs]#