[
https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559343#comment-14559343
]
Petras edited comment on PDFBOX-1822 at 5/26/15 4:48 PM:
---------------------------------------------------------
Yes. When PDF is saved (using {{PDDocument#save()}}) in step 2, I get malformed
PDF with xref stream dictionary merged into trailer. When in step 3 I try to
sign it, I get signature error.
If I sign the first PDF without intermediate save, OK.
And unfortunately, I have to use 1.8x.
was (Author: abyss):
Yes. When PDF is saved in step 2, I get malformed PDF with xref stream
dictionary merged into trailer. When in step 3 I try to sign it, I get
signature error.
> Signature byte range is Invalid
> -------------------------------
>
> Key: PDFBOX-1822
> URL: https://issues.apache.org/jira/browse/PDFBOX-1822
> Project: PDFBox
> Issue Type: Bug
> Components: Signing
> Affects Versions: 1.8.3, 1.8.4, 2.0.0
> Reporter: vakhtang koroghlishvili
> Assignee: Andreas Lehmkühler
> Priority: Blocker
> Fix For: 2.0.0
>
> Attachments:
> SignatureFileSet-PDFBOX-1.8.2_TO_1.8.4-SNAPSHOT_SEQ_AND_NONSEQ.zip,
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]