[Bug 709830] Re: kmail does not use the encryption-settings defined in the addressbook
Bug Watch Updater
709830 at bugs.launchpad.net
Fri Jun 1 10:48:39 UTC 2012
Launchpad has imported 9 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=247229.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2010-08-10T13:08:25+00:00 Martinralbrecht wrote:
Version: 4.4 (using KDE 4.4.5)
OS: Linux
I have several contacts in my address book which have GnuPG keys
attached to them which do not match the e-mail address of the contact;
thus, I rely on the feature to set the right GnuPG key in KAddressbook.
However, when sending encrypted mail to these contacts using KMail it
never picks up on the selected key but reports that no key were found. I
am then presented with a list of my GnuPG keys to select who to encrypt
to.
Reproducible: Always
Steps to Reproduce:
1) Add a new contact
2) Add several GnuPG Keys to that contact
3) Write an e-mail to that contact and select encryption and click send.
Actual Results:
The selected GnuPG keys are not used but one has to select them again by hand.
Expected Results:
KMail picks up on my choice in the KAddressbook and encrypts to the specified keys.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/0
------------------------------------------------------------------------
On 2010-08-20T13:01:12+00:00 Martinralbrecht wrote:
Here's an easier way to reproduce the problem:
SETUP:
a) Send an e-mail to some made-up contact, e.g. x at y.com; select GnuPG encryption
b) KMail will ask you what key to choose, pick one and check "Remember choice"
c) KMail will ask you for a name for the new contact, pick one e.g. "XY"
d) KMail will ask you where to store the contact, pick your default address book
CHECK:
g) Observe that your default address book now indeed contains a contact
XY for the e-mail address x at y.com with the GnuPG key assigned you just
picked
MAKE IT FAIL:
g) Repeat a)
EXPECTED BEHAVIOUR:
KMail knows which key to chose and will do so automatically
OBSERVED BEHAVIOUR:
Kmail performs the steps mentioned in b)-d)
PS: I can try to gather debug logs from akonadi if that'd be of any use.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/1
------------------------------------------------------------------------
On 2010-08-23T21:15:35+00:00 Martinralbrecht wrote:
My attempts to debug this came this far, the function which does the
Akonadi call is Kleo::KeyResolver::ContactPreferences
Kleo::KeyResolver::lookupContactPreferences( const QString& address )
const in keyresolver.cpp. The Akonadi query which comes back empty looks
as follows:
SEARCH "prefix
nco:<http://www.semanticdesktop.org/ontologies/2007/03/22/nco#>SELECT
DISTINCT ?person WHERE { graph ?g { ?person a nco:PersonContact ;
?person <http://akonadi-project.org/ontologies/aneo#akonadiItemId>
?itemId . nco:hasEmailAddress ?email . ?email nco:emailAddress
\"x at y.com\"^^<http://www.w3.org/2001/XMLSchema#string> . } } LIMIT 1"
FULLPAYLOAD EXTERNALPAYLOAD (UID REMOTEID COLLECTIONID FLAGS SIZE
DATETIME)
I don't speak enough SPARQL to judge whether this is correct. I noticed
the ";" which is a different construction from the other queries in that
file.
However, if I replace the call to
job->setQuery( Akonadi::ContactSearchJob::Email, address );
with
job->setQuery( Akonadi::ContactSearchJob::Name, address );
(which of course is wrong) and replace the name of my contact with its
e-mail address, KMail shows the correct behaviour, implying that indeed
the search query for Email is wrong in 4.4.5
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/2
------------------------------------------------------------------------
On 2010-12-09T10:25:04+00:00 Nauke wrote:
I can confirm this bug. Remembering the preferred key for a recipient
does not work at all. I am always forced to choose a key because of the
failed lookup.
I am using kmail 1.13.5 (KDE 4.4.5) from Debian's testing distribution.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/3
------------------------------------------------------------------------
On 2011-04-08T13:29:31+00:00 Martinralbrecht wrote:
This discussion looks relevant: http://lists.kde.org/?l=kde-
pim&m=129923342305966&w=2
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/5
------------------------------------------------------------------------
On 2011-04-09T01:15:56+00:00 Jannis Menn wrote:
The bug affects me too using kmail 1.13.5. with kubuntu 10.10. The
problem does not occur with kmail 1.13.6. tested with the beta-release
of kubuntu 11.04.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/6
------------------------------------------------------------------------
On 2011-05-09T16:36:43+00:00 Jannis Menn wrote:
After updating to the final version of Kubuntu 11.04 (kmail 1.13.6), I
am experiencing the same problem. Maybe I did some mistake in
reproducing the bug back then, or something changed, or it has something
to do with the configuration... hope very much this will be fixed soon.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/7
------------------------------------------------------------------------
On 2011-06-28T14:13:55+00:00 Martinralbrecht wrote:
With KMail 1.13.7 from Debian the problem seems to be fixed.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/8
------------------------------------------------------------------------
On 2012-05-31T07:46:37+00:00 Martinralbrecht wrote:
It seems the bug is back. It is still KMail 1.13.7 in Debian testing.
Akonadi was recently updated to 1.7.2 from 1.6.2.
Reply at: https://bugs.launchpad.net/kdepim/+bug/709830/comments/11
** Changed in: kdepim
Status: Unknown => Fix Released
** Changed in: kdepim
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdepim in Ubuntu.
https://bugs.launchpad.net/bugs/709830
Title:
kmail does not use the encryption-settings defined in the addressbook
To manage notifications about this bug go to:
https://bugs.launchpad.net/kdepim/+bug/709830/+subscriptions
More information about the kubuntu-bugs
mailing list