Changing the encryption algorithm used for PGP/GPG private key

Daniel Colquitt hello at danielcolquitt.com
Fri Feb 18 09:09:28 CET 2022


Just to follow up that this isn't a gpgwin problem. I have a Debian installation and generated a test key using GnuPG and the same gpg.conf file. Here is the output

> gpg --list-packets test.key
> # off=0 ctb=95 tag=5 hlen=3 plen=1862
> :secret key packet:
>        version 4, algo 1, created 1645171018, expires 0
>        pkey[0]: [4096 bits]
>        pkey[1]: [17 bits]
>        iter+salt S2K, algo: 7, SHA1 protection, hash: 2, salt: 618B50CF0281AD75
>        protect count: 23068672 (230)
>        protect IV:  74 02 5e e0 92 12 8a 5e 53 aa 17 4a 40 e0 7e 8d
>        skey[2]: [v4 protected]
>        keyid: 45A023416F46CE6E

I have verified that gpg reads the gpg.conf file and understands it.

Any help would be very much appreciated.

Yours,
Dan





More information about the Gnupg-users mailing list