[Bug 105950] KMail does not decrypt mails encrypted with gpg and sent as MIME-type "multipart/encrypted"

Rastloser Rastloser at googlemail.com
Thu Apr 12 19:23:25 UTC 2007


Public bug reported:

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/encrypted". Instead, the
blue "could not decrypt the mail - reason: wrong passphrase" message is
displayed.

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/encrypted;
  protocol="application/pgp-encrypted";
  boundary="------------enigD51530FB35EC089E0A70B046"
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)
--------------enigD51530FB35EC089E0A70B046
Content-Type: application/pgp-encrypted
Content-Description: PGP/MIME version identification

Version: 1

--------------enigD51530FB35EC089E0A70B046
Content-Type: application/octet-stream; name="encrypted.asc"
Content-Description: OpenPGP encrypted message
Content-Disposition: inline; filename="encrypted.asc"

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

hQQOA6h7q9iiE/9SEA/+IKb/h3qTVXAt/lSbWgOUO1kRKDWoGLFi7orv4vU3eCsA
[... STRIPPED FOR READABILITY...]
-----END PGP MESSAGE-----

--------------enigD51530FB35EC089E0A70B046--

===========================

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

** Affects: kdepim (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
KMail does not decrypt mails encrypted with gpg and sent as MIME-type "multipart/encrypted"
https://bugs.launchpad.net/bugs/105950
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdepim in ubuntu.




More information about the kubuntu-bugs mailing list