commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [compress] Zip password compressed archive
Date Mon, 07 Feb 2011 12:56:03 GMT
Thanks a lot for all the suggestions guys, very appreciated!
Have a nice day,
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Mon, Feb 7, 2011 at 12:15 PM, Stefan Bodewig <bodewig@apache.org> wrote:
> On 2011-02-07, Simone Tripodi wrote:
>
>> do you know is there any way to protect with a password the produced
>> zip archive, with [compress] APIs?
>
> No, compress currently doesn't support any of the various encryption
> options of the ZIP format.
>
> https://issues.apache.org/jira/browse/COMPRESS-88
>
> Note that different ZIP tools have different understandings on what
> "password protected" ZIPs are.  The traditional version uses a pretty
> weak encryption algo that could be implemented inside compress but
> hasn't been (yet?).  This most likely is what you are looking for since
> it is supported by many of the existing tools.
>
> Strong encryption is used in different ways by PKWARE and WinZip.  The
> PKWARE approach comes with legal strings attached that makes it
> difficult to implement (if at all possible) inside commons-compress.
> The WinZIP approach can certainly be implemented in Java (see Antonio's
> link which ultimately leads to <http://code.google.com/p/winzipaes/>)
> but isn't widely supported in tools other than WinZIP.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message