[
https://issues.apache.org/jira/browse/NIFI-7777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203543#comment-17203543
]
David Handermann commented on NIFI-7777:
----------------------------------------
The [Stack
Overflow|https://stackoverflow.com/questions/63670334/how-to-unzip-password-protected-zip-files-with-apache-nifi]
question mentions handling password-protected Zip files, which would appear to
apply to the UnpackContent processor as opposed to the CompressContent
processor. UnpackContent currently depends on [Apache Commons
Compress|https://commons.apache.org/proper/commons-compress/zip.html] which
does not support encryption. The [Zip4j|http://www.lingala.net/zip4j.html]
library supports encryption with AES or Zip Standard methods, and is also
licensed under the Apache 2.0 License, so it looks like a potential candidate
for implementing this feature in the UnpackContent processor.
> CompressContent should accept password
> --------------------------------------
>
> Key: NIFI-7777
> URL: https://issues.apache.org/jira/browse/NIFI-7777
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.12.0
> Reporter: Andy LoPresto
> Priority: Major
> Labels: archive, compress, password, security
>
> As reported in a Stack Overflow question, some archive files are (or need to
> be) password-protected. The {{CompressContent}} processor does not currently
> have any mechanism for specifying a password for compression/decompression.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)