KMail does not decrypt mails encrypted with gpg and sent as MIME-type "multipart/encrypted"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdepim (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kmail
One of the latest Feisty upgrades (I can't find out which one anymore) re-introduced the problem from bug 15485:
KMail does not ask for a passphrase when it should decode a GPG encrypted message sent as MIME-type "multipart/
This does not happen with encrypted messages delivered with other MIME-types nor with signed messages.
For reference, here is a sample message that triggers the bug for me, stripped to the necessary part:
=======
Return-Path: <ANONYMIZED.de>
Date: Thu, 12 Apr 2007 18:36:35 +0200
From: ANONYMIZED
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: ANONYMIZED
Subject: Encryption
X-Enigmail-Version: 0.94.2.0
Content-Type: multipart/
protocol=
boundary=
X-KMail-
X-KMail-
X-KMail-MDN-Sent:
This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)
-------
Content-Type: application/
Content-
Version: 1
-------
Content-Type: application/
Content-
Content-
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://
hQQOA6h7q9iiE/
[... STRIPPED FOR READABILITY...]
-----END PGP MESSAGE-----
-------
=======
And here is the text of KMail's error message, unfortunately, I only have access to the German version:
Verschlüsselte Nachricht (keine Entschlüsselung möglich)
Grund: Das Krypto-Modul "openpgp" kann die Daten nicht entschlüsseln.
Fehler: Falsche Passphrase
Nicht entschlüsselbare Daten nicht angezeigt.
Ende der verschlüsselten Nachricht
Bug 15485 seems to be about missing dependencies/ programs (pinentry-qt).
You don't need your private key for displaying signed messages (as far as I can see), so it's normal that it works.
What other MIME types are there (apart from "multipart/ encrypted" ), where you get asked for your passphrase?
I'll send you a private email, so we can try to narrow this down.