Increase gpg file encryption security using AES256

April 2, 2009

In order to increase backup files or sensitive information using gpg you should specify gpg using AES256 cipher algo. AES256 will use 256 bit key, it’s open encryption algorithm and it’s been approved by the NSA for top secret information.

Add to the gpg the following switch:

–cipher-algo=AES256

The full command line to encrypt file using gpg with AES256 key:

gpg –cipher-algo=AES256 -c file.tgz

It’s quite of bit of typing every time and I prefer to set-up alias

alias gpg=’gpg –cipher-algo=AES256′

you can add it to your ~/.bashrc or any other profile file that is executed when you login into the system. The alias syntax may change if you are using different bash.

One Response to “Increase gpg file encryption security using AES256”

  1. The alias syntax may change if you are using different bash.

    ==> If you use a different SHELL. bash is a particular shell.

Leave a Reply