You are not logged in.

#1 2015-03-24 23:23:09

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Can't get GnuPG working with Engimail in Thunderbird

Every time I try to send an email with either signing or encryption, I get an error:

Send operation aborted.

Error - encryption command failed

I tried adding allow-loopback-pinentry to ~/.gnupg/gpg-agent.conf and adding --pinentry-mode loopback in Enigmail's advanced preferences tab.

I tried also changing the pinentry-program in gpg-agent.conf.

Any ideas?

Offline

#2 2015-09-03 13:13:14

jasiu
Member
Registered: 2014-10-29
Posts: 3

Re: Can't get GnuPG working with Engimail in Thunderbird

You must unlock your keyring:

check if gpg-agent is running after thunderbird starts and you press send button on signed or encrypted message
If you got a msg box with asking for 'passpharese to unlock the OpenPGP secret key' - there is a success.

check pinentry-program in $HOME/.gnupg/gpg-agent.conf

after I run thunderbird

$ ps ax |grep gpg
 5832 pts/2    S+     0:00 grep gpg

after click send button (encrypted or signed message)

$ ps ax |grep gpg
 3685 ?        Ss     0:00 gpg-agent --homedir /home/user/.gnupg --use-standard-socket --daemon
$ cat ~/.gnupg/gpg-agent.conf 
default-cache-ttl 300
max-cache-ttl 999999
# PIN entry program
#pinentry-program /usr/bin/pinentry-curses
pinentry-program /usr/bin/pinentry-qt4
# pinentry-program /usr/bin/pinentry-kwallet
#pinentry-program /usr/bin/pinentry-gtk-2

Offline

Board footer

Powered by FluxBB