unzip fails to extract password protected archive

Anton Shterenlikht mexas at bristol.ac.uk
Tue Mar 9 10:31:35 UTC 2010

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 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

More information about the freebsd-questions mailing list