lukas-kubik / winzipaes

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

zipexception "expected endsic not found" #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to use AesZipFileDecrypter and pass in a corrupted file.
The error message is "zipexception: expected endsic not found"

at de.idyl.crypto.zip.aeszipfiledecrypter.initdiroffsetposandcomment

This also caused the file to be unable to delete, seems like it's locked 
somewhere.

this line is causing the error above

AesZipFileDecrypter zipFile= new AesZipFileDecrypter(filetoprocess)
where filetoprocess is the path to a corrupted zip file.

Original issue reported on code.google.com by limkwee...@gmail.com on 20 May 2013 at 2:55

GoogleCodeExporter commented 9 years ago
i also tested the zip file "Test_ENDSIG.zip" located in the trunk folder and i 
also have the above error. Help is greatly appreciated. thanks.

Original comment by limkwee...@gmail.com on 20 May 2013 at 4:11

GoogleCodeExporter commented 9 years ago
Please provide some more information: Are you able to execute the test cases, 
especially "testZipFileWithComment().testZipFileWithComment()"?

Original comment by olaf.merkert on 20 May 2013 at 10:21

GoogleCodeExporter commented 9 years ago
Hi olaf,

I have tried to execute the test case, testZipFileWithComment() and the error 
is "java.util.zip.zipException: expected ENDSIC not found (marks the beginning 
of the central directory at the end of the zip file"

Help is greatly appreciated.

Original comment by limkwee...@gmail.com on 27 May 2013 at 6:03