-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong password extracting zip file inside a zip file #87
Comments
Before I try your example, I want to clarify if there is a typo in your code or in the issue mentioned here. In your issue you say that the password is |
Yes, my bad sorry. I set the 1234 password here
|
I was able to reproduce your issue. However, I have created a new zip file (from some other files) on my machine with similar scenario (zip inside an encrypted zip), and I was able to extract it fine with your code. Seems like this issue has something to do with this zip file or the way it was generated. |
I will investigate and update this thread. |
I made a fix and released a snapshot version If you are unable to get the snapshot from maven, use the below in your pom in
|
Can you give me the .jar file? |
You can download it from here. Sometimes the page loads a while to load. |
Fixed in v2.2.3 released today |
Hi.
I'm trying to extract a zip file (1234.zip - Password:1234) inside another zip file (123.zip, Password:1234), without extracting the first.
On myInputStreamFirmwarePackage.getNextEntry()
and after like 6 files done correctly it crashes with error: "Wrong password...".
Here's the zip file
123.zip
This is my code:
Error is:
Those files are just a example. I'm doing it with bigger files and the error a bit diferent but the error type is still ZipException.Type.WRONG_PASSWORD:
The text was updated successfully, but these errors were encountered: