[Help-gnutls] Alternate random device for certtool

Werner Koch wk at gnupg.org
Fri Dec 5 19:00:29 CET 2008


On Fri,  5 Dec 2008 14:14, linux at paip.net said:

> It's my understanding that (transient-key) only works for RSA.  Can it
> be made to work for DSA as well?  We hit this problem in libotr.

Done.  SVN trunk revision 1371; will go into 1.4.4.  Sample code:

  rc = gcry_sexp_new (&key_spec, 
                      transient_key
                      ? "(genkey (dsa (nbits 4:1024)(transient-key)))"
                      : "(genkey (dsa (nbits 4:1024)))",
                      0, 1);



Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gcrypt-devel mailing list