[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-Disclosure] Q: Linux Command Line Encryption
- To: "Joe Szilagyi" <js@xxxxxxxx>
- Subject: Re: [Full-Disclosure] Q: Linux Command Line Encryption
- From: twebster@xxxxxxxxxxx
- Date: Fri, 22 Oct 2004 16:30:36 -0600
openssl encryption and decryption,
encrypt
openssl enc <cipher> -e -in filename.txt -out filename.enc
openssl enc -aes-256-cfb -e -in filename.txt -out filename.enc
decrypt
openssl enc <cipher> -d -in filename.enc -out filename.txt
openssl enc -aes-256-cfb -d -in filename.enc -out filename.txt
later,
tony
full-disclosure-admin@xxxxxxxxxxxxxxxx wrote on 10/22/2004 02:47:48 PM:
> Hi,
>
> What's the syntax to decrypt using this?
>
> Regards,
> Joe
>
>
>
>
>
> ----- Original Message -----
> From: "Mike Tancsa" <mike@xxxxxxxxxx>
> To: "Ali Campbell" <fdisclosure@xxxxxxxxxxxxxxxxxx>;
> <full-disclosure@xxxxxxxxxxxxxxxx>
> 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
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html