[issue10876] Zipfile sometimes considers a false password to be correct

Antoine Pitrou report at bugs.python.org
Wed Jan 19 01:17:57 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

As I already explained:
* why it doesn't detect that the password is bad is because the ZIP format is not well-designed enough
* you can catch the zlib error which indicates that decryption returned junk

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10876>
_______________________________________


More information about the Python-bugs-list mailing list