Message376813
I believe what testzip is doing is validating the structural integrity of the file, which appears can be tested without decrypting the contents.
Although it is odd that if you don't call setpassword, even with the wrong password, testzip will raise a RuntimeError.
See https://en.wikipedia.org/wiki/Zip_(file_format)#Encryption for a few scant details. |
|
Date |
User |
Action |
Args |
2020-09-12 22:40:34 | eric.smith | set | recipients:
+ eric.smith, Amir |
2020-09-12 22:40:34 | eric.smith | set | messageid: <1599950434.14.0.164348123817.issue41772@roundup.psfhosted.org> |
2020-09-12 22:40:34 | eric.smith | link | issue41772 messages |
2020-09-12 22:40:34 | eric.smith | create | |
|