Meddington / OutlookPrivacyPlugin

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

PGP-Mime comparability issues #3

Open andrewgdotcom opened 10 years ago

andrewgdotcom commented 10 years ago

The release notes for beta 35 indicate that there is partial support for PGP-MIME (decryption). As far as I can tell, it does not recognise PGP-MIME messages at all.

I generated PGP-MIME using Enigmail.

Meddington commented 10 years ago

Decryption was working, but I've also now added signature validation. Take alook at the new release and see if thats working for yah.

andrewgdotcom commented 10 years ago

No, decryption was not working. It is still not working, and neither is verification. See attached. capture

Meddington commented 10 years ago

What version of enigmail are you using? From thunderbird could you open the sent message, then with the "other actions" drop down do "view source" and add it into the issue or email it to me directly at meddington at gmail.com.

andrewgdotcom commented 10 years ago

Message-ID: 536220C0.7010106@ward.ie Date: Thu, 1 May 2014 11:24:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 To: andrewg@andrewg.com Subject: nikon X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1DvSaOWfLOHnC3ErU42NEW8sscHpvvExU" MIME-Version: 1.0

--1DvSaOWfLOHnC3ErU42NEW8sscHpvvExU Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

https://nikoneurope-en.custhelp.com/app/answers/detail/a_id/60009

--=20 Andrew Gallagher Internetworking and Security Engineer, Ward Solutions Ltd. Unit 2054 Castle Drive, Citywest, Dublin 24 +353 87 1200174

--1DvSaOWfLOHnC3ErU42NEW8sscHpvvExU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTYiDAAAoJENW/k7AUpJcAwz0IAJfHZDZhSQt33UFikSFmVh7M MXT799hS7fHjsVBoplgMc7JQHGU2p5avfNB1QRfEzVzM09oNi1XveW6ZMtbjSgVJ 3Jj+H6gj/ziWkeabTuxs4xdnT3wdTw7EgNJfgIOxFr8N1t8IKmLhMivvgcC5MB4E OtSw3D099mkHeWpoqveZZhCqUhve1ybKdfPUP8QkUbuEuc37qsSSezmhlZ+s5qlH VXlkuXz0t0jGRN9PbdtJ+xDOhULgZrcuEfoMS5Ep60vRYcY1shI+2gc70a9H5nQf NrTgrNbn93C1wCRV7mjN+1yCdRChgNquBF4p67/BbI3E82Sl3bM6UWYLvfSOXkY= =99lz -----END PGP SIGNATURE-----

--1DvSaOWfLOHnC3ErU42NEW8sscHpvvExU--

Meddington commented 10 years ago

Looks like the Linux version of Enigmail+Thunderbird does produce slightly different output, but I don't see anything that would cause a problem. I put a version up that has some extra debug output enabled. It will create a file c:\temp\opp.txt (make sure c:\temp exists and is writable).

If you could give it a shot and post the opp.txt that would be super helpful.

https://dl.dropboxusercontent.com/u/5021804/OutlookPrivacyPlugin-BETA-37-TEST.zip

andrewgdotcom commented 10 years ago

Michael,

It doesn't seem to create any output file in c:/temp

Andrew

On 8 May 2014, at 18:17, Michael Eddington notifications@github.com wrote:

Looks like the Linux version of Enigmail+Thunderbird does produce slightly different output, but I don't see anything that would cause a problem. I put a version up that has some extra debug output enabled. It will create a file c:\temp\opp.txt (make sure c:\temp exists and is writable).

If you could give it a shot and post the opp.txt that would be super helpful.

https://dl.dropboxusercontent.com/u/5021804/OutlookPrivacyPlugin-BETA-37-TEST.zip

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

tx3eh8IUD1 commented 10 years ago

I think I have the same problem. I cannot open e-mails that were sent by Apple Mail.

It does not decrypt - it does not recognize that is is an encrypted message. Outlook just shows a blanc message and and "encrypted.asc" attachment.

tx3eh8IUD1 commented 10 years ago

@Meddington

I just wanted to let you know that beta38 also does not allow me to unencrypt PGP MIME e-mails that were sent from the apple standard mail software. (I believe called Mail?)

Meddington commented 10 years ago

For Apple Mail I'm testing with GPGMail v2.1 build 601. Is that also what your using?

andrewwebber commented 9 years ago

@tx3eh8IUD1 I have the same issue, outlook 2013 just shows a lists of attachments including encrypted.asc. I am using GPG Tools GPG Mail 2.5b2

Meddington commented 8 years ago

I've rewritten some of the pgp/mime code. I'd be interested to know if anyone is still having issues.

ocram-zz commented 8 years ago

Installed Build 5688 and having same issues with blank mail content and encrypted.asc (received mail from Apple client, trying to get the exact version and program name)

andrewgdotcom commented 8 years ago

On 31/07/15 01:20, Michael Eddington wrote:

I've rewritten some of the pgp/mime code. I'd be interested to know if anyone is still having issues.

It asks me for my passphrase to decrypt, but then it gives me the same "attempted to read past the end of the stream" as in #2 and #4. No stack trace here either.

I'm using 32-bit, might that be making any difference?

Andrew.

andrewgdotcom commented 8 years ago

I upgraded from 2010 32-bit to 2013 64-bit and the error is still here.

tx3eh8IUD1 commented 8 years ago

+1 (Outlook 2016, 64bit, everythings works fine except this)

104 sorry for the double posting.

Meddington commented 8 years ago

I've added some additional tracing to BETA 52 to try and debug this issue. The file will be in %appdata%\outlookprivacyplugin\trace.txt. The information collected is not sensitive.

Meddington commented 8 years ago

fyi- Starting in BETA 55 a setting must be set to create the trace file. Set the setting then restart outlook. Prior versions will generate a small trace automatically for mime.

tx3eh8IUD1 commented 8 years ago

So I opened a mail I have issues with, it prompted me for my password (good) but the e-mail then opened was still "empty" (bad), but showing both attachments (encrypted.asc and PGP_MIME Versions Identification.dat).

Here is the trace file contenct: OutlookPrivacyPlugin.OutlookPrivacyPlugin MIME: Message content-type: multipart/alternative; boundary="O33rfM3wKqjg=_?:"; charset="UTF-8" OutlookPrivacyPlugin.OutlookPrivacyPlugin MIME: Message content-type: multipart/alternative; boundary="14dae93b61384541b40523e6923b"; charset="UTF-8"

The log was clean (for today's operations)

Meddington commented 8 years ago

Ok, looks like it worked. Not sure about the empty email. It's okay the attachments are still there as I don't remove em.

I'll add some additional tracing to dump the message.

Few other people have reported getting blank.

On Nov 6, 2015, at 7:24 PM, tx3eh8IUD1 notifications@github.com wrote:

So I opened a mail I have issues with, it prompted me for my password (good) but the e-mail then opened was still "empty", but showing both attachments (encrypted.asc and PGP_MIME Versions Identification.dat).

Here is the trace file contenct: OutlookPrivacyPlugin.OutlookPrivacyPlugin MIME: Message content-type: multipart/alternative; boundary="O33rfM3wKqjg=_?:"; charset="UTF-8" OutlookPrivacyPlugin.OutlookPrivacyPlugin MIME: Message content-type: multipart/alternative; boundary="14dae93b61384541b40523e6923b"; charset="UTF-8"

The log was clean (for today's operations)

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