8000 Can't unzip AppleCrypto protected files with classic unzip tools · Issue #398 · zlib-ng/minizip-ng · GitHub
[go: up one dir, main page]

Skip to content

Can't unzip AppleCrypto protected files with classic unzip tools #398

Closed

Description

@Coeur

Using ZipArchive based on minizip 2.8.7 with AppleCrypto, I made this AES password protected file (password is "got"):
v2.zip

But it can't be unzip by popular tools like:

Activity

  1. Coeur commented on May 21, 2019

    @Coeur
    CollaboratorAuthor

    Here is a pure minizip scenario:

    $ cmake . -DMZ_BUILD_TEST=ON -DMZ_BZIP2=OFF -DMZ_LZMA=OFF -DMZ_BRG=OFF
    $ cmake --build .
    $ ./minizip -p pwd zip_apple.zip README.md 
    $ rm README.md 
    $ cmake . -DMZ_BUILD_TEST=ON -DMZ_BZIP2=OFF -DMZ_LZMA=OFF -DMZ_BRG=ON
    $ cmake --build .
    $ ./minizip -x -p pwd zip_apple.zip
    Minizip 2.8.7 - https://github.com/nmoinvaz/minizip
    ---------------------------------------------------
    -x -p *** zip_apple.zip 
    Archive zip_apple.zip
    Extracting README.md
    Error -3 saving entries to disk zip_apple.zip
    Error -105 closing archive for reading
    
  2. nmoinvaz commented on May 21, 2019

    @nmoinvaz
    Member

    That should fix it. Let me know if you have problems.

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