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

Newly added MDP functionality breaks PDFs <1.5

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.0.6
    • Fix Version/s: 2.0.7, 3.0.0 PDFBox
    • Component/s: Signing
    • Labels:
      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

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tom_1st Lonzak
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: