[
https://issues.apache.org/jira/browse/NIFI-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17378190#comment-17378190
]
ASF subversion and git services commented on NIFI-8764:
-------------------------------------------------------
Commit 75de68e013ca0becb9c0b3cf2503e4e1ea39d951 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=75de68e ]
NIFI-8764 Refactored UnpackContent to use both Commons Compress and Zip4j
- UnpackContent uses Zip4j when configured with a password property
- UnpackContent uses Commons Compress when a password is not specified
NIFI-8764 Updated Password property description mentioning disabled algorithms
NIFI-8764 Adjusted Password property description
Signed-off-by: Matthew Burgess <[email protected]>
This closes #5201
> Refactor UnpackContent to use Commons Compress and Zip4j
> --------------------------------------------------------
>
> Key: NIFI-8764
> URL: https://issues.apache.org/jira/browse/NIFI-8764
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.13.0, 1.13.1, 1.13.2
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Fix For: 1.15.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Updating the {{UnpackContent}} processor to support optional decryption of
> password-protected Zip files changed the implementation library from Apache
> Commons Compress to Zip4j. Although Zip4j supports most standard Zip
> operations, it does not currently support certain alternative compression
> algorithms, such as bzip2. Apache Commons Compress does not support
> decryption of password-protected Zip files.
> In order to support the widest range of available Zip formats,
> {{UnpackContent}} should default to using Apache Commons Compress for Zip
> files, and use Zip4j when the processor is configured with the Password
> property.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)