Bug 329961 - PGP silently fails to encrypt mails for users with different encryption protocols (pgp/mime vs inline pgp)
Summary: PGP silently fails to encrypt mails for users with different encryption proto...
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 5.3.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 16:36 UTC by Till Schäfer
Modified: 2016-12-21 13:07 UTC (History)
1 user (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 Till Schäfer 2014-01-14 16:36:33 UTC
setup: 
- two users (A and B) in address book
- user A is set to allow only inline pgp mails
- user B is set to allow only pgp/mime mails 

problem: 
if you write a mail to both users and select one of the two protocols, the mail is send without feedback to the user. However, kmail fails to encrypt the mail to the user with the other protocol. Therefore the mail is unreadable, if you select inline pgp for user b and it is unreadable for user a if you select pgp/mime. 

possible solutions: 
1. Inform the user that it is not possible to send an encrypted mail to both users at once
2. Send the mail in different protocol versions to the different users.

I think that solution 2 is the best approach. Maybe there should be a warning to the user and the possibility to abort. The second approach might interfere with bug 121692.

Reproducible: Always
Comment 1 Till Schäfer 2014-01-14 21:14:42 UTC
i dug a bit deeper and found out that solution 2 is already implemented, when selecting "all" as encryption standard in to compositor window. it is sending two mails too both of the people, but i guess it is not possible otherwise, since mail standard does not allow to add another "to" email address without actually sending it to this address (afaik). 

-> therefore this bug is only about showing a warning if the selected encryption standard is not compatible with all recipients and may give an option to use the "all" method.
Comment 2 Till Schäfer 2016-09-14 15:08:36 UTC
still valid for 5.3.1
Comment 3 Sandro Knauß 2016-09-26 12:17:20 UTC
Actually the "To" Line has nothing to do with the concrete recipients ( that's how BCC) works. So It is not a problem to show a To line with both recipients and still send two different mails to user a and b. Don't know if we should show the user user a warning or not.