Bug 339687 - Asks 4 times for password when decrypting GPG symmetric messages
Summary: Asks 4 times for password when decrypting GPG symmetric messages
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 4.11.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-05 02:07 UTC by Christian
Modified: 2017-01-07 22:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian 2014-10-05 02:07:55 UTC
I use symmetric encryption with GPG to encrypt my mails to specific senders by using the gpg konsole command. 

Kmail understand it so well (and I thank you for your work on that!) that search for the tipical encripted region and ask me the password. I tipe it once, KMail shows me the region with the original (decripted) text, but then ask me for the password twice. After the second time, if I clicked "cancel" then it replace the region with "couldn't decipher message". 

So, for no reason, KMail asks for the GPG region more than once despite you write it correctly. This behaviour is anoying.

I tried to disable the "try to decipher message automaticaly when previewing" option at the Configure dialog box ("Preferences" > "Configure KMail" > "Security" panel ("Encripted messages" section)) but with no effect.

Reproducible: Always

Steps to Reproduce:
1. Encript a message with a symmetric algorithm and with ASCII armor (for example, executing: "gpg --cipher-algo AES256 -a -c" at the terminal).
2. Paste the encripted message into an email and send it to yourself.
3. Recieve the encripted mail and clic to preview it.

Actual Results:  
KMail will ask you for the password four times... So anoying!

Expected Results:  
If the option "try to decipher message automaticaly when previewing" is on KMail should ask for the password just once when previewing. 
Else, KMail should not ask you for the password and instead a link or button "decipher message" should appear.
Comment 1 Denis Kurz 2016-09-24 18:02:54 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:10:48 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.