Changing the encryption algorithm used for PGP/GPG private key

Daniel Colquitt hello at danielcolquitt.com
Sat Feb 19 10:41:12 CET 2022


Hi Vedaal,

> Try this:
> In gpg.conf file add the option of
> --expert
> and in personal preferences, list only AES 256,
> Not the other strengths. 
> Keep all of the s2k options you listed, and try generating a new key again
> Vedaal 

Many thanks for the suggestion, but I’m afraid that this still does not work for me.

It seems the gnupg ignores all s2k and cipher preference flags when encrypting private keys. If this is indeed the intended behaviour (although I have no idea why it should be), perhaps it would a good idea to add a warning to the man pages?

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220219/73a3f621/attachment.html>


More information about the Gnupg-users mailing list