For some encrypted messages, Enigmail and Thunderbird will decrypt the message and properly display the plaintext in the message body window. However, for many others, no plaintext is displayed in that window at all. Rather, I have to click Other Actions > View Source to find the ciphertext, copy and paste it into the GPA clipboard (separate application), and decrypt it there. I haven't been able to pinpoint the cause of this issue. Does anyone know about this? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The messages in question appear to be PGP/MIME Version 1.0. However, other messages that decrypt normally in Thunderbird are also PGP/MIME Version 1.0.
I'm paying for a mail service that uses OpenBSD.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked the message and if it's not a copy&paste error, then there is something wrong with the content-type specification. The line following the content-type (charset="us-ascii") is wrong.
It is indented, which means it belongs to the line above, but this cannot be correct. The charset specification is not foreseen for the given content-type (which Enigmail would ignore), but there is no semicolon at the end of the first line, which means it belongs to the boundary specification -- thus the boundary specification is invalid, which breaks decryption.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I double checked the original source and it is as it appears in what I pasted.
So, what entity is responsible for generating that specification? Is it something that would need to be addressed on a case-by-case basis with each problematic sender? I'm trying to confirm whether or not I can fix on the receiving end. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, I forgot to mention: this is a violation of the relevant specifications (RFC 2882 and RF 3156); I won't create fixes (to be correct: workarounds) for bugs in other software that lead to violations of well-defined and well established specifications.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. While this could be considered a mailing list type of message, some messages with the same problem are known to come from individuals. Here is another excerpt from a content-type specification line:
Do I understand correctly, there are two "boundary" parameters for a single "Content-Type:" entry? This is invalid as well. And the missing ";" after the first "boundary" part makes it even worse.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know that both Outlook and Thunderbird are involved.
Based on what you told me, I'm wondering if it's because the email service provider is doing the encryption. They are using my public key and PGP to encrypt all messages "at the door" that arrive unencrypted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For some encrypted messages, Enigmail and Thunderbird will decrypt the message and properly display the plaintext in the message body window. However, for many others, no plaintext is displayed in that window at all. Rather, I have to click Other Actions > View Source to find the ciphertext, copy and paste it into the GPA clipboard (separate application), and decrypt it there. I haven't been able to pinpoint the cause of this issue. Does anyone know about this? Thanks.
Hi, this could be different issues, so we need some more information:
Hi there,
The messages in question appear to be PGP/MIME Version 1.0. However, other messages that decrypt normally in Thunderbird are also PGP/MIME Version 1.0.
I'm paying for a mail service that uses OpenBSD.
Can you attach such a message. I suspect that something is wrong with the message.
To protect the involved parties, I masked any personal info. I also cut out the ciphertext for convenience.
Last edit: Patrick Brunschwig 2013-06-09
Could you please also paste the first few lines of the cyphertext? I'd like to see the message encoding.
Sure:
hQIMAw+eviMPMoArARAAlXU3UxUmow+zZONPbmx9RVTlDfcHFAXRaJm3Y8zqC2zo
8lwwCGTXjB0O7OInKIW4E3c1pVi5Ruhpn1lJJchFahuGjv9dW/D1p5Q4uwd7mqdi
QLF0HLaabPC1Oy0UPTwoX4DWPgeXh4sXaeyaZIhpNHfhV6yAuVF/sVAepQS7k7yS
I checked the message and if it's not a copy&paste error, then there is something wrong with the content-type specification. The line following the content-type (charset="us-ascii") is wrong.
It is indented, which means it belongs to the line above, but this cannot be correct. The charset specification is not foreseen for the given content-type (which Enigmail would ignore), but there is no semicolon at the end of the first line, which means it belongs to the boundary specification -- thus the boundary specification is invalid, which breaks decryption.
I double checked the original source and it is as it appears in what I pasted.
So, what entity is responsible for generating that specification? Is it something that would need to be addressed on a case-by-case basis with each problematic sender? I'm trying to confirm whether or not I can fix on the receiving end. Thanks!
The message seems to come from a mailing list server (or similar). I cannot be sure, but I assume that this is the culprit.
Sorry, I forgot to mention: this is a violation of the relevant specifications (RFC 2882 and RF 3156); I won't create fixes (to be correct: workarounds) for bugs in other software that lead to violations of well-defined and well established specifications.
Thanks. While this could be considered a mailing list type of message, some messages with the same problem are known to come from individuals. Here is another excerpt from a content-type specification line:
Content-Type: multipart/encrypted; protocol="application/pgp-encrypted"; boundary="*-qGyNFUH5-fJrz1zz9"
boundary="----=_NextPart_000_0006_01CE65E6.E971B5F0"
And another:
Content-Type: multipart/encrypted; protocol="application/pgp-encrypted"; boundary="*-qGyNFUH5-fJrz1zz9"
boundary="----=_Part_770668_1347420681.1370440874267"
In both instances the final "boundary" line is indented. What are you seeing here?
Do I understand correctly, there are two "boundary" parameters for a single "Content-Type:" entry? This is invalid as well. And the missing ";" after the first "boundary" part makes it even worse.
Is it possible to identify the software creating such messages?
I know that both Outlook and Thunderbird are involved.
Based on what you told me, I'm wondering if it's because the email service provider is doing the encryption. They are using my public key and PGP to encrypt all messages "at the door" that arrive unencrypted.
Then the encryption software, respectively its integration into the mailserver software on providers end is the culprit.