Encrypted PDF - Attachments not readable - Secure Reply Webform - Attachment iframe broken

Hi all,
I was able to send an encrypted PDF to an external recipient.

In the settings i activated OTP, Reply and auto invite.
Login, and code generation worked.
The document could be decrypted/opened and the text and email header is shown as expected.

But if I attach files (so far tried with pdf, txt, zip) the attachment can not be received from the encrypted PDF.
It seems the attachment function has a bug.

In the attachment line inside the PDF it shows the following:
Attachments: attachment.bin; FilenameOfAttachment.txt; attachment.bin;
The file is not linked to anything, it is text only.

When i hit the reply button in the PDF, the Portal page opens up and i can login.
The Webform loads fine, but there is no content shown in the iframe used for attachments.
The pdf-reply-attachments-frame iframe only has an empty #document <html><head></head><body></body></html> element inside.

I am using 5.1.4.0g64f23292
I also tried 5.1.3.0g21575dc87
Centos Stream, Debian 10, Ubuntu 20.04
The issue remains the same.

I use systemd enabled docker images.
The installation worked seamless for all above mentioned systems.

I hope anyone can help.
Best regards,
Sascha

But if I attach files (so far tried with pdf, txt, zip) the
attachment can not be received from the encrypted PDF.
It seems the attachment function has a bug.

In the attachment line inside the PDF it shows the following:
Attachments: attachment.bin; FilenameOfAttachment.txt;
attachment.bin;
The file is not linked to anything, it is text only.

The text only says that there are attachments and are not clickable.
You need to look at the attachment pane of the PDF viewer to see the
attachments. Not every PDF viewer supports showing attachments. Which
PDF reader did you try?

When i hit the reply button in the PDF, the Portal page opens up and
i can login.
The Webform loads fine, but there is no content shown in the iframe
used for attachments.
The pdf-reply-attachments-frame iframe only has an empty #document
<html><head></head><body></body></html> element inside.

That's weird. Which browser did you try?

Kind regards,

Martijn Brinkers

Hi Martijn,

Thank you very much for the reply. Appreciate it!

After your question I tried different browsers and got the hint in one iframe error message, that my server refused the connection.

I searched the web and found out that it was the default value of the X-Frame-Option header defaulting to „deny“. That prevents loading content from the server into the iframe.

I added the option on my haproxy frontend configuration with value: „sameorigin“ and the iframe is loading now.

For part 2, I tried: MacOS Preview, Adobe DC Reader (Mac and Win), and PDF Reader from Apple App Store so far.

All with the same results.

Best regards, Sascha

Hi Martijn,
I finally found the attachments in the „attachments pane“! I am feeling stupid.

I was so fixated on the text and in combination with the missing attachments iframe I was searching at the wrong places.

So your application works like it should!
Thank you very much for your time!

Best regards,
Sascha