gnupg-agent problem

Neil Williams linux at codehelp.co.uk
Wed Feb 25 08:09:28 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 25 February 2004 7:36 am, John wrote:
> On Wednesday 25 February 2004 02:09, gabriel rosenkoetter wrote:
> > On Tue, Feb 24, 2004 at 10:09:04PM +0000, John wrote:
>
> Typing gpg-agent --daemon appears to start the agent (according to ps aux)
> but if I quit KGpg and restart again, I still get the error.

You need to put the eval "$(gpg-agent --daemon)" command into one of the 
scripts that is run automatically, each time you login. The Aegypten site 
describes using .xsession or you might need to insert the command into 
startkde - don't just tack it onto the end of startkde.

> >Am I correct in assuming that Ägypten is just to allow the encryption of
> >attachments whereas KGpg is only for encrypting the message body and for
> >signing?
>
> Would the primary reason for having the agent running be to enable the
> Ägypten plugin for encryption of attachments?

My primary reason for interest in Aegypten is to be able to sign and verify 
PGP/MIME messages - where the signature is a valid MIME component instead of 
in the text of the message - the inline method. KMail will already do inline 
signing and encryption, you don't need to export to and from KGpg. 

There is the advantage that the inline method won't 'wrap' around any 
attachments - these need to be encrypted or signed separately - whereas a 
MIME signature can (optionally) include or exclude individual attachments.

Once the agent is working, KMail and KGpg will both use the agent for 
passphrase entry. KGpg doesn't always use the passphrase cache though, it'll 
sometimes ask you for the passphrase twice, sometimes just once. This may 
have been fixed since I last used it on Mandrake 9.1

I'm now waiting for gpg-agent functionality to be included within KDE (either 
via the new PIM or KMail) as I can't get Aegypten project code to compile on 
Debian. (So I send inline when composing the message is easier in KMail and I 
use PGP/MIME when I don't need/have a GUI by using Mutt - e.g. copying and 
pasting from two or three other messages into an existing reply isn't easy 
without a GUI, especially if I only want two lines out of a 5Kb message). I 
could use Mutt for all messages but I have a lot of mail filters to 
re-implement from KMail.

- -- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAPFg4iAEJSii8s+MRAiChAKDMUNCFV2ueOE2OT1MYDYDOtDt4nACeKrXt
JgacbB0ffP2cCC5zY2n7C7E=
=+XzZ
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list