[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KMail Suggests: (was Re: The KMail PGP/MIME problem solved: gnupg-agent in Debian)



On Monday 21 March 2005 11:02, Hendrik Sattler wrote:
> Am Montag, 21. März 2005 10:44 schrieb cobaco (aka Bart Cornelis):
> > On Monday 21 March 2005 03:06, Zack Cerza wrote:
> > > But still, when I open even an openpgp-encrypted message I just see
> > > "Error: Bad passphrase" - but it didn't ask me for a passphrase.
> >
> > I currently have the same problem, when started from commandline I can
> > see the following error message:
> >  gpgme_op_decrypt_verify() returned this error code:  117440523
> >
> > I can send mail encrypted, but it isn't using gpg-agent's pasword dialog,
> > the dialog it does show me says gpg-agent is found, but does not appear
> > to be running (though ps shows it is in fact running)
>
> Note that you MUST start kmail in the _SAME_ environment that you
> previously started gpg-agent in!
> The easiest ist probably to test this is to login at a virtual console,
> properly start gpg-agent there and then start X and KDE with startx.
> I am using the following construct:

[snip]

Alternatively you could use this (that's what I use)

----- /usr/env/10-gpg-agent.sh ------
#!/bin/sh

# start gpg-agent
# necessary for KMail's OpenPGP plugin
eval "$(gpg-agent --daemon)"
----------------------------------------------------

Cheers,
Kevin



Reply to: