Closed Bug 1787408 Opened 3 years ago Closed 2 months ago

attached digitally signed .eml shows empty body after being saved

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 91
Unspecified
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1943021

People

(Reporter: bczhc0, Unassigned)

Details

(Keywords: dupeme)

Attachments

(4 files)

Attached file Signing test.eml

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Steps to reproduce:

Send a digitally signed plaintext email to someone
use "Forward as - Attachment" on that sent email and send it again
open the parent email and click "Save As" to save the attached child .eml to a file

Actual results:

The saved .eml file loses the body parts, and when I open it using Thunderbird, it shows empty body

Expected results:

saved .eml file should be identical to the forwarded email

OS: Unspecified → Linux
Summary: attached digitally signed eml loses body parts after being saved → attached digitally signed eml shows empty body after being saved

(In reply to bczhc0 from comment #0)

Created attachment 9291709 [details]
Signing test.eml

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Steps to reproduce:

Send a digitally signed plaintext email to someone
use "Forward as - Attachment" on that sent email and send it again
open the parent email and click "Save As" to save the attached child .eml to a file

Actual results:

The saved .eml file loses the body parts, and when I open it using Thunderbird, it shows empty body

Expected results:

saved .eml file should be identical to the forwarded email

I have expressed it incorrectly. The saved .eml doesn't lose its body part, but some PGP signature info (but still Thunderbird shows empty body when opening it). It's when I double clicked to open the attached email, and then view the source in Thunderbird, the body part is lost.

one PGP signature part is lost

Attached patch source.emlSplinter Review

This is the source of the attached email shown by Thunderbird, and the body part is lost

Better in thunderbird 102?

Component: Untriaged → Security: OpenPGP
Keywords: dupeme
Product: Thunderbird → MailNews Core
Summary: attached digitally signed eml shows empty body after being saved → attached digitally signed .eml shows empty body after being saved

(In reply to Magnus Melin [:mkmelin] from comment #5)

Better in thunderbird 102?

Nope, I tried the latest 102, and it's the same thing.

Still Affects ESR 128.6.0 as well as the Daily 136.0a1 - when forwarding a signed mail as attachment the recipient client (thunderbird) may show it as a preview below the content of the forwarding message - but opening the whole .eml either directly from the attachment or from local storage does not show any content - just a blank space. I checked with Windows as well as with Linux.

Also it is not just the view - you can also not print the content...

Looks like when exporting the attached .eml thunderbird changes the content when being opened or saved (why!?)

It not only removes the signature part it also adds an arbitrary

Content-Type: multipart/mixed; boundary="------------ID_REDACTED"
Content-Disposition: inline

into the mix and changes the boundary information

This has just been fixed in bug 1943021.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1943021
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: