Change encryption on the secret key
David Shaw
dshaw at jabberwocky.com
Tue Aug 17 05:18:21 CEST 2010
On Aug 16, 2010, at 8:38 PM, Joseph Isadore Ziff wrote:
> Dear Fellow Gnupg users,
>
> I recently grew more knowlegeable about of the different ciphers and compression methods. I already generated my secret key but would like to change the symmetric encryption protecting the secret key. I put the following in my gpg.conf:
>
> s2k-cipher-algo AES256
>
> and then I updated my password with gpg --edit-key, passwd. Is that enough to update the cipher on my private key?
Yes. See also the --s2k-digest-algo option, but the default is what you want anyway.
> Is there also a way to detect the encryption algorithm on a file? Any help with these questions is appreciated.
Try gpg --list-packets, or decrypting with "-v" set.
David
More information about the Gnupg-users
mailing list