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

Handle AES encryption gracefully

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: