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

Preflight 2.0.0 doesn't properly identify PDFs with encryption

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Preflight
    • Labels:
      None
    • Environment:
      Windows 7

      Description

      For PDFs that contain encryption, Preflight 2.0.0 now returns the following error code/message:

      1.0 : Syntax error

      Here's an example file:

      https://github.com/openplanets/format-corpus/raw/master/pdfCabinetOfHorrors/encryption_nocopy.pdf

      Previous versions would give more specific info in such cases (e.g. 1.4.2 / Trailer Syntax error, The trailer dictionary contains Encrypt).

      The other 'encyption_' files below show the same behavior:

      https://github.com/openplanets/format-corpus/tree/master/pdfCabinetOfHorrors

        Attachments

          Activity

            People

            • Assignee:
              leleueri Eric Leleu
              Reporter:
              johanvanderknijff Johan van der Knijff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: