Bug 325054

Summary: KMail2 failed to save attachments from S/MIME Opaque signed messages
Product: [Applications] kmail2 Reporter: Kunszt Arpad <arpad.kunszt>
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: grave CC: kokail, sknauss
Priority: NOR    
Version: 4.11.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Simple test mail - non working case.
Simple test mail - working case (non-opaque).

Description Kunszt Arpad 2013-09-18 12:56:29 UTC
I can't save the attachments from an S/MIME Opaque signed message. I can see them in the message window but when click on them nothing happens.  When I click on the "Save Attachments" I got a dialog which says: "Found no attachments to save"

When  hovering over the attachemt I see in the status bar something like this: "attachment:2:2?place=body".

If I use "normal" S/MIME, everything works fine but other MUA-s (Thunderbird) prefers the Opaque way. I have to use a Thunderbird to read those e-mails, it's very frustrating.

Reproducible: Always

Steps to Reproduce:
1. Acquire and setup an S/MIME cert and key.
2. Write a new message, attach a file to it. Enable signing, set Cryptographic Message Format to S/MIME Opaque.
3. Send the message.
4. Open the received message and try to open/save the attachment.
Actual Results:  
You can't open/save the attachment.

Expected Results:  
You can open/save the attachment.
Comment 1 Kunszt Arpad 2013-09-18 12:57:27 UTC
Created attachment 82390 [details]
Simple test mail - non working case.
Comment 2 Kunszt Arpad 2013-09-18 12:58:10 UTC
Created attachment 82391 [details]
Simple test mail - working case (non-opaque).
Comment 3 Laszlo Kokai 2013-09-30 11:42:32 UTC
4.11.1 still affected.
Comment 4 Sandro Knauß 2013-11-09 22:12:42 UTC
This bug is closed in 4.11.3 with 
http://commits.kde.org/kdepim/bbbdbc2180036040cac2b66492e6f0fd01c2b28c