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

Newly added MDP functionality breaks PDFs <1.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5, 2.0.6
    • 2.0.7, 3.0.0 PDFBox
    • Signing
    • None

    Description

      Changes introduced in PDFBOX-3017, PDFBOX-3699 broke the signing functionality.
      A perfectly valid PDF (in 2.0.4) doesn't pass the acrobat preflight test now:

      "Incorrect value type for this key" and "general file format error"
      "The required key /TransformMethod is missing" and "An unexpected value is associated with the key."

      More details see the attached screenshot. I executed the "CreateVisibleSignature.java" code. And if the lines are commented the error is gone.

      Attachments

        1. Preflight2.png
          37 kB
          Lonzak
        2. PDFA_signed.pdf
          57 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tom_1st Lonzak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: