Skip Menu |

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 99157
Status: new
Priority: 0/
Queue: Archive-Zip

Owner: Nobody in particular
Requestors: VJN634 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

MIME-Version: 1.0
X-Spam-Flag: NO
X-Virus-Checked: Checked
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=5.36103939019483e-11 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.999435639444768 urlsuspect_oldscore=0.999435639444768 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 rbsscore=0.999435639444768 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1409260090
X-MS-Exchange-Transport-Fromentityheader: Hosted
Content-Type: multipart/mixed; boundary="_004_345b96e37b9647caadc265760bc58b40DM2PR0401MB1232namprd04_"
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -1.899
Received: from localhost (localhost []) by (Postfix) with ESMTP id 18210240598 for <cpan-bug+Archive-Zip [...]>; Fri, 26 Sep 2014 05:12:59 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ur3jGZvwRyvt for <cpan-bug+Archive-Zip [...]>; Fri, 26 Sep 2014 05:12:57 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id 8F940240378 for <bug-Archive-Zip [...]>; Fri, 26 Sep 2014 05:12:56 -0400 (EDT)
Received: (qmail 17096 invoked by alias); 26 Sep 2014 09:12:54 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Fri, 26 Sep 2014 02:12:50 -0700
Received: from pps.filterd ( []) by (8.14.7/8.14.7) with SMTP id s8Q9A4Bj011023 for <bug-Archive-Zip [...]>; Fri, 26 Sep 2014 04:12:46 -0500
Received: from ([]) by with ESMTP id 1pn42wg28p-1 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <bug-Archive-Zip [...]>; Fri, 26 Sep 2014 04:12:46 -0500
Received: from ( []) by (8.14.3/8.14.3) with ESMTP id s8Q9CjTe025914 for <bug-Archive-Zip [...]>; Fri, 26 Sep 2014 05:12:45 -0400 (EDT)
Received: from ( []) by (8.14.3/8.14.3) with ESMTP id s8Q9CiKQ025911 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <bug-Archive-Zip [...]>; Fri, 26 Sep 2014 05:12:45 -0400 (EDT)
Received: from ( by ( with Microsoft SMTP Server (TLS) id 15.0.1034.13; Fri, 26 Sep 2014 09:13:15 +0000
Received: from ([]) by ([]) with mapi id 15.00.1034.003; Fri, 26 Sep 2014 09:13:02 +0000
Delivered-To: cpan-bug+Archive-Zip [...]
Subject: [Archive::Zip] Impossible unzip a encrypted file.Impossible set password if use read create Zip Object.
Thread-Index: Ac/Zae9aBe5Ye0JnQhaRMGJ6GAgPiw==
Date: Fri, 26 Sep 2014 09:13:02 +0000
To: "bug-Archive-Zip [...]" <bug-Archive-Zip [...]>
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0401MB1231;
X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(199003)(189002)(92566001)(97736003)(74316001)(95666004)(85306004)(64706001)(86362001)(110136001)(85852003)(80022003)(19617315012)(18717965001)(21056001)(2351001)(551544002)(19609705001)(4396001)(120916001)(87936001)(81342003)(15975445006)(77096002)(10300001)(77982003)(76482002)(66066001)(76576001)(108616004)(15202345003)(54356999)(33646002)(107046002)(81542003)(19300405004)(83072002)(31966008)(99286002)(79102003)(106356001)(74502003)(19580395003)(83322001)(74662003)(99936001)(101416001)(19625215002)(107886001)(50986999)(46102003)(20776003)(2656002)(90102001)(229853001)(99396003)(105586002)(16236675004)(24736002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR0401MB1231;;FPR:;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en;
X-Spam-Status: No, score=-1.899 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001] autolearn=ham
Content-Language: en-US
Message-ID: <345b96e37b9647caadc265760bc58b40 [...]>
Return-Path: <VJN634 [...]>
X-Original-To: cpan-bug+Archive-Zip [...]
X-RT-Mail-Extension: archive-zip
X-Forefront-PRVS: 03468CBA43
Thread-Topic: [Archive::Zip] Impossible unzip a encrypted file.Impossible set password if use read create Zip Object.
X-MS-Has-Attach: yes
X-Cfilter-Loop: Reflected
X-Originating-Ip: []
Accept-Language: en-US
From: Yang Zhipeng-VJN634 <VJN634 [...]>
X-RT-Interface: Email
Content-Length: 0
Content-Type: multipart/alternative; boundary="_000_345b96e37b9647caadc265760bc58b40DM2PR0401MB1232namprd04_"
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 1135
Download (untitled) / with headers
text/plain 1.1k
Hi, When I use perl to unzip a zip file, which is encrypted, as the Web( I got the error message" Can't locate object method "password" via package "Archive::Zip::ZipFileMember" at .\ line 16." And my script code as attached. And then, I checked the code of .pm files. I found that if I want to set password, I should get a Member object, but the method memberNamed() return a object of ZipFileMember, because when I use constructor create a Zip Object, it calls read() method, and in read() method, it calls readFromFileHandle(), but in readFromFileHandle(), it create member like this "my $newMember = $self->ZIPMEMBERCLASS->_newFromZipFile( $fh, $fileName, $self->eocdOffset() );", and then "push( @{ $self->{'members'} }, $newMember );". So, you see, if anyone use read to create Zip object, he gets the ZipFileMember objects, rather than Member objects, and he can't set password with these objects. I can't suggest any thing, because I haven't read all codes. I hope this issue can be fixed as soon as possible. Thanks. Best regards N|Z
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 5699
Content-Type: application/octet-stream; name=""
Content-Disposition: attachment; creation-date="Wed, 24 Sep 2014 02:09:17 GMT"; filename=""; modification-date="Fri, 26 Sep 2014 08:39:06 GMT"; size="559"
Content-Transfer-Encoding: base64
Content-Length: 559
text/x-perl 559b

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to