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
{{ message }}
Repository navigation
Password-protected archives can't be extracted #523
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?
Activity
nmoinvaz commentedon Oct 11, 2020
This appears to be a problem on Windows only with passwords that are 1 character in length.
nmoinvaz commentedon Oct 11, 2020
I have reported it to Visual Studio Feedback: https://developercommunity.visualstudio.com/content/problem/1215483/cryptimportkey-fails-to-import-plaintext-key-with.html
Fixed HMAC bug on Windows when key size is 1. #523