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

Signing a full scanned PDF causes "The signature byte range is invalid"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox
    • 3.0.0 PDFBox
    • Signing
    • None

    Description

      Signing with:

      • pdfbox-app-3.0.0-20210804.050614-2786.jar causes the invalid signature.
      • pdfbox-app-2.0.24.jar causes a valid signature.

      By full scanned document I mean that the document is full of images.

      The attachment "unsigned.pdf" is the first file that I couldn't sign.

      The attachment "file.pdf" is the second file that I couldn't sign also. 

      The attachment "file_signed.pdf" is the result of signing "file.pdf". With Adobe Reader you can check that the signature is invalid.

      Maybe it is related to having tables and images in the document.

       

      Attachments

        1. unsigned.part3.rar
          197 kB
          Bryan
        2. unsigned.part2.rar
          512 kB
          Bryan
        3. unsigned.part1.rar
          512 kB
          Bryan
        4. file.pdf
          382 kB
          Bryan
        5. file_signed.pdf
          405 kB
          Bryan

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              BryanV91 Bryan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: