enigmail does not find gpg-agent in kde
andre.massing at googlemail.com
Sat Dec 17 16:56:00 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
First of all thanks for the constant help!
> 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:
> 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!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the kubuntu-users