This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benedictkwok
Recipients benedictkwok
Date 2013-06-04.20:24:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370377466.33.0.877137256378.issue18134@psf.upfronthosting.co.za>
In-reply-to
Content
Steps to reproduce:
1) create a ssn.txt file with social security numbers of customers
2) create a zip file with a password: zip -P secret ssn ssn.txt
3) create a python script to extract the zipfile by:
import=zipfile
zFile=zipfile.ZipFile("ssn.zip")
try:
      zFile.extractall(pwd="secret")
except Exception, e:
      print e

This will extract the ssn.txt into the directory by using the right password "secret"different
4) However, by using a wrong password "proa"  this does not get the exception. Instead create a ssn.txt file which is corrupted.
5) Other wrong password will get the exception but not the one descripted in step 4.
History
Date User Action Args
2013-06-04 20:24:26benedictkwoksetrecipients: + benedictkwok
2013-06-04 20:24:26benedictkwoksetmessageid: <1370377466.33.0.877137256378.issue18134@psf.upfronthosting.co.za>
2013-06-04 20:24:26benedictkwoklinkissue18134 messages
2013-06-04 20:24:25benedictkwokcreate