You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Aeham Abushwashi (JIRA)" <ji...@apache.org> on 2017/03/15 11:13:41 UTC
[jira] [Created] (TIKA-2300) Can't tell if a zip file is encrypted
Aeham Abushwashi created TIKA-2300:
--------------------------------------
Summary: 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
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)