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
java.util.zip does not support passwords, which is what the <zip> task is based on.
No quite. <zip> is based on import org.apache.tools.zip. --DD
*** Bug 29724 has been marked as a duplicate of this bug. ***
*** Bug 36786 has been marked as a duplicate of this bug. ***
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
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.
well, there is theory, though nothing tangible yet.