Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password-protected archives can't be extracted #523

Closed
Grivus opened this issue Sep 14, 2020 · 2 comments
Closed

Password-protected archives can't be extracted #523

Grivus opened this issue Sep 14, 2020 · 2 comments
Labels
encryption Encryption/decryption issue fixed Issue or bug has been fixed

Comments

@Grivus
Copy link

Grivus commented Sep 14, 2020

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?

@nmoinvaz
Copy link
Member

This appears to be a problem on Windows only with passwords that are 1 character in length.

@nmoinvaz
Copy link
Member

@nmoinvaz nmoinvaz added 2.0 encryption Encryption/decryption issue fixed Issue or bug has been fixed labels Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encryption Encryption/decryption issue fixed Issue or bug has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants