Anton Shterenlikht <[email protected]> writes:
> 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?
It does for me, but there are a number of problems with the zip
encryption (even aside from the fact that it's easy to break).
You might want to take a look at the extensive "DECRYPTION"
section in the unzip(1) man page.
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"