Full Disclosure mailing list archives

Re: Q: Linux Command Line Encryption


From: Michael Rutledge <michael4447 () gmail com>
Date: Fri, 22 Oct 2004 13:44:51 -0500

Check out the crypt tool.  Do a "man crypt" to see the options.  Crypt
should be included with any distribution of Linux (also on Solaris).

-Michael

On Fri, 22 Oct 2004 13:46:08 -0400, Mike Tancsa <mike () sentex net> wrote:
At 01:48 PM 22/10/2004, Ali Campbell wrote:
I need a Linux utility which I can use to encrypt a single gzipped file
via the command line. Obviously something open source would be preferable.
I'm not really interested in setting up a whole suite of stuff with
keyfiles and so on, and I don't need a public/private key setup, just
something quick and dirty with a single secret key for encryption and
decryption which is nevertheless reasonably strong.

Whats wrong with openssl ?

openssl des3 -in test.txt -out test.txt.enc

or

openssl aes-256-cbc -in test.txt -out test.txt.enc

This is only as strong as your passphrase.  Using something like GPG has
other advantages since the private key can be kept in a separate location
from the encrypted file.


         ---Mike 



_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: