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
Hi Nathan,
I'm trying to use minizip 2.7.5 to extract a password-protected zip with WinZip AES256.
I tried multiple archives, one generated with .NET Ionic.Zip and another with 7-zip for Windows.
I'm experimenting with the command line minizip.exe app provided, but get the same error for both type of files:
d:\minizip\minizip-2.7.5\Debug>minizip.exe -x -d "d:\minizip\test\extract" -s -p lorem "d:\minizip\test\test.zip"
Minizip 2.7.5 - https://github.com/nmoinvaz/minizip
---------------------------------------------------
Archive d:\minizip\test\test.zip
Extracting dir1/
Extracting dir1/x.txt
Error -3 saving zip entries to disk d:\Rhino\minizip\test\test.zip
I'm on Windows, using VS 2015 toolset and building x64. I debugged it all the way down to zlib/inflate.c, on the minizip level everything seems reasonable until then.
Here is the file I used, this was created with 7-zip with the below settings: test.zip
Appears to be an Windows-only issue, maybe something with the crypto library. I'll take a look at it sometime this weekend. Thanks for reporting it. If you set USE_BRG=ON it should work.
Activity
nmoinvaz commentedon Nov 24, 2018
Appears to be an Windows-only issue, maybe something with the crypto library. I'll take a look at it sometime this weekend. Thanks for reporting it. If you set
USE_BRG=ONit should work.tamasszarka commentedon Nov 24, 2018
Thanks for the quick feedback. I confirm it works with
USE_BRG=ON.nmoinvaz commentedon Nov 25, 2018
It should be fixed now in the
devbranch. Thanks!