Skip to content

Password-protected archives can't be extracted #523

@Grivus

Description

@Grivus

Hi!
Currently, I'm unable to create a password-protected archive that could be extracted by 7-Zip or WinZip.
I've tried many times using code (master branch), but now I've tried the commandline test utility from repo, and it seems there is also same problem.
The problem could be reproduced easily:
minizip -p 1 test.zip 1.txt
Adding or removing -s option does not affect the extraction problem so I guess there is something bad in both aes and pkw encryptions.
Does anybody know anything about this issue and how to fix it?

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