views:

463

answers:

3

Hi,

Is there a way to archive & encrypt a file using AES on Solaris and be able to unencrypt & unarchive it with winzip?

Thnaks! Mark

+1  A: 

You will probably get TrueCrypt and 7z for Solaris
and Windows (where you probably want to decrypt and unzip it).

And, wouldn't this question be better on SeverFault?

nik
A: 

I believe you'll find this page interesting.

The zip 3.1 mentioned is out in beta, so it may be undesirable to bring this into a production environment yet.

The method for creating these files are publicly documented ( http://www.winzip.com/aes_info.htm ) so it should be (I haven't read it thoroughly) a relatively easy thing to add to a zipper; this means it will be possible to do it yourselves or even just pay someone to do it, if you need it faster than info-zip would otherwise provide it.

MaHuJa
Not so easy to do. You need an AES algorithm of course, and it must support CTR mode (not all implementations of AES do). Then a PBKDF2, and SHA1HMAC. Then you need to understand the zip format, glue all those pieces together, and embed the thing into the stream in/out logic for the existing zip library. It should encrypt as it writes, or decrypt as it reads. Not so simple.
Cheeso
A: 

If you can run Mono on Solaris, DotNetZip produces WinZip-compatible AES-encrypted ZIP files. DotNetZip runs n Mono.

Cheeso