https://bugs.documentfoundation.org/show_bug.cgi?id=121133

--- Comment #69 from Mike Kaganski <[email protected]> ---
(In reply to Alexander E. Patrakov from comment #0)
> If I sign an existing PDF document in LibreOffice Draw,
> or export PDF from LibreOffice Writer

I tried to export an empty Writer file with a signature, and also I created an
empty PDF and then tried to sign it using File->Digital Signature->Sign
Existing PDF. I used versions 6.1.0.3 and 7.4.0.1 for testing.

(In reply to Alexander E. Patrakov from comment #6)
> This bug is reproducible on Arch Linux but not under Windows 10.

I was able to see the problem on Windows 10 when exporting/signing from Writer
(i.e., using PDF export dialog's Digital Signatures tab). The resulting signed
PDF shows the "1 Page(s) Modified" warning in Adobe Acrobat Reader DC, both
when generator is 6.1, and 7.4. However, PDFs from "Sign Existing PDF" produced
by both 6.1 and 7.1 do not show that warning in Acrobat Reader.

The question is: maybe we could unify the signing, to use the process of "Sign
Existing PDF", feeding the stream generated by simple export? That puts the
signature object after the initial %%EOF.

FTR: the PDF export dialog uses PDFWriterImpl::emitSignature /
PDFWriterImpl::finalizeSignature, while Sign Existing PDF uses
PDFDocument::Sign.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to