https://bugs.kde.org/show_bug.cgi?id=328311
Bug ID: 328311 Summary: KMail doesn't let me manually select a non verified PGP key which doesn't contains the receivers address Classification: Unclassified Product: kmail2 Version: 4.11.2 Platform: unspecified OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: composer Assignee: kdepim-bugs@kde.org Reporter: colafl...@gmx.net I'm writing an email to a friend, who recently changed his email address. I got his unverified!!! PGP key, which he hasn't updated with to his new email address until now. When I try to send an encrypted email, KMail tells me: > There are conflicting encryption preferences for these recipients. > Encrypt this message? > [Encrypt] [Do not encrypt] [Cancel] That's all ok, because KMail can't autodetect the right key, because any key contains my friends new email address. I select [Encrypt]. The KMail gives me a dialogue to manually select a key I want to use. I select my friends unverified key, which doesn't contains his new email address (the one I set as receiver). But I know he can decrypt that key. Then KMail gives me: > It was not possible to create a message composer. And I'm back in the composer window. If I run KMail from shell, it gives me this message on the shell in exactly that moment: kontact(11836) ValidTrustedOpenPGPEncryptionKey: bad validity 0 This error only appears if the PGP key hasn't been trusted in the PGP key-chain. If I repeat the scenario with a fully trusted key, everything is fine. Looks like KMail forgets to bring up this dialogue, which normally appears for non fully trusted keys. > One or more of the OpenPGP encryption keys or S/MIME certificates for > recipient "some-mail-addr...@example.com" is not fully trusted for encryption. > The following keys or certificates have unknown trust level: > some-mail-addr...@example.com > [Continue] [Cancel] P.S. My "Cryptographic Message Format" is set to "OpenPGP/MIME" in KMail. (relevant???) Reproducible: Always Steps to Reproduce: 1. Write an encrypted email to some address you don't have a PGP key for. 2. Click send and manually select some not fully trusted PGP key to encrypt with. Actual Results: KMail jumps back to composer window, tells you > It was not possible to create a message composer. and puts this to stdout: kontact(*****) ValidTrustedOpenPGPEncryptionKey: bad validity 0 Expected Results: Bring up this dialogue: > One or more of the OpenPGP encryption keys or S/MIME certificates for > recipient "some-mail-addr...@example.com" is not fully trusted for encryption. > The following keys or certificates have unknown trust level: > some-mail-addr...@example.com > [Continue] [Cancel] -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs