[Bug 304821] New: Signing/Encrypting a mail doesn't respect the settings in my addressbook of the contact

regi.hops at gmx.net regi.hops at gmx.net
Wed Aug 8 21:02:35 BST 2012


https://bugs.kde.org/show_bug.cgi?id=304821

            Bug ID: 304821
          Severity: normal
           Version: 4.9.0
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: Signing/Encrypting a mail doesn't respect the settings
                    in my addressbook of the contact
    Classification: Unclassified
                OS: Linux
          Reporter: regi.hops at gmx.net
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: crypto
           Product: kmail2

I have a PGP and a S/MIME certificate/key.
I have set in my identity settings the preferred format for encryption and
signing to all.

When I write an email to alice at example.com, who is configured in my addressbook
only to allow S/MIME in the protocol settings, kmail2 silently ignores this and
sends the message signed with my PGP-Key.

Additionally the settings for signing and encryption are set to always, kmail2
never signs nor encrypts the message nor warn me to do so.
It silently sends the message.

If you activate the setting "always show encryption key..." in
settings->security->create message you'll see that the settings from the
addressbook are ignored, except the public key.



Reproducible: Always

Steps to Reproduce:
1. set up an account with a PGP-Key/Cert and a S/MIME Key/Cert
2. let the prefered format for signing and encryption at the default (All)
3. create a contact with a S/MIME public key
4. set the allowed protocol to S/MIME only
5. set the sending options to "always sign" and "always encrypt"
6. send an email to this contact
7. send a signed email to the contact

Actual Results:  
point 6. sends the email not signed and not encrypted
point 7. sends the email signed with my PGP key


Expected Results:  
point 6. kmail2 should warn me about the missing signature / encryption, like
it warns me if I forgot to enter a subject in the message. And give me the
option to send the email unsigned/unencrypted

point 7. kmail2 should the email sign with my S/MIME key. In the case that I
don't have a Cert/Key fitting the options in the contact, it should bring up a
dialog where I can choose to abort or send the email unsigned

In both cases an additional link to the respective contact would be the "cream"
on top, which would be especially helpful when sending emails to more then one
person

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list