Several questions about s2k

Malte Gell malte.gell at gmx.de
Mon Feb 27 22:46:08 CET 2006


On Monday 27 February 2006 14:08, Klaus Singvogel wrote:

> I think it's not a nice behaviour to copy&paste the problems of
> someone else. So please, have a look at
> 	https://bugzilla.novell.com/show_bug.cgi?id=153565
> and comment back.

since I use SUSE Linux 10.0 as well, I tested what Olli did. The options 
he used can be used in one single line:

gpg --no-options --s2k-mode 3 --s2k-cipher-algo aes256 --s2k-digest-algo 
sha512 --gen-key

This perfectly created a new standard DSA/ElG key pair on SUSE 10.0

That "cert-digest-algo SHA512" doesn´t work with DSA keys is obvious, 
RSA keys allow to chose any hash algo.

The only error message reported is "gpg: invalid item `S2' in preference 
string" and this smells like a typo in ~/.gnupg/gpg.conf rather than a 
bug. 

Olli invoked "grep s2k gpg.conf" which cannot tell the typo, because 
according to the error message "S2" is the wrong value used somewhere.

So, what does "grep S2 ~/.gnupg/gpg.conf" say?

hth
Malte



More information about the Gnupg-devel mailing list