SUMMARY: encryption files/folders with standard Solaris 10 tools (non-root user)

From: Sven Aluoor <aluoor_at_gmail.com>
Date: Tue Sep 29 2009 - 12:50:26 EDT
Hi folks

thanks to all

special good contributions from Francisco Roque (frisco@blackant.net):
-------------------------
You can use openssl, and that will be as secure as the cipher you
select. For example:
$ openssl aes-128-cbc -e -out passwords.encrypted < passwords
$ openssl aes-128-cbc -d -out passwords.unencrypted < passwords.encrypted
-------------------------
and Todd A. Cox (toddc@ehsmed.com)
-------------------------
This wouldn't be compatible with other zip programs (as far as I
know), but you can encrypt any file with encrypt:

zip -r test.zip testfolder
cat test.zip | encrypt -a 3des -k mykey >test.zip.encrypted

Or using tar:

tar cf - testfolder | encrypt -a 3des -k mykey >test.tar.encrypted

Then, use decrypt to decrypt.

decrypt -a 3des -k mykey <test.tar.encrytped | tar xf -
-------------------------

cheers
Sven

---------- Forwarded message ----------
From: Sven Aluoor <aluoor@gmail.com>
Date: Tue, Sep 29, 2009 at 4:17 PM
Subject: Info-zip encryption on Solaris fails
To: sunmanagers@sunmanagers.org


Hi folks

Howto encryt a file/folder on Solaris 10 (without root password)?

$ zip -re test.zip testfolder
zip error: Invalid command arguments (encryption not supported)

cheers
Sven
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Sep 29 12:51:34 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:14 EST