[Bug 220654] Re: unzip will not open 256 AES zip files

psl 220654 at bugs.launchpad.net
Wed Jul 14 23:38:29 UTC 2021


Ubuntu 18.04.4 (Linux Mint 19.3)
unzip 6.0-21ubuntu1.1

This issue was not fixed yet. :-(


This encrypted zip archive cannot be decompressed with unzip in Linux:

$ unzip -lv invoices.zip 
Archive:  invoices.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
  364368  Unk:099  297349  18% 2021-07-14 11:43 a42572b4  04.pdf
  386845  Unk:099  323610  16% 2021-07-14 11:42 22c01737  01.pdf
  444152  Unk:099  366972  17% 2021-07-14 11:42 9af8d121  02.pdf
  349956  Unk:099  285237  19% 2021-07-14 11:43 a3a16517  03.pdf
--------          -------  ---                            -------
 1545321          1273168  18%                            4 files

$ unzip invoices.zip 
Archive:  invoices.zip
   skipping: 04.pdf                  unsupported compression method 99
   skipping: 01.pdf                  unsupported compression method 99
   skipping: 02.pdf                  unsupported compression method 99
   skipping: 03.pdf                  unsupported compression method 99

I used 7z (7z x invices.zip) and I was able to extract data from
archive.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/220654

Title:
  unzip will not open 256 AES zip files

Status in unzip package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: file-roller

  Winzip and many other zip programs can now produce zip files that are
  protected by 256 AES encryption.  Unzip in ubuntu cannot handle these
  zips. The files within the zips are shown fine but when you try and
  extract the following error occurs:

  skipping: Test.txt                unsupported compression method 99

  I believe this is because "unzip" is used to extract the archive. This is the output from "unzip":
  dbrewer at HCC122J:~/Desktop$ unzip Test.zip
  Archive:  Test.zip
     skipping: Test.txt                unsupported compression method 99

  If "7z" is used it works fine:
  dbrewer at HCC122J:~/Desktop$ 7z x Test.zip

  7-Zip 4.51 beta  Copyright (c) 1999-2007 Igor Pavlov  2007-07-25
  p7zip Version 4.51 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

  Processing archive: Test.zip

  Extracting  Test.txt
  Enter password (will not be echoed) :

  Everything is Ok

  I attach an example of this kind of file.  The password is "monkey"
  (no quotes).

  Note peazip also can handle this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/220654/+subscriptions




More information about the foundations-bugs mailing list