8000 Error -3 when extracting with AES256 · Issue #348 · zlib-ng/minizip-ng · GitHub
[go: up one dir, main page]

Skip to content

Error -3 when extracting with AES256 #348

Closed

Description

@tamasszarka

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

password: lorem
settings used:
settings

Any help is greatly appreciated.

Activity

  1. nmoinvaz commented on Nov 24, 2018

    @nmoinvaz
    Member

    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.

  2. tamasszarka commented on Nov 24, 2018

    @tamasszarka
    ContributorAuthor

    Thanks for the quick feedback. I confirm it works with USE_BRG=ON.

  3. nmoinvaz commented on Nov 25, 2018

    @nmoinvaz
    Member

    It should be fixed now in the dev branch. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    encryptionEncryption/decryption issuefixedIssue or bug has been fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0