Page 1 of 1

claws mail and pgp plugin [solved]

Posted: 7. Sep 2013, 10:52
by zdia
Has anyone succeeded in running the pgp plugin for Claws Mail?

GTK+ 2.24.10 / GLib 2.32.4
Locale: de_DE.utf8 (Zeichensatz: UTF-8)
Betriebssystem: Linux 3.2.29 (x86_64)

Salix 14.0
Claws 3.8.1

When option "--debug-level guru" is set I get the following error starting gpg-agent from commandline:

$ eval `gpg-agent --daemon `
gpg-agent[8846]: enabled debug flags: command mpi crypto memory cache memstat hashing assuan
gpg-agent[8846]: Es wird auf Socket `/tmp/gpg-xgL0gY/S.gpg-agent' gehört
gpg-agent[8846]: Fehler beim Erstellen von `~/gpg-agent-info': Datei oder Verzeichnis nicht gefunden
bash-4.2$ gpg-agent[8847]: gpg-agent (GnuPG) 2.0.19 started

But

gpg --decrypt --use-agent encrypted_msg.eml

works fine with calling the pinentry-gtk-2 utility

Re: claws mail and pgp plugin [solved]

Posted: 12. Sep 2013, 12:39
by zdia
It is working with the following configuration:

a) be sure to have installed the pinentry package and the GPG key in ~/.gnupg

b) add to ~/.xinitrc the following line before the launching of the GUI

Code: Select all

    eval `gpg-agent --daemon`
c) touch a pgp-agent.conf file with your options, e.g.

Code: Select all

pinentry-program /usr/bin/pinentry
default-cache-ttl 86400
max-cache-ttl 86400
Now the NSA sniffers and friends will be angry ...

EnigMail in Thunderbirld is working with this configuration, too

Re: claws mail and pgp plugin [solved]

Posted: 16. Sep 2013, 16:05
by sqlpython
Good Info, should make a good how to.
Consider adding to Salix User Docs