zip4j
zip4j copied to clipboard
Zip4J Regression Failure v2.7.0+ | Unzip Crypted Files Created with ZLIB
Hello community,
Recently, I noticed a regression failure when unzipping encrypted files which were created by the C++ zlib library. The failure occurred after updating from version 2.6.4 to 2.7.0 (up to latest 2.11.5)
In such cases the following Exception is thrown:
net.lingala.zip4j.exception.ZipException: Wrong password!
at net.lingala.zip4j.crypto.StandardDecrypter.init(StandardDecrypter.java:63)
at net.lingala.zip4j.crypto.StandardDecrypter.<init>(StandardDecrypter.java:32)
at net.lingala.zip4j.io.inputstream.ZipStandardCipherInputStream.initializeDecrypter
...
It would be great, if we could find any solution (maybe introducing an ZLIB-Compatiblity-Option in your API?)