Meddington / OutlookPrivacyPlugin

A PGP encryption plugin for Outlook 2010, 2013 and 2016.
BSD 3-Clause "New" or "Revised" License
272 stars 59 forks source link

signatures made with encryption key. #100

Closed stef closed 8 years ago

stef commented 9 years ago

i test with an encryption subkey, when i sign a message, the encryption subkey is used instead of the signing master key. This leads to the following error:

gpg: encrypted with 4096-bit RSA key, ID 0xFFFFFFFFFFFFF, created 2015-09-07 "user1 user1@example.com" gpg: Signature made Mon 07 Sep 2015 01:47:33 PM CEST gpg: using RSA key 0xFFFFFFFFFFFFF gpg: WARNING: signing subkey 0xFFFFFFFFFFFFFF is not cross-certified gpg: please see https://gnupg.org/faq/subkey-cross-certify.html for more information gpg: Can't check signature: general error

an encrypting subkey should not be used for signing, instead the master signing key should be used for this.

This messes up all signatures that my peers want to verify, and i cannot cross-certify the signing key, because it's not a signing key. if i do as suggested by the gpg warning message, gpg rightly refuses to cross-certify with the following message:

subkey FFFFFFF does not sign and so does not need to be cross-certified.

thanks for fixing this. s

YHSC commented 9 years ago

Same here. it is using the encrypt key for signing...

It would' have to check which key is for signing, which aint hard.

Would be happy about a quick fix.

Meddington commented 9 years ago

What version of the plugin are you using?

stef commented 9 years ago

beta 49

YHSC commented 9 years ago

beta 49 too

Meddington commented 9 years ago

Please give beta 50 a shot. I fixed an issue with key selection for signing.

evolvia31 commented 9 years ago

beta51 remove the problem to me.