[Poppler-bugs] [Bug 99416] Sign PDF with digital signature

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 6 23:23:26 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99416

--- Comment #25 from Adrian Johnson <ajohnson at redneon.com> ---
Created attachment 134030
  --> https://bugs.freedesktop.org/attachment.cgi?id=134030&action=edit
write document then update byte offsets and sig on disk

This updates to signing to work the way I requested. ie
- write the PDF to disk with space reserved in the ByteOffsets
- read the PDF back into a new PDFDoc
- get the offset of the signature object from the XRef
- update the byte offsets on disk
- compute the hash from the disk data and update the signature on disk

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170906/f48ca6f7/attachment.html>


More information about the Poppler-bugs mailing list