Bug 84927 - KMail asks whether the message should be encrypted even if encryption is enabled explicitely
Summary: KMail asks whether the message should be encrypted even if encryption is enab...
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-07-11 16:28 UTC by Ingo Klöcker
Modified: 2009-08-01 15:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Klöcker 2004-07-11 16:28:50 UTC
Version:           unknown (using KDE 3.2 BRANCH >= 20040204, compiled sources)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:                Linux (i686) release 2.4.20-4GB

Using only Aegypten1 stuff.

Crypto format is "Any", signing and encryption is enabled. If I send the message KMail tells me

"Valid trusted encryption keys were found for all recipients.
Encrypt this message?"

Doh! Why do you think I have enabled encryption?

This pointless question should be suppressed.
Comment 1 David Faure 2004-09-01 13:20:14 UTC
On Sunday 11 July 2004 16:28, Ingo Klöcker wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>       
> http://bugs.kde.org/show_bug.cgi?id=84927      
>            Summary: KMail asks whether the message should be encrypted even
>                     if encryption is enabled explicitely
>            Product: kmail
>            Version: unspecified
>           Platform: unspecified
>         OS/Version: Linux
>             Status: NEW
>           Severity: normal
>           Priority: NOR
>          Component: encryption
>         AssignedTo: kmail-devel kde org
>         ReportedBy: kloecker kde org
> 
> 
> Version:           unknown (using KDE 3.2 BRANCH >= 20040204, compiled sources)
> Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
> OS:                Linux (i686) release 2.4.20-4GB
> 
> Using only Aegypten1 stuff.
> 
> Crypto format is "Any", signing and encryption is enabled. If I send the message KMail tells me
> 
> "Valid trusted encryption keys were found for all recipients.
> Encrypt this message?"

I see the code for this in MessageComposer::determineWhetherToEncrypt()
It happens when the encryption preferences are:
  case Kleo::AskOpportunistic:
  case Kleo::Ask:

Could the problem be that somehow the default is one of those?

> Doh! Why do you think I have enabled encryption?
> 
> This pointless question should be suppressed.

Well if the user wants to be asked........
But in general there's indeed a bit of a conflict between the toolbar buttons 
and the more pre-recipient settings; not an easy problem to solve.

Comment 2 Peter Lewis 2008-08-06 11:46:02 UTC
Hi, just noting that this is still a problem in 4.1.0, and makes using the crypto functions of KMail really confusing.
Comment 3 George Kiagiadakis 2008-09-14 23:03:05 UTC
Could someone please add some instructions on how to reproduce this bug? Thanks.
Comment 4 Martin Koller 2009-08-01 15:59:36 UTC
As the original reports text is no longer in the 4.3 RC3 source and there was no reply to comment #3, I'll close this bug.