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:
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.
Filed under: Tips by Linux Admin