Full Disclosure mailing list archives

Re: Q: Linux Command Line Encryption


From: "Joe Szilagyi" <js () axxs net>
Date: Fri, 22 Oct 2004 16:47:48 -0400

Hi,

What's the syntax to decrypt using this?

Regards,
Joe





----- Original Message ----- 
From: "Mike Tancsa" <mike () sentex net>
To: "Ali Campbell" <fdisclosure () alicampbell org uk>;
<full-disclosure () lists netsys com>
Sent: Friday, October 22, 2004 1:46 PM
Subject: Re: [Full-disclosure] Q: Linux Command Line Encryption


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: