You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Daniel Zsigus (JIRA)" <ji...@apache.org> on 2016/07/13 12:46:20 UTC

[jira] [Created] (PDFBOX-3420) Can't sign pdf with a particular attachment

Daniel Zsigus created PDFBOX-3420:
-------------------------------------

             Summary: Can't sign pdf with a particular attachment
                 Key: PDFBOX-3420
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3420
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 1.8.12
            Reporter: Daniel Zsigus


We have a few problematic PDF files which the Adobe Reader opens without any error but when we attach them with PDFBox 1.8.12 to any other PDF and try to sign the file with the attachment, it throws an exception and the signing fails.
The thrown exception is:
org.apache.pdfbox.exceptions.SignatureException: The PDF file has no pages

If we use PDFBox 2.0.2 to attach, the signing succeeds.

Unfortunately we cannot publish the PDFs, they have confidential informations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org