This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] KMail and GPG

Tags: None
(comma "," separated)
e1f
Registered Member
Posts
3
Karma
0

[SOLVED] KMail and GPG

Tue Feb 17, 2009 3:17 am
Hi guys,

is there anyone that is using KMail and GPG? when i try to sign / encrypt / decrypt i receive always the same message from Kmail: "Signing failed: Bad passphrase", but the program doesn't ask to me for the password.
Everything works fine inside KGpg or via shell...

I'm using Kmail 1.11.0, KDE 4.2.0 and slackware 12.2
Thanks,
e1f
User avatar
beermad
Registered Member
Posts
104
Karma
0
OS

[SOLVED] KMail and GPG

Tue Feb 17, 2009 11:38 am
e1f wrote:Hi guys,

is there anyone that is using KMail and GPG? when i try to sign / encrypt / decrypt i receive always the same message from Kmail: "Signing failed: Bad passphrase", but the program doesn't ask to me for the password.
Everything works fine inside KGpg or via shell...

I'm using Kmail 1.11.0, KDE 4.2.0 and slackware 12.2
Thanks,
e1f

Just a thought. Could it be you've got a passphrase saved in Kwallet? It might be that it's supplying it direct to Kmail; if it's wrong in there, that would explain your problem.


e1f
Registered Member
Posts
3
Karma
0

[SOLVED] KMail and GPG

Wed Feb 18, 2009 1:43 am
i don't use kwallet, never used it
e1f
Registered Member
Posts
3
Karma
0

[SOLVED] KMail and GPG

Wed Feb 18, 2009 2:40 am
ok guys i fixed;
it looks like it was an old issue, anyway here is the workaround:

Append the line "use-agent to" ~/.gnupg/gpg.conf
Create the file ~/.gnupg/gpg-agent.conf and add the line "pinentry-program /usr/local/bin/pinentry-gtk-2" to it. (i tried also with pinentry-qt but doen't work on my box)
Add the line eval "$(gpg-agent --daemon --sh)" to your ~/.xinitrc or ~/.xsession, before the line containing startkde.

cheers
User avatar
MirzaD
Registered Member
Posts
86
Karma
0
OS

Re: [SOLVED] KMail and GPG

Sat Nov 07, 2009 10:59 pm
i have had problems with this now
this is a really old problem... it should have been fixed...


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]