[New-bugs-announce] [issue24877] Bad Password for file using zipfile module

shiva prasanth report at bugs.python.org
Mon Aug 17 02:52:02 CEST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue24877>
_______________________________________


More information about the New-bugs-announce mailing list