enigmail does not find gpg-agent in kde

Andre Massing andre.massing at googlemail.com
Sat Dec 17 16:56:00 UTC 2011


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

First of all thanks for the constant help!

[snip]

> 
> hmm... i did a fresh install of kubuntu 11.10 2 weeks ago, and
> things worked fine. but maybe due to custom config files i copied
> from my home system. open ~/.gnupg/gpg.conf in a text editor,
> create it if doesnt exist. make sure it has the line:
> 
> use-agent
> 
> alone on a line by itself. my file also has:
> 
> utf8-strings keyserver hkp://keys.gnupg.net
> 
> and were added by GPGConf as some comments in the file indicate. 
> then open the file ~/.gnupg/gpg-agent.conf
> 
> make sure it has some pinentry line, mine is:
> 
> pinentry-program /usr/bin/pinentry-qt4 nograb

Just a sidenote. On my VM I realized that kdm returned to the login
screen when nograp was active. I had to comment it out and then the
KDE session was loaded again.

> 
> hope this helps.

Yes, indeed that took me a step further. First of all gpg-agent got
loaded and the environment variable was set when using pinentry-qt4.
Without that setting the gnome-keyring is (somehow automatically) used
(to be more precise the /usr/lib/gnome-keyring/gnome-keyring-prompt
program) in my gnome 3 session, but KDE does not seem to fall back on
that by default.
For gpg 1.4 that behavior is ok, since enigmail has its own enter pin
dialog. But when you use gpg2 as I do a proper gpg-agent is required.

OK, seems to be solved now, thanks a lot for your suggestions and help!

Cheers
- --
Andre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO7MmgAAoJEA79ggnbq9dm7e0IAPBjLOJM/kQrHxBed2cllLMz
wFIsWXevxva/OmJGyyuRSyLjdjGn1wtfUlhaOb3M0oLVJpmvCy56mr7TyKLifTFS
LEALhS9l5zIhnGW/Au7mcKJpZ5Tb+uKW8hYOzTgz92rEdHVbYPLaTHIQr9/UZa/5
fc07tK6QKQ4niImmJqdMj54TbNG1t29drDnpRYr3w5rJd4de6+tsbrXk7qnAUMca
AjFjPEwkxiPnIAShJFgF4mjW7R6/0Tj1iyQRjYFv1LfwZLyjXH2rrawRW9T2rGZz
mUFUxukc7RY4WQoOWF8JK94mmWSgEKdaLEv8Y86v2GOAirV7TcZhUqQ02eAXmTs=
=xYRc
-----END PGP SIGNATURE-----




More information about the kubuntu-users mailing list