You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Marco Monacelli (JIRA)" <ji...@apache.org> on 2017/02/21 17:02:44 UTC

[jira] [Created] (PDFBOX-3699) Regression on signature with certification flag.

Marco Monacelli created PDFBOX-3699:
---------------------------------------

             Summary: 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.4, 2.0.3, 2.0.2
            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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org