Version: (using KDE 4.3.4) Compiler: gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1 OS: Linux Installed from: Ubuntu Packages Regardless of the hash setting of gpg Kmail always sets "gpg-sha1" within the header. Content-Type: multipart/signed; boundary="nextPart4603336.7ndxo9qD1E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Setting within ~/.gnupg/gpg.conf: personal-digest-preferences SHA512 gpg uses sha512 as digest algorithm. Kmail should therefore specify micalg=gpg-sha512 within the header. By using the wrong hash setting Kmail breaks signature verification within Thunderbird's Enigmail extension.
FWIW: I can confirm this bug.
I can also confirm this (using KMail 1.12.4 with KDE 4.3.4 on Debian). There has been quite a rush (or call it a meme) to move from SHA-1 to other hashes because of the many advances towards cracking SHA-1. It is actually a drawback for security when choosing a better hash results in the hash not being checked at all be the recipient due to a bug on the sender (KMail) side.
*** This bug has been marked as a duplicate of bug 128784 ***