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

Preflight 2.0.0 doesn't properly identify PDFs with encryption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Preflight
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: