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 <bode...@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-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>

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

Reply via email to