Bug 472426 - Enable checking if OpenPGP encryption is possible by default
Summary: Enable checking if OpenPGP encryption is possible by default
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 10:38 UTC by Bernhard E. Reiter
Modified: 2023-07-20 10:46 UTC (History)
0 users

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 Bernhard E. Reiter 2023-07-20 10:38:51 UTC
KMail shall enable encryption in the default configuration
if my recipients want to get emails encrypted to them by OpenPGP/MIME.

Many recipients that want to receive encrypted emails, publish their public OpenPGP
via the web key directory standard (WKD). KMail shall check if they did.
The can be enabled by the identity option: Automatically encrypt messages when possible"
as shown with: https://wiki.gnupg.org/EMailClients/KMail


STEPS TO REPRODUCE
1.  on a fresh account start kmail with vanilla settings, add an email account. be online.
2. open an new email
3. enter an email address for someone that has their OpenPGP pubkey published via WKD (e.g. mine at bernhard.reiter@intevation.de)

Variant for 1: use an old account with a newer kmail. Expectation: KMail asks the user once that it enables the option during migration.

OBSERVED RESULT
Encryption is not enabled, it is not shown that this recipient offers to send them encrypted email.

EXPECTED RESULT
The indicator before the email address shows the public keys indication by the little icons.
The encrypt button is enabled.
Comment 1 Bernhard E. Reiter 2023-07-20 10:46:21 UTC
Maybe the label of the option "Automatically encrypt messages when possible" is suboptimal because it does not mention the checking part (like trying to get the pubkey in the local storage via WKD or otherwise). Maybe it is an improvement to say:

"Check if we can encrypt to recipients and enable encryption for an email if possible for all."

or

"Check if recipients offer to encrypt to them. Suggest to encrypt for an email automatically if possible".


Both would explain better that there are two steps and that the suggestion can be ignored, by deselecting the encryption setting later.