[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth kesavarapu.s...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24877 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth kesavarapu.s...@gmail.com: -- status: closed - open type: compile error - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24877 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth kesavarapu.s...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24877 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth kesavarapu.s...@gmail.com: -- type: - compile error versions: +Python 3.5 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24877 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
New submission from shiva prasanth: i created a zip file with password as getlost using Archive Manager which comes with ubuntu. and when i try to extract the same file using zipfile module which comes with python2.7 with same password it is showing error as Bad Password for file which is absurd. it should either give response of cant decrypt zipfile or some other. when i try to do it with terminal command $zip --encrypt file.zip file and upon entering the password it is working my main point is it should not show Bad Password for file and and it should extractall -- components: Extension Modules files: raj messages: 248698 nosy: shiva prasanth priority: normal severity: normal status: open title: Bad Password for file using zipfile module versions: Python 2.7 Added file: http://bugs.python.org/file40192/raj ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24877 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
shiva prasanth added the comment: Python 2.7.9 (default, Apr 2 2015, 15:33:21) [GCC 4.9.2] on linux2 Type help, copyright, credits or license for more information. import zipfile s=zipfile.ZipFile('random.zip') s.extractall(pwd='getlost') Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.7/zipfile.py, line 1040, in extractall self.extract(zipinfo, path, pwd) File /usr/lib/python2.7/zipfile.py, line 1028, in extract return self._extract_member(member, path, pwd) File /usr/lib/python2.7/zipfile.py, line 1082, in _extract_member with self.open(member, pwd=pwd) as source, \ File /usr/lib/python2.7/zipfile.py, line 1007, in open raise RuntimeError(Bad password for file, name) RuntimeError: ('Bad password for file', zipfile.ZipInfo object at 0x7faf1d1921e0) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24877 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com