You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with the following code I am able to produce an IOExceoption "Reached end of data for this entry, but aes verification failed" when the CompressionMethod.STORE is used. This exception does not occurs when using CompressionMethod.DEFLATE. I used Zip4j in Version 2.6.1, 2.6.4 and 2.8.0.
Exception in thread "main" java.io.IOException: Reached end of data for this entry, but aes verification failed
at net.lingala.zip4j.io.inputstream.AesCipherInputStream.verifyContent(AesCipherInputStream.java:140)
at net.lingala.zip4j.io.inputstream.AesCipherInputStream.endOfEntryReached(AesCipherInputStream.java:121)
at net.lingala.zip4j.io.inputstream.DecompressedInputStream.endOfEntryReached(DecompressedInputStream.java:43)
at net.lingala.zip4j.io.inputstream.ZipInputStream.endOfCompressedDataReached(ZipInputStream.java:205)
at net.lingala.zip4j.io.inputstream.ZipInputStream.read(ZipInputStream.java:159)
at net.lingala.zip4j.io.inputstream.ZipInputStream.read(ZipInputStream.java:132)
at com.example.MainCompact.unpackWithStream(MainCompact.java:58)
at com.example.MainCompact.main(MainCompact.java:27)
Extracting the generated zip file "out.zip" with 7-Zip or using the following method works fine:
@hotzen I have to make a release for the fix to be released. There are a couple of failing tests after the fix which I need to look into. I will release a version with this fix once I look into it and they are fixed.
Hi,
with the following code I am able to produce an IOExceoption "Reached end of data for this entry, but aes verification failed" when the CompressionMethod.STORE is used. This exception does not occurs when using CompressionMethod.DEFLATE. I used Zip4j in Version 2.6.1, 2.6.4 and 2.8.0.
Exception:
Extracting the generated zip file "out.zip" with 7-Zip or using the following method works fine:
The text was updated successfully, but these errors were encountered: