Johan van der Knijff created PDFBOX-1659:
--------------------------------------------

             Summary: Preflight 2.0.0 doesn't properly identify PDFs with 
encryption
                 Key: PDFBOX-1659
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1659
             Project: PDFBox
          Issue Type: Bug
          Components: Preflight
    Affects Versions: 2.0.0
         Environment: Windows 7
            Reporter: Johan van der Knijff
            Priority: Minor
             Fix For: 2.0.0


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



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to