Version: (using Devel) Compiler: gcc 4.3.2 OS: Linux Installed from: Compiled sources - Launch Kmail - Go to Settings menu/Configure Kmail - Click on 'Identities' - Configure an Identity or use an already existing one - Double click on the identity - Go to the 'Cryptography' tab and enter both your OpenPGP signing and encryption key. - Click on 'Ok' twice - Click on 'New' button - Go to Options menu/Sign Message - A 'Message will be signed' line appears under the mail's subject line edit - Fill in the recipient (your imap account), the subject and a few words in the text editor - Click on 'Send' - (No password dialogue is displayed whereas there was one in Kmail 1.13.1) - The email is sent properly - Select on it from the recipient's inbox and display its content in the Message viewer A 'Not enough information to check signature validity' message is displayed at the top of the text editor in yellow background whereas the email should be signed properly and the signature should appear in a green background. - Select on the message from the recipient's inbox and press 'v' - in the plain text file you can see the following lines: --nextPart6042903.nt1UzeQ6ts Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. --nextPart6042903.nt1UzeQ6ts-- Whereas something like this should appear instead: --nextPart2866487.5fFQMLSfkW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkvzHtoACgkQ+tIw92utv6aMNQCfc6FFNWgO9oKb528gTssVU8Db jEAAn1S7HWOFhlIF4aDUCPWpC0SePNCd =Mxqf -----END PGP SIGNATURE----- --nextPart2866487.5fFQMLSfkW-- Trunk, Svn Rev 1128166
Hi Sabine, Can you paste the full raw message (what you see in the window after pressing 'v')? thanks :)
There should now be more feedback on what the error is, and the email should no longer be sent unsigned. It is very possible that gpg/gpg-agent is misconfigured on your machine, as i've been having some trouble getting it to work for me too. Can you do the following test to see if it works? 1) Send an encrypted or signed mail to yourself, from a working kmail or some other email client. 2) Copy the part of the email from -----BEGIN PGP MESSAGE----- to -----END PGP MESSAGE----- (including both those lines). 3) in a terminal, type "gpg --decrypt" 4) paste the text you copied 5) press control-D. 6) it should either ask you for your passphrase, or pop up a dialog box asking for your passphrase, or spit out some errors. either fill in the passphrase, and then press control-D (if there are no errors), or paste here the error you see. thanks!
Having fixed my local gnupg / gpg-agent configuration, sending signed mails works again. If you continue to experience a bug where trying to send a mail results in kmail showing a "bad passphrase" error and not sending, a misconfigured gpg-agent in your desktop environment is most likely the issue.
Closing, as i'm 99% sure this is a gpg-agent issue. I've tested signing/encryption on multiple machines and use it day in day out now.
Indeed I retested this today and it works fine. The recipient receives the signed email which displays a 'Signed by EmailAddressOftheSender' in a green background message. Trunk, Svn Rev 1145265 PS: sorry that I did not retest this sooner Leo, I was on holiday when you entered your comments.