While configuring PHP Cryptography for KMail 1.6.82, it complains that "No backends found for listing keys. Check your installation." I did build kdepim with crypt USE flag. Reproducible: Always Steps to Reproduce: 1. On any user identity, click Modify 2. Go to Cryptography tab, and click Change for either the GPG Signing key or GPG Encrypting key. Actual Results: Error appeared "No backends found for listing keys. Check your installation." Expected Results: A list of available keys from GPG should have been displayed. cougar ~ # emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-ck5) ================================================================= System uname: 2.6.7-ck5 i686 Pentium III (Katmai) Gentoo Base System version 1.5.1 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -fforce-addr -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fforce-addr -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.tds.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga divx4linux dvd encode fbcon flac flash foomaticdb gdbm ggi gif gphoto2 gpm gps gstreamer gtk gtk2 imagemagick imap imlib jabber java jpeg kde lcms libg++ libwww linguas_en_GB mad maildir mikmod mmx motif mozilla mpeg mpi ncurses nls oggvorbis opengl openssh oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang sml sml2 speex spell sse ssl svga tcltk tcpd theora tiff truetype unicode usb wmf x86 xml2 xmms xv xvid xvz zlib"
I seem to have had a fat finger. That should have been GPG Cryptography. That's what I get for working on web servers all day before reporting a bug.
What do you have in KMail configuration -> security -> crypto backends ? also, what version of gnupg and gpgme have you installed?
In that window I have several selections: OpenPGP (gpg) S/Mime (faied) (greyed out) OpenPGP (Kpgp/pgp2) OpenPGP (Kpgp/pgp5) OpenPGP (Kpgp/pgp6) OpenPGP (Kpgp/pgp1) I tried using all of these. Tonight it worked once, but then stopped working again. Unfortunately I do not know what was different that "once". $ gpg --version gpg (GnuPG) 1.2.4 Copyright (C) 2003 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512 Compression: Uncompressed, ZIP, ZLIB, BZIP2 $ gpgme-config --version 0.3.14
I tried something else today. A trick that worked when I upgraded from 3.1 to 3.2 for the issues I was having. I moved the ~/.kde3.2 and ~/.kde3.3 directories out of the way, thereby forcing KDE to remake them. All of the problems and instabilities I was having have cleared up so far. This is more a workaround for this problem, but I imagine the ultimate source would be something the kmail people would have to find and fix, as it's apparently not a system configuration issue.
It seems the situation of cryptography support in kmail is in a transition phase, work in progress in bug 58640 and by the kde/gpgme devs you were unlucky to came in in the wrong moment ;)
this seems to work for me now with gnupg 1.2.4 and a re-emerge of kdepim.
The issues with kmail/gpgme should be resolved now. Closing.