Kmail and PGP

Torinthiel torinthiel at data.pl
Mon Aug 16 20:15:26 BST 2010


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

On 08/16/10 16:59, Robert Spangler wrote:
> Hello,
> 
> I am trying to figure our how to get Kmail to automatically import PGP keys 
> for signed messages.  Can anyone point me in the right direction?
> 
> KMail v 1.9.4

I don't use KMail, but I guess it uses gpg binary underneath. If so,
then maybe you can make GPG automatically import keys? This would be
more general.

You need two options in .gnupg/gpg.conf:
"auto-key-locate" controls where to try searching for keys (I have "cert
pka ldap keyserver", with first two trying to get keys from DNS, ldap -
just guess, and last tries from your configured keyserver(s)), and
"keyserver-options auto-key-retrieve" to really do it.

So, to sum up:
cat >> .gnupg/gpg.conf <<EOF
auto-key-locate cert pka ldap keyserver
keyserver-options auto-key-retrieve
EOF

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

iEYEARECAAYFAkxpjk4ACgkQfOvN3AkGos5n/ACfYFIwolWZeVdvsarIG81Rd8Uz
i8sAnjd92K4+SjYSPq3zAT6WbgNJAylO
=yRya
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list