[ https://issues.apache.org/jira/browse/PDFBOX-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876458#comment-15876458 ]
Tilman Hausherr commented on PDFBOX-3699: ----------------------------------------- Could you attach the result of signing original_file.pdf with another product where the result is ok? This may help finding what's wrong. One problem is that the /Acroform/DR entry is modified. I made a comment about that in the past but can't find it. I remove that part in the code but there is another problem which I haven't found yet. > Regression on signature with certification flag. > ------------------------------------------------ > > Key: PDFBOX-3699 > URL: https://issues.apache.org/jira/browse/PDFBOX-3699 > Project: PDFBox > Issue Type: Bug > Components: Signing > Affects Versions: 2.0.2, 2.0.3, 2.0.4 > Reporter: Marco Monacelli > Priority: Blocker > Attachments: original_file.pdf, > signed_2.0.0_ok_previus_signature_but_invisible.pdf, > signed_2.0.4_previus_signature_ko_but_signature_visible.pdf > > > Hello, > I got some problems signing a certified pdf with a signature with apparence: > after the signature is applied the previous certification is reported as > corrupted by Acrobat Reader. If I apply an invisible signature the issue > doesn't happen. > I have done a regression analysis using the same code > - with pdfbox 2.0.0 and 2.0.1, the signature is not shown on the document but > the certification is still valid > - with earlier versions, the signature is shown on the document but the > certification is broken > The sample certified pdf (original_file.pdf) is in attachment. > Finally this problem could be related to these tickets: > 1- https://issues.apache.org/jira/browse/PDFBOX-2816 (PDFBox makes disallowed > changes when signing a signed document) > 2- https://issues.apache.org/jira/browse/PDFBOX-45 (Support incremental save) > I tested my code with the test case file in 1 (acrosigned.pdf), and it works > well. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org