[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ilug
Subject:    Re: [ILUG] Command-line AES encryption in RHEL
From:       Pádraig_Brady <P () draigBrady ! com>
Date:       2009-09-30 10:43:13
Message-ID: 4AC33641.2010707 () draigBrady ! com
[Download RAW message or body]

Pádraig Brady wrote:
> Éibhear wrote:
>> Hi,
>>
>> Is there a tool that comes as standard on either of RHEL 4 or RHEL 5
>> that will allow for a command-line encryption of a file, such that it
>> can be decrypted by any other tool that properly implements AES?
>>
>> My employer would like to be able to perform encryption of files to be
>> sent to a third party, and we would like to be able to script this up
>> while at the same time not require the third party to use any specific
>> tool or application to perform the decryption.
> 
> As already mentioned you can use the openssl command for low level stuff.
> There is also a higher level gpg command (high level is good with
> crypto as there are many gotchas using lower level logic).
> 
> #to list algorithms
> gpg --version
> 
> #to encrypt
> gpg -c --cipher-algo AES256 file
> 
> #to decrypt
> gpg file.gpg
> 
> This command supports assymetric encryption also.

Also here's some cute info on AES I noticed lately:
http://www.moserware.com/2009/09/stick-figure-guide-to-advanced.html
-- 
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic