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

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

thanks to all

special good contributions from Francisco Roque (
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 (
This wouldn't be compatible with other zip programs (as far as I
know), but you can encrypt any file with encrypt:

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

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 -


---------- Forwarded message ----------
From: Sven Aluoor <>
Date: Tue, Sep 29, 2009 at 4:17 PM
Subject: Info-zip encryption on Solaris fails

Hi folks

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

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

sunmanagers mailing list
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