Default GPG Encryption Algorithm (symmetric cipher) is?

Tiago Faria tiago at
Sun Jan 2 06:57:00 CET 2011

On Sun, 02 Jan 2011 04:24:27 +0000
frankexchange at wrote:

> Deja Dup on Ubuntu 10.04 LTS: Default GPG Encryption Algorithm
> (symmetric cipher) is?

If it uses GnuPG, then it will respect the rules set by your keyring
preferences. You can check the preferences with the command:

gpg --edit-key 0xYOURID

(if you don't know your ID, use gpg --list-secret-keys)

It will list what are the preferred ciphers, algorithms for integrity
and compression.

If you want to change it, and use something else, you
can use the following command to see the supported values:

gpg --verbose --version

After that, you can change your preferences. Edit your key again:

gpg --edit-key 0xYOURID

and now use the 'setpref' option, respecting the values you got from
gpg --verbose --version command.

For example:

setpref S9 S8 S7 S3 H10 H9 H8 H11 Z3 Z2 Z1 Z0

will configure a UID (these preferences are UID-based) to use: 

Cipher: AES256, AES192, AES, CAST5, 3DES
Digest: SHA512, SHA384, SHA256, SHA224, SHA1
Compression: BZIP2, ZLIB, ZIP, Uncompressed

Hope this makes it easier for you to understand and edit to suit your

I think I didn't miss anything, but feel free to correct me :)

Happy new year list!

Tiago Faria 		|

OpenPGP Key ID: 0xB9466FB4 |
FingerPrint: 27FB 1E35 81B8 5626 9450 EAFC 2517 8AB4 B946 6FB4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/attachments/20110102/364be7e2/attachment.pgp>

More information about the Gnupg-users mailing list