tag:gpgtools.tenderapp.com,2011-11-04:/discussions/beta/1504-unknown-system-error-decrypting-a-message-in-mac-mailGPGTools: Discussion 2017-03-22T21:40:29Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-16T12:12:54Z2017-03-16T12:19:28ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>On the latest message of a thread, it refuses to decrypt the message, and I get the following error:</p>
<p>gpg: decrypt_message failed: Unknown system error</p>
<p>All previous messages decrypt fine. When I download and manually decrypt this message from the command line, that also works fine. It's only failing from within Mail. Also, this message actually decrypted the first time I read it. It was only when I came back that it started failing to decrypt.</p>
<p>Note: The versions shown in the attachment are the latest nightlies, but I've also tried beta 2, and that didn't work either.</p>
<p><strong>What did you expect instead</strong></p>
<p>Message should decrypt within Mail.</p>
<p><strong>Describe steps leading to the problem.</strong></p>
<p>Open Mail and click the thread.</p>
<p>No other plugins</p></div>Josh Flemingtag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-16T12:23:52Z2017-03-16T12:23:52ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Hey Josh,</p>
<p>welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.</p>
<p>The problem you are seeing is with a single message or with any newest message in any threaded view?</p>
<p>Are you able to reproduce the problem by sending yourself 2-3 mails with the same subject?</p>
<p>All the best,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-16T12:44:56Z2017-03-16T12:44:57ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Just tried that. Here's what happened:</p>
<ol>
<li>Sent myself a message. This worked fine.<br></li>
<li>Sent myself a second message in the thread. Also worked fine.<br></li>
<li>Sent myself a third message. Things got a little strange here. At first, the message appeared, but only with the version and "ecrypted.asc" attachments and no error message. I closed and reopened Mail. Now the message was gone entirely. Closed and reopened Mail again a few times. Message finally appeared decrypted.<br></li>
<li>Same thing happened on the fourth message.</li>
</ol>
<p>So it seems I can't reproduce the original problem by sending myself messages this way. There is something strange going on as a thread grows in size, though. The original failure I'm seeing is on the fourth message in the thread.</p>
<p>jf</p></div>Josh Flemingtag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-16T12:57:45Z2017-03-16T12:57:45ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Josh, what you are seeing is a known issue, we are currently working on.</p>
<p>We have a ticket for this problem. I connected this discussion with the existing ticket. That means, should this discussion get closed, it will be re-opened as soon as the ticket is closed. That way you'll stay in the loop and get notified as soon as we have news. Feel free to open a new discussions should you run into further problems or need assistance.</p>
<p>All the best,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-16T13:18:53Z2017-03-16T13:18:54ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Great, thanks!</p>
<p>jf</p></div>Josh Flemingtag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-16T13:40:04Z2017-03-16T13:40:17ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Steve,</p>
<p>An update. I tried opening the original broken thread in Mozilla Thunderbird + Enigmail. Enigmail complained that the message had a broken MS-Exchange envelope, or something like that, and gave me the option to "repair" the message. After I did that, it decrypted correctly in both Thunderbird/Enigmail and Mail/GPGMail.</p>
<p>jf</p></div>Josh Flemingtag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-17T12:00:20Z2017-03-17T12:00:20ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Josh, thanks for the update. That is interesting news.</p>
<p>We would like to look into this in greater detail. For that, there's a few things to clarify:</p>
<p>For now, let's focus on the problem in regards to the message which you report Enigmail managed to repair. Are you able to reliably reproduce the initial issue? That would mean, could you ask the author of the problematic message to send another test message your way. Then inspect the new message in GPGMail and check if the problem again is showing.</p>
<p>If that is the case, it would be really helpful, to get our hands on such a message (identically structure of course) in our own inbox. So then, could you ask the author to send a test mail our way: team AT gpgtools DOT org</p>
<p>Oh and it would also be interesting to know, if enigmail again manages to repair that message and if after repair that message also correctly is displayed in GPGMail.</p>
<p>Screenshots of the way GPGMail displays the message in question <em>before</em> and <em>after</em> repair would be very helpful as well.</p>
<p>Thanks for your help and further investigation to debug this case.</p>
<p>Kindly,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-19T23:56:28Z2017-03-19T23:56:28ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Please re-test using the latest nightly build from <a href="https://releases.gpgtools.org/nightlies/">https://releases.gpgtools.org/nightlies/</a></p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-20T12:41:15Z2017-03-20T12:41:18ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Hi Steve,</p>
<p>Sorry, I was never able to reproduce this problem after "repairing" that one message with Enigmail. However I can confirm that the latest GPGMail nightly still decrypts new "un-repaired" messages properly.</p>
<p>Taking a look at the un-repaired and repaired messages, the only difference I see is that MS-Exchange seems to be adding a "text/plain" part to the beginning of the message, e.g.:</p>
<pre>
<code>Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable</code>
</pre>
<p>Enigmail removes this when it repairs the message. There's some discussion about it here: <a href="https://sourceforge.net/p/enigmail/bugs/384/">https://sourceforge.net/p/enigmail/bugs/384/</a></p>
<p>However I'm not sure that this is what caused the failure in GPGMail Beta 2, since it decrypted these messages fine before the one offending message, and it's decrypting the new ones fine also.</p>
<p>Thanks,</p>
<p>jf</p></div>Josh Flemingtag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-20T15:44:37Z2017-03-20T15:44:37ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Alright, let's call this case closed. We are still working on issues with the current nightly and hope to have the next beta ready once those are solved.</p>
<p>Thanks a lot for your feedback.</p>
<p>I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.</p>
<p>Best, steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/421690862017-03-22T21:40:27Z2017-03-22T21:40:27ZGPGMail: "Unknown system error" decrypting a message in Mac Mail<div><p>Just for your info: GPG Suite 2017.1b3 which fixes a ton of issues has just been released.</p>
<p>All the best,<br>
steve</p></div>Steve