Author eric.smith
Recipients Amir, eric.smith
Date 2020-09-12.22:40:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599950434.14.0.164348123817.issue41772@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-09-12 22:40:34eric.smithsetrecipients: + eric.smith, Amir
2020-09-12 22:40:34eric.smithsetmessageid: <1599950434.14.0.164348123817.issue41772@roundup.psfhosted.org>
2020-09-12 22:40:34eric.smithlinkissue41772 messages
2020-09-12 22:40:34eric.smithcreate