Disabling compression when encrypting

David Shaw dshaw at jabberwocky.com
Sat May 24 16:57:33 CEST 2008


On May 24, 2008, at 1:58 AM, Robert J. Hansen wrote:

> On Fri, 2008-05-23 at 23:56 -0400, Caleb Marcus wrote:
>> I prefer to use external compression tools before encrypting my data
>> with GnuPG. Is there any way to disable compression in GnuPG to avoid
>> the CPU overhead of the unnecessary additional layer of compression
>> while encrypting?
>
> --compress-algo none
>
> Alternately, you can add "compress-algo none" to the end of your
> gpg.conf file.

Note that GPG also checks the input file to see if it is compressed.   
If it sees a compressed input file, it automatically disables  
compression.

David



More information about the Gnupg-users mailing list