Advertisement

04.23.2007 at 06:37PM PDT, ID: 22529478
[x]
Attachment Details

Make encrypted zip from perl script

Asked by emblue in File Compression Utilities, Perl Programming Language, Encryption for Network Security

Tags: zip, perl, script, encrypt

I am trying to find a way to create a password-protected encrypted ZIP archive from an automated script.  The script (preferably Perl, but any command line solution I can call FROM a perl script would also be acceptable) must take file(s) which will probably be generated on-the-fly by the perl script (I can take care of that part) and put them in the zip.  The archive must be encrypted with strong encryption, AES 256 is my goal.

The encrypted zip should be compatible with windows XP compressed folders or WinZip so non-technical users can open it on windows.

The script that creates this zip is going to run on RedHat Linux, with the newest version of perl.  

The unix command `zip` has a -e option that does exaclty what I need, except the password has to be typed in at the terminal prompt, I need to automate this from a script.

Any ideas?Start Free Trial
[+][-]04.23.2007 at 06:53PM PDT, ID: 18963015

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: File Compression Utilities, Perl Programming Language, Encryption for Network Security
Tags: zip, perl, script, encrypt
Sign Up Now!
Solution Provided By: Tintin
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.23.2007 at 07:08PM PDT, ID: 18963056

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.23.2007 at 08:34PM PDT, ID: 18963308

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32