]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
discuss the change in Diffie-Hellman parameters.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 9 Jan 2012 20:46:47 +0000 (21:46 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 9 Jan 2012 20:46:47 +0000 (21:46 +0100)
doc/cha-cert-auth2.texi
doc/cha-gtls-app.texi

index a2f4f35edb02ac7060e86db7c847fa3da1cf49a2..acf88c24d0b07cce9deb8eb350d939dbafcca3f2 100644 (file)
@@ -287,7 +287,7 @@ example of a template file.
 @subheading Diffie-Hellman parameter generation
 To generate parameters for Diffie-Hellman key exchange, use the command:
 @example
-$ certtool --generate-dh-params --outfile dh.pem
+$ certtool --generate-dh-params --outfile dh.pem --sec-param normal
 @end example
 
 @subheading Self-signed certificate generation
index 6b408110ee7f84805362e71aec1e352ac3ef0bce..50efed2911274b0b9c1d8e4e0447106467625516 100644 (file)
@@ -952,9 +952,16 @@ of Diffie-Hellman parameters we suggest against performing generation
 of them within an application. The @code{certtool} tool can be used to 
 generate or export known safe values that can be stored in code
 or in a configuration file to provide the ability to replace. We also
-recommend the usage of @funcref{gnutls_sec_param_to_pk_bits} (see @ref{Selecting cryptographic key sizes}) to determine
+recommend the usage of @funcref{gnutls_sec_param_to_pk_bits} 
+(see @ref{Selecting cryptographic key sizes}) to determine
 the bit size of the generated parameters.
 
+Note that the information stored in the generated PKCS #3 structure
+changed with GnuTLS 3.0.9. Since that version the @code{privateValueLength}
+member of the structure is set, allowing the server utilizing the
+parameters to use keys of the size of the security parameter. This
+provides better performance in key exchange.
+
 The ciphersuites that involve the RSA-EXPORT key exchange require
 additional parameters. Those ciphersuites are rarely used today
 because they are by design insecure, thus if you have no requirement