[ 
https://issues.apache.org/jira/browse/PDFBOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jack updated PDFBOX-1857:
-------------------------

    Description: 
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 this document too (with attachment)
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?


  was:
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 this document too (with attachment)
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-signed.pdf" before closing?



> 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
>            Priority: Critical
>         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 this document too (with attachment)
> 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)

Reply via email to