https://bugs.documentfoundation.org/show_bug.cgi?id=158188
Bug ID: 158188
Summary: Trying to sign a PDF destroys the file
Product: LibreOffice
Version: 7.4.7.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: [email protected]
Reporter: [email protected]
Created attachment 190799
--> https://bugs.documentfoundation.org/attachment.cgi?id=190799&action=edit
Original "unsigned.pdf" and "destroyed.pdf" as a result of the signing attempt.
In the past, I have used LibreOffice Draw to easily digitally sign PDFs
(X.509).
With the last update this function is broken. The Digital Signatures window
does not close as usual, and the signed PDF is no longer automatically loaded
to verify the signature. If you close the window and then the PDF manually and
then try to open it again, the error message "This PDF file is encrypted and
can't be opened." is shown.
This doesn't seem to be the full truth, as pdfinfo says:
$ pdfinfo destroyed.pdf
Syntax Error: Invalid object stream
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Catalog object is wrong type (null)
Syntax Error: Couldn't find trailer dictionary
Internal Error: xref num -1 not found but needed, try to reconstruct<0a>
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Catalog object is wrong type (null)
Syntax Error: Couldn't read page catalog
Attachment:
- "unsigned.pdf": Original file
- "destroyed.pdf": destroyed copy after the signing (attempt).
--
You are receiving this mail because:
You are the assignee for the bug.