[
https://issues.apache.org/jira/browse/PDFBOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878483#comment-13878483
]
jack commented on PDFBOX-1857:
------------------------------
The main problem is the broken signature, but this problem is not solved yet. I
attach documents too.
1) attach file to original document
2) try to sign document
result:
Signature byte range is invalid.
> Attachment damages singature
> ----------------------------
>
> Key: PDFBOX-1857
> URL: https://issues.apache.org/jira/browse/PDFBOX-1857
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing, PDFReader, Signing, Utilities, Writing
> Affects Versions: 1.8.3, 1.8.4, 2.0.0
> Reporter: jack
> Assignee: Thomas Chojecki
> Priority: Blocker
> Attachments: attach.txt, original.pdf, original[signed].pdf,
> original[with-attachment].pdf, original[with-attachment][signed].pdf
>
>
> I have PDF document.
> 1) Adobe reader reads document well.
> 2) I sign document (using pdfbox-examples) and everything is well
> 3) Then I try to attach file to original PDF (Code is written in the pdfbox
> web page - in the cookBook).
> 4) Adobe reader reads attached document well. everything is well.
> 5) Now I have document with attachment.
> 6) I try to sign that document (I mean document with attachment). And I have
> 2 problem:
> First:
> when I open document, Adobe reader tells me that signature byte range is
> invalid.
> Second:
> when I try to close document (I mean to close adobe reader), Adobe reader
> tells me that:
> Do you want to save changes to "original[with-attachment][signed]" before
> closing?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)