Kira Erethon added the comment:
I'm a newbie in python and tried this in order to learn.I created all the zip
files (first created a .txt file and zipped it with a password), so I know the
file inside the zip is encrypted ( ofc I know the password too). Tried this
with different .txt
Kira Erethon added the comment:
I'm catching all errors and exceptions and zipfile still decompresses it,
that's what I've been trying to tell you. I don't face my original problem
anymore, I'm catching that exception, now zipfile considers some passwords to
be corre
Changes by Kira Erethon :
--
components: +Library (Lib) -Extension Modules
___
Python tracker
<http://bugs.python.org/issue10876>
___
___
Python-bugs-list mailin
Kira Erethon added the comment:
Sorry to re-open this, but I consider it an important bug. Tried it in 3.1 also
and it's still there. To sum up what's happening, zipfile sometimes considers a
false password to be correct and proceeds with decrypting the file. Is there a
workarou
Kira Erethon added the comment:
Update, tried this in another machine of mine, same exact code and this time it
crashes at 68
--
title: Zipfile crashes when zip password is set to 610/844 -> Zipfile crashes
when zip password is set to 610/844/numerous other numb
Changes by Kira Erethon :
--
title: Zipfile crashes when zip password is set to 610 -> Zipfile crashes when
zip password is set to 610/844
___
Python tracker
<http://bugs.python.org/issu
Kira Erethon added the comment:
Ok, I tried recreating the bug and found out that I couldn't. Originally this
happened when I tried to find the password of a zip file through a dictionary
attack. The code I used is this:
import zipfile
zfile=raw_input("Please input zip
Changes by Kira Erethon :
--
title: Zipfile crashes when zip password is 610 -> Zipfile crashes when zip
password is set to 610
___
Python tracker
<http://bugs.python.org/issu
New submission from Kira Erethon :
Was playing around with Zipfile and passwords in zip files and I noticed that
when the password on zipfile.setpassword(pwd) was set 610, the program crashed
with the following errors
File "/usr/lib/python2.6/zipfile.py", line 938, in