Closed GoogleCodeExporter closed 9 years ago
added the makeDir() as proposed
Original comment by olaf.merkert
on 10 Feb 2009 at 7:09
Hello Olaf
I tried to use your code in a private project. So far I am very happy with it,
congratulations!
I use the library to extract files from an encrypted zip file (encrypted by
winzip)
but when there are more than one file in it and in a subfolder as described
above I
get the following exception:
Exception in thread "main" java.util.zip.ZipException: extra field is of length
0 -
this is probably not a WinZip AES encrypted entry
at
de.idyl.crypto.zip.impl.CentralDirectoryEntry.initFromRaFile(CentralDirectoryEnt
ry.java:109)
at de.idyl.crypto.zip.impl.CentralDirectoryEntry.<init>(CentralDirectoryEntry.java:72)
at de.idyl.crypto.zip.AesZipFileDecrypter.getEntryList(AesZipFileDecrypter.java:96)
I hope that this project is still active and looking forward to getting your
response.
Best regards
Christian
Original comment by christia...@gmail.com
on 4 Mar 2010 at 8:00
[deleted comment]
Hi Chris,
can you add the zip file you used? Are you sure, that its AES encrypted?
Cheers,
Olaf
Original comment by olaf.merkert
on 4 Mar 2010 at 6:01
sorry, sorry - as I mentioned in the project's brief description: it started
out as a
creator for aes encrypted zip files and only upon public demand now supports the
decryption as well - but unfortunately less quality assured as the encryption -
the
problem was, that: a) directories are zip file entries as well and b) I added
some
plausibility checks to make sure the zip entries are read from the right place
within
the file - in the latter part, the directories (and non-encrypted files) were
not
handled correctly - added some testcases to verfy the corrections
Original comment by olaf.merkert
on 21 Mar 2010 at 7:49
Original issue reported on code.google.com by
ielis...@gmail.com
on 26 Jan 2009 at 6:53