Bug 24167 - Enable password protection for zip creation.
Enable password protection for zip creation.
Status: NEW
Product: Ant
Classification: Unclassified
Component: Core tasks
1.5.4
Other All
: P3 enhancement with 2 votes (vote)
: ---
Assigned To: Ant Notifications List
:
: 29724 36786 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2003-10-28 00:27 UTC by Andrzej Taramina
Modified: 2008-11-24 03:57 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej Taramina 2003-10-28 00:27:08 UTC
Sure would be nice if the zip core task allowed you to specify a password that 
would then be used to encrypt the included files, per the zip standard.

Basically the same as specifying the -s option for pkzip version 2.04g.

Thanks.

....Andrzej
Comment 1 Larry Shatzer 2003-10-31 22:08:55 UTC
java.util.zip does not support passwords, which is what the <zip> task is based 
on.
Comment 2 Dominique Devienne 2003-10-31 22:13:52 UTC
No quite. <zip> is based on import org.apache.tools.zip. --DD
Comment 3 Stefan Bodewig 2005-03-16 17:14:34 UTC
*** Bug 29724 has been marked as a duplicate of this bug. ***
Comment 4 Larry Shatzer 2005-09-23 18:57:15 UTC
*** Bug 36786 has been marked as a duplicate of this bug. ***
Comment 5 Chris 2005-09-23 19:14:02 UTC
What is the feasibility for adding support for this? It would be nice to not 
have to use winzip or other utils to create the protection.

Thanks,
Chris
Comment 6 Steve Loughran 2005-09-23 21:44:02 UTC
1. it would need to be implemented by people who care about the function, which
means only those people who want the feature.

2. it will be a nightmare to test. 

3. winzip standard encryption is breakable by brute force, the non-standard ones
are non-standard and so not really feasible. 

there is some work on in jakarta commons on doing PGP encrypt/sign with the
BouncyCastle libraries. 
Comment 7 Matt Benson 2005-09-23 22:10:27 UTC
well, there is theory, though nothing tangible yet.