[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13879792#comment-13879792 ]
Thomas Chojecki edited comment on PDFBOX-1822 at 1/23/14 10:38 AM: ------------------------------------------------------------------- We also have hybrid xref documents out there. Hope this will not break the existing function. I will test it today. Changing the parser to non-sequential would indeed solve all signing problems. :-) There will be no signatures, because the incremental update does not work with the non seq parser (testet it a while ago). SCNR EDIT: OK the NonSeq works for signatures *stunned*. Doesn't mentioned that this was fixed. Hybrid XRef documents still working. Thx for the patch was (Author: tchojecki): We also have hybrid xref documents out there. Hope this will not break the existing function. I will test it today. Changing the parser to non-sequential would indeed solve all signing problems. :-) There will be no signatures, because the incremental update does not work with the non seq parser (testet it a while ago). SCNR EDIT: OK the NonSeq works for signatures *stunned*. Doesn't mentioned that this was fixed. The SVN is actual down, so I can't apply your patch at the moment. > Signature byte range is Invalid > ------------------------------- > > Key: PDFBOX-1822 > URL: https://issues.apache.org/jira/browse/PDFBOX-1822 > Project: PDFBox > Issue Type: Bug > Components: Parsing, PDModel, PDModel.AcroForm, Signing > Affects Versions: 1.8.3, 1.8.4, 2.0.0 > Reporter: vakhtang koroghlishvili > Assignee: Andreas Lehmkühler > Fix For: 1.8.4, 2.0.0 > > Attachments: araxis-merge - compare two document.jpg, > damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf, unsigned_signed_fix.pdf > > > On person send me a unsigned PDF document. He wanted to sign it. When I try > to sign it (using pad box), I have some problem. > After signing adobe reader tells me "The signature byre range is invalid". > I will attach original and signed document. > I think, it is PDF box parser error. another signature libraries sign > document very well. I'm searching the problem at the moment, in order to fix > it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)