View Issue Details

IDProjectCategoryView StatusLast Update
0000275fileGeneralpublic2021-07-30 11:47
Reporterpwinckles Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.39 
Fixed in Version5.41 
Summary0000275: PDFs with /Filter/FlateDecode streams are incorrectly marked as "password protected"
DescriptionThis commit[1] introduces a change that appears to label PDFs containing /Filter/FlateDecode streams as "password protected". I'm no PDF expert, but this designation seems incorrect as it just indicates that the stream is compressed. It may or may not be encrypted.


[1] https://github.com/file/file/commit/629972a91e05fcad8a1b5d906344838539b5f7ab#diff-1d80c89187edc2a2fab5b3ef59fadc199e03d7c8319e7e41e2bd1f329c00fee7
Steps To Reproduce1. Download the following example PDF: https://github.com/harvard-lts/fits/blob/dev/testfiles/PDF_embedded_resources.pdf
2. Execute: file PDF_embedded_resources.pdf
3. See the following output, even though the file is not password protected: PDF_embedded_resources.pdf: PDF document, version 1.6 (password protected)
TagsNo tags attached.

Activities

christos

2021-07-30 11:47

manager   ~0003631

Fixed, thanks!

Issue History

Date Modified Username Field Change
2021-07-19 13:50 pwinckles New Issue
2021-07-30 11:43 christos Assigned To => christos
2021-07-30 11:43 christos Status new => assigned
2021-07-30 11:47 christos Status assigned => resolved
2021-07-30 11:47 christos Resolution open => fixed
2021-07-30 11:47 christos Fixed in Version => 5.41
2021-07-30 11:47 christos Note Added: 0003631