Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 10:31:33 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   unzip fails to extract password protected archive
Message-ID:  <20100309103133.GG52284@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
This is on FreeBSD ia64 9.0-CURRENT #0 r203484M: 
I've zip-3.0 and unzip-6.0 installed from ports.

When I try to add files to an archive with encryption,
I cannot then extract them back:

> ls -al > try
> zip -e try.zip try
Enter password: 
Verify password: 
  adding: try (deflated 42%)
> rm try
> unzip try.zip 
Archive:  try.zip
 extracting: try |
unzip: ZIP decompression failed (-3)
> ls -al try
-rwxr-xr-x  1 mexas  wheel  0  9 Mar 10:27 try
> 

the extracted file is zero length.

Maybe this is not supposed to work?

Please advise
many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100309103133.GG52284>