Changing the encryption algorithm used for PGP/GPG private key

Daniel Colquitt hello at danielcolquitt.com
Fri Feb 18 13:08:39 CET 2022


Thanks for responding, Ingo.

> As far as I can tell `man gpg` does not claim that any of these settings
> influence the encryption of secret keys.

According to the
manual<https://gnupg.org/documentation/manuals/gnupg/OpenPGP-Options.html#in
dex-s2k_002dcipher_002dalgo>, the --s2k-* flags control the algorithm used
for symmetric encryption  if the --personal-cipher-preferences flag isn't
set.

Is the suggestion the gpg does not respect these flags when applying
symmetric encryption to keys?

Dan



More information about the Gnupg-users mailing list