[CentOS] Asymmetric encryption for very large tar file

Wed Dec 17 17:40:02 UTC 2014
Stephen Harris <lists at spuddy.org>

On Wed, Dec 17, 2014 at 05:14:21PM +0000, Xinhuan Zheng wrote:
> used is "openssl smime -encrypt -aes256 -in  backup.tar -binary -outform
> DEM -out backup.tar.ssl  public.pem². The resulting backup.tar.ssl file is
> only 2G then encryption process stops there and refuse to do more. Cannot
> get around 2G.

It seems likely that openssl hasn't been compiled with large-file support.
Not so uncommon with RH5.

Can you send the output to stdout and redirect?  Or if that fails then
send to stdout and filter via "dd" to write to the file.  Now at this
point openssl is only writing to a pipe and won't hit the 2G limit.

-- 

rgds
Stephen