How to change the protect cipher algorithm and the digest algorithm of the secret key?

Gao Xiaohui bangchuishan at outlook.com
Fri Nov 6 14:51:33 CET 2020


Hello,
Excuse me,When using "gpg --list-packets [private secret key file]",it print "iter+salt S2K, algo: 7, SHA1 protection, hash: 2, salt: ****************", how to change "algo:7" and "hash:2"?
I searched on Google, it use the "gpg --gen-key" or "gpg --edit-key" command with "--s2k-cipher-algo AES256" and "--s2k-digest-algo SHA512" options could change them, but I tested,It could not change them. Tell me  the correct way please.Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20201106/20f3faf0/attachment.html>


More information about the Gnupg-users mailing list