Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8764

Refactor UnpackContent to use Commons Compress and Zip4j

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.13.0, 1.13.1, 1.13.2
    • Fix Version/s: 1.14.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                exceptionfactory David Handermann
                Reporter:
                exceptionfactory David Handermann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h