[CentOS] Asymmetric encryption for very large tar file

Les Mikesell lesmikesell at gmail.com
Fri Dec 19 20:48:08 UTC 2014


On Fri, Dec 19, 2014 at 2:40 PM, Brian Mathis
<brian.mathis+centos at betteradmin.com> wrote:
>
>
> GPG is really what you want to be using for this.  OpenSSL is a general
> toolkit that provide a lot of good functions, but you need to cobble some
> things together yourself.  GPG is meant to handle all of the other parts of
> dealing with files.
>
> I will expand on what someone else mentioned -- asymmetric encryption is
> not meant for, and has very poor performance for encrypting data, and also
> has a lot of limitations.  The correct way to handle this is to create a
> symmetric key and use that to encrypt the data, then use asymmetric
> encryption to encrypt only the symmetric key.
>
> GPG takes care of this all internally, so that's what you should be using.
>

Will GPG use the intel aes hardware acceleration - in the version
available for Centos5?

-- 
   Les Mikesell
      lesmikesell at gmail.com



More information about the CentOS mailing list