claws mail and pgp plugin [solved]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
zdia
Posts: 20
Joined: 5. Jun 2011, 12:16

claws mail and pgp plugin [solved]

Post 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
Last edited by zdia on 12. Sep 2013, 21:59, edited 1 time in total.
zdia
Posts: 20
Joined: 5. Jun 2011, 12:16

Re: claws mail and pgp plugin [solved]

Post 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
User avatar
sqlpython
Donor
Posts: 310
Joined: 13. Aug 2010, 04:53
Location: Ct. USA

Re: claws mail and pgp plugin [solved]

Post by sqlpython »

Good Info, should make a good how to.
Consider adding to Salix User Docs
Slackware ( Manjaro ) Salix, AntiX, Bunsen, Calculate
Post Reply