Bug 324204

Summary: KMAil forgets own PGP key when selecting recipients key
Product: [Applications] kmail2 Reporter: Axel Braun <axel.braun>
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: montel, sknauss
Priority: NOR    
Version: 4.11   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Testcase for bug description

Description Axel Braun 2013-08-29 07:13:34 UTC
In case a recipient has a valid PGP key, Kmail selects the recipients key, but forgets the own key.

Please have a look at the attachment for detailed error description

Reproducible: Always
Comment 1 Axel Braun 2013-08-29 07:15:33 UTC
Created attachment 82004 [details]
Testcase for bug description
Comment 2 Laurent Montel 2013-09-02 17:16:50 UTC
I don't understand this bug.
You have an pgp key kmail detects it but after that it told you that it's not your key ?
Comment 3 Axel Braun 2013-09-02 17:52:29 UTC
(In reply to comment #2)
> I don't understand this bug.

...seems I have to explain better!

> You have an pgp key kmail detects it but after that it told you that it's
> not your key ?

No. The KMail reminds you that you can sign&encrypt, but afterwards it 'forgets' to encrypt - in the third picture in the document it jst shows the key of the recipient, not of the sender. As a consequence, the mail is only signed, not encrypted
Comment 4 Axel Braun 2013-09-04 10:02:30 UTC
in case you run 4.11.0, you may try the following:
Add me to your address-book (you got my PGP-keys already), and have your own PGP-settings properly configured. Set the flag 'automatically sign messages' (just in case https://bugs.kde.org/show_bug.cgi?id=125361 is not yet done ;-)
and send me a mail, where you select 'sign&encrypt' from the pop-up.
As a result, the mail sent should only have a signature, not an encryption
Comment 5 Laurent Montel 2013-09-04 10:32:52 UTC
will test soon.
Comment 6 Sandro Knauß 2013-11-20 12:00:04 UTC
The problem is that the Encryption Key Approval dialog and that the aswer was just ignored before 4.11.4.

*** This bug has been marked as a duplicate of bug 314930 ***