Bug 248785

Summary: KMail provides a "bad passphrase" when deliberately cancelling the passphrase entry in the pinentry tool
Product: [Applications] kmail Reporter: Paul Adams <paul.adams>
Component: encryptionAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: montel
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul Adams 2010-08-23 11:44:25 UTC
Version:           1.13.5 (using KDE 4.5.0) 
OS:                Linux

When a user chooses to sign/encrypt an email the pinentry programme is invoked to collect the user's passphrase. This dialog provides a "cancel" button in case the user wants to stop the process.

If the user clicks this "cancel" button then Kmail will display a "bad passphrase" dialog. This is semantically screwed as, to the user's view, they deliberately did not enter their passphrase. This warning is redundant and might actually worry the user who knows no better.

Reproducible: Always

Steps to Reproduce:
- Create email
- Mark it for sign and or encrypt
- Hit Send
- Hit the "cancel" button in the pinentry dialog

Actual Results:  
Warning dialog saying "Signing failed: Bad passphrase".

Expected Results:  
I would expect to be taken straight back to the current mail editor.
Comment 1 Laurent Montel 2010-09-01 13:53:55 UTC
Works fine in kde sc 4.5.1