Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3420

Can't sign pdf with a particular attachment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.12
    • 1.8.13
    • Signing
    • None

    Description

      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.

      Attachments

        1. helloworld-attached-fail-1.8.12.pdf
          327 kB
          Daniel Zsigus
        2. helloworld-attached-2.0.2.pdf
          327 kB
          Daniel Zsigus
        3. helloworld-attached-1.8.13.pdf
          327 kB
          Daniel Zsigus
        4. 12_Cegkivonat_BOXPRINT.pdf
          66 kB
          Daniel Zsigus

        Activity

          People

            tilman Tilman Hausherr
            zsigusd Daniel Zsigus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: