Meddington / OutlookPrivacyPlugin

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

Imposible to decryped #41

Closed fidel1 closed 9 years ago

fidel1 commented 9 years ago

I use win7 x64, outlook 2013 x64, and your OPP beta 38. Keys are RSA 2048 bit generated by Kleopatra. I sent one encrypted (not signed) email from address 1 to address 2, both installed in outlook. I encryp both addresses (1 and 2). Outlook receives both accounts and therefore in the inbox there are two new messages. It is impossible to decryp the sent message as well as the two received messages. It allways shows the same error: Incorrect passphrase possible entered. Please explain. Thanks.

zoltix commented 9 years ago

I have the same issue. Sent encrypted email ok and impossible to decrypt "Incorrect passphrase possible entered". But i can decrypt with gpg command line. Windows 8.1 office 2013 64 bit OPP beta 38

Regards.

Meddington commented 9 years ago

If you send to an external user, can you decrypt the sent email? I wonder if having both addresses and keys serviced by same outlook instance is the root problem.

My typical test environment is two accounts in different clients our outlook profiles. Same key ring though.

Just a guess.

Also are these domain accounts?

On Dec 10, 2014, at 2:35 PM, zoltix notifications@github.com wrote:

I have the same issue. Sent encrypted email ok and impossible to decrypt "Incorrect passphrase possible entered". But i can decrypt with gpg command line. Windows 8.1 office 2013 64 bit OPP beta 38

Regards.

— Reply to this email directly or view it on GitHub.

zoltix commented 9 years ago

the outlook profile is Domain user. when I send a crypted mail to external user is ok. ex: in outlook , I create an email with the profile Laurent.liegeois@credoc.be(Key-ID:FA2B4AC3-Domain user) to lli@lli.be(Key-ID:7BE75E73 thunderbird-enigmal ). In thunderbird, I can decrypt the email. In outlock in "sent Items", I cannot decrypt an, I always receive an error message "Incorrect passphrase possible entered". When I reply with thunderbird(lli@lli.be to laurent.liegeois@credoc.be), In outlook , I can't read the email but when I copy and paste the content of the email in a txt file, I can decrypt with gpg4win with the good key-id.

For testing I removed all others keys in Kleopatra(or GPA) I have only private key for Laurent Liegeoislaurent.liegeois@credoc.be and public key for laurent liegeoislli@lli.be. In this case, the error message changed "Data not integrity protected."

I hope to help you.

Le 11-12-14 06:30, Michael Eddington - notifications@github.com a écrit :

If you send to an external user, can you decrypt the sent email? I wonder if having both addresses and keys serviced by same outlook instance is the root problem.

My typical test environment is two accounts in different clients our outlook profiles. Same key ring though.

Just a guess.

Also are these domain accounts?

On Dec 10, 2014, at 2:35 PM, zoltix notifications@github.com wrote:

I have the same issue. Sent encrypted email ok and impossible to decrypt "Incorrect passphrase possible entered". But i can decrypt with gpg command line. Windows 8.1 office 2013 64 bit OPP beta 38

Regards.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/dejavusecurity/OutlookPrivacyPlugin/issues/41#issuecomment-66573156.

Meddington commented 9 years ago

okay, thanks for the information. i'm going to guess the bug is related to the domain/exchange aspect. My testing/usage is with gmail or imap as a backend. I'll see if I can setup an exchange environment to test in.

On Thu, Dec 11, 2014 at 3:00 AM, zoltix notifications@github.com wrote:

the outlook profile is Domain user. when I send a crypted mail to external user is ok. ex: in outlook , I create an email with the profile Laurent.liegeois@credoc.be(Key-ID:FA2B4AC3-Domain user) to lli@lli.be(Key-ID:7BE75E73 thunderbird-enigmal ). In thunderbird, I can decrypt the email. In outlock in "sent Items", I cannot decrypt an, I always receive an error message "Incorrect passphrase possible entered". When I reply with thunderbird(lli@lli.be to laurent.liegeois@credoc.be), In outlook , I can't read the email but when I copy and paste the content of the email in a txt file, I can decrypt with gpg4win with the good key-id.

For testing I removed all others keys in Kleopatra(or GPA) I have only private key for Laurent Liegeoislaurent.liegeois@credoc.be and public key for laurent liegeoislli@lli.be. In this case, the error message changed "Data not integrity protected."

I hope to help you.

Le 11-12-14 06:30, Michael Eddington - notifications@github.com a écrit :

If you send to an external user, can you decrypt the sent email? I wonder if having both addresses and keys serviced by same outlook instance is the root problem.

My typical test environment is two accounts in different clients our outlook profiles. Same key ring though.

Just a guess.

Also are these domain accounts?

On Dec 10, 2014, at 2:35 PM, zoltix notifications@github.com wrote:

I have the same issue. Sent encrypted email ok and impossible to decrypt "Incorrect passphrase possible entered". But i can decrypt with gpg command line. Windows 8.1 office 2013 64 bit OPP beta 38

Regards.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub < https://github.com/dejavusecurity/OutlookPrivacyPlugin/issues/41#issuecomment-66573156>.

— Reply to this email directly or view it on GitHub https://github.com/dejavusecurity/OutlookPrivacyPlugin/issues/41#issuecomment-66603366 .

fidel1 commented 9 years ago

I have tested it very carefully. I use win7 x64, outlook 2013 x64, and your OPP beta 38. Keys are RSA 2048 bit generated by Kleopatra. The problem is that if you have more than one own key, and you send a message using more than one of your own keys, you can not decrypt the message send. It is correctly encrypted, and with Kleopatra or GPA (gpg4win) you can decrypt it correctly. But with OPP you always have the error: Incorrect passphrase possible entered.

For example, I sent one encrypted (not signed) email from address 1 (with own key 1) to address 2 (with own key 2) and copy to address 1 (with own key 1). Both addresses are installed in outlook. I encryp both addresses (1 and 2). Outlook receives both accounts and therefore in the inbox there are two new messages. Neither can be decrypt by OPP, but only by Kleopatra or GPA (gpg4win). Gpg4win shows both keys and you can decryp the message using one of both passwords.

Please also see my message from October 31.

Meddington commented 9 years ago

closing as duplicate of #12.