Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-98

Handle AES encryption gracefully

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently, attempts to read an AES encrypted zip file results in "invalid compression method". This different form of compression for whatever reason went with a compression type identifier to indicate its use.

      Problem is when I get this error, the library doesn't tell me what compression method it tried to use - having a specific subclass of IOException that I can interrogate for the compression method it couldn't find would be very useful.

      This is important to us because we value accuracy, and marking encrypted entries as unsupported is a change in semantics for our application.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trejkaz Trejkaz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: