[
https://issues.apache.org/jira/browse/PDFBOX-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809362#comment-13809362
]
Johan van der Knijff commented on PDFBOX-1659:
----------------------------------------------
I think this issue can be closed, because the solution of PDFBOX-1674 fixes
this:
https://issues.apache.org/jira/browse/PDFBOX-1674
(And behaviour with files in bug report is now correct as well).
> 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 was sent by Atlassian JIRA
(v6.1#6144)