Bug 279278

Summary: Kmail creates an invalid S/MIME signature if the S/MIME password dialog is cancelled
Product: [Applications] kmail2 Reporter: Roland Wolters <bugs>
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: beasley, montel, sknauss
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.7

Description Roland Wolters 2011-08-03 11:28:50 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

Cancelling the password query for the S/MIME dialog results in sending the e-mail with a broken signature.


What I would have expected:
In KMail1 clicking cancel would bring me back to the e-mail. The e-mail should not be sent!

Reproducible: Always

Steps to Reproduce:
* Write an e-mail and choose to sign it via S/MIME.
* Click send, the password dialog for the S/MIME key is opened.
* Cancel the dialog.
* See that an e-mail is send with a broken signature.

Actual Results:  
The e-mail is send with a broken signature.

Expected Results:  
I should have gotten back to the e-mail editor OR I should have been asked to enter the password again.
The e-mail should not have been sent!
Comment 1 Laurent Montel 2011-08-04 11:22:21 UTC
It right.
I can confirm it
Comment 2 Roland Wolters 2011-09-26 12:29:54 UTC
This problem is still valid with KDE 4.7.1, unfortunately...
Comment 3 Laurent Montel 2011-09-26 12:33:26 UTC
normal I didn't fix it :)
Comment 4 Laurent Montel 2015-03-27 10:07:53 UTC
Fixed in 4.14.7