kamchany / winzipaes

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

ZipException while decrypting #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Unable to reproduce consistently.

What is the expected output? What do you see instead?
The encrypted zip file is extracted correctly, but an exception is thrown at 
the end:

ZipException "expected ENDSIC not found (marks the beginning of the central 
directory at end of the zip file)"

What version of the product are you using? On what operating system?
Latest version as of oct 20 2011 on Windows and Linux.

Original issue reported on code.google.com by s...@keymind.no on 21 Oct 2011 at 6:53

GoogleCodeExporter commented 9 years ago
Note that the error only seem to occur for zip files that are at least a few 
megabytes large.

Original comment by s...@keymind.no on 21 Oct 2011 at 7:36

GoogleCodeExporter commented 9 years ago
Please provide some details on the problem:
- Was the encrypted zipfile created with this library?
- Was the decryption performed with this library?

Our best chance to solve the problem is a sample file.

Original comment by olaf.merkert on 23 Oct 2011 at 10:29

GoogleCodeExporter commented 9 years ago
Yes to both questions. I don't have a sample file I can attach.

Original comment by s...@keymind.no on 23 Oct 2011 at 11:18

GoogleCodeExporter commented 9 years ago
I've added a testcase with a jpg file of more than 5MB. "Unfortunately", I 
don't encounter an error. Can you compare your code with the testcase? Do you 
encrypt text or binary data?

Original comment by olaf.merkert on 26 Oct 2011 at 5:27

GoogleCodeExporter commented 9 years ago
Text and binary mix; the code is comparable. Does the library do CRC32 handling 
properly? The files could somehow have become corrupted (either by winzipaes, 
or due to problems during file copy, etc), in which case the crc check 
should've kicked in.

Original comment by s...@keymind.no on 26 Oct 2011 at 9:51

GoogleCodeExporter commented 9 years ago
As there's no example file available and I was not able to reproduce the 
problem, I take the liberty to "invalidate" this issue.

Original comment by olaf.merkert on 8 Dec 2011 at 5:17