anonghosteam / outlook-privacy-plugin

Automatically exported from code.google.com/p/outlook-privacy-plugin
GNU General Public License v3.0
0 stars 1 forks source link

Apple "Mail" --> PC Outlook: not decrypting correctly #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send encrypted email from Apple's "Mail" program on a Mac with installed 
GPGTools encryption plugin.
2. Receive email on PC with Outlook 2010 and Outlook-Privacy-Plugin installed.

What is the expected output? What do you see instead?
Expected: Encrypted email is decrypted after entering the passphrase.
Instead: After entering the passphrase I receive an error message popup 
"Incorrect passphrase possibly entered" (see picture 1). After clicking the 
"OK" button the email opens however without any text but with 2 attachments 
called "PGP_MIME Versions Identification.dat" and "encrypted.asc" (both files 
attached for reference). I would like to note that the email was encrypted 
using OpenPGP and not MIME. When decrypting the "encrypted.asc" file manually 
with "GNU Privacy Assistant - File Manager" and opening the file e.g. with MS 
Word you can read the following with the original encrypted text ("This is an 
encrypted text") and the file name of the attachment (in this example a pdf 
document) embedded.

Content-Type: multipart/mixed;
    boundary="Apple-Mail=_0EAFAE77-7366-425E-BD1E-C9DEC621976C"

--Apple-Mail=_0EAFAE77-7366-425E-BD1E-C9DEC621976C
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
    charset=us-ascii

    This is an encrypted text.

--Apple-Mail=_0EAFAE77-7366-425E-BD1E-C9DEC621976C
Content-Disposition: inline;
    filename="CV  projektmanagement.pdf"
Content-Type: application/pdf;
    x-mac-type=50444620;
    x-mac-creator=4D535744;
    x-unix-mode=0644;
    name="CV  projektmanagement.pdf"
Content-Transfer-Encoding: base64

JVBERi0xLjMKJcTl8uXrp/Og0MTGCjQgMCBvYmoKPDwgL0xlbmd0aCA1IDAgUiAvRmlsdGVyIC9G
bGF0ZURlY29kZSA <the cyphered text continuous for many pages then>

What version of the product are you using? On what operating system?
lastest Mac OS and GPTTools 2.0.1.
Windows PC with Win7 Ultimate 64-bit with Outlook 2010 32-bit and 
Outlook-Privacy-Plugin Beta34.

Please provide any additional information below.
Sending encrypted emails with attachment from PC to PC works fine. Also sending 
encrypted emails with attachment from PC to Mac works fine, but not from Mac to 
PC. Using software from www.gpg4o.de the decryption of an email on a PC sent 
from Mac actually does work. However this SW is not for free after trial 
period. Thanks for your great work!

Original issue reported on code.google.com by cro...@gmail.com on 2 Aug 2013 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by cro...@gmail.com on 2 Aug 2013 at 7:38

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by cro...@gmail.com on 2 Aug 2013 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the bug report! GPGTools is sending this as a PGP/MIME encrypted 
email, which we do support and has become a popular way to send encrypted 
PGP/GPG messages. The encrypted attachment is in MIME format, so after 
decryption it's loaded again and contents pulled out.

Please save off your encrypted.asc attachment and run the following command on 
it. Email or post the contents. Feel free to XXX out any sensitive information. 
This will show me the structure of the encrypted file and allow for debugging.

gpg2.exe --list-packets encrypted.asc

Original comment by m...@dejavusecurity.com on 13 Aug 2013 at 11:41

GoogleCodeExporter commented 9 years ago
Thank you for accepting my bug report. Please find attached 4 files:
The 2 files which I receive with Outlook on a PC when sent from a MAC with 
Apple "Mail": PGP_MIME Versions Identification.dat and encrypted.asc.
Then I run your command on encrypted.asc, made a screenshot and xxx'd out what 
I guess is sensitive. The resulting file "capture.jpg" is attached.
In addition I decrypted the file encrypted.asc with the GNU Privacy Assistant 
File Manager and saved it at .txt file which is also attached.
Let me know if you need anything in addition and keep up the great work!

Original comment by cro...@gmail.com on 14 Aug 2013 at 7:20

Attachments: