KMail 3.3 + S/MIME : some tips
these are, briefly, the steps I have followed to get some S/MIME
support in KMail 3.3.
Wipe out all not needed packages:
# aptitude purge newpg gpgsm cryptplug cryptplug-dev libgpgme6 libgpgme-dev libksba0
Use packages provided by Matthias Urlichs <firstname.lastname@example.org>:
# echo "deb http://smurf.noris.de/code/debian/ experimental smurf" \
Install required packages
# apt-get update && apt-get install gnupg2 gnupg-agent dirmngr
NOTE 1: gnupg2 will *NOT* substitute your gpg command, it will
just provide /usr/bin/gpg2, which you needn't use, and some other
commands that the programs will use internally.
NOTE 2: the gnupg-agent package from smurf does NOT provide
NOTE 3: gnupg2 1.9.10+cvs-1 contains /usr/share/locale/locale.alias,
which is also in the locales package. you'll need dpkg
===> RECOMPILE gpgme0.4 <===
This is the sole cause for the error "this GPGME version was
compiled without S/MIME support. Now it will because of gnupg2
# apt-get source gpgme0.4 && cd gpgme0.4-0.9.0
# debuild && dpkg -i ../libgpgme11_0.9.0-1_i386.deb
You should now see funky things in KMail -> Settings -> Configure
KMail -> Security -> Crypto Backends -> Configure.
I found this page useful:
Kleopatra now works and KMail seems able to verify S/MIME messages.
DISCLAIMER: I claim no deep knowledge of all of the above explained.
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
To be nobody but yourself in a world which is doing its best night and
day to make you like everybody else means to fight the hardest battle
any human being can fight and never stop fighting.
-- e.e. cummings