WebClients icon indicating copy to clipboard operation
WebClients copied to clipboard

Inline image support in ProtonMail with regard to other PGP softwares

Open nguyenkims opened this issue 4 years ago • 10 comments

Hi

It seems that ProtonMail web ui doesn't handle inline image in PGP encrypted email sent by other PGP softwares. When an email is embedded inline, I also need to refresh the web page in order for the image to be shown as an attachment.

2021-09-15 at 17 41

This is how the email looks like in other PGP softwares 2021-09-15 at 17 43

I've done some tests and:

  • The inline image problem doesn't happen with unencrypted email.
  • Inline images created by ProtonMail composer seem to be correctly handled by other PGP softwares.
  • Inline images created by ProtonMail composer works well when emails are between ProtonMail accounts

I have tested with the following PGP softwares:

  • GPGTools
  • Thunderbird
  • Canary Mail
  • FlowCrypt

As this is rather a software bug and not related to my account, I create a GitHub issue instead of using the "reporting bug" inside ProtonMail web app.

Please complete the following checklist (by adding [x]):

  • [X ] I have searched open and closed issues for duplicates
  • [ X] This isn't a feature request
  • [ X] This is not a report about my app not working as expected

nguyenkims avatar Sep 15 '21 15:09 nguyenkims

Thanks for reporting. It's indeed a regression on our side. We will fix it in the upcoming updates.

Swiip avatar Sep 16 '21 12:09 Swiip

@Swiip thanks! Do you know when the update will be released?

nguyenkims avatar Sep 16 '21 14:09 nguyenkims

@Swiip JFYI: I made the same observations as @nguyenkims. In addition: it also affects attachments using inline-PGP or PGP/MIME methods for encryption. And so it seems not to be an "exclusive" inline-pgp bug.

nox-x avatar Oct 11 '21 16:10 nox-x

Attachments do not show if the email and attachment was encrypted using PGP externally (simplelogin). If I turn the encryption off, then resend the email, all the attachments show.

purple-emily avatar Nov 18 '21 16:11 purple-emily

Attachments do not show if the email and attachment was encrypted using PGP externally (simplelogin). If I turn the encryption off, then resend the email, all the attachments show.

Is this issue already fixed?

Wilco-One avatar Nov 30 '21 21:11 Wilco-One

@Swiip hey do you know if this issue is already fixed?

nguyenkims avatar Apr 19 '22 07:04 nguyenkims

Still having this issue, no attachments show when sent via SimpleLogin with PGP enabled.

ESMP avatar May 27 '22 00:05 ESMP

Hey, I'm very sorry to not monitor GitHub much. The fix I was referring before is out for a long time now (oct 2021). This issue should be fixed.

And indeed, testing today, receiving a pgp email with embedded images seems ok to us. We also have tested through Simple Login without any issues.

@ESMP If you still experience issue can you try sending one example of failing email to me or exporting one in .eml and send it to me?

Swiip avatar May 27 '22 15:05 Swiip

Hi @Swiip ! Thank you for your quick reply. It's very strange in fact. If I export the email as .eml or open it using MailMate via ProtonMail Bridge, the attachment does show and I can download it. However, when using the web or iOS clients, the email appears to be text only and there appears to be no attachment. Which puts my mind at ease because I thought the attachments were lost.

ESMP avatar May 27 '22 15:05 ESMP

Your mail looks in a very specific format. PGP emails are pure text and attachments are inlined in the mail body. Yet it should be detected by our clients. There is something definitely odd.

If you have any way to send that kind of message to me, I should be able to know more.

Swiip avatar May 30 '22 06:05 Swiip