msroid / winzipaes

Automatically exported from code.google.com/p/winzipaes
0 stars 0 forks source link

Issues for extracting password protected & AES encrypted zip file #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. WinZip to zip more than one files with password protected & AES-256 
encryption
2. Unzip the file with AesZipFileDecrypter, exception was thrown "CENSIC 
not found at entry no 2 in central directory at end of zip file"

Winsipaes version: latest source code.

After I read the specification and analyzed the source code, there are 
some difference between standard java.util.zip and specification version 
6.3.2. the actual extra field length is 36 bytes instead of 11 bytes.

AesZipFileDecrypter can be modified to meet the specification, read the 
actual length from zip, don't use java.util.zip's extra field length.

Frank

Original issue reported on code.google.com by frank.mqu@gmail.com on 29 May 2009 at 6:02

GoogleCodeExporter commented 9 years ago
confirmed + fixed + tested (with 1 zip containing 2 files, testcase checked in, 
too)
- thank you for your input

Original comment by olaf.merkert on 31 May 2009 at 5:33

GoogleCodeExporter commented 9 years ago
did you try anything to fix it?

Original comment by ASWE...@gmail.com on 5 Oct 2013 at 3:49