--s2k-count: correct value in config file needed?

David Shaw dshaw at jabberwocky.com
Mon Apr 18 14:25:02 CEST 2011


On Apr 18, 2011, at 7:05 AM, Hauke Laging wrote:

> Hello,
> 
> is the value of --s2k-count written to the key somehow? If not, can you use a 
> key only if the correct value is given in the config file (or command line)? 
> Does a key become kind of useless if you have forgotten the value which was 
> used during the last passphrase change?

Yes, the --s2k-count is written in the key.  It doesn't matter what you set it to in the config file/command line when reading an existing key, since the copy in the key is what is used.

David




More information about the Gnupg-users mailing list