default symmetric algorithm used for private key

David Shaw dshaw at
Wed Apr 1 14:49:54 CEST 2009

On Mar 29, 2009, at 3:37 PM, Chrys M wrote:

> Hello,
> I am trying to find out which is the default algorithm that GPG uses  
> to encrypt my private key with the passphrase provided.
> Is there a command that I can use?

It's CAST5, unless:

a) You don't have CAST5 compiled in
b) You run with --rfc24480, --rfc4880 or --openpgp

In any of those cases, it's 3DES.

(Basically, unless you're doing something fairly unusual, it's CAST5)


More information about the Gnupg-users mailing list