[ 
https://issues.apache.org/jira/browse/TIKA-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935191#comment-15935191
 ] 

Hudson commented on TIKA-2300:
------------------------------

SUCCESS: Integrated in Jenkins build Tika-trunk #1224 (See 
[https://builds.apache.org/job/Tika-trunk/1224/])
TIKA-2300 include exception for streams that can't be read in pkg parser 
(tallison: 
[https://github.com/apache/tika/commit/f55b87fc5cb91a9e9ee067e3c1c68dff691d48a5])
* (add) tika-parsers/src/test/resources/test-documents/testZipEncrypted.zip
* (edit) 
tika-parsers/src/test/java/org/apache/tika/parser/pkg/ZipParserTest.java
* (edit) 
tika-parsers/src/main/java/org/apache/tika/parser/pkg/PackageParser.java


> Can't tell if a zip file is encrypted
> -------------------------------------
>
>                 Key: TIKA-2300
>                 URL: https://issues.apache.org/jira/browse/TIKA-2300
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.14
>            Reporter: Aeham Abushwashi
>            Assignee: Tim Allison
>             Fix For: 2.0, 1.15
>
>         Attachments: encrypted_file.zip, TIKA-2300.patch
>
>
> When Tika processes a zip file that is protected with a password, it will 
> return the list of file names within the zip but no indication (as an 
> exception or in metadata) that the file is encrypted. 
> From stepping through the code, I can see that the information needed to 
> determine whether the archive is encrypted is available inside 
> ZipArchiveEntry#getGeneralPurposeBit#usesEncryption, but needs to be relayed 
> back to PackageParser somehow



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to