Bug 245516 - encryption preferences in addressbook not honored when sending emails
Summary: encryption preferences in addressbook not honored when sending emails
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 09:38 UTC by Stephan Mueller
Modified: 2015-04-12 10:10 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 Stephan Mueller 2010-07-23 09:38:53 UTC
Version:           1.13.2 (using KDE 4.4.2) 
OS:                Linux

The addressbook is able to store encryption preferences for a particular email. You can list the GPG keys to be used by KMail when encrypting an email to that email address.

Recently (not sure when), kmail does not honor those encryption settings any more. I generated addressbook entries for mailing list email addresses with the GPG keys of the recipients added in the encryption preferences. Now, when sending an email with encryption enabled to that email address, the standard window for requesting the selection of the recipient keys pops up instead of the use of the configured keys. No keys are pre-selected in the window for requesting the selection of recipient keys.

Reproducible: Always

Steps to Reproduce:
1. add a new entry to the addressbook with, say, an unknown email address (e.g. foo@bar.com)
2. on the encryption page in the addressbook when editing the foo@bar.com entry, select some GPG recipient keys (use one or more of the ones you have in your local key list)
3. write an email to foo@bar.com and select that it should be GPG encrypted
4. hit send

Actual Results:  
the window for requesting the key pops up

Expected Results:  
KMail should have selected the keys you defined in the addressbook immediately

this thing was working in the past
Comment 1 Stephan Mueller 2010-08-13 09:56:27 UTC
After removing all akonadi resources related to addressbooks with akonadiconsole (which are not shown otherwise in systemsettings or somewhere else), and recreating a fresh resource, all works now.

The transition to akonadi however did not work.
Comment 2 Laurent Montel 2015-04-12 10:10:12 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.