On Jan 10, 2008 4:39 PM, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
> Hi folks, > > I'm writing a script that basically creates a bunch of files, packages > them up (tar/gz), and mails them out. > I can handle all of that, but before I mail them I also have to password > protect the archive like pkzip does. > I really don't want to shell out to pkzip if I can avoid it. > > I checked CPAN, of course, but Archive::Zip which seemed the likely > candidate doesn't do encryption. > Crypt::OpenPGP or similar is also no good since I can't (much as I'ld > like to) use public key. > > I didn't see any others that do what I need, which is create a WinZip > compatible encrypted archive which is easily opened by a Windows user > with the password which I would provide separately. > > Any advice/docs/hints would be much appreciated. > > Thank You! > > richf > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > Create a Zip archive instead man zip for more information -e Encrypt the contents of the zip archive using a password which is entered on the terminal in response to a prompt (this will not be echoed; if standard error is not a tty, zip will exit with an error). The password prompt is repeated to save the user from typing errors. > > -- > Rodrick R. Brown > http://www.rodrickbrown.com