Fix indent bug.
[gnutls.git] / NEWS
blobbf07362d2de028f8ffaea3cf2bb7b53486a42cdb
1 GNU TLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3               2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 * Version 2.9.10 (unreleased)
8 ** libgnutls: Time verification extended to trusted certificate list.
9 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
10 specified.
12 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
13 Based on patch by Pavan Konjarla.  Adds new constant
14 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
16 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
17 Solves the issue discussed in:
18 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
19 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
20 Note that to allow connecting to unpatched servers the full protection
21 is only enabled if the priority string %SAFE_RENEGOTIATION is
22 specified. You can check whether protection is in place by querying
23 gnutls_safe_renegotiation_status().  New error codes
24 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
25 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
27 ** libgnutls: When checking openpgp self signature also check the signatures
28 ** of all subkeys.
29 Ilari Liusvaara noticed and reported the issue and provided test
30 vectors as well.
32 ** libgnutls: Added cryptodev support (/dev/crypto).
33 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
34 benchmark utility for AES.  Adds new error codes
35 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
37 ** libgnutls: Exported API to access encryption and hash algorithms.
38 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
39 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
40 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
41 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
42 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
43 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
44 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
46 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
47 verification of certificate upon receipt rather than waiting until the
48 end of the handshake.
50 ** libgnutls: Don't send alerts during handshake.
51 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
53 ** certtool: Corrected two issues that affected certificate request generation.
54 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
55 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
56 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
57 those parameters there since other implementations don't do either and having 
58 them does not seem to offer anything (anyway you need the signer's certificate
59 to verify thus public key will be available). Found thanks to Boyan Kasarov.
60 This however has the side-effect that public key IDs shown by certtool are
61 now different than previous gnutls releases.
62 (3) the option --pgp-certificate-info will verify self signatures
64 ** certtool: Allow exporting of Certificate requests on DER format.
66 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
68 ** gnutls-cli: Handle reading binary data from server.
69 Reported by and tiny patch from Vitaly Mayatskikh
70 <v.mayatskih@gmail.com> in
71 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
73 ** minitasn1: Upgraded to libtasn1 version 2.5.
75 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
76 ** Added Italian and Simplified Chinese translation.
77 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
78 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
80 ** doc: The GTK-DOC manual is significantly improved.
82 ** API and ABI modifications:
83 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
84 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
85 %UNSAFE_RENEGOTIATION: Added to priority strings.
86 GNUTLS_DIG_SHA224: ADDED.
87 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
88 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
89 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
90 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
91 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
92 GNUTLS_MAC_SHA224: ADDED.
93 GNUTLS_OID_X520_NAME: ADDED.
94 GNUTLS_OID_X520_POSTALCODE: ADDED.
95 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
96 GNUTLS_VERSION_MAX: ADDED.
97 gnutls_certificate_set_verify_function: ADDED.
98 gnutls_cipher_decrypt: ADDED.
99 gnutls_cipher_deinit: ADDED.
100 gnutls_cipher_encrypt: ADDED.
101 gnutls_cipher_get_block_size: ADDED.
102 gnutls_cipher_init: ADDED.
103 gnutls_hash: ADDED.
104 gnutls_hash_deinit: ADDED.
105 gnutls_hash_fast: ADDED.
106 gnutls_hash_get_len: ADDED.
107 gnutls_hash_init: ADDED.
108 gnutls_hash_output: ADDED.
109 gnutls_hmac: ADDED.
110 gnutls_hmac_deinit: ADDED.
111 gnutls_hmac_fast: ADDED.
112 gnutls_hmac_get_len: ADDED.
113 gnutls_hmac_init: ADDED.
114 gnutls_hmac_output: ADDED.
115 gnutls_safe_negotiation_set_initial: ADDED.
116 gnutls_safe_renegotiation_set: ADDED.
117 gnutls_safe_renegotiation_status: ADDED.
119 * Version 2.9.9 (released 2009-11-09)
121 ** libgnutls: Cleanups and several bug fixes.
122 Found by Steve Grubb and Tomas Mraz.
124 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
126 ** Fix --disable-valgrind-tests.
127 Reported by Ingmar Vanhassel in
128 <https://savannah.gnu.org/support/?107029>.
130 ** API and ABI modifications:
131 No changes since last version.
133 * Version 2.9.8 (released 2009-11-05)
135 ** libgnutls: Fix for memory leaks on interrupted handshake.
136 Reported by Tang Tong.
138 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
139 ** extension and certificate verify field.
140 This requires changes for TLS 1.2 servers and clients that use
141 callbacks for certificate retrieval.  They are now required to check
142 with gnutls_sign_algorithm_get_requested() whether the certificate
143 they send complies with the peer's preferences in signature
144 algorithms.
146 ** libgnutls: In server side when resuming a session do not overwrite the 
147 ** initial session data with the resumed session data.
149 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
150 ** encryption.
151 This affects also PKCS #12 encoded files.  This adds the following new
152 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
153 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
155 ** libgnutls: Fix PKCS#12 encoding.
156 The error you would get was "The OID is not supported.".  Problem
157 introduced for the v2.8.x branch in 2.7.6.
159 ** certtool: Added the --pkcs-cipher option.
160 To explicitely specify the encryption algorithm to use.
162 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
164 ** tests: Fix time bomb in chainverify self-test.
165 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
166 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
168 ** tests: Fix expired cert in chainverify self-test.
170 ** i18n: Vietnamese translation updated.
171 Thanks to Clytie Siddall.
173 ** API and ABI modifications:
174 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
175 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
176 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
177 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
178 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
179 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
180 gnutls_sign_algorithm_get_requested: ADDED.
182 * Version 2.9.7 (released 2009-10-06)
184 ** libgnutls: TLS 1.2 server mode fixes.
185 Now interoperates against Opera.  Contributed by Daiki Ueno.
187 ** libgnutlsxx: Fix link problems.
188 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
190 ** guile: Compatibility with guile 2.x.
191 By Ludovic Courtes <ludovic.courtes@laas.fr>.
193 ** API and ABI modifications:
194 No changes since last version.
196 * Version 2.9.6 (released 2009-09-22)
198 ** libgnutls: Enable Camellia ciphers by default.
200 ** API and ABI modifications:
201 No changes since last version.
203 * Version 2.9.5 (released 2009-09-10)
205 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
206 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
207 gnutls_x509_crt_get_issuer_alt_name, and
208 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
209 Hards <bradh@frogmouth.net>.
211 ** API and ABI modifications:
212 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
213 gnutls_x509_crt_get_issuer_alt_name: ADDED.
214 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
216 * Version 2.9.4 (released 2009-09-03)
218 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
219 The new supported ciphersuites are AES-128/256 in CBC mode with
220 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
221 SHA-256 is now the preferred default MAC (however it is only used with
222 TLS 1.2).
224 ** libgnutls: Make OpenPGP hostname checking work again.
225 The patch to resolve the X.509 CN/SAN issue accidentally broken
226 OpenPGP hostname comparison.
228 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
229 Reported by Howard Chu <hyc@symas.com> in
230 <https://savannah.gnu.org/support/?106975>.
232 ** Fix use of deprecated types internally.
233 Use of deprecated types in GnuTLS from now on will lead to a compile
234 error, to prevent this from happening again.
236 ** API and ABI modifications:
237 No changes since last version.
239 * Version 2.9.3 (released 2009-08-19)
241 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
242 The new APIs are gnutls_session_ticket_enable_client,
243 gnutls_session_ticket_enable_server, and
244 gnutls_session_ticket_key_generate.
246 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
248 ** API and ABI modifications:
249 gnutls_session_ticket_key_generate: ADDED.
250 gnutls_session_ticket_enable_client: ADDED.
251 gnutls_session_ticket_enable_server: ADDED.
253 * Version 2.9.2 (released 2009-08-14)
255 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
256 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
257 into 1) not printing the entire CN/SAN field value when printing a
258 certificate and 2) cause incorrect positive matches when matching a
259 hostname against a certificate.  Some CAs apparently have poor
260 checking of CN/SAN values and issue these (arguable invalid)
261 certificates.  Combined, this can be used by attackers to become a
262 MITM on server-authenticated TLS sessions.  The problem is mitigated
263 since attackers needs to get one certificate per site they want to
264 attack, and the attacker reveals his tracks by applying for a
265 certificate at the CA.  It does not apply to client authenticated TLS
266 sessions.  Research presented independently by Dan Kaminsky and Moxie
267 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
268 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
270 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
271 The function may fail incorrectly when an earlier certificate was
272 imported to the same gnutls_x509_crt_t structure.
274 ** minitasn1: Internal copy updated to libtasn1 v2.3.
276 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
277 Before it always returned false.  Reported by Peter Hendrickson
278 <pdh@wiredyne.com> in
279 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
281 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
282 The error resulted in truncated strings when printing unknown OIDs in
283 X.509 certificate DNs.  Reported by Tim Kosse
284 <tim.kosse@filezilla-project.org> in
285 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
287 ** libgnutls: Fix PKCS#12 decryption from password.
288 The encryption key derived from the password was incorrect for (on
289 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
290 Tomas" <tomas.kukosa@siemens-enterprise.com> in
291 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
293 ** libgnutls: Return correct bit lengths of some MPIs.
294 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
295 gnutls_dh_get_peers_public_bits.  Before the reported value was
296 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
297 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
299 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
300 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
301 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
303 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
305 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
306 Before we required that the runtime library used the same (or more
307 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
308 that the runtime usage is above the minimum required.  Reported by
309 Marco d'Itri <md@linux.it> via Andreas Metzler
310 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
312 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
314 ** tests: Improved test vectors in self-test pkcs12_s2k.
316 ** tests: Added new self-test dn2 to detect off-by-one size error.
318 ** tests: Fix failure in "chainverify" because a certificate have expired.
320 ** API and ABI modifications:
321 No changes since last version.
323 * Version 2.9.1 (released 2009-06-08)
325 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
326 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
327 <http://bugs.gentoo.org/272388>.
329 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
331 ** Reduce stack usage for some CRQ functions.
333 ** Doc fixes for CRQ functions.
335 ** API and ABI modifications:
336 No changes since last version.
338 * Version 2.9.0 (released 2009-05-28)
340 ** Doc fixes.
342 ** API and ABI modifications:
343 No changes since last version.
345 * Version 2.8.3 (released 2009-08-13)
347 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
348 Code intended to be removed would lead to an read-out-bound error in
349 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
350 code have been allocated for the vulnerability: [CVE-2009-2730].
352 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
353 The function may fail incorrectly when an earlier certificate was
354 imported to the same gnutls_x509_crt_t structure.
356 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
358 ** tests: Made self-test mini-eagain take less time.
360 ** doc: Typo fixes.
362 ** API and ABI modifications:
363 No changes since last version.
365 * Version 2.8.2 (released 2009-08-10)
367 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
368 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
369 into 1) not printing the entire CN/SAN field value when printing a
370 certificate and 2) cause incorrect positive matches when matching a
371 hostname against a certificate.  Some CAs apparently have poor
372 checking of CN/SAN values and issue these (arguable invalid)
373 certificates.  Combined, this can be used by attackers to become a
374 MITM on server-authenticated TLS sessions.  The problem is mitigated
375 since attackers needs to get one certificate per site they want to
376 attack, and the attacker reveals his tracks by applying for a
377 certificate at the CA.  It does not apply to client authenticated TLS
378 sessions.  Research presented independently by Dan Kaminsky and Moxie
379 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
380 for providing one part of the patch.  [GNUTLS-SA-2009-4].
382 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
383 Before it always returned false.  Reported by Peter Hendrickson
384 <pdh@wiredyne.com> in
385 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
387 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
388 The error resulted in truncated strings when printing unknown OIDs in
389 X.509 certificate DNs.  Reported by Tim Kosse
390 <tim.kosse@filezilla-project.org> in
391 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
393 ** libgnutls: Return correct bit lengths of some MPIs.
394 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
395 gnutls_dh_get_peers_public_bits.  Before the reported value was
396 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
397 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
399 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
400 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
401 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
403 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
405 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
406 Before we required that the runtime library used the same (or more
407 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
408 that the runtime usage is above the minimum required.  Reported by
409 Marco d'Itri <md@linux.it> via Andreas Metzler
410 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
412 ** minitasn1: Internal copy updated to libtasn1 v2.3.
414 ** tests: Fix failure in "chainverify" because a certificate have expired.
416 ** API and ABI modifications:
417 No changes since last version.
419 * Version 2.8.1 (released 2009-06-10)
421 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
422 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
423 <http://bugs.gentoo.org/272388>.
425 ** libgnutls: Fix PKCS#12 decryption from password.
426 The encryption key derived from the password was incorrect for (on
427 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
428 Tomas" <tomas.kukosa@siemens-enterprise.com> in
429 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
431 ** API and ABI modifications:
432 No changes since last version.
434 * Version 2.8.0 (released 2009-05-27)
436 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
438 ** Major changes compared to the v2.4 branch:
440 *** lib: Linker version scripts reduces number of exported symbols.
442 *** lib: Limit exported symbols on systems without LD linker scripts.
444 *** libgnutls: Fix namespace issue with version symbols.
446 *** libgnutls: Add functions to verify a hash against a certificate.
447 gnutls_x509_crt_verify_hash: ADDED
448 gnutls_x509_crt_get_verify_algorithm: ADDED
450 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
452 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
454 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
456 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
458 *** gnutls-serv: No longer disable MAC padding by default.
460 *** gnutls-cli: Certificate information output format changed.
462 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
463 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
465 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
467 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
469 *** libgnutls: gnutls_handshake when sending client hello during a
470 rehandshake, will not offer a version number larger than the current.
472 *** libgnutls: New interface to get key id for certificate requests.
473 gnutls_x509_crq_get_key_id: ADDED.
475 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
477 *** certtool: --verify-chain now prints results of using library verification.
479 *** libgnutls: Libgcrypt initialization changed.
481 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
483 *** gnutls-cli: Return non-zero exit code on error conditions.
485 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
487 *** certtool: allow setting arbitrary key purpose object identifiers.
489 *** libgnutls: Change detection of when to use a linker version script.
490 Use --enable-ld-version-script or --disable-ld-version-script to
491 override auto-detection logic.
493 *** Fix warnings and build GnuTLS with more warnings enabled.
495 *** New API to set X.509 credentials from PKCS#12 memory structure.
496 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
498 *** Old libgnutls.m4 and libgnutls-config scripts removed.
499 Please use pkg-config instead.
501 *** libgnutls: Added functions to handle CRL extensions.
502 gnutls_x509_crl_get_authority_key_id: ADDED
503 gnutls_x509_crl_get_number: ADDED
504 gnutls_x509_crl_get_extension_oid: ADDED
505 gnutls_x509_crl_get_extension_info: ADDED
506 gnutls_x509_crl_get_extension_data: ADDED
507 gnutls_x509_crl_set_authority_key_id: ADDED
508 gnutls_x509_crl_set_number: ADDED
510 *** libgnutls: Added functions to handle X.509 extensions in Certificate
511 Requests.
512 gnutls_x509_crq_get_key_rsa_raw: ADDED
513 gnutls_x509_crq_get_attribute_info: ADDED
514 gnutls_x509_crq_get_attribute_data: ADDED
515 gnutls_x509_crq_get_extension_info: ADDED
516 gnutls_x509_crq_get_extension_data: ADDED
517 gnutls_x509_crq_get_key_usage: ADDED
518 gnutls_x509_crq_get_basic_constraints: ADDED
519 gnutls_x509_crq_get_subject_alt_name: ADDED
520 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
521 gnutls_x509_crq_get_extension_by_oid: ADDED
522 gnutls_x509_crq_set_subject_alt_name: ADDED
523 gnutls_x509_crq_set_basic_constraints: ADDED
524 gnutls_x509_crq_set_key_usage: ADDED
525 gnutls_x509_crq_get_key_purpose_oid: ADDED
526 gnutls_x509_crq_set_key_purpose_oid: ADDED
527 gnutls_x509_crq_print: ADDED
528 gnutls_x509_crt_set_crq_extensions: ADDED
530 *** certtool: Print and set CRL and CRQ extensions.
532 *** minitasn1: Internal copy updated to libtasn1 v2.1.
534 *** examples: Now released into the public domain.
536 *** The Texinfo and GTK-DOC manuals were improved.
538 *** Several self-tests were added and others improved.
540 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
541 No offically supported interfaces have been modified or removed.  The
542 library should be completely backwards compatible on both the source
543 and binary level.
545 The shared library no longer exports some symbols that have never been
546 officially supported, i.e., not mentioned in any of the header files.
547 The symbols are:
549   _gnutls*
550   gnutls_asn1_tab
551   
552 Normally when symbols are removed, the shared library version has to
553 be incremented.  This leads to a significant cost for everyone using
554 the library.  Because none of the above symbols have ever been
555 intended for use by well-behaved applications, we decided that the it
556 would be better for those applications to pay the price rather than
557 incurring problems on the majority of applications.
559 If it turns out that applications have been using unofficial
560 interfaces, we will need to release a follow-on release on the v2.8
561 branch to exports additional interfaces.  However, initial testing
562 suggests that few if any applications have been using any of the
563 internal symbols.
565 Although not a new change compared to 2.6.x, we'd like to remind you
566 interfaces have been modified so that X.509 chain verification now
567 also checks activation/expiration times on certificates.  The affected
568 functions are:
570 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
571 gnutls_certificate_verify_peers: Likewise.
572 gnutls_certificate_verify_peers2: Likewise.
573 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
574 GNUTLS_CERT_EXPIRED: ADDED.
575 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
577 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
578 we gave our rationale for it in earlier release notes.
580 The following symbols have been added to the library:
582 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
583 gnutls_x509_crl_get_authority_key_id: ADDED
584 gnutls_x509_crl_get_extension_data: ADDED
585 gnutls_x509_crl_get_extension_info: ADDED
586 gnutls_x509_crl_get_extension_oid: ADDED
587 gnutls_x509_crl_get_number: ADDED
588 gnutls_x509_crl_set_authority_key_id: ADDED
589 gnutls_x509_crl_set_number: ADDED
590 gnutls_x509_crq_get_attribute_data: ADDED
591 gnutls_x509_crq_get_attribute_info: ADDED
592 gnutls_x509_crq_get_basic_constraints: ADDED
593 gnutls_x509_crq_get_extension_by_oid: ADDED
594 gnutls_x509_crq_get_extension_data: ADDED
595 gnutls_x509_crq_get_extension_info: ADDED
596 gnutls_x509_crq_get_key_id: ADDED.
597 gnutls_x509_crq_get_key_purpose_oid: ADDED
598 gnutls_x509_crq_get_key_rsa_raw: ADDED
599 gnutls_x509_crq_get_key_usage: ADDED
600 gnutls_x509_crq_get_subject_alt_name: ADDED
601 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
602 gnutls_x509_crq_print: ADDED
603 gnutls_x509_crq_set_basic_constraints: ADDED
604 gnutls_x509_crq_set_key_purpose_oid: ADDED
605 gnutls_x509_crq_set_key_usage: ADDED
606 gnutls_x509_crq_set_subject_alt_name: ADDED
607 gnutls_x509_crt_get_verify_algorithm: ADDED
608 gnutls_x509_crt_set_crq_extensions: ADDED
609 gnutls_x509_crt_verify_hash: ADDED
611 The following interfaces have been added to the header files:
613 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
614 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
615 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
616 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
617 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
618 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
620 The following interfaces have been deprecated:
622 LIBGNUTLS_VERSION: DEPRECATED.
623 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
624 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
625 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
626 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
627 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
629 * Version 2.7.14 (released 2009-05-26)
631 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
632 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
633 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
634 deprecated.
636 ** Doc: Several typo fixes in documentation.
637 Reported by Peter Hendrickson <pdh@wiredyne.com>.
639 ** API and ABI modifications:
640 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
641 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
643 * Version 2.7.13 (released 2009-05-25)
645 ** libgnutls: Fix version of some exported symbols in the shared library.
646 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
647 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
649 ** tests: Handle recently expired certificates in chainverify self-test.
650 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
651 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
653 ** API and ABI modifications:
654 No changes since last version.
656 * Version 2.7.12 (released 2009-05-20)
658 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
660 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
661 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
662 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
664 ** Fix build failures.
665 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
666 G. Christensen" <tgc@jupiterrise.com> in
667 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
669 ** minitasn1: Internal copy updated to libtasn1 v2.2.
670 GnuTLS should work fine with libtasn1 v1.x and that is still
671 supported.
673 ** API and ABI modifications:
674 No changes since last version.
676 * Version 2.7.11 (released 2009-05-18)
678 ** minitasn1: Fix build failure when using internal libtasn1.
679 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
680 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
682 ** libgnutls: Fix build failure with --disable-cxx.
683 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
684 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
686 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
687 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
688 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
690 ** Building with many warning flags now requires --enable-gcc-warnings.
691 This avoids crying wolf for normal compiles.
693 ** API and ABI modifications:
694 No changes since last version.
696 * Version 2.7.10 (released 2009-05-13)
698 ** examples: Now released into the public domain.
699 This makes the license of the example code compatible with more
700 licenses, including the (L)GPL.
702 ** minitasn1: Internal copy updated to libtasn1 v2.1.
703 GnuTLS should work fine with libtasn1 v1.x and that is still
704 supported.
706 ** libgnutls: Fix crash in signature verification
707 The fix for the CVE-2009-1415 problem wasn't merged completely.
709 ** doc: Fixes for GTK-DOC output.
711 ** API and ABI modifications:
712 No changes since last version.
714 * Version 2.7.9 (released 2009-05-11)
716 ** doc: Fix strings in man page of gnutls_priority_init.
718 ** doc: Fix tables of error codes and supported algorithms.
720 ** Fix build failure when cross-compiled using MinGW.
722 ** Fix build failure when LZO is enabled.
723 Reported by Arfrever Frehtes Taifersar Arahesis
724 <arfrever.fta@gmail.com> in
725 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
727 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
728 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
729 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
731 ** Fix warnings in self-tests.
733 ** API and ABI modifications:
734 No changes since last version.
736 * Version 2.7.8 (released 2009-05-03)
738 ** libgnutls: Fix DSA key generation.
739 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
741 ** libgnutls: Check expiration/activation time on untrusted certificates.
742 Merged from stable branch.  Reported by Romain Francoise
743 <romain@orebokech.com>.  This changes the semantics of
744 gnutls_x509_crt_list_verify, which in turn is used by
745 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
746 We add two new gnutls_certificate_status_t codes for reporting the new
747 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
748 We also add a new gnutls_certificate_verify_flags flag,
749 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
750 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
752 ** lib: Linker version scripts reduces number of exported symbols.
753 The linker version script now lists all exported ABIs explicitly, to
754 avoid accidentally exporting unintended functions.  Compared to
755 before, most symbols beginning with _gnutls* are no longer exported.
756 These functions have never been intended for use by applications, and
757 there were no prototypes for these function in the public header
758 files.  Thus we believe it is possible to do this without incrementing
759 the library ABI version which normally has to be done when removing an
760 interface.
762 ** lib: Limit exported symbols on systems without LD linker scripts.
763 Before all symbols were exported.  Now we limit the exported symbols
764 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
765 _gnutls*.  This is a superset of the actual supported ABI, but still
766 an improvement compared to before.  This is implemented using Libtool
767 -export-symbols-regex.  It is more portable than linker version
768 scripts.
770 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
771 This should have been done in the last release.
773 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
774 Reported by Peter Hendrickson <pdh@wiredyne.com> in
775 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
777 ** doc: Improved sections for the info manual.
778 We now follow the advice given by the texinfo manual on which
779 directory categories to use.  In particular, libgnutls moved from the
780 'GNU Libraries' section to the 'Software libraries' and the command
781 line tools moved from 'Network Applications' to 'System
782 Administration'.
784 ** API and ABI modifications:
785 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
786 gnutls_certificate_verify_peers: Likewise.
787 gnutls_certificate_verify_peers2: Likewise.
788 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
789 GNUTLS_CERT_EXPIRED: ADDED.
790 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
792 * Version 2.7.7 (released 2009-04-20)
794 ** libgnutls: Applied patch by Cedric Bail to add functions
795 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
797 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
798 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
799 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
801 ** minitasn1: Internal copy updated to libtasn1 v1.8.
802 GnuTLS is also internally ready to be used with libtasn1 v2.0.
804 ** doc: Fix build failure of errcodes/printlist.
805 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
806 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
808 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
809 It is currently only used by the core library.  This will enable a new
810 domain 'gnutls' for translations of the command line tools.
812 ** Corrected possible memory corruption on signature verification failure. 
813 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
815 ** API and ABI modifications:
816 gnutls_x509_crt_verify_hash: ADDED
817 gnutls_x509_crt_get_verify_algorithm: ADDED
819 * Version 2.7.6 (released 2009-02-27)
821 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
822 This applies both to generating certificates and certificate requests.
824 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
826 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
827 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
828 be used for chain verification.
830 ** gnutls-serv: No longer disable MAC padding by default.
831 Use --priority NORMAL:%COMPAT to disable MAC padding again.
833 ** gnutls-cli: Certificate information output format changed.
834 The tool now uses libgnutls' functions to print certificate
835 information.  This avoids code duplication.
837 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
838 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
839 They can be used to override the default certificate chain validation
840 behaviour.
842 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
843 specify the client hello message record version. Used to overcome buggy 
844 TLS servers. Report by Martin von Gagern.
846 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
848 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
850 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
852 ** API and ABI modifications:
853 No changes since last version.
855 * Version 2.7.5 (released 2009-02-06)
857 ** libgnutls: Accept chains where intermediary certs are trusted.
858 Before GnuTLS needed to validate the entire chain back to a
859 self-signed certificate.  GnuTLS will now stop looking when it has
860 found an intermediary trusted certificate.  The new behaviour is
861 useful when chains, for example, contains a top-level CA, an
862 intermediary CA signed using RSA-MD5, and an end-entity certificate.
863 To avoid chain validation errors due to the RSA-MD5 cert, you can
864 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
865 The signature on trusted certificates are not checked, so the chain
866 has a chance to validate correctly.  Reported by "Douglas E. Engert"
867 <deengert@anl.gov> in
868 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
870 ** libgnutls: result_size in gnutls_hex_encode now holds
871 the size of the result. Report by John Brooks <special@dereferenced.net>.
873 ** libgnutls: gnutls_handshake when sending client hello during a
874 rehandshake, will not offer a version number larger than the current.
875 Reported by Tristan Hill <stan@saticed.me.uk>.
877 ** libgnutls: Permit V1 Certificate Authorities properly.
878 Before they were mistakenly rejected even though
879 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
880 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
881 "Douglas E. Engert" <deengert@anl.gov> in
882 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
884 ** API and ABI modifications:
885 No changes since last version.
887 * Version 2.7.4 (released 2009-01-07)
889 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
890 This is a bugfix -- the previous attempt to do this from internal x509
891 certificate verification procedures did not return the correct value
892 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
893 <dkg@fifthhorseman.net> in
894 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
895 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
896 Gillmor <dkg@fifthhorseman.net>.
898 ** libgnutls: New interface to get key id for certificate requests.
899 Patch from David Marín Carreño <davefx@gmail.com> in
900 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
902 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
904 ** certtool: --verify-chain now prints results of using library verification.
905 Earlier, certtool --verify-chain used its own validation algorithm
906 which wasn't guaranteed to give the same result as the libgnutls
907 internal validation algorithm.  Now this command print a new final
908 line with header 'Chain verification output:' that contains the result
909 from using the internal verification algorithm on the same chain.
911 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
913 ** API and ABI modifications:
914 gnutls_x509_crq_get_key_id: ADDED.
916 * Version 2.7.3 (released 2008-12-10)
918 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
919 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
920 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
921 Andreas Metzler <ametzler@downhill.at.eu.org> in
922 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
924 ** libgnutls: Libgcrypt initialization changed.
925 If libgcrypt has not already been initialized, GnuTLS will now
926 initialize libgcrypt with disabled secure memory.  Initialize
927 libgcrypt explicitly in your application if you want to enable secure
928 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
929 allocation functions, which doesn't use secure memory, so there is no
930 real change in behaviour.
932 ** libgnutls: Fix memory leak in PSK authentication.
933 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
934 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
936 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
938 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
939 It needs to be invoked before libgcrypt is initialized.
941 ** gnutls-cli: Return non-zero exit code on error conditions.
943 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
945 ** tests: Added chainverify self-test that tests X.509 chain verifications.
947 ** API and ABI modifications:
948 No changes since last version.
950 * Version 2.7.2 (released 2008-11-18)
952 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
953 The flaw makes it possible for man in the middle attackers (i.e.,
954 active attackers) to assume any name and trick GNU TLS clients into
955 trusting that name.  Thanks for report and analysis from Martin von
956 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
958 Any updates with more details about this vulnerability will be added
959 to <http://www.gnu.org/software/gnutls/security.html>
961 ** libgnutls: Fix namespace issue with version symbols.
962 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
963 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
964 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
965 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
966 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
967 work but are deprecated.
969 ** certtool: allow setting arbitrary key purpose object identifiers.
971 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
973 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
974 Reported by Kevin Quick <quick@sparq.org> in
975 <https://savannah.gnu.org/support/index.php?106454>.
977 ** libgnutls-extra: Make building with LZO compression work again.
978 Build failure reported by Arfrever Frehtes Taifersar Arahesis
979 <arfrever.fta@gmail.com> in
980 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
982 ** libgnutls: Change detection of when to use a linker version script.
983 Use --enable-ld-version-script or --disable-ld-version-script to
984 override auto-detection logic.
986 ** doc: Change license on the manual to GFDLv1.3+.
988 ** doc: GTK-DOC fixes for new splitted configuration system.
990 ** doc: Texinfo stylesheet uses white background.
992 ** tests: Add cve-2008-4989.c self-test.
993 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
994 follow-on problem with crashes on length 1 certificate chains.
996 ** gnulib: Deprecated modules removed.
997 Modules include memchr and memcmp.
999 ** Fix warnings and build GnuTLS with more warnings enabled.
1001 ** minitasn1: Internal copy updated to libtasn1 v1.7.
1003 ** API and ABI modifications:
1004 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1005 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1006 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1007 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1008 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1009 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1010 LIBGNUTLS_VERSION: DEPRECATED.
1011 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1012 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1013 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1014 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1016 * Version 2.7.1 (released 2008-10-31)
1018 ** certtool: print a PKCS #8 key even if it is not encrypted.
1020 ** Old libgnutls.m4 and libgnutls-config scripts removed.
1021 Please use pkg-config instead.
1023 ** Configuration system modified.
1024 There is now a configure script in lib/ and libextra/ as well, because
1025 gnulib works better with a config.h per gnulib directory.
1027 ** API and ABI modifications:
1028 No changes since last version.
1030 * Version 2.7.0 (released 2008-10-16)
1032 ** libgnutls: Added functions to handle CRL extensions.
1034 ** libgnutls: Added functions to handle X.509 extensions in Certificate
1035 Requests.
1037 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
1038 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
1040 ** certtool: Print and set CRL and CRQ extensions.
1042 ** libgnutls-extra: Protect internal symbols with static.
1043 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1044 Ucko <ucko@ncbi.nlm.nih.gov>.
1046 ** libgnutls-openssl: fix out of bounds access.
1047 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1048 from Thomas Viehmann <tv@beamnet.de>.
1050 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1052 ** tests: Make tests compile when using internal libtasn1.
1053 Patch by ludo@gnu.org (Ludovic Courtès).
1055 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1056 We now require a libgcrypt that has Camellia constants declared in
1057 gcrypt.h, which means v1.3.0 or later.
1059 ** API and ABI modifications:
1060 gnutls_x509_crl_get_authority_key_id: ADDED
1061 gnutls_x509_crl_get_number: ADDED
1062 gnutls_x509_crl_get_extension_oid: ADDED
1063 gnutls_x509_crl_get_extension_info: ADDED
1064 gnutls_x509_crl_get_extension_data: ADDED
1065 gnutls_x509_crl_set_authority_key_id: ADDED
1066 gnutls_x509_crl_set_number: ADDED
1067 gnutls_x509_crq_get_key_rsa_raw: ADDED
1068 gnutls_x509_crq_get_attribute_info: ADDED
1069 gnutls_x509_crq_get_attribute_data: ADDED
1070 gnutls_x509_crq_get_extension_info: ADDED
1071 gnutls_x509_crq_get_extension_data: ADDED
1072 gnutls_x509_crq_get_key_usage: ADDED
1073 gnutls_x509_crq_get_basic_constraints: ADDED
1074 gnutls_x509_crq_get_subject_alt_name: ADDED
1075 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1076 gnutls_x509_crq_get_extension_by_oid: ADDED
1077 gnutls_x509_crq_set_subject_alt_name: ADDED
1078 gnutls_x509_crq_set_basic_constraints: ADDED
1079 gnutls_x509_crq_set_key_usage: ADDED
1080 gnutls_x509_crq_get_key_purpose_oid: ADDED
1081 gnutls_x509_crq_set_key_purpose_oid: ADDED
1082 gnutls_x509_crq_print: ADDED
1083 gnutls_x509_crt_set_crq_extensions: ADDED
1085 * Version 2.6.6 (released 2009-04-30)
1087 ** libgnutls: Corrected double free on signature verification failure.
1088 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
1089 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
1091 ** libgnutls: Fix DSA key generation.
1092 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
1093 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
1094 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1096 ** libgnutls: Check expiration/activation time on untrusted certificates.
1097 Reported by Romain Francoise <romain@orebokech.com>.  Before the
1098 library did not check activation/expiration times on certificates, and
1099 was documented as not doing so.  We have realized that many
1100 applications that use libgnutls, including gnutls-cli, fail to perform
1101 proper checks.  Implementing similar logic in all applications leads
1102 to code duplication.  Hence, we decided to check whether the current
1103 time (as reported by the time function) is within the
1104 activation/expiration period of certificates when verifying untrusted
1105 certificates.
1107 This changes the semantics of gnutls_x509_crt_list_verify, which in
1108 turn is used by gnutls_certificate_verify_peers and
1109 gnutls_certificate_verify_peers2.  We add two new
1110 gnutls_certificate_status_t codes for reporting the new error
1111 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
1112 add a new gnutls_certificate_verify_flags flag,
1113 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1114 behaviour.
1116 More details about the vulnerabilities will be posted at
1117 <http://www.gnu.org/software/gnutls/security.html>.
1119 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1120 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1121 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1123 ** tests: Fix linking of tests/openpgp/keyring self-test.
1124 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1126 ** API and ABI modifications:
1127 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1128 gnutls_certificate_verify_peers: Likewise.
1129 gnutls_certificate_verify_peers2: Likewise.
1130 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1131 GNUTLS_CERT_EXPIRED: ADDED.
1132 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1134 * Version 2.6.5 (released 2009-04-11)
1136 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1137 specify the client hello message record version. Used to overcome buggy
1138 TLS servers. Report by Martin von Gagern.
1140 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1141 Libtasn1 0.3.4 or later is required.  This is to align with the
1142 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1144 ** API and ABI modifications:
1145 No changes since last version.
1147 * Version 2.6.4 (released 2009-02-06)
1149 ** libgnutls: Accept chains where intermediary certs are trusted.
1150 Before GnuTLS needed to validate the entire chain back to a
1151 self-signed certificate.  GnuTLS will now stop looking when it has
1152 found an intermediary trusted certificate.  The new behaviour is
1153 useful when chains, for example, contains a top-level CA, an
1154 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1155 To avoid chain validation errors due to the RSA-MD5 cert, you can
1156 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1157 The signature on trusted certificates are not checked, so the chain
1158 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1159 <deengert@anl.gov> in
1160 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1162 ** libgnutls: result_size in gnutls_hex_encode now holds
1163 the size of the result. Report by John Brooks <special@dereferenced.net>.
1165 ** libgnutls: gnutls_handshake when sending client hello during a
1166 rehandshake, will not offer a version number larger than the current.
1167 Reported by Tristan Hill <stan@saticed.me.uk>.
1169 ** libgnutls: Permit V1 Certificate Authorities properly.
1170 Before they were mistakenly rejected even though
1171 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1172 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1173 "Douglas E. Engert" <deengert@anl.gov> in
1174 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1176 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1177 This is a bugfix -- the previous attempt to do this from internal x509
1178 certificate verification procedures did not return the correct value
1179 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1180 <dkg@fifthhorseman.net> in
1181 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1182 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1183 Gillmor <dkg@fifthhorseman.net>.
1185 ** libgnutls: Fix compile error with Sun CC.
1186 Reported by Jeff Cai <jeff.cai@sun.com> in
1187 <https://savannah.gnu.org/support/?106549>.
1189 ** API and ABI modifications:
1190 No changes since last version.
1192 * Version 2.6.3 (released 2008-12-12)
1194 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1195 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1196 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1197 Andreas Metzler <ametzler@downhill.at.eu.org> in
1198 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1200 ** libgnutls: Fix memory leak in PSK authentication.
1201 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1202 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1204 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1205 It needs to be invoked before libgcrypt is initialized.
1207 ** gnutls-cli: Return non-zero exit code on error conditions.
1209 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1211 ** API and ABI modifications:
1212 No changes since last version.
1214 * Version 2.6.2 (released 2008-11-12)
1216 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1217 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1218 problem for certificate chains that contained just one self-signed
1219 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1220 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1222 ** API and ABI modifications:
1223 No changes since last version.
1225 * Version 2.6.1 (released 2008-11-10)
1227 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1228 The flaw makes it possible for man in the middle attackers (i.e.,
1229 active attackers) to assume any name and trick GNU TLS clients into
1230 trusting that name.  Thanks for report and analysis from Martin von
1231 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1233 Any updates with more details about this vulnerability will be added
1234 to <http://www.gnu.org/software/gnutls/security.html>
1236 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1237 Reported by Kevin Quick <quick@sparq.org> in
1238 <https://savannah.gnu.org/support/index.php?106454>.
1240 ** libgnutls-extra: Protect internal symbols with static.
1241 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1242 Ucko <ucko@ncbi.nlm.nih.gov>.
1244 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1245 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1246 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1248 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1250 ** tests: Make tests compile when using internal libtasn1.
1251 Patch by ludo@gnu.org (Ludovic Courtès).
1253 ** API and ABI modifications:
1254 No changes since last version.
1256 * Version 2.6.0 (released 2008-10-06)
1258 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1260 ** libgnutls-openssl: fix out of bounds access.
1261 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1262 from Thomas Viehmann <tv@beamnet.de>.
1264 ** certtool: Use inet_pton for parsing IPv6 addresses.
1266 ** Major changes compared to the v2.4 branch:
1268 *** Added API to replace and update the crypto backend.
1270 *** certtool: can add several subject alternative names via template file.
1272 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1274 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1275 either set or append alternative names. It can also handle binary structures
1276 such as IP addresses.
1278 *** libgnutls: New function to set minimum acceptable SRP bits.
1279 The function is gnutls_srp_set_prime_bits.
1281 *** libgnutls: Add interface to deal with public key and signature algorithms.
1282 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1283 gnutls_sign_list, and gnutls_sign_get_id.
1285 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1286 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1288 *** libgnutls: New API to get a string corresponding to a error symbol.
1289 The function is gnutls_strerror_name.
1291 *** libgnutls: New API to set the public parameters in a certificate request
1292 *** from a private key.
1293 The function is gnutls_x509_crq_set_key_rsa_raw.
1295 *** libgnutls: New API to set a callback to extract TLS Finished data.
1296 The function to register is gnutls_session_set_finished_function and
1297 it takes a callback of the gnutls_finished_callback_func type.
1299 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1301 *** libgnutls: New interface to register a new TLS extension handler.
1302 The new function gnutls_ext_register can be used to register handlers
1303 for specific TLS extension types.  The callback functions have the new
1304 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1305 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1306 well.
1308 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1309 The function is gnutls_register_md5_handler.  When libgcrypt is in
1310 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1311 the PRF.
1313 *** API/ABI changes in GnuTLS 2.6
1314 No functions have been removed or modified.  The library should be
1315 fully backwards compatible on both the source and binary level.
1317 A new header file <gnutls/crypto.h> have been added.  It contains
1318 definitions related to replacing the internal crypto functionality.
1319 All definitions and the header itself is experimental but supported.
1321 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1322 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1323 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1325 The following functions have been added to libgnutls:
1327 GNUTLS_MASTER_SIZE
1328 GNUTLS_RANDOM_SIZE
1329 gnutls_crypto_bigint_register2
1330 gnutls_crypto_cipher_register2
1331 gnutls_crypto_digest_register2
1332 gnutls_crypto_mac_register2
1333 gnutls_crypto_pk_register2
1334 gnutls_crypto_rnd_register2
1335 gnutls_crypto_single_cipher_register2
1336 gnutls_crypto_single_digest_register2
1337 gnutls_crypto_single_mac_register2
1338 gnutls_ext_register
1339 gnutls_pk_get_id
1340 gnutls_pk_get_name
1341 gnutls_pk_list
1342 gnutls_session_set_finished_function
1343 gnutls_sign_get_id
1344 gnutls_sign_get_name
1345 gnutls_sign_list
1346 gnutls_srp_set_prime_bits:
1347 gnutls_strerror_name
1348 gnutls_x509_crq_set_key_rsa_raw
1349 gnutls_x509_crt_set_crl_dist_points2
1350 gnutls_x509_crt_set_subject_alt_name
1352 The following functions have been added to libgnutls-extra:
1354 gnutls_register_md5_handler
1356 ** API and ABI modifications:
1357 No changes since last version.
1359 * Version 2.5.9 (released 2008-09-29)
1361 ** libgnutls: Fix several memory leaks.
1362 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1364 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1365 Report and patch by Jonathan Manktelow.
1367 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1368 The parameters are now allocated in the structure itself.
1370 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1372 ** tests: Scripts now use EXEEXT properly.
1373 Modern libtool doesn't create wrapper script, so the self tests need
1374 to invoke certtool.exe under MinGW32+Wine.
1376 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1377 Automake warnings are now also enabled.
1379 ** API and ABI modifications:
1380 gnutls_pk_params_st: MODIFIED
1382 * Version 2.5.8 (released 2008-09-21)
1384 ** certtool: updated so it can add several subject alternative names using
1385 the template file.
1387 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1388 either set or append alternative names. It can also handle binary structures
1389 such as IP addresses.
1391 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1393 ** libgnutls: New function to set minimum acceptable SRP bits.
1394 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1395 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1397 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1398 Also fix overflows in calls to those functions.  Reported by Werner
1399 Koch <wk@gnupg.org>.
1401 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1402 The function is gnutls_register_md5_handler.  When libgcrypt is in
1403 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1404 the PRF.
1406 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1408 ** Indent code.
1410 ** API and ABI modifications:
1411 gnutls_srp_set_prime_bits: ADDED
1412 gnutls_register_md5_handler: ADDED
1413 gnutls_x509_crt_set_crl_dist_points2: ADDED
1414 gnutls_x509_crt_set_subject_alt_name: ADDED
1416 * Version 2.5.7 (released 2008-09-16)
1418 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1419 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1421 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1423 ** libgnutls: Fix libgnutls shared library version.
1424 It wasn't properly incremented after adding symbols in the last
1425 release.
1427 ** manual: Now mention supported public key and public key signing algorithms.
1429 ** tests/openssl: initialize gnutls before use.
1431 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1433 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1435 ** API and ABI modifications:
1436 gnutls_sign_get_name: ADDED
1437 gnutls_pk_get_name: ADDED
1439 * Version 2.5.6 (released 2008-09-08)
1441 ** libgnutls: Add interface to deal with public key and signature algorithms.
1442 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1443 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1444 Varshavchik <mrsam@courier-mta.com>.
1446 ** libgnutls: Refactor and clean up some code.
1448 ** libgnutls: Fix compile error with Sun CC.
1450 ** gnutls-cli: Improve --list output to include public key and signature algs.
1452 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1453 Use standard --version to get license info.
1455 ** gnutls-cli.1: Document all new parameters.
1456 Thanks to James Westby <jw+debian@jameswestby.net>.
1458 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1459 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1461 ** API and ABI modifications:
1462 gnutls_pk_list: ADDED
1463 gnutls_pk_get_id: ADDED
1464 gnutls_sign_list: ADDED
1465 gnutls_sign_get_id: ADDED
1467 * Version 2.5.5 (released 2008-08-29)
1469 ** libgnutls: New API to get a string corresponding to a error symbol.
1470 The function is gnutls_strerror_name.
1472 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1473 Reported by "jth.net ApS" <info@jth.net>.
1475 ** libgnutls: Fix segmentation fault when generating private keys.
1476 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1478 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1479 The code has not worked since v0.9.0 and apparently nobody has missed
1480 it, so we decided to remove the code rather than fix it.  If you have
1481 old certificate chains stored in PKCS#7 format, you can convert them
1482 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1483 by Christian Grothoff <christian@grothoff.org>.
1485 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1486 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1488 ** libgnutls: Fix many warnings.
1490 ** Included copy of libtasn1 is upgraded to version 1.5.
1492 ** Add French translation, thanks to Nicolas Provost.
1494 ** API and ABI modifications:
1495 gnutls_strerror_name: ADDED
1497 * Version 2.5.4 (released 2008-08-19)
1499 ** Fix secure memory initialization of libgcrypt.
1500 Reported by Joe Orton <joe@manyfish.co.uk> in
1501 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1503 ** Doc fixes.
1504 Reference to NIST SP 800-57 in the manual on key size recommendations.
1505 Added 'Since:' tags to new APIs for gtk-doc.
1507 ** API and ABI modifications:
1508 No changes since last version.
1510 * Version 2.5.3 (released 2008-08-14)
1512 ** libgnutls: New API to set the public parameters in a certificate request
1513 ** from a private key.
1514 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1515 discussion with "Zach C." <fxchip@gmail.com>.
1517 ** libgnutls: New API to set a callback to extract TLS Finished data.
1518 The function to register is gnutls_session_set_finished_function and
1519 it takes a callback of the gnutls_finished_callback_func type.
1521 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1522 Reported in <https://savannah.gnu.org/support/?106453>.
1524 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1525 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1526 names are mapped to the new names in compat.h.  These mappings will
1527 likely be removed more quickly than other mappings in that file due to
1528 the namespace violation.
1530 ** libgnutlsxx: Make it build when SRP is disabled.
1532 ** doc: Add doxygen files in doc/doxygen/.
1534 ** API and ABI modifications:
1535 gnutls_x509_crq_set_key_rsa_raw: ADDED
1536 gnutls_session_set_finished_function: ADDED
1537 gnutls_finished_callback_func: ADDED
1538 GNUTLS_MASTER_SIZE: ADDED
1539 GNUTLS_RANDOM_SIZE: ADDED
1540 TLS_MASTER_SIZE: DEPRECATED
1541 TLS_RANDOM_SIZE: DEPRECATED
1543 * Version 2.5.2 (released 2008-07-08)
1545 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1546 The prime and generator was swapped.
1548 ** libgnutls: New interface to register a new TLS extension handler.
1549 The new function gnutls_ext_register can be used to register handlers
1550 for specific TLS extension types.  The callback functions have the new
1551 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1552 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1553 well.
1555 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1556 This was made possible by using the new gnutls_ext_register interface.
1557 The TLS/IA functionality has only been supported through the
1558 libgnutls-extra library, so it makes sense for the code to belong
1559 there too.
1561 ** API and ABI modifications:
1562 gnutls_ext_recv_func: ADDED
1563 gnutls_ext_send_func: ADDED
1564 gnutls_ext_parse_type_t: ADDED
1565 gnutls_ext_register: ADDED
1567 * Version 2.5.1 (released 2008-07-02)
1569 ** Indent code.
1571 ** API and ABI modifications:
1572 No changes since last version.
1574 * Version 2.5.0 (released 2008-07-02)
1576 ** Port fixes from v2.4.1 release, see below.
1578 ** Added API to replace and update the crypto backend.
1579 The header gnutls/crypto.h is now officially supported, and declares
1580 the symbols below.
1582 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1584 ** Update gnulib and translations.
1585 The gnulib gc crypto code has been removed since it was never finished
1586 and is no longer even used.  An internal non-libgcrypt crypto
1587 implementation may be added in the future, but we'll decide that later
1590 ** API and ABI modifications:
1591 gnutls_crypto_bigint_register2: ADDED.
1592 gnutls_crypto_cipher_register2: ADDED.
1593 gnutls_crypto_digest_register2: ADDED.
1594 gnutls_crypto_mac_register2: ADDED.
1595 gnutls_crypto_pk_register2: ADDED.
1596 gnutls_crypto_rnd_register2: ADDED.
1597 gnutls_crypto_single_cipher_register2: ADDED.
1598 gnutls_crypto_single_digest_register2: ADDED.
1599 gnutls_crypto_single_mac_register2: ADDED.
1601 * Version 2.4.3 (released 2009-02-06)
1603 ** libgnutls: Accept chains where intermediary certs are trusted.
1604 Before GnuTLS needed to validate the entire chain back to a
1605 self-signed certificate.  GnuTLS will now stop looking when it has
1606 found an intermediary trusted certificate.  The new behaviour is
1607 useful when chains, for example, contains a top-level CA, an
1608 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1609 To avoid chain validation errors due to the RSA-MD5 cert, you can
1610 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1611 The signature on trusted certificates are not checked, so the chain
1612 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1613 <deengert@anl.gov> in
1614 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1616 ** libgnutls: Permit V1 Certificate Authorities properly.
1617 Before they were mistakenly rejected even though
1618 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1619 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1620 "Douglas E. Engert" <deengert@anl.gov> in
1621 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1623 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1624 This is a bugfix -- the previous attempt to do this from internal x509
1625 certificate verification procedures did not return the correct value
1626 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1627 <dkg@fifthhorseman.net> in
1628 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1629 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1630 Gillmor <dkg@fifthhorseman.net>.
1632 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1633 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1634 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1635 Andreas Metzler <ametzler@downhill.at.eu.org> in
1636 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1638 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1639 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1640 problem for certificate chains that contained just one self-signed
1641 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1642 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1644 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1645 The flaw makes it possible for man in the middle attackers (i.e.,
1646 active attackers) to assume any name and trick GNU TLS clients into
1647 trusting that name.  Thanks for report and analysis from Martin von
1648 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1650 Any updates with more details about this vulnerability will be added
1651 to <http://www.gnu.org/software/gnutls/security.html>
1653 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1654 Report and patch by Jonathan Manktelow.
1656 ** libgnutls: Avoid use of non-thread safe strerror.
1658 ** API and ABI modifications:
1659 No changes since last version.
1661 * Version 2.4.2 (released 2008-09-15)
1663 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1665 ** libgnutls: Corrected memory leak in X.509 functions.
1666 Thanks to Colin Leroy <colin@colino.net>.
1668 ** libgnutls: Fix compile error with Sun CC.
1670 ** gnutls-cli.1: Document all new parameters.
1671 Thanks to James Westby <jw+debian@jameswestby.net>.
1673 ** tests/openssl: initialize gnutls before use.
1674 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1675 <ludovic.courtes@laas.fr>.
1677 ** doc/: Fix texinfo markup for old texinfo versions.
1679 ** Included copy of libtasn1 is upgraded to version 1.5.
1681 ** API and ABI modifications:
1682 No changes since last version.
1684 * Version 2.4.1 (released 2008-06-30)
1686 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1687 If the gnutls_handshake function is called for a normal session, which
1688 can happen for re-handshakes, the library would crash because it tried
1689 to hash some data using a libgcrypt handle that had been deallocated.
1690 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1691 with more details about this vulnerability will be added to
1692 <http://www.gnu.org/software/gnutls/security.html>
1694 ** libgnutls: Fix memory leaks when doing a re-handshake.
1695 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1696 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1698 ** Fix compiler warnings.
1699 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1700 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1702 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1703 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1704 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1706 ** srptool: Fix a problem where --verify check does not succeed.
1707 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1708 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1710 ** API and ABI modifications:
1711 No changes since last version.
1713 * Version 2.4.0 (released 2008-06-19)
1715 ** Major changes compared to the v2.2 branch:
1717 *** The OpenPGP sub-system has been improved and now supports subkeys.
1719 *** The PSK sub-system has been improved and now supports password
1720 *** derivation and PSK identity hints.
1721 The password derivation algorithms support is documented in
1722 draft-ietf-netconf-tls-02.txt.
1724 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1725 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1726 The old parameters will continue to work for some time.
1728 *** Certtool now confirm passwords and changes permissions of private key files.
1730 *** The default handshake size limit has been increased to 48kb.
1731 It appears as if some valid handshakes are large due to sending many
1732 CA certificates.  (The earlier limit was 16kb.)
1734 *** LZO compression is now disabled by default.
1735 The main reason is that LZO compression in TLS is not standardized,
1736 but license compatiblity issues with minilzo triggered us to make this
1737 decision now.
1739 *** Improvements for cross-compilation to Windows and OpenWRT.
1741 *** The look of the GTK-DOC manual has been improved.
1742 Major developer visible changes compared to the v2.2 branch:
1744 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1746 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1747 *** elements from the certificate credentials structure.
1748 Thanks to Joe Orton.
1750 *** New APIs to improve working with username/passwords and PSK.
1752 *** Names of constants to affect certificate printing changed.
1753 The constants are used for OpenPGP too, which the names didn't
1754 reflect, so the following name change has been made:
1756             Old name                         New name
1757      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
1758      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
1759      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
1761 The old names will be mapped to the new names for some time.
1763 *** The function gnutls_openpgp_privkey_get_id has been renamed to
1764 *** gnutls_openpgp_privkey_get_key_id.
1765 A compatibility mapping exists to avoid breaking API backwards
1766 compatibility.
1768 *** Replaced all uses of alloca with malloc and free.
1770 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
1771 We have been unable to find a documented rationale for this practice.
1773 *** Of course, many smaller fixes have been made, see the ChangeLog file.
1775 *** API/ABI changes in GnuTLS 2.4
1776 All OpenPGP related functions have been moved from libgnutls-extra to
1777 libgnutls, and several new functions have been added (see below).
1778 Before making the release, we discussed whether moving functions from
1779 libgnutls-extra to libgnutls would require us to increment the ABI
1780 version, but the general opinion was that this would not be required.
1781 All older functions continue to work the same.  We are open to the
1782 possibility that this decision will lead to problem on some platform,
1783 and if it turns out that the Right Thing should have been to increment
1784 the shared library version, we would need to release an update within
1785 the 2.4.x branch that increments the shared library version.
1787 This release adds the following functions:
1789   gnutls_psk_client_get_hint
1790   gnutls_psk_set_server_credentials_hint
1791   gnutls_psk_netconf_derive_key
1793     Used to get/set the PSK identity hint, and derive PSK keys from
1794     passwords a'la netconf.
1796   gnutls_x509_dn_deinit
1797   gnutls_x509_dn_export
1798   gnutls_x509_dn_import
1799   gnutls_x509_dn_init
1801     Used to handle X.509 Certificate DN's directly.
1803   gnutls_hex2bin
1805     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
1806     secrets.
1808   gnutls_certificate_get_x509_cas
1809   gnutls_certificate_get_x509_crls
1810   gnutls_certificate_get_openpgp_keyring
1812     Functions for direct access to credential elements.
1814   gnutls_openpgp_crt_get_auth_subkey
1815   gnutls_openpgp_crt_get_key_id
1816   gnutls_openpgp_crt_get_pk_dsa_raw
1817   gnutls_openpgp_crt_get_pk_rsa_raw
1818   gnutls_openpgp_crt_get_preferred_key_id
1819   gnutls_openpgp_crt_get_revoked_status
1820   gnutls_openpgp_crt_get_subkey_count
1821   gnutls_openpgp_crt_get_subkey_creation_time
1822   gnutls_openpgp_crt_get_subkey_expiration_time
1823   gnutls_openpgp_crt_get_subkey_fingerprint
1824   gnutls_openpgp_crt_get_subkey_id
1825   gnutls_openpgp_crt_get_subkey_idx
1826   gnutls_openpgp_crt_get_subkey_pk_algorithm
1827   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
1828   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
1829   gnutls_openpgp_crt_get_subkey_revoked_status
1830   gnutls_openpgp_crt_get_subkey_usage
1831   gnutls_openpgp_crt_print
1832   gnutls_openpgp_crt_set_preferred_key_id
1833   gnutls_openpgp_keyring_get_crt
1834   gnutls_openpgp_keyring_get_crt_count
1835   gnutls_openpgp_privkey_export
1836   gnutls_openpgp_privkey_export_dsa_raw
1837   gnutls_openpgp_privkey_export_rsa_raw
1838   gnutls_openpgp_privkey_export_subkey_dsa_raw
1839   gnutls_openpgp_privkey_export_subkey_rsa_raw
1840   gnutls_openpgp_privkey_get_fingerprint
1841   gnutls_openpgp_privkey_get_key_id
1842   gnutls_openpgp_privkey_get_pk_algorithm
1843   gnutls_openpgp_privkey_get_preferred_key_id
1844   gnutls_openpgp_privkey_get_revoked_status
1845   gnutls_openpgp_privkey_get_subkey_count
1846   gnutls_openpgp_privkey_get_subkey_creation_time
1847   gnutls_openpgp_privkey_get_subkey_expiration_time
1848   gnutls_openpgp_privkey_get_subkey_fingerprint
1849   gnutls_openpgp_privkey_get_subkey_id
1850   gnutls_openpgp_privkey_get_subkey_idx
1851   gnutls_openpgp_privkey_get_subkey_pk_algorithm
1852   gnutls_openpgp_privkey_get_subkey_revoked_status
1853   gnutls_openpgp_privkey_set_preferred_key_id
1855     New OpenPGP related functions.
1857     The function gnutls_openpgp_crt_get_key_id is the same as the old
1858     from gnutls_openpgp_crt_get_id, see above.
1860 The release also adds a new header file 'gnutls/crypto.h', however it
1861 is currently not used.
1863 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
1864 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1866 ** API and ABI modifications:
1867 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
1868 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
1870 * Version 2.3.15 (released 2008-06-15)
1872 ** Disable the openpgp-certs self-tests.
1873 It results in failure under Wine and doesn't work on Debian buildds.
1875 ** API and ABI modifications:
1876 No changes since last version.
1878 * Version 2.3.14 (released 2008-06-11)
1880 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
1881 An OpenPGP certificate is now only considered verified if all the user
1882 IDs are verified.
1884 ** Examples: Make C++ example compile.
1885 Earlier it may have failed with an unresolved reference to strlen.
1887 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
1888 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1890 ** API and ABI modifications:
1891 No changes since last version.
1893 * Version 2.3.13 (released 2008-06-07)
1895 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
1897 ** doc/: Add psktool to info index.  Some minor cleanups.
1899 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
1901 ** tests/: Added libgcrypt.supp which can be used with valgrind.
1902 The file suppresses the known libgcrypt memory leaks, so they aren't
1903 printed when you run valgrind on the gnutls self-tests.  Use it as
1904 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
1905 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
1906 ~/.valgrindrc file.
1908 ** tests/: Reduce amount of debugging output by default.
1909 Use --verbose for each test to get the full output.
1911 ** tests/: Fix memory leaks in several self-tests.
1912 None of the self tests should be leaking memory when running valgrind
1913 or similar tools.  (Known exceptions are dhepskself, pskself, and
1914 set_pkcs12_cred, which appear likely to be due to memory leaks in the
1915 library.)
1917 ** API and ABI modifications:
1918 No changes since last version.
1920 * Version 2.3.12 (released 2008-06-04)
1922 ** Merge gnutls_with_netconf branch.
1924 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
1925 The function is gnutls_psk_client_get_hint.
1927 *** libgnutls [PSK]: New API to set PSK identity hint in server.
1928 The function is gnutls_psk_set_server_credentials_hint.
1930 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
1931 In the client, the message is parsed and the application can use
1932 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
1933 message is sent if the application has specified a PSK identity hint
1934 using gnutls_psk_set_server_credentials_hint.
1936 *** libgnutls [PSK]: Support Netconf PSK key derivation.
1937 The function gnutls_psk_netconf_derive_key supports the PSK key
1938 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
1939 test netconf-psk.c.
1941 *** psktool: Support new --netconf-hint to generate PSK key from password.
1942 Uses the Netconf algorithm to derive PSK key from password.
1944 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
1946 *** gnutls-cli: Always support PSK modes, through a callback.
1947 The callback will derive a PSK key using Netconf algorithm.  It will
1948 print the PSK identity hint to help the user.
1950 *** New PSK example client and server.
1951 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
1953 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
1954 The code didn't work properly on platforms where 'char' is unsigned,
1955 when you set version 0.  Reported by Laurence Withers
1956 <l@lwithers.me.uk> in
1957 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
1959 ** libgnutls-openssl: added RAND_pseudo_bytes API.
1960 Patch from Robert Millan <rmh@aybabtu.com>.
1962 ** API and ABI modifications:
1963 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
1964 gnutls_psk_client_get_hint: ADDED.
1965 gnutls_psk_set_server_credentials_hint: ADDED.
1966 gnutls_psk_netconf_derive_key: ADDED
1968 * Version 2.3.11 (released 2008-05-20)
1970 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
1971 The flaw would result in incorrectly terminated sessions with the
1972 error "Decryption has failed" when the server sends a small packet
1973 (typically when the session is closed).  Reported by Andreas Metzler
1974 <ametzler@downhill.at.eu.org> in
1975 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
1977 ** Don't use gnulib headers when building C++ library.
1978 Fixes builds under Windows.
1980 ** Make umask a requirement.
1981 We don't know of any system that lacks it, even GNU CoreUtils use it
1982 unconditionally.
1984 ** Update gnulib files.
1985 Fixes a problem where it pulled in a replacement for memcmp under
1986 MinGW, which caused the C++ example to fail to build.
1988 ** API and ABI modifications:
1989 No changes since last version.
1991 * Version 2.3.10 (released 2008-05-19)
1993 ** Added wide wildcard hostname matching.
1994 Tiny patch by Jean-Philippe Garcia Ballester.
1996 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
1997 Thanks to CERT-FI for finding the bugs and providing detailed reports,
1998 which allowed the bugs to be reproduced and fixed easily.  Patches
1999 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2000 with more details about these vulnerabilities will be added to
2001 <http://www.gnu.org/software/gnutls/security.html>
2003 *** [GNUTLS-SA-2008-1-1]
2004 *** libgnutls: Fix crash when sending invalid server name.
2005 The crash can be triggered remotely before authentication, which can
2006 lead to a Daniel of Service attack to disable the server.  The bug
2007 cause gnutls to store more session resumption data than what was
2008 allocated for, thus overwriting unallocated memory.
2010 *** [GNUTLS-SA-2008-1-2]
2011 *** libgnutls: Fix crash when sending repeated client hellos.
2012 The crash can be triggered remotely before authentication, which can
2013 lead to a Daniel of Service attack to disable the server.  The bug
2014 triggers a null-pointer dereference.
2016 *** [GNUTLS-SA-2008-1-3]
2017 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2018 The crash can be triggered remotely before authentication, which can
2019 lead to a Daniel of Service attack to disable the server.  The bug
2020 cause gnutls to read memory beyond the end of the received record.
2022 ** libgnutlsxx: Updated API according to patches from Eduardo 
2023 Villanueva Che (discussion at
2024 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
2026 ** Use umask to restrict permissions to owner before creating a file.
2028 ** API and ABI modifications:
2029 No changes since last version.
2031 * Version 2.3.9 (released 2008-05-16)
2033 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
2034 Based on report and tiny patches from
2035 <jared.jennings.ctr@eglin.af.mil>, see
2036 <https://savannah.gnu.org/support/index.php?106342>.
2038 ** libgnutls: Translation fixes.
2040 ** gnutls-cli: Fix so that PSK authentication works.
2041 Also improve manual to give example for gnutls-cli PSK authentication.
2043 ** certtool: Encrypting a private key now require a confirmed password.
2044 Before './certtool -k -8' would merely ask for a password once.
2045 Reported by Daniel 'NebuchadnezzaR' Dehennin
2046 <nebuchadnezzar@asgardr.info> see
2047 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2049 ** certtool: When writing private keys to files, change permissions of file.
2050 Now the file which the private key is saved to is chmod'ed 0600.
2051 Reported by martin f krafft <madduck@debian.org> see
2052 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2054 ** guile: Fix -fgnu89-inline test.
2056 ** Removed --enable-profile-mode.
2057 The code linked gnutls with the libfc project (Function Check) which
2058 appears to have been stalled since around 2002.
2060 ** Clean up header file checks by ./configure.
2062 ** Update of gnulib files.
2064 ** API and ABI modifications:
2065 No changes since last version.
2067 * Version 2.3.8 (released 2008-04-29)
2069 ** libgnutls: Increase default handshake packet size limit to 48kb.
2070 The old limit was 16kb and some servers send huge list of trusted CAs,
2071 thus running into the limit.  FYI, applications can further increase
2072 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2073 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2074 <marc@mclemente.net> for reporting and providing test servers.
2076 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2077 Returned when the handshake data size is too large.  Before
2078 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2079 error situations.
2081 ** libgnutls: Hide definitions in crypto.h.
2082 We have decided that the APIs defined in crypto.h are not stable
2083 enough for v2.4, so don't use any of those functions.
2085 ** gnutls-cli: exit when hostname doesn't match certificate.
2086 Use --insecure to avoid hostname comparison.
2088 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2089 The reason is to align terminology with OpenPGP, which doesn't use
2090 DER.  The old parameters will continue to work for some time.
2092 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2094 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2096 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2097 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2098 vasprintf symbol from the libgcrypt library which caused problems.
2100 ** Update of gnulib files.
2102 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2104 ** API and ABI modifications:
2105 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2107 * Version 2.3.7 (released 2008-04-21)
2109 ** opencdk now properly sets the key usage bits into openpgp keys.
2111 ** gnutls-cli: Fix crash on TLS handshake failures.
2112 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2113 This is similar to <http://bugs.debian.org/429183>.
2115 ** certtool: with --generate-request and newly generated keys, print the key.
2117 ** Build fixes for MinGW.
2118 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2119 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2120 X.509 certificate information, to avoid non-ASCII but printable
2121 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2122 reports.
2124 ** Update internal copy of libtasn1 to version 1.4.
2126 ** API and ABI modifications:
2127 No changes since last version.
2129 * Version 2.3.6 (released 2008-04-17)
2131 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2132 ** Improve documentation for gnutls_x509_crq_sign2.
2133 Based on report from "John Brooks" <aspecialj@gmail.com> in
2134 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2136 ** tests/pathlen: run diff without parameters to improve portability.
2137 Based on HPUX build hints in
2138 <http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/gnutls-2.3.4/gnutls-2.3.4-src-11.11.tar.gz+gnutls-2.3.4/HPUX.Install+text>.
2140 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2141 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2142 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2144 ** Remove all uses of gnutls_alloca/gnutls_afree.
2145 Use normal gnutls_malloc instead.  One reason is increased portability
2146 to Windows, the other is that several of the uses may be unsafe
2147 because the size of data allocated could be large.  Reported by
2148 Massimo Gaspari <massimo.gaspari@alice.it> in
2149 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2151 ** Build Guile code with -fgnu89-inline only when supported.
2152 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2153 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2155 ** Several GTK-DOC related fixes.
2157 ** Clean up OpenCDK related code.
2158 GnuTLS now requires its internal OpenCDK code rather than the external
2159 GPL library OpenCDK.  Unfortunately, we don't have resources to
2160 maintain an external library (help welcome).
2162 ** API and ABI modifications:
2163 No changes since last version.
2165 * Version 2.3.5 (released 2008-04-14)
2167 ** Build fix for MinGW and --disable-shared.
2168 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2169 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2171 ** Document how to generate CRLs.
2172 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2174 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2176 ** Several minor fixes in the OpenPGP interface.
2177 Thanks to Daniel Kahn Gillmor.
2179 ** Fix fopen file descriptor leak in PSK server code.
2180 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2181 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2183 ** Translations files not stored directly in git to avoid merge conflicts.
2185 ** New APIs to let applications replace the RNG used.
2186 Update all RNG callers in the code to use the new interface.
2188 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2190 ** Update gnulib files.
2192 ** API and ABI modifications:
2193 gnutls_crypto_rnd_register: ADDED
2194 gnutls_rnd_level_t: ADDED
2195 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2196 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2197 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2198 gnutls_crypto_rnd_st: ADDED
2199 GNUTLS_DIG_SHA224: ADDED
2200 GNUTLS_SIGN_RSA_SHA224: ADDED
2201 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2203 * Version 2.3.4 (released 2008-03-19)
2205 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2206 They weren't renamed in the public header file.
2208 ** Added functions to register a cipher/mac/digest. This allows to 
2209 override the included ones.
2211 ** Fix a bunch of compiler warnings.
2213 ** API and ABI modifications:
2214 gnutls_crypto_cipher_st: ADDED
2215 gnutls_crypto_mac_st: ADDED
2216 gnutls_crypto_digest_st: ADDED
2217 gnutls_crypto_cipher_register: ADDED
2218 gnutls_crypto_mac_register: ADDED
2219 gnutls_crypto_digest_register: ADDED
2220 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2222 * Version 2.3.3 (released 2008-03-10)
2224 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2225 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2227 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2228 We could not find any modern justification for enabling these flags by
2229 default.  If you know of some platform that needs one of the flags to
2230 work properly, please let us know.  (Actually introduced in v2.3.0 but
2231 not documented until now.)
2233 ** Importing many CA certificates are now considerably faster.
2234 This affect gnutls_certificate_set_x509_trust_mem,
2235 gnutls_certificate_set_x509_trust, and
2236 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2237 from O(2*n^2) to O(n).  When adding 206 files containing 408
2238 certificates, using gnutls_certificate_set_x509_trust_file, the time
2239 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2240 to trigger the problem.  See also
2241 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2243 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2244 ** to be explicit that it takes zero terminated data.
2246 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2248 ** Documentation fixes for the GTK-DOC manual.
2250 ** Fix compilation error related to __FUNCTION__ on some systems.
2251 Reported by Tim Mooney, see
2252 <https://savannah.gnu.org/support/?106267>.
2254 ** Updated translations.
2256 ** Update gnulib files.
2258 ** API and ABI modifications:
2259 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2260                 and char* instead of void* for output buffer.
2262 * Version 2.3.2 (released 2008-02-26)
2264 ** Fix srcdir!=objdir failure in openpgpself test.
2266 ** Improved API documentation output from GTK-DOC.
2268 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2270 ** Renamed gnutls_certificate_export_x509_cas and friends.
2271 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2273 ** Internal header files cleanup.
2275 ** API and ABI modifications:
2276 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2277 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2278 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2279 gnutls_x509_dn_export: ADDED
2281 * Version 2.3.1 (released 2008-02-21)
2283 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2284 The included copy of OpenCDK has been stripped down and re-licensed
2285 under the LGPL.
2287 ** Cipher priority string handling now handle strings that starts with NULL.
2288 Thanks to Laurence Withers <l@lwithers.me.uk>.
2290 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2292 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2293 by Daniel Stenberg.
2295 ** Increased the default certificate verification chain limits and allowed
2296 for checks without limitation.
2298 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2299 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2300 strings and return the proper size.
2302 ** Add section 'On Record Padding' to the manual.
2303 This collects all problems related to record padding with
2304 Nokia/Sony-Ericsson phones that we know about.
2306 ** Several improvements in the OpenPGP authentication.
2307 Now subkeys can be used for authentication, according to
2308 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2310 ** certtool can print information on OpenPGP certificates and keys.
2312 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2313 Patch by Joe Orton.
2315 ** Added gnutls_certificate_export_x509_cas and other functions to
2316 export elements from the certificate credentials structure.  Based on
2317 suggestion from Joe Orton.
2319 ** Doc fixes.
2320 Clarify that srp_base64 is not the same as normal base64.
2322 ** Fix non-portable use of brace expansion in makefiles.
2324 ** API and ABI modifications:
2325 gnutls_certificate_export_x509_cas: ADDED
2326 gnutls_certificate_export_x509_crls: ADDED
2327 gnutls_certificate_export_openpgp_keyring: ADDED
2328 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2329 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2330 gnutls_openpgp_crt_get_revoked_status: ADDED
2331 gnutls_openpgp_crt_get_subkey_count: ADDED
2332 gnutls_openpgp_crt_get_subkey_idx: ADDED
2333 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2334 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2335 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2336 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2337 gnutls_openpgp_crt_get_subkey_id: ADDED
2338 gnutls_openpgp_crt_get_subkey_usage: ADDED
2339 gnutls_openpgp_privkey_get_fingerprint: ADDED
2340 gnutls_openpgp_privkey_get_key_id: ADDED
2341 gnutls_openpgp_privkey_get_subkey_count: ADDED
2342 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2343 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2344 gnutls_openpgp_privkey_get_revoked_status: ADDED
2345 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2346 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2347 gnutls_openpgp_privkey_get_subkey_id: ADDED
2348 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2349 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2350 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2351 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2352 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2353 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2354 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2355 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2356 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2357 gnutls_openpgp_privkey_export: ADDED
2358 gnutls_certificate_set_openpgp_key_file2: ADDED
2359 gnutls_certificate_set_openpgp_key_mem2: ADDED
2360 gnutls_x509_dn_init: ADDED
2361 gnutls_x509_dn_import: ADDED
2362 gnutls_x509_dn_deinit: ADDED
2363 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2364 gnutls_hex2bin: ADDED
2365 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2366 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2367 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2368                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2370 * Version 2.3.0 (released 2008-01-08)
2372 ** LZO compression is now disabled by default.
2373 The reason is that LZO compression is not standardized in TLS.  If you
2374 wish to experiment with it, you will have to supply --with-lzo when
2375 invoking ./configure.  The internal copy of minilzo is no longer
2376 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2377 your system to have --with-lzo to be effective.
2379 ** More than one server name field is now sent to the server properly.
2380 Thanks to mark.phillips@virgin.net.
2382 ** Fixes the post_client_hello_function(). The extensions are now parsed
2383 in a callback friendly way.
2385 ** Fix for certificate selection in servers with certificate callbacks.
2387 ** Updated translations.
2389 ** Update gnulib files.
2391 ** API and ABI modifications:
2392 No changes since last version.
2394 * Version 2.2.5 (released 2008-05-19)
2396 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2397 The flaw would result in incorrectly terminated sessions with the
2398 error "Decryption has failed" when the server sends a small packet
2399 (typically when the session is closed).  Reported by Andreas Metzler
2400 <ametzler@downhill.at.eu.org> in
2401 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2403 ** API and ABI modifications:
2404 No changes since last version.
2406 * Version 2.2.4 (released 2008-05-19)
2408 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2409 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2410 which allowed the bugs to be reproduced and fixed easily.  Patches
2411 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2412 with more details about these vulnerabilities will be added to
2413 <http://www.gnu.org/software/gnutls/security.html>
2415 *** [GNUTLS-SA-2008-1-1]
2416 *** libgnutls: Fix crash when sending invalid server name.
2417 The crash can be triggered remotely before authentication, which can
2418 lead to a Daniel of Service attack to disable the server.  The bug
2419 cause gnutls to store more session resumption data than what was
2420 allocated for, thus overwriting unallocated memory.
2422 *** [GNUTLS-SA-2008-1-2]
2423 *** libgnutls: Fix crash when sending repeated client hellos.
2424 The crash can be triggered remotely before authentication, which can
2425 lead to a Daniel of Service attack to disable the server.  The bug
2426 triggers a null-pointer dereference.
2428 *** [GNUTLS-SA-2008-1-3]
2429 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2430 The crash can be triggered remotely before authentication, which can
2431 lead to a Daniel of Service attack to disable the server.  The bug
2432 cause gnutls to read memory beyond the end of the received record.
2434 ** API and ABI modifications:
2435 No changes since last version.
2437 * Version 2.2.3 (released 2008-05-06)
2439 ** Increase default handshake packet size limit to 48kb.
2440 The old limit was 16kb and some servers send huge list of trusted CAs,
2441 thus running into the limit.  FYI, applications can further increase
2442 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2443 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2444 <marc@mclemente.net> for reporting and providing test servers.
2446 ** Fix compilation error related to __FUNCTION__ on some systems.
2447 Reported by Tim Mooney, see
2448 <https://savannah.gnu.org/support/?106267>.
2450 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2452 ** Fix fopen file descriptor leak in PSK server code.
2453 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2454 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2456 ** Build Guile code with -fgnu89-inline only when supported.
2457 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2458 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2460 ** Make Camellia encryption work.
2461 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2462 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2464 ** API and ABI modifications:
2465 No changes since last version.
2467 * Version 2.2.2 (released 2008-02-21)
2469 ** Cipher priority string handling now handle strings that starts with NULL.
2470 Thanks to Laurence Withers <l@lwithers.me.uk>.
2472 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2473 by Daniel Stenberg.
2475 ** Increased the default certificate verification chain limits and allowed
2476 for checks without limitation.
2478 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2479 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2480 strings and return the proper size.
2482 ** API and ABI modifications:
2483 No changes since last version.
2485 * Version 2.2.1 (released 2008-01-17)
2487 ** Prevent linking libextra against previously installed libgnutls.
2488 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2489 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2491 ** Fixes the post_client_hello_function(). The extensions are now parsed
2492 in a callback friendly way.
2494 ** Fix for certificate selection in servers with certificate callbacks.
2496 ** API and ABI modifications:
2497 No changes since last version.
2499 * Version 2.2.0 (released 2007-12-14)
2501 ** Update internal copy of libtasn1 to version 1.2.
2503 ** Certtool --verify-chain now handle inputs larger than 64kb.
2504 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2505 recent versions of libgcrypt.  The problem was that Wine with the
2506 libgcrypt RNG generates huge amounts of debugging output.
2508 ** Translation updates.
2509 Added Dutch translation.  Updated Polish and Swedish translation.
2511 ** Major changes compared to the v2.0 branch:
2513 *** SRP support aligned with newly published RFC 5054.
2515 *** OpenPGP support aligned with newly published RFC 5081.
2517 *** Support for DSA2 keys.
2519 *** Support for Camellia cipher.
2521 *** Support for Opaque PRF Input extension.
2523 *** PKCS#8 parser now handle DSA keys.
2525 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2526 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2527 versions, such as 2.01 which is included with GnuTLS, is available
2528 under GPLv2 or later.  If this incompatibility causes problems, we
2529 recommend you to disable LZO using --without-lzo.  LZO compression is
2530 not a standard TLS compression algorithm, so the impact should be
2531 minimal.
2533 *** Functions for disabling record protocol padding.
2534 Works around bugs on Nokia/Ericsson phones.
2536 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2537 Priorities like "COMPAT" also enables other work arounds, such as
2538 disabling padding.
2540 *** Other minor improvements and bug fixes.
2542 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2543 To adapt to changes in the TLS extension specifications for OpenPGP
2544 and SRP, the GnuTLS API had to be modified.  This means breaking the
2545 API and ABI backwards compatibility.  That is something we try to
2546 avoid unless it is necessary.  We decided to also remove the already
2547 deprecated stub functions for X.509 to XML conversion and TLS
2548 authorization (see below) when we had the opportunity.
2550 Generally, most applications does not need to be modified.  Just
2551 re-compile them against the latest GnuTLS release, and it should work
2552 fine.
2554 Applications that use the OpenPGP or SRP features needs to be
2555 modified.  Below is a list of the modified APIs and discussion of what
2556 the minimal things you need to modify in your application to make it
2557 work with GnuTLS 2.2.
2559 Note that GnuTLS 2.2 also introduces new APIs -- such as
2560 gnutls_set_priority() that is superior to
2561 gnutls_set_default_priority() -- that you may want to start using.
2562 However, using those new APIs is not required to use GnuTLS 2.2 since
2563 the old functions continue are still supported.  This text only
2564 discuss what you minimally have to modify.
2566 *** XML related changes
2567 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2568 deprecated and only returned an error code since GnuTLS version
2569 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2570 functionality.  We don't know of any other library to convert X.509
2571 certificates into XML format, but we decided (long ago) that GnuTLS
2572 isn't the right place for this kind of functionality.  If you want
2573 help to find some other library to use here, please explain and
2574 discuss your use case on help-gnutls@gnu.org.
2576 *** TLS Authorization related changes
2577 Everything related to TLS authorizations have been removed, they were
2578 only stub functions that returned an error code:
2580  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2581  gnutls_authz_data_format_type_t
2582  gnutls_authz_recv_callback_func
2583  gnutls_authz_send_callback_func
2584  gnutls_authz_enable
2585  gnutls_authz_send_x509_attr_cert
2586  gnutls_authz_send_saml_assertion
2587  gnutls_authz_send_x509_attr_cert_url
2588  gnutls_authz_send_saml_assertion_url
2590 *** SRP related changes
2591 The callback gnutls_srp_client_credentials_function has a new
2592 prototype, and its semantic has changed.  You need to rewrite the
2593 callback, see the updated function documentation and SRP example code
2594 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2595 information.
2597 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2598 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2599 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2600 used.  There are #define's to map the old names to the new.  You may
2601 run into problems if you have a switch-case with cases for both SRP
2602 alerts, since they are now mapped to the same value.  The solution is
2603 to drop the SRP alerts from such switch cases, as they are now
2604 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2606 *** OpenPGP related changes
2607 The function `gnutls_certificate_set_openpgp_keyserver' have been
2608 removed.  There is no replacement functionality inside GnuTLS.  If you
2609 need keyserver functionality, consider using the GnuPG tools.
2611 All functions, types, and error codes related to OpenPGP trustdb
2612 format have been removed.  The trustdb format is a non-standard
2613 GnuPG-specific format, and we recommend you to use key rings instead.
2614 The following have been removed:
2616  gnutls_certificate_set_openpgp_trustdb
2617  gnutls_openpgp_trustdb_init
2618  gnutls_openpgp_trustdb_deinit
2619  gnutls_openpgp_trustdb_import
2620  gnutls_openpgp_key_verify_trustdb
2621  gnutls_openpgp_trustdb_t
2622  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2624 The following functions has an added parameter of the (new) type
2625 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2626 (binary or base64).  The functions are:
2627  gnutls_certificate_set_openpgp_key_file
2628  gnutls_certificate_set_openpgp_key_mem
2629  gnutls_certificate_set_openpgp_keyring_mem
2630  gnutls_certificate_set_openpgp_keyring_file
2632 To improve terminology and align with the X.509 interface, some
2633 functions have been renamed.  Compatibility mappings exists.  The old
2634 and new names of the affected functions and types are:
2636         Old name                                New name
2637  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2638  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2639  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2640  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2641  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2642  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2643  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2644  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2645  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2646  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2647  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2648  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2649  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2650  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2651  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2652  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2653  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2654  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2655  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2657 ** API and ABI modifications:
2658 No changes since last version.
2660 * Version 2.1.8 (released 2007-12-10)
2662 ** The GPL version has been changed from version 2 to version 3.
2663 This affects the self-tests, command-line tools, the libgnutls-extra
2664 library, the relevant guile parts, and the build environment.
2666 ** Added gnutls_x509_crt_get_subject_alt_name2().
2668 ** Corrected a segfault when setting an empty gnutls_priority_t
2669 at gnutls_priority_set().
2671 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2672 Fixes a problem with spurious -L/usr/lib additions.
2674 ** API and ABI modifications:
2675 gnutls_x509_crt_get_subject_alt_name2: ADD.
2677 * Version 2.1.7 (released 2007-11-29)
2679 ** PKCS #8 parser can now encode/decode DSA keys.
2681 ** Updated gnutls_set_default_priority2() now renamed to
2682 gnutls_priority_set() and gnutls_priority_set_direct() which
2683 accept a string to indicate preferences of ciphersuite parameters.
2685 ** gnutls-cli and gnutls-serv now have a --priority option to set
2686 the priority string.
2688 ** The gnutls_*_convert_priority() functions were deprecated by
2689 the gnutls_priority_set() and gnutls_priority_set_direct().
2691 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2693 ** API and ABI modifications:
2694 gnutls_priority_init: ADD.
2695 gnutls_priority_deinit: ADD.
2696 gnutls_priority_set: ADD.
2697 gnutls_priority_set_direct: ADD.
2698 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2699 gnutls_mac_convert_priority: REMOVED
2700 gnutls_compression_convert_priority: REMOVED
2701 gnutls_protocol_convert_priority: REMOVED
2702 gnutls_kx_convert_priority: REMOVED
2703 gnutls_cipher_convert_priority: REMOVED
2704 gnutls_certificate_type_convert_priority: REMOVED
2705 gnutls_set_default_priority: UNDEPRECATED
2706 gnutls_set_default_priority_export: UNDEPRECATED
2708 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2709 GNUTLS_CIPHER_UNKNOWN: ADD.
2710 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2711 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2712 GNUTLS_KX_UNKNOWN: ADD.
2713 GNUTLS_COMP_UNKNOWN: ADD.
2714 GNUTLS_CRT_UNKNOWN: ADD.
2715 gnutls_mac_get_id: ADD.
2716 gnutls_compression_get_id: ADD.
2717 gnutls_cipher_get_id: ADD.
2718 gnutls_kx_get_id: ADD.
2719 gnutls_protocol_get_id: ADD.
2720 gnutls_certificate_type_get_id: ADD.
2721 gnutls_handshake_post_client_hello_func: ADD.
2722 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2724 * Version 2.1.6 (released 2007-11-15)
2726 ** Corrected bug in decompression of expanded compression data.
2728 ** Added the --to-p8 option to certtool to convert private keys
2729 to PKCS #8 keys.
2731 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2733 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2734 private keys.
2736 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2737 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2738 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2739 documented.  This caused some problems (e.g., debian #450854).  To
2740 avoid backwards compatibility problems, this release revert this
2741 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2742 done in GnuTLS 2.0.x and earlier, and add a new error code
2743 GNUTLS_E_UNKNOWN_ALGORITHM.
2745 ** Fixes several gtk-doc warnings.
2747 ** API and ABI modifications:
2748 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2749 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2750 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2752 * Version 2.1.5 (released 2007-11-01)
2754 ** Fix PKCS#3 parameter export problem.
2756 ** Improve certtool queries, they now print the default value.
2758 ** Fix ABI version.
2760 ** Update gnulib files.
2762 ** API and ABI modifications:
2763 No changes since last version.
2765 * Version 2.1.4 (released 2007-10-27)
2767 ** Added the --v1 option to certtool, to allow generating X.509
2768 version 1 certificates. 
2770 ** certtool: Add option --disable-quick-random to enable the old behaviour
2771 of using /dev/random to generate keys.
2773 ** Added priority functions that accept strings.
2775 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
2776 priorities preferences.
2778 ** Added gnutls_record_disable_padding() to allow servers talking to 
2779 buggy clients that complain if the TLS 1.0 record protocol padding is
2780 used.
2782 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2783 all supported compatibility options (like disabling padding).
2785 ** The gnutls_certificate_set_openpgp_* functions were modified to include
2786 the format. This makes the interface consistent with the x509 functions.
2788 ** Internal copy of OpenCDK upgraded to version 0.6.5.
2790 ** Update gnulib files.
2792 ** API and ABI modifications:
2793 gnutls_certificate_set_openpgp_key_mem: MODIFIED
2794 gnutls_certificate_set_openpgp_key_file: MODIFIED
2795 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
2796 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
2797 gnutls_set_default_priority: DEPRECATED
2798 gnutls_set_default_priority_export: DEPRECATED
2799 gnutls_set_default_priority2: ADDED
2800 gnutls_session_enable_compatibility_mode: ADDED
2801 gnutls_record_disable_padding: ADDED
2802 gnutls_mac_convert_priority: ADDED
2803 gnutls_compression_convert_priority: ADDED
2804 gnutls_protocol_convert_priority: ADDED
2805 gnutls_kx_convert_priority: ADDED
2806 gnutls_cipher_convert_priority: ADDED
2807 gnutls_certificate_type_convert_priority: ADDED
2808 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
2809 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
2810 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
2811 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
2812 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
2813 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
2814 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
2815 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
2816 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
2817 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
2818 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
2819 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
2820 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
2821 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
2822 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
2823 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
2824 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
2825 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
2827 * Version 2.1.3 (released 2007-10-17)
2829 ** TLS authorization support removed.
2830 This technique may be patented in the future, and it is not of crucial
2831 importance for the Internet community.  After deliberation we have
2832 concluded that the best thing we can do in this situation is to
2833 encourage society not to adopt this technique.  We have decided to
2834 lead the way with our own actions.
2836 ** Re-enabled the 256 bit ciphers in the default priorities.
2838 ** Corrected bugs in openpgp key verification using a keyring (both in
2839 gnutls and opencdk)
2841 ** API and ABI modifications:
2842 gnutls_certificate_set_openpgp_keyserver: REMOVED
2843 gnutls_authz_data_format_type_t,
2844 gnutls_authz_recv_callback_func,
2845 gnutls_authz_send_callback_func,
2846 gnutls_authz_enable,
2847 gnutls_authz_send_x509_attr_cert,
2848 gnutls_authz_send_saml_assertion,
2849 gnutls_authz_send_x509_attr_cert_url,
2850 gnutls_authz_send_saml_assertion_url: REMOVED.
2851 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2852     gnutls_supplemental_data_format_type_t enum type becomes empty.
2854 * Version 2.1.2 (released 2007-10-14)
2856 ** Removed all the trustdb code from openpgp authentication.
2857 We now use only the well-specified keyrings.
2859 ** The 256 bit ciphers are not enabled in the default priorities.
2861 ** Added support for DSA2 using libgcrypt 1.3.0.
2863 ** certtool: Fixed data corruption when using --outder.
2865 ** Removed all the xml related stubs and functions.
2867 ** Added capability to set a callback after the client hello is received
2868 by the server in order to adjust parameters before the handshake.
2870 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
2872 ** Corrected bug which did not allow a server to run without supporting
2873 certificates.
2875 ** Updated the DN parser which now prints wrongly decoded values as hex
2876 strings.
2878 ** certtool: Add option --quick-random.
2879 For generating low security test credentials.
2881 ** API and ABI modifications:
2882 gnutls_x509_crt_to_xml: REMOVED
2883 gnutls_openpgp_key_to_xml: REMOVED
2884 gnutls_openpgp_key_verify_trustdb: REMOVED
2885 gnutls_openpgp_trustdb_init: REMOVED
2886 gnutls_openpgp_trustdb_deinit: REMOVED
2887 gnutls_openpgp_trustdb_import: REMOVED
2888 gnutls_certificate_set_openpgp_trustdb: REMOVED
2889 gnutls_srp_client_credentials_function: CHANGED
2890 gnutls_handshake_set_post_client_hello_function: ADDED
2891 gnutls_mac_get_key_size: ADDED
2892 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
2893 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
2894 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
2896 * Version 2.1.1 (released 2007-09-24)
2898 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
2899 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
2900 compiled with Camellia support.  See the libgcrypt documentation on
2901 how to enable it.  Unconditionally disable it using the configure
2902 option --disable-camellia.  Fixes #1.
2904 ** Properly document in the NEWS file the API change in the last release.
2906 ** API and ABI modifications:
2907 No changes since last version.
2909 * Version 2.1.0 (released 2007-09-20)
2911 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
2912 The support is disabled by default.  Since no value has been allocated
2913 by the IANA for this extension yet, you will need to provide one
2914 yourself by invoking './configure --enable-opaque-prf-input=42'.
2915 Fixes #2.
2917 ** Example code: Fix compilation flaw under MinGW.
2919 ** API and ABI modifications:
2920 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
2921 gnutls_oprfi_enable_client: ADD, new function.
2922 gnutls_oprfi_enable_server: ADD, new function.
2924 * Version 2.0.4 (released 2007-11-16)
2926 ** Corrected bug in decompression of expanded compression data.           
2928 ** API and ABI modifications:
2929 No changes since last version.
2931 * Version 2.0.3 (released 2007-11-10)
2933 ** This version backports several fixes from the 2.1.x branch.
2935 ** Fixed PKCS #3 parameter export.
2937 ** Added gnutls_record_disable_padding() to allow servers talking to
2938 buggy clients that complain if the TLS 1.0 record protocol padding is
2939 used.
2941 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2942 all supported compatibility options (like disabling padding).
2944 ** Corrected bug which did not allow a server to run without supporting
2945 certificates.
2947 ** API and ABI modifications:
2948 gnutls_session_enable_compatibility_mode: ADDED
2949 gnutls_record_disable_padding: ADDED
2951 * Version 2.0.2 (released 2007-10-17)
2953 ** TLS authorization support removed.
2954 This technique may be patented in the future, and it is not of crucial
2955 importance for the Internet community.  After deliberation we have
2956 concluded that the best thing we can do in this situation is to
2957 encourage society not to adopt this technique.  We have decided to
2958 lead the way with our own actions.
2960 ** certtool: Fixed data corruption when using --outder.
2962 ** Fix configure-time Guile detection.
2964 ** API and ABI modifications:
2965 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2966     gnutls_supplemental_data_format_type_t enum type becomes empty.
2968 * Version 2.0.1 (released 2007-09-20)
2970 ** New directory doc/credentials/ with test credentials.
2971 This collects the test credentials from the web page and from src/.
2972 The script gnutls-http-serv has also been moved to that directory.
2974 ** Update SRP extension type and cipher suite with official IANA values.
2975 This breaks backwards compatibility with SRP in older versions of
2976 GnuTLS, but this is intentional to speed up the adoption of the
2977 official values.  The old values we used were incorrect.
2979 ** Guile: Fix `x509-certificate-dn-oid'
2981 ** API and ABI modifications:
2982 No changes since last version.
2984 * Version 2.0.0 (released 2007-09-04)
2986 ** Included copy of Libtasn1 upgraded to version 1.1.
2988 ** Disable building of some examples if anonymous ciphers are disabled.
2990 ** Don't build examples for disabled features.
2992 ** API and ABI modifications:
2993 No changes since last version.
2995 * Version 1.7.19 (released 2007-08-27)
2997 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
2998 This solves connection problems in mutt, see
2999 <http://bugs.debian.org/439640>.
3001 ** Update gnulib files.
3002 In particular, the getpass module -- with its dependencies on getline,
3003 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
3004 library) directory to the gl/ directory (only used by the command line
3005 tools).  The reason is that getpass is now only used by the
3006 command-line tools, and reducing the number of gnulib modules linked
3007 to the core library helps portability and reduces size.
3009 ** Fix warnings.
3011 ** Disable building of PGP examples if PGP is disabled.
3013 ** Included copy of OpenCDK upgraded to version 0.6.4.
3015 ** API and ABI modifications:
3016 No changes since last version.
3018 * Version 1.7.18 (released 2007-08-16)
3020 ** Install images for the info manual.
3021 This has a side effect of renaming the images.  See
3022 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
3023 discussions on the approach chosen.
3025 ** Fix pointer mix to variables of different size.
3026 Patch extracted from
3027 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
3029 ** Fix warnings during build.
3030 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
3032 ** API and ABI modifications:
3033 No changes since last version.
3035 * Version 1.7.17 (released 2007-08-15)
3037 ** New functions to perform external signing.
3038 Set the signing callback function (of the gnutls_sign_func prototype)
3039 using the gnutls_sign_callback_set function.  In the callback, you may
3040 find the new functions gnutls_x509_privkey_sign_hash and
3041 gnutls_openpgp_privkey_sign_hash useful.  A new function
3042 gnutls_sign_callback_get is also added, to retrieve the function
3043 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
3044 comments and testing.
3046 ** New self test of client and server authenticated X.509 TLS sessions.
3047 See tests/x509self.c and tests/x509signself.c.  The latter also tests
3048 the new external signing callback interface.
3050 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3051 These two actually describe the outer limits of a range of error codes
3052 reserved to the application.  All of the errors are treated as fatal
3053 by the library (it has to since it doesn't know the semantics of the
3054 error codes).  This can be useful in callbacks, to signal some
3055 application-specific error condition, which will usually eventually
3056 cause some gnutls API to return the same error code as the callback,
3057 which then can be inspected by the application.  Note that error codes
3058 are negative.
3060 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3061 The RFC is not released yet, and we're approaching a major release so
3062 let's not enable it just yet.
3064 ** Fix namespace so that gnutls_*_t is used consistently.
3065 Before, many places in the GnuTLS code used the old deprecated type
3066 names without the '_t' suffix.
3068 ** Build fixes for Guile code.
3069 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3071 ** More documentation fixes.
3072 In particular, the section headings were modified for casing.  By
3073 Ludovic Courtes <ludovic.courtes@laas.fr>.
3075 ** Updated Polish and Swedish translations.
3076 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3077 <po@danielnylander.se>.
3079 ** API and ABI modifications:
3080 gnutls_sign_func: ADD, new type for sign callback.
3081 gnutls_sign_callback_set: ADD, new function to set sign callback.
3082 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3083 gnutls_x509_privkey_sign_hash,
3084 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3085 GNUTLS_E_APPLICATION_ERROR_MIN,
3086 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3088 * Version 1.7.16 (released 2007-08-07)
3090 ** Fix sanity checks and return values in certificate selection.
3091 In some cases, GnuTLS omitted to report suitable error codes when no
3092 suitable certificate was found.
3094 ** Fix gnutls-cli starttls EOF on Mac OS X.
3095 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3097 ** Documentation fixes.
3098 In particular, the section headings were modified for casing.  By
3099 Ludovic Courtes <ludovic.courtes@laas.fr>.
3101 ** Update gnulib files.
3103 ** API and ABI modifications:
3104 No changes since last version.
3106 * Version 1.7.15 (released 2007-07-02)
3108 ** Fix self-tests key-id under mingw32.
3110 ** Test that the Guile header files are recent enough to work.
3111 Before we just tested that the command line tool 'guile' was recent
3112 enough, which may not be sufficient if you still have an old
3113 libguile.h header installed.
3115 ** Guile bindings are now installed under $prefix by default.
3116 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3117 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3118 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3119 The default, --with-guile-site-dir, will install the Guile bindings
3120 under $datadir/guile/site.  There is a new section 'Guile
3121 Preparations' in the manual that discuss these issues.
3123 ** Fix run-time library path ordering in linking the Guile bindings.
3125 ** Improved manual on downloading, installing, getting help, bug reports etc.
3126 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3128 ** Add Malay message translations.
3129 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3131 ** API and ABI modifications:
3132 No changes since last version.
3134 * Version 1.7.14 (released 2007-06-26)
3136 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3137 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3139 ** Fix memory leak during DSA signature verification.
3140 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3142 ** Fix crash in gnutls-cli when TLS handshake fails.
3143 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3144 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3145 <http://bugs.debian.org/429183>.
3147 ** Minor OpenPGP fixes in stream_to_datum.
3148 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3149 <ludovic.courtes@laas.fr>.
3151 ** Fix off-by-one in TLS 1.2 handshake.
3152 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3154 ** Minor Guile binding self-test cleanup.
3155 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3157 ** Update gnulib files.
3159 ** API and ABI modifications:
3160 No changes since last version.
3162 * Version 1.7.13 (released 2007-06-11)
3164 ** OpenCDK copy updated to version 0.6.3.
3166 ** Build fixes for GnuTLS Guile bindings.
3167 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3169 ** Build fix for GTK-DOC manual.
3171 ** Update gnulib files.
3173 ** API and ABI modifications:
3174 No changes since last version.
3176 * Version 1.7.12 (released 2007-06-08)
3178 ** Guile bindings for GnuTLS have been included.
3179 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3180 new chapter 'Guile Bindings' in the manual.
3182 ** Have PKCS8 parser return better error codes.
3183 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3184 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3185 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3187 ** Fix mem leak for sessions with client authentication via certificates.
3188 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3189 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3191 ** Fix mem leaks.
3192 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3193 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3194 self-test tests/parse_ca.c to test regressions.
3196 ** Fix build failures related to missing images in manual.
3197 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3199 ** Update gnulib files.
3201 ** API and ABI modifications:
3202 No changes since last version.
3204 * Version 1.7.11 (released 2007-05-26)
3206 ** Include opencdk.h in the release.
3207 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3209 ** API and ABI modifications:
3210 No changes since last version.
3212 * Version 1.7.10 (released 2007-05-25)
3214 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3215 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3217 ** Update of gnulib files.
3219 ** GnuTLS is now developed in GIT instead of CVS.
3220 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3222 ** API and ABI modifications:
3223 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3224 gnutls_x509_crt_get_raw_dn: ADD.
3226 * Version 1.7.9 (released 2007-05-12)
3228 ** X.509 certificates are preferred over OpenPGP keys.
3229 This is a change in the semantics of gnutls_set_default_priority.
3231 ** The included copy of OpenCDK has been updated to 0.6.1.
3232 There has been some API changes in OpenCDK, and the GnuTLS layer have
3233 been modified as well.  Note that while there are API/ABI incompatible
3234 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3235 its API/ABI have not changed.  From this version on, GnuTLS requires
3236 OpenCDK 0.6.0 or later.
3238 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3240 ** Change certtool's default serial number from 0 to a time-based value.
3242 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3243 Before, we remove the parameters field, which resulted in a slightly
3244 different DER encoding which in turn caused signature verification
3245 failures of GnuTLS-generated RSA certificates in some other
3246 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3247 you read, this may or may not be correct, but our new behaviour appear
3248 to be consistent with other widely used implementations.
3250 ** Fix mem leaks in gnutls_x509_crt_print.
3252 ** API and ABI modifications:
3253 No changes since last version.
3255 * Version 1.7.8 (released 2007-04-16)
3257 ** Added examples for the authorization extension.
3258 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3260 ** The examples only use gnutls_set_default_priority().
3261 The exception is when DH_ANON is needed.
3263 ** Improve gnutls_set_default_priority() priorities.
3264 The new approach is for it to try and negotiate all secure and
3265 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3266 LZO compressions are not enabled by default, because they are,
3267 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3268 not be enabled by default in non-experimental release until it has
3269 been approved by the IETF.
3271 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3272 This means that to get DH_ANON and LZO compression, you'll need to
3273 specify that manually using '--kx anon' or '--comp lzo'.
3275 ** Minor fixes to the human display format of X.509 certificates.
3277 ** New APIs to extract Distinguished Name's from X.509 certificates.
3278 Based on patch from Howard Chu <hyc@symas.com>.
3280 ** Improved library searching for opencdk.
3281 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3282 The deprecated opencdk.m4 is no longer used.
3284 ** New APIs to list supported algorithms in the library.
3285 The APIs are gnutls_cipher_list, gnutls_mac_list,
3286 gnutls_compression_list, gnutls_protocol_list,
3287 gnutls_certificate_type_list, gnutls_kx_list, and
3288 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3290 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3292 ** New configure option --disable-tls-authorization to disable tls-authz.
3294 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3295 The last parameter was renamed from 'flags' to 'format' and the type
3296 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3297 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3298 (Ludovic Courtès).
3300 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3301 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3303 ** API and ABI modifications:
3304 gnutls_x509_dn_t: ADD.
3305 gnutls_x509_ava_st: ADD.
3306 gnutls_x509_crt_get_subject,
3307 gnutls_x509_crt_get_issuer: ADD.
3308 gnutls_x509_dn_get_rdn_ava: ADD.
3309 gnutls_cipher_list: ADD.
3310 gnutls_mac_list: ADD.
3311 gnutls_compression_list: ADD.
3312 gnutls_protocol_list: ADD.
3313 gnutls_certificate_type_list: ADD.
3314 gnutls_kx_list: ADD.
3315 gnutls_cipher_suite_info: ADD.
3317 * Version 1.7.7 (released 2007-02-22)
3319 ** Support for supplemental handshake messages and authorization data.
3320 Supplemental data is described in RFC 4680 and the authorization
3321 extensions in draft-housley-tls-authz-extns-07.
3323 ** Support for authorization data in gnutls-cli and gnutls-serv.
3324 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3326 ** Fix for gnutls_x509_crt_check_hostname.
3327 Before it would have reported that the certificate matched a hostname
3328 when it did not have any dNSName or any CN field.  Report and tiny
3329 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3331 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3332 Tests regressions of the bug, and several other features.
3334 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3335 Before there were no support for iPAddress SAN's during comparison.
3337 ** New API to print information about CRL's.
3338 The function is gnutls_x509_crl_print.
3340 ** New API to extract signature value from CRL's.
3341 The function is gnutls_x509_crl_get_signature.
3343 ** Support for directoryName Subject Alternative Name's.
3344 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3345 string in the provided buffer.
3347 ** Internal improvements to certtool.
3348 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3349 more gnulib modules to simplify error handling.
3351 ** API and ABI modifications:
3352 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3353 gnutls_supplemental_data_format_type_t: ADD.
3354 gnutls_authz_data_format_type_t: ADD.
3355 gnutls_supplemental_get_name: ADD.
3356 gnutls_authz_recv_callback_func,
3357 gnutls_authz_send_callback_func: ADD, callback prototypes.
3358 gnutls_authz_enable: ADD.
3359 gnutls_authz_send_x509_attr_cert,
3360 gnutls_authz_send_saml_assertion,
3361 gnutls_authz_send_x509_attr_cert_url,
3362 gnutls_authz_send_saml_assertion_url: ADD.
3363 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3364 gnutls_x509_crl_print: ADD.
3365 gnutls_x509_crl_get_signature: ADD.
3367 * Version 1.7.6 (released 2007-02-12)
3369 ** Support for 'otherName' Subject Alternative Names.
3370 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3371 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3372 To find out the otherName OID (necessary for proper parsing of the
3373 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3374 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3375 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3376 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3378 ** Certtool can print otherName SAN values for certificates.
3379 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3380 RFC 3920), it will also print the name.
3382 ** Fix TLS 1.2 RSA signing in servers.
3383 Before it used the old-style MD5+SHA1 signature, but the TLS
3384 signatures should be normal PKCS#1 signatures.  FYI, we use and
3385 require that DigestInfo parameters are present and NULL for TLS 1.2.
3387 ** Add APIs to access X.509 extensions sequentially.
3388 The existing APIs gnutls_x509_crt_get_extension_oid() and
3389 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3390 inspect the extensions in the order defined by the certificate.
3392 ** Add API to extract signature value from X.509 certificates.
3393 The function is gnutls_x509_crt_get_signature.
3395 ** Fix crash when generating proxy certificates in batch mode.
3396 If you don't specify a proxy policy in batch mode, it will use
3397 id-ppl-inheritALL.
3399 ** Add API to print information about X.509 certificates.
3400 The function is gnutls_x509_crt_print.
3402 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3403 One consequence of this is that the output syntax has changed
3404 slightly.  Some more fields are printed.
3406 ** Doc fixes.
3408 ** API and ABI modifications:
3409 gnutls_x509_crt_print: ADD
3410 gnutls_certificate_print_formats_t: ADD, new enum.
3411 gnutls_x509_crt_get_signature: ADD.
3412 gnutls_x509_crt_get_extension_data: ADD.
3413 gnutls_x509_crt_get_extension_info: ADD.
3414 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3415 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3416 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3418 * Version 1.7.5 (released 2007-02-06)
3420 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3421 ** is set.
3423 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3425 ** Fix --list output for gnutls-cli and gnutls-serv.
3426 Mention TLS1.2, SHA512 etc.
3428 ** Manual contains new section on setting up a test HTTP server.
3429 A server set up following those descriptions are available online via
3430 <http://www.gnutls.org/server.html>.
3432 ** Update of gnulib files.
3434 ** API and ABI modifications:
3435 No changes since last version.
3437 * Version 1.7.4 (released 2007-02-05)
3439 ** Support for RSA signing using SHA-256/384/512.
3440 A new self test "sha2" tries to build a long X.509 certificate chain
3441 testing all new hashes.
3443 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3445 ** Discuss proxy certificates in the manual.
3447 ** Improve bibliographical citations in the manual.
3449 ** Update of gnulib files.
3451 ** Fix certtool template handling of pathLenConstraints.
3452 It now defaults to -1 instead of 0, which causes the field to be
3453 missing unless the template specify it.
3455 ** API and ABI modifications:
3456 GNUTLS_MAC_SHA256,
3457 GNUTLS_MAC_SHA384,
3458 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3459 GNUTLS_DIG_SHA256,
3460 GNUTLS_DIG_SHA384,
3461 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3462 GNUTLS_SIGN_RSA_SHA256,
3463 GNUTLS_SIGN_RSA_SHA384,
3464 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3466 * Version 1.7.3 (released 2007-02-01)
3468 ** New option to certtool: --generate-proxy.
3469 This will generate a Proxy Certificate from an end entity certificate.
3470 Proxy Certificates are documented in RFC 3820.  You will need to
3471 specify the proxy certificate's private key with --load-privkey, the
3472 user certificate with --load-certificate and the private key used to
3473 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3474 query for proxy path length and the policy language OID.  Currently
3475 only OIDs that have an empty policy are supported (which includes the
3476 two OIDs defined by RFC 3820).
3478 ** Certtool --certificate-info now prints information for Proxy Certificates.
3479 Before the proxy extension was just printed as DER encoded data.
3481 ** New APIs to set proxy subject names and get/set proxy cert extension.
3483 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3485 ** Added self-test to test for regressions of pathLenConstraint bug.
3486 Incidentally, this also test (some) other regressions or changes in
3487 the output from certtool --certificate-info.
3489 ** When certtool generates CA certificates, pressing enter on the path
3490 ** length constraint query will now remove the field.
3491 Before it set the path length constraint to 0, which is a rather poor
3492 default.
3494 ** Certtool now print times in UTC when printing certificate/CRL info.
3496 ** Add better fix to work around C++ compiler bug on Mac OS X.
3497 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3499 ** Fix import of ASCII armored OpenPGP keys.
3500 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3502 ** Update of gnulib files.
3504 ** API and ABI modifications:
3505 gnutls_x509_crt_set_proxy_dn: ADD.
3506 gnutls_x509_crt_set_proxy: ADD.
3507 gnutls_x509_crt_get_proxy: ADD.
3509 * Version 1.7.2 (released 2007-01-14)
3511 ** Certtool now print the value of the pathLenConstraints field for certs.
3513 ** Certtool now query for path length constraints when generating CA certs.
3514 For batch uses, the certtool configuration name is "path_len".
3515 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3517 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3518 The new functions gnutls_x509_crt_get_basic_constraints and
3519 gnutls_x509_crt_set_basic_constraints provide a superset of the
3520 functionality in the old gnutls_x509_crt_get_ca_status and
3521 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3522 will continue to be supported.
3524 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3525 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3526 OpenCDK release with this patch will be made soon, which should bump
3527 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3529 ** Certtool --to-p12 can now store more than one certificate in the blob.
3530 Before it could only store one certificate, but now it will read and
3531 store as many certificate there are from the --load-certificate file.
3532 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3534 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3535 In particular, the OpenPGP function variables are no longer part of
3536 the exported libgnutls interface, and no header files from
3537 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3538 were never intended for non-internal purposes, and thus this does not
3539 imply a change in the external API/ABI.
3541 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3542 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3544 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3545 Before these parameters were set to make GnuTLS build under mingw32,
3546 however, they appear to no longer be necessary.
3548 ** A minor fix to the C++ library to make it build.
3549 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3551 ** Update of gnulib files.
3553 ** API and ABI modifications:
3554 gnutls_x509_crt_get_basic_constraints: ADD.
3555 gnutls_x509_crt_set_basic_constraints: ADD.
3556 cdk_pubkey_to_sexp: ADD (in opencdk).
3557 cdk_seckey_to_sexp: ADD (in opencdk).
3559 * Version 1.7.1 (released 2006-12-28)
3561 ** TLS 1.2 server side fix.
3562 The Certificate Request sent did not contain the list of supported
3563 hashes field, thus violating the protocol.  It will now contain an
3564 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3566 ** TLS 1.2 DSA signature verification fix.
3567 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3569 ** Fix the list of trusted CAs that server's send to clients.
3570 Before, the list contained issuer DN's instead of subject DN's of the
3571 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3573 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3574 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3575 function.  Reported by Max Kellermann <max@duempel.org>.
3577 ** Encode UID fields in DN's as DirectoryString.
3578 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3579 incorrect, it should have used DirectoryString.  Now it will use
3580 DirectoryString for the UID field, but for backwards compatibility it
3581 will also accept IA5String UID's.  Reported by Max Kellermann
3582 <max@duempel.org>.
3584 ** Improve out-of-sourcedir builds from CVS.
3585 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3587 ** Bootstrap tools changed.
3588 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3589 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3591 ** Fixed a syntax error in lib/gnutls.asn.
3592 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3594 ** Added German translation of GnuTLS messages.
3596 ** Update of gnulib files.
3598 ** API and ABI modifications:
3599 No changes since last version.
3601 * Version 1.7.0 (released 2006-11-29)
3603 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3604 The details is that the protocol priority set by
3605 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3606 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3608 ** Preliminary support for TLS 1.2.
3609 The client has been successfully tested against
3610 https://www.mikestoolbox.org:4433/.
3612 ** Anonself test now print a lot of debugging info, including TLS version.
3614 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3616 ** Update of gnulib files.
3618 ** API and ABI modifications:
3619 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3621 *** Pulled up from stable 1.6.x branch:
3623 ** Fix ./configure failure with non-GCC compilers.
3624 This fixes the following error message:
3625 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3626 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3628 * Version 1.6.3 (released 2007-05-26)
3630 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3631 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3632 from the 1.7.x branch, see
3633 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3635 ** Have PKCS8 parser return better error codes.
3636 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3637 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3638 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3640 ** Fix mem leak for sessions with client authentication via certificates.
3641 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3642 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3644 ** Fix building of 'tlsia' self test.
3645 Earlier some gcc are known to build tlsia linking to
3646 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3647 the build directory, even though command line parameters look OK.
3648 Changing order of some parameters fixes it.
3650 ** API and ABI modifications:
3651 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3652 gnutls_x509_crt_get_raw_dn: ADD.
3654 * Version 1.6.2 (released 2007-04-18)
3656 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3657 Before, we remove the parameters field, which resulted in a slightly
3658 different DER encoding which in turn caused signature verification
3659 failures of GnuTLS-generated RSA certificates in some other
3660 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3661 you read, this may or may not be correct, but our new behaviour appear
3662 to be consistent with other widely used implementations.
3664 ** Regenerate the PKIX ASN.1 syntax tree.
3665 For some reason, after changing the ASN.1 type of ldap-UID in the last
3666 release, the generated C file built from the ASN.1 schema was not
3667 refreshed.  This can cause problems when reading/writing UID
3668 components inside X.500 Distinguished Names.  Reported by devel
3669 <dev001@pas-world.com>.
3671 ** Updated translations.
3673 ** API and ABI modifications:
3674 No changes since last version.
3676 * Version 1.6.1 (released 2006-12-28)
3678 ** Fix the list of trusted CAs that server's send to clients.
3679 Before, the list contained issuer DN's instead of subject DN's of the
3680 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3682 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3683 Reported by Max Kellermann <max@duempel.org>.
3685 ** Encode UID fields in DN's as DirectoryString.
3686 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3687 incorrect, it should have used DirectoryString.  Now it will use
3688 DirectoryString for the UID field, but for backwards compatibility it
3689 will also accept IA5String UID's.  Reported by Max Kellermann
3690 <max@duempel.org>.
3692 ** Fix ./configure failure with non-GCC compilers.
3693 This fixes the following error message:
3694 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3695 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3697 ** API and ABI modifications:
3698 No changes since last version.
3700 * Version 1.6.0 (released 2006-11-17)
3702 ** No changes since 1.5.5.
3703 The major changes compared to the 1.4.x branch are:
3705 *** A GnuTLS C++ library is part of the official distribution.
3706 Currently there are no examples or documentation, but hopefully this
3707 will change.  See gnutlsxx.h for the API.
3709 *** Windows is a supported platform.
3710 There are, however, two know bugs.  One is related to select() in
3711 command line tools (not, nota bene, in the library), the other is a
3712 problem with libgcrypt that causes delays.  Help is needed to resolve
3713 those issues, so we feel we can't delay the release because of this.
3715 *** New APIs for custom push/pull function error reporting.
3716 The new APIs are gnutls_transport_set_errno and
3717 gnutls_transport_set_global_errno.  See the release notes for version
3718 1.5.4 for more information.
3720 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3722 * Version 1.5.5 (released 2006-11-16)
3724 ** Correctly bump shared library version after adding new APIs.
3725 This was forgotten in the last release.
3727 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3728 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3730 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3732 ** Update of gnulib files.
3734 ** API and ABI modifications:
3735 No changes since last version.
3737 * Version 1.5.4 (released 2006-11-07)
3739 ** New API functions to set errno in push/pull functions.
3740 Under Windows, setting the errno variable in a push/pull replacement
3741 may end up setting the wrong errno variable, and GnuTLS send/recv
3742 functions become confused about the real errno returned from a failed
3743 push/pull function.  Therefor, we have added two APIs to set the errno
3744 variable used by GnuTLS.  The APIs can also help to keep things
3745 thread-safe, by avoiding potentially global variables.  Typically,
3746 instead of setting errno in your push/pull function, you will call one
3747 of these functions.  It is recommended to use
3748 gnutls_transport_set_errno, but if you don't have the session variable
3749 easily accessible in the push/pull replacement function, you can use
3750 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3751 <tim.kosse@filezilla-project.org>.
3753 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3754 void gnutls_transport_set_global_errno (int err);
3756 ** When calling `recv' or `send' Windows errors are handled properly.
3757 The Windows recv/send functions doesn't use errno, and GnuTLS now use
3758 WSAGetLastError to access the error condition instead.
3760 ** Several OpenPGP API fixes.
3761 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
3762 important fix is to change the return value of
3763 gnutls_openpgp_privkey_get_pk_algorithm and
3764 gnutls_openpgp_key_get_pk_algorithm from 'int' to
3765 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
3766 compatible with 'int').
3768 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3769 ** version, try to negotiate the highest version support by the GnuTLS server,
3770 ** instead of the lowest.
3771 Reported by <Pasi.Eronen@nokia.com>.
3773 ** Replace old constructs with use of gnulib modules.
3774 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
3775 the code.  If the headers doesn't exist on the target system, gnulib
3776 will make sure its replacement header files are used instead.
3778 ** Fix SOVERSION computation for *.def files.
3779 This fixes build errors similar to "No rule to make target
3780 `libgnutls-`expr', needed by `all-am'." when building for Windows.
3782 ** gnutls_check-version uses strverscmp from gnulib.
3784 ** Update of gnulib files.
3786 ** API and ABI modifications:
3787 gnutls_transport_set_errno: ADD
3788 gnutls_transport_set_global_errno: ADD
3790 * Version 1.5.3 (released 2006-10-26)
3792 ** Add new self-test of RSA-MD5 signature chains.
3793 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
3794 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
3795 and is based on the work by Marc Stevens et al, see
3796 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
3798 ** Re-factor self tests.
3800 ** The include copy of Libtasn1 is updated to version 0.3.7.
3802 ** The included copy of OpenCDK is updated to version 0.5.11.
3804 ** Fix the filename of the *.def file on Windows after library version bump.
3806 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
3807 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
3808 gnulib modules.  Earlier we could only use the LGPL'ed module from
3809 gnulib, because two gnulib directories in the same project didn't
3810 work.
3812 ** API and ABI modifications:
3813 No changes since last version.
3815 * Version 1.5.2 (released 2006-10-03)
3817 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
3818 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
3819 shared library version than this version, so you'll have to remove
3820 them and possibly relink your applications.  The reason for this is
3821 that no API/ABI changes have been made since the 1.4.x branch, and
3822 that incrementing the shared library version was a mistake.  Reported
3823 by Andreas Metzler <ametzler@downhill.at.eu.org>.
3825 ** Fix off-by-one error when computing length to malloc.
3826 The code is used by gnutls_openpgp_add_keyring_file and
3827 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
3828 <agl@imperialviolet.org>.
3830 ** Add version script for the GnuTLS C++ library.
3831 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3833 ** Fix the C++ compiler detection logic.
3834 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3836 ** Update of gnulib files.
3838 ** API and ABI modifications:
3839 No changes since last version.
3841 * Version 1.5.1 (released 2006-09-21)
3843 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3844 ** Crypto 06 rump session attack.
3845 In particular, we check that the digestAlgorithm.parameters field is
3846 missing or empty, to avoid that it can contain "garbage" that may be
3847 used to alter the numeric properties of the signature.  See
3848 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3849 not exactly the same as the problem we fix here).  Reported by Yutaka
3850 OIWA <y.oiwa@aist.go.jp>.
3852 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3853 up to date information.
3855 ** Add self test to test for above flaw.
3857 ** Fix gnutls-cli-debug regarding resume support detection.
3858 Earlier, if the session-id from the server had a length of 0, it would
3859 indicate that the server supports resumption, which isn't the case.
3860 Reported by Kataja Kai <kai.kataja@op.fi>.
3862 ** Fix building of examples on FreeBSD by including netinet/in.h.
3863 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3865 ** Fix certtool bug that caused the private key to not be loaded when
3866 generating a certificate with --load-request, which in turn triggered
3867 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
3868 by Sascha Ziemann <sascha.ziemann@secunet.com>.
3870 ** gnutls-cli and gnutls-serv works on Windows.
3871 The problem was the select() call that doesn't work on file
3872 descriptors (stdin) on Windows.  We borrowed some code from plibc to
3873 solve this.  It appears to be somewhat unreliable though.
3875 ** Autoconf 2.60 is now used.
3877 ** API and ABI modifications:
3878 No changes since last version.
3880 * Version 1.5.0 (released 2006-08-13)
3882 ** Change SRP and Cert-Type extensions to match IANA registry.
3884 ** Fixed bug in OpenPGP authentication handshake.
3886 ** Improvements for building under MinGW.
3887 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
3888 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
3889 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
3890 at run-time from ws2_32.dll, and falls back on a simple replacement if
3891 it is not available.  Builds the library with -mms-bitfields
3892 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
3893 create *.def files, which are installed.
3895 ** The examples now (conditionally) include config.h and link to gnulib.
3896 No other source changes were necessary, so the examples should
3897 continue to be possible to use stand-alone without any autoconf or
3898 gnulib stuff.
3900 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
3901 You may unconditionally disable it with --disable-cxx.  See
3902 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
3903 implementation.
3905 ** Made command line tool '--version' behave according to GNU Standards.
3906 This enables 'make distcheck' to succeed.
3908 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3910 ** Make --without-included-libtasn1 work.
3911 Reported by Daniel Black <dragonheart@gentoo.org>.
3913 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3914 See http://www.gnu.org/software/gnutls/security.html regardging
3915 GNUTLS-SA-2006-2 for more up to date information.  Reported by
3916 satyakumar <satyam_kkd@hyd.hellosoft.com>.
3918 ** API and ABI modifications:
3919 No changes since last version.
3921 * Version 1.4.5 (released 2006-11-06)
3923 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3924 ** version, try to negotiate the highest version support by the GnuTLS server,
3925 ** instead of the lowest.
3926 Reported by <Pasi.Eronen@nokia.com>.
3928 ** Fix typo in doc/examples/ex-serv-pgp.c.
3929 Reported by Adam Langley" <agl@imperialviolet.org>.
3931 ** API and ABI modifications:
3932 No changes since last version.
3934 * Version 1.4.4 (released 2006-09-12)
3936 ** Relax the test that caught signatures that exploit the variant of
3937 ** Bleichenbacher's Crypto 06 rump session attack on our
3938 ** verification logic flaw.
3939 In particular, we now permit the digestAlgorithm.parameters field to
3940 be present but empty, whereas in 1.4.3 we actually checked that the
3941 field was absent.
3943 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
3944 The messages are only printed in debug mode, which is not recommended
3945 for normal use, and thus logging this situation cannot be abused as an
3946 oracle in typical recommended situations.
3948 ** API and ABI modifications:
3949 No changes since last version.
3951 * Version 1.4.3 (released 2006-09-08)
3953 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3954 ** Crypto 06 rump session attack.
3955 In particular, we check that the digestAlgorithm.parameters field is
3956 empty, to avoid that it can contain "garbage" that may be used to
3957 alter the numeric properties of the signature.  See
3958 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3959 not exactly the same as the problem we fix here).  Reported by Yutaka
3960 OIWA <y.oiwa@aist.go.jp>.
3962 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3963 up to date information.
3965 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
3966 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
3967 Reported by Werner Koch <wk@gnupg.org>.
3969 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
3970 up to date information.
3972 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
3974 ** API and ABI modifications:
3975 No changes since last version.
3977 * Version 1.4.2 (released 2006-08-12)
3979 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3980 This can happen if you call gnutls_certificate_verify_peers2 and have
3981 a certain mix of local CA certificates and the peer send special
3982 certificates, that together trigger certain behaviour.  It is not
3983 known at this point whether the crash can be triggered without the
3984 special local CA certificate, and thus turn this into a remote crash
3985 of clients that verify server certificates when they talk to a server
3986 with the special server certificate.  See GNUTLS-SA-2006-2 on
3987 http://www.gnu.org/software/gnutls/security.html for more up to date
3988 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
3990 ** Change SRP and Cert-Type extensions to match IANA registry.
3992 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3994 ** Make --without-included-libtasn1 work.
3995 Reported by Daniel Black <dragonheart@gentoo.org>.
3997 ** API and ABI modifications:
3998 No changes since last version.
4000 * Version 1.4.1 (released 2006-06-14)
4002 ** Replaced inactive ifdefs to enable openpgp support in test programs.
4004 ** Fixed bug in OpenPGP authentication handshake.
4006 ** Fixed typographical in man pages.
4008 ** Build fixes of the manual.
4010 ** Added Swedish translation.
4012 ** API and ABI modifications:
4013 No changes since last version.
4015 * Version 1.4.0 (released 2006-05-15)
4017 ** Remove GnuTLS 0.8.x compatibility functions.
4019 ** The libgcrypt RNG is initialized in gnutls_global_init().
4021 ** TLS/IA API changes from Emile van Bergen.
4022 A dummy credential structure is not needed now, if you wish to use the
4023 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
4024 a session.
4026 ** The self-tests are now run under valgrind, if it is installed.
4028 ** Libtasn1 is updated to 0.3.4, and that version is now required.
4030 ** The command line tools now use getaddrinfo and support IPv6.
4032 ** API and ABI modifications:
4033 _gnutls_x509_get_raw_crt_activation_time,
4034 _gnutls_x509_get_raw_crt_expiration_time: Removed.
4035 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
4036 gnutls_ia_enable: Added.
4038 * Version 1.3.5 (released 2006-03-08)
4040 ** Error messages are now translated using GNU Gettext.
4042 ** The function gnutls_x509_crt_to_xml now return an internal error.
4043 This means that the code to convert X.509 certificates to XML format
4044 does not work any more.  The reason is that the function called
4045 libtasn1 internal functions.  It seems unclean for libtasn1 to export
4046 the APIs needed here.  Instead it would be better to implement XML
4047 support inside libtasn1 properly.  If you need this functionality
4048 strongly, please consider looking into implementing this suggested
4049 approach instead.  As a workaround, you may also modify lib/x509/xml.c
4050 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4052 ** Libraries are now built with libtool's -no-undefined.
4053 This helps producing libraries for Windows using mingw32.
4055 ** Doc fixes to explain that gnutls_record_send can block.
4057 ** Libtasn1 0.3.1 or later is now required.
4058 The include copy has been updated too.
4060 ** gnutls-cli can now recognize services and port numbers with the -p option.
4062 ** API and ABI modifications:
4063 No changes since last version.
4065 * Version 1.3.4 (released 2006-02-09)
4067 ** Fix read of out bounds bug in DER parser.
4068 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4069 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
4070 previous bug fix.  The included libtasn1 version in GnuTLS has been
4071 updated.
4073 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4074 longer invalidate a session if the underlying send fails, but it will 
4075 prevent future writes. That is to allow reading the already received data.
4076 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4078 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4079 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
4080 more than one certificates were added. Report and patch by Max Kellermann.
4082 ** Fix build problems of OpenCDK on AIX.
4083 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4085 ** API and ABI modifications:
4086 No changes since last version.
4088 * Version 1.3.3 (released 2006-01-12)
4090 ** New API to access the TLS master secret.
4091 When possible, you should use the TLS PRF functions instead.
4092 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4094 ** Improved handling when multiple libraries use GnuTLS at the same time.
4095 Now gnutls_global_init() can be called multiple times, and
4096 gnutls_global_deinit() will only deallocate the structure when it has
4097 been called as many times as gnutls_global_init() was called.
4099 ** Added a self test of TLS resume functionality.
4101 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4103 ** Documentation fixes about thread unsafety, prompted by
4104 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4105 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4106 thread safe.  Careful callers may want to protect the call using a
4107 mutex.  The problem could also be ignored, which would cause a memory
4108 leak under rare conditions when two threads invoke the function
4109 roughly at the same time.
4111 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4113 ** The code was indented again, including the external header files.
4115 ** API and ABI modifications:
4116 New functions to retrieve the master secret value:
4117   gnutls_session_get_master_secret
4119 Add a 'const' keyword to existing API:
4120   gnutls_x509_crq_get_challenge_password
4122 * Version 1.3.2 (released 2005-12-15)
4124 ** GnuTLS now support TLS Inner application (TLS/IA).
4125 This is per draft-funk-tls-inner-application-extension-01.  This
4126 functionality is added to libgnutls-extra, so it is licensed under the
4127 GNU General Public License.
4129 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4130 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4131 and EAP-TTLS.  One function to access the raw PRF and one to access
4132 the PRF seeded with the client/server random fields are provided.
4133 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4135 ** New APIs to acceess the client and server random fields in a session.
4136 These fields can be useful by protocols using TLS.  Note that these
4137 fields are typically used as input to the TLS PRF, and if this is your
4138 intended use, you should use the TLS PRF API that use the
4139 client/server random field directly.  Suggested by Jouni Malinen
4140 <jkmaline@cc.hut.fi>.
4142 ** Internal type cleanups.
4143 The uint8, uint16, uint32 types have been replaced by uint8_t,
4144 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4145 correct types on platforms that lack them.  The uint type have been
4146 replaced by unsigned.
4148 ** API and ABI modifications:
4149 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4150   gnutls_prf
4151   gnutls_prf_raw
4153 New functions to retrieve the session's client and server random values:
4154   gnutls_session_get_server_random
4155   gnutls_session_get_client_random
4157 New function, to perform TLS/IA handshake:
4158   gnutls_ia_handshake
4160 New function to decide whether to do a TLS/IA handshake:
4161   gnutls_ia_handshake_p
4163 New functions to allocate a TLS/IA credential:
4164   gnutls_ia_allocate_client_credentials
4165   gnutls_ia_free_client_credentials
4166   gnutls_ia_allocate_server_credentials
4167   gnutls_ia_free_server_credentials
4169 New functions to handle the AVP callback:
4170   gnutls_ia_set_client_avp_function
4171   gnutls_ia_set_client_avp_ptr
4172   gnutls_ia_get_client_avp_ptr
4173   gnutls_ia_set_server_avp_function
4174   gnutls_ia_set_server_avp_ptr
4175   gnutls_ia_get_server_avp_ptr
4177 New functions, to toggle TLS/IA application phases:
4178   gnutls_ia_require_inner_phase
4180 New function to mix session keys with inner secret:
4181   gnutls_ia_permute_inner_secret
4183 Low-level API (used internally by gnutls_ia_handshake):
4184   gnutls_ia_endphase_send
4185   gnutls_ia_send
4186   gnutls_ia_recv
4188 New functions that can be used after successful TLS/IA negotiation:
4189   gnutls_ia_generate_challenge
4190   gnutls_ia_extract_inner_secret
4192 Enum type with TLS/IA modes:
4193   gnutls_ia_mode_t
4195 Enum type with TLS/IA packet types:
4196   gnutls_ia_apptype_t
4198 Enum values for TLS/IA alerts:
4199   GNUTLS_A_INNER_APPLICATION_FAILURE
4200   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4202 New error codes, to signal when an application phase has finished:
4203   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4204   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4206 New error code to signal TLS/IA verify failure:
4207   GNUTLS_E_IA_VERIFY_FAILED
4209 * Version 1.3.1 (released 2005-12-08)
4211 ** Support for DHE-PSK cipher suites has been added.
4212 This method offers perfect forward secrecy.
4214 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4215 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4217 ** Corrected a bug in certtool for 64 bit machines. Reported
4218 by Max Kellermann <max@duempel.org>.
4220 ** New function to set a X.509 private key and certificate pairs, and/or
4221 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4222 <emile@e-advies.nl>.
4224 The integrity of the PKCS#12 file is protected through a password
4225 based MAC; public-key based signatures for integrity protection are
4226 not supported.  PKCS#12 bags may be encrypted using password derived
4227 symmetric keys, public-key based encryption is not supported.  The
4228 PKCS#8 keys may be encrypted using passwords.  The API use the same
4229 password for all operations.  We believe that any more flexibility
4230 create too much complexity that would hurt overall security, but may
4231 add more PKCS#12 related APIs if real-world experience indicate
4232 otherwise.
4234 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4235 reported by Emile van Bergen <emile@e-advies.nl>.
4236 This will enable "certtool -k -8" to parse those keys.
4238 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4239 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4240 certtool would have encrypted the key using an empty password.
4242 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4243 Earlier it would have prompted the user for it, even if --password was
4244 supplied.
4246 ** Added self test of PKCS#8 parsing.
4247 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4248 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4249 tests/pkcs8.
4251 ** API and ABI modifications:
4252 New function to set X.509 credentials from a PKCS#12 file:
4253   gnutls_certificate_set_x509_simple_pkcs12_file
4255 New gnutls_kx_algorithm_t enum type:
4256   GNUTLS_KX_DHE_PSK
4258 New API to return session data (basically same as gnutls_session_get_data):
4259   gnutls_session_get_data2
4261 New API to set PSK Diffie-Hellman parameters:
4262   gnutls_psk_set_server_dh_params
4264 * Version 1.3.0 (2005-11-15)
4266 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4267 This add several new APIs, see below.  Read the updated manual for
4268 more information.  A new self test "pskself" has been added, that will
4269 test this functionality.
4271 ** The session resumption data are now system independent.
4273 ** The code has been re-indented to conform to the GNU coding style.
4275 ** Removed the RIPEMD ciphersuites.
4277 ** Added a discussion of the internals of gnutls in manual.
4279 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4281 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4283 ** Make sure config.h is included first in a few files, from Albert Chin.
4285 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4287 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4288 from Albert Chin.
4290 ** API and ABI modifications:
4291 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4293 New gnutls_credentials_type_t credential type:
4294   GNUTLS_CRD_PSK
4296 New credential types:
4297   gnutls_psk_server_credentials_t
4298   gnutls_psk_client_credentials_t
4300 New functions to allocate PSK credentials:
4301   gnutls_psk_allocate_client_credentials
4302   gnutls_psk_free_client_credentials
4303   gnutls_psk_free_server_credentials
4304   gnutls_psk_allocate_server_credentials
4306 New enum type for PSK key flags:
4307   gnutls_psk_key_flags
4309 New function prototypes for credential callback:
4310   gnutls_psk_client_credentials_function
4311   gnutls_psk_server_credentials_function
4313 New function to set PSK username and key:
4314   gnutls_psk_set_client_credentials
4316 New function to set PSK passwd file:
4317   gnutls_psk_set_server_credentials_file
4319 New function to extract PSK user in server:
4320   gnutls_psk_server_get_username
4322 New functions to set PSK callback:
4323   gnutls_psk_set_server_credentials_function
4324   gnutls_psk_set_client_credentials_function
4326 Use size_t instead of int for output size parameter:
4327   gnutls_srp_base64_encode
4328   gnutls_srp_base64_decode
4330 * Version 1.2.11 (2006-05-11)
4331 - The function gnutls_x509_crt_to_xml is not supported any more, and
4332   return an internal error.  The reason is that the function called
4333   internal libtasn1 functions which are no longer exported from
4334   libtasn1.
4335 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4336 - Updated gnulib compatibility files.
4337 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4338   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4339 - API and ABI modifications:
4340   No changes since last version.
4342 * Version 1.2.10 (2006-02-09)
4343 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4344   <admin@gleg.net>, and debugging help from Protover SSL.
4345 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4346   The included version has been updated too.
4347 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4348   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4349 - Corrected a bug in certtool for 64 bit machines. Reported
4350   by Max Kellermann <max@duempel.org>.
4351 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4352   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4353   more than one certificates were added. Report and patch by Max Kellermann.
4354 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4355   longer invalidate a session if the underlying send fails, but it will 
4356   prevent future writes. That is to allow reading the already received data.
4357   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4359 * Version 1.2.9 (2005-11-07)
4360 - Documentation was updated and improved.
4361 - RSA-MD2 is now supported for verifying digital signatures.
4362 - Due to cryptographic advances, verifying untrusted X.509
4363   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4364   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4365   applications that must remain interoperable, you can use the
4366   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4367   flags when verifying certificates.  Naturally, this is not
4368   recommended default behaviour for applications.  To enable the
4369   broken algorithms, call gnutls_certificate_set_verify_flags with the
4370   proper flag, to change the verification mode used by
4371   gnutls_certificate_verify_peers2.
4372 - Make it possible to send empty data through gnutls_record_send,
4373   to align with the send(2) API.
4374 - Some changes in the certificate receiving part of handshake to prevent
4375   some possible errors with non-blocking servers.
4376 - Added numeric version symbols to permit simple CPP-based feature
4377   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4378 - The (experimental) low-level crypto alternative to libgcrypt used
4379   earlier (Nettle) has been replaced with crypto code from gnulib.
4380   This leads to easier re-use of these components in other projects,
4381   leading to more review and simpler maintenance.  The new configure
4382   parameter --with-builtin-crypto replace the old --with-nettle, and
4383   must be used if you wish to enable this functionality.  See README
4384   under "Experimental" for more information.  Internally, GnuTLS has
4385   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4386   API is similar to the old crypto/gc.h, because the gnulib code were
4387   based on GnuTLS's gc.h.
4388 - Fix compiler warning in the "anonself" self test.
4389 - API and ABI modifications:
4390 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4391                              This doesn't reflect a change in behaviour,
4392                              so we don't break backwards compatibility.
4393 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4394 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4395 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4396 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4397                                   Use when calling
4398                                   gnutls_x509_crt_list_verify,
4399                                   gnutls_x509_crt_verify, or
4400                                   gnutls_certificate_set_verify_flags.
4401 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4402                                 used when broken signature algorithms
4403                                 is used (currently RSA-MD2/MD5).
4404 LIBGNUTLS_VERSION_MAJOR,
4405 LIBGNUTLS_VERSION_MINOR,
4406 LIBGNUTLS_VERSION_PATCH,
4407 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4408                           version number, can be used for feature existence
4409                           tests.
4411 * Version 1.2.8 (2005-10-07)
4412 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4413 - Don't install the auxilliary libexamples library used by the
4414   examples in doc/examples/ on "make install", report and tiny patch
4415   from Thomas Klausner <tk@giga.or.at>.
4416 - If you pass a X.509 CA or PGP trust database to the command line
4417   tool, it will now abort the connection if the server certificate
4418   validation fails.  Use the parameter --insecure to continue even
4419   after certificate validation failures.  Inspired from discussion
4420   with Alexander Kotelnikov <sacha@myxomop.com>.
4421 - The test for socklen_t has been moved to gnulib.
4422 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4423   patch from Martin Lambers <marlam@marlam.de>.
4424 - The command line tool and the examples no longer uses mmap or bzero,
4425   to make them more portable, patch from Martin Lambers
4426   <marlam@marlam.de>.
4427 - Made the PKCS #12 API handle null passwords. Based on patch by
4428   Anton Altaparmakov <aia21@cam.ac.uk>.
4429 - The GTK-DOC manual should build with current released tools.
4430   (But a copy of the output is included, so the tools are not required.)
4431 - The inet_ntop function is now used through gnulib.
4432 - API and ABI modifications:
4433   No changes since last version.
4435 * Version 1.2.7 (2005-09-09)
4436 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
4437 - Certtool now complains when reading out-of-range X.509 serial
4438   numbers, suggested by Fran <e_agf@yahoo.es>.
4439 - Certtool now uses the readline library (when available) when reading
4440   X.509 serial numbers.
4441 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4442 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4443   Martin Lambers <marlam@marlam.de>.
4444 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4445 - Gnulib is now used for the core library, enabling future code cleanups.
4446 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4447   suggested by Daniel Stenberg <daniel@haxx.se>.
4448 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4449 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4450 - Disable zlib support if zlib.h is not present.
4451 - A number of internal cleanups.
4452 - API and ABI modifications:
4453   No changes since last version.
4455 * Version 1.2.6 (2005-07-16)
4456 - MiniLZO updated to version 2.01 and moved to separate directory.
4457 - Collision between system LZO header files and MiniLZO header file
4458   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4459 - Will now test for liblzo functionality in liblzo2 too, reported by
4460   Thomas Klausner <tk@giga.or.at>.
4461 - Minilibtasn1 is now 0.2.14 (no code changes).
4462 - Some code changes to avoid GTK-DOC warnings.
4463 - API and ABI modifications:
4464   No changes since last version.
4466 * Version 1.2.5 (2005-07-03)
4467 - More builddir != srcdir fixes, reported by Mike Castle
4468   <dalgoda@ix.netcom.com>.
4469 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4470   reported by Adam Langley <alangley@gmail.com>.
4471 - Corrected some stuff in minilzo detection. Pointed out by 
4472   Sergey Lipnevich.
4473 - MiniLZO updated to version 2.00.
4474 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4475 - API and ABI modifications:
4476   No changes since last version.
4478 * Version 1.2.4 (2005-05-28)
4479 - Corrected some bugs that could affect 64 bit systems.
4480 - Some corrections in the header files to include the prototype
4481   of memmem properly (affected 64 bit systems). Report and patch
4482   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4483 - Introduced the --fix-key option to certtool, which can be used to
4484   regenerate the (optional) parameters in a private key. It should
4485   be used together with --key-info.
4486 - Corrected a bug in certificate chain verification that could lead
4487   to marking a trusted chain as non trusted, if the last certificate in
4488   the chain was a self signed one.
4489 - Gnulib portability files were updated.
4490 - License were updated to reflect new FSF address.
4491 - API and ABI modifications:
4492   No changes since last version.
4494 * Version 1.2.3 (2005-04-28)
4495 - Corrected bug in record packet parsing that could lead
4496   to a denial of service attack.
4497 - Corrected bug in RSA key export. Previously exported keys
4498   can be fixed using certtool. Use certtool -k <infile >outfile
4499 - API and ABI modifications:
4500     gnutls_x509_privkey_fix(): Add.
4502 * Version 1.2.2 (2005-04-25)
4503 - gnutls_error_to_alert() now considers
4504   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4505 - Fixed error in session resuming that could cause a crash in a session.
4506 - Fixed pkcs12 friendly name and local key identifier decoding.
4507 - Internal cleanups, removed duplicate typedef/struct definitions,
4508   and made source code include external include file, to check
4509   function prototypes during compile time.
4510 - API and ABI modifications:
4511   No changes since last version.  At least not intentional, but due
4512   to the include header changes, there may be inadvertant changes,
4513   please let us know if you find any.
4515 * Version 1.2.1 (2005-04-04)
4516 - gnutls_bye() will no longer fail when RDWR is used and application
4517   data are available for reading.
4518 - Added more strict checks for the SRP parameters (g,n), when they
4519   are not in the included list.
4520 - Added warning to certtool when MD5 is being used for digital
4521   signatures.
4522 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4523   instead the standard autoconf defaults are used.  Use `./configure
4524   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4525 - Added the option --get-dh-params to certtool, in order to get the
4526   parameters included in the library primes and generators.
4527 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4528   allow only trusted Version 1 CAs and introduced
4529   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4530 - Nettle self tests now build properly, reported by Pierre
4531   <pierre42d@9online.fr>.
4532 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4533   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4534 - If the library has been compiled with features disabled, a warning is 
4535   issued during the compilation of any program.
4536 - API and ABI modifications:
4537     gnutls_x509_crt_list_import(): Add
4538     gnutls_x509_crq_get_attribute_by_oid(): Add.
4539     gnutls_x509_crq_set_attribute_by_oid(): Add
4540     gnutls_x509_crt_set_extension_by_oid(): Add.
4541     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4542     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4544 * Version 1.2.0 (2005-01-27)
4545 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4546 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4547   gnutls_x509_crl_sign2().
4548 - Fixed license header in source code files.
4550 * Version 1.1.23 (2005-01-18)
4551 - It is now possible to generate PKCS#12 structures without private
4552   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4553   <fabbe@paniq.net>.
4554 - Certtool now prints information for the RSA and DSA parameters of
4555   certificates and private keys.
4556 - Corrected the write of CRL distribution points.
4557 - The certificate chain verification function now checks certificates
4558   in the reverse order to minimize the spent resources.
4559 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4560 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4561   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4562   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4563   required, instead of the string length.  That is, the value has been
4564   incremented by 1 to account for the terminating zero. Reported by
4565   Martin Lambers <marlam@web.de>.
4566 - Debug output shouldn't crash on platforms that doesn't handle NULL
4567   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4568 - Sync included copy of libtasn1 with version 0.2.13.
4569 - Client X.509 authenticated connections via gnutls-cli should now work again.
4571 * Version 1.1.22 (2004-11-04)
4572 - Replace GNU LD version script with Libtool -export-symbols-regex,
4573   from Joe Orton <joe@manyfish.co.uk>.
4574 - Documentation improvements.
4575 - Code indented using 'indent -i4 -kr'.
4576 - The API manual is included in Devhelp format.  (Was in last release too,
4577   but the NEWS entry was forgotten.)
4578 - The OpenSSL compatibility code now use the internal crypto interface.
4579 - Added simple self test of OpenSSL compatibility library.
4580 - Internally, libtool convenience libraries are used.
4581 - Cleanups to configure.ac.
4583 * Version 1.1.21 (2004-10-27)
4584 - Print DN of certificates with unknown characters in them, but in hexform
4585   only.
4586 - Added second precision to the X.509 parsing and generation functions.
4587 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4588   actual OID.
4589 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4590   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4591 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4592   <stephane.loeuillet@tiscali.fr>.
4593 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4594   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4595 - Add self test of PKCS#12 functionality in "certtool", based on test
4596   vectors from Joe Orton <joe@manyfish.co.uk>.
4597 - Fix library order in libgnutls*-config --libs output, to permit
4598   static linking, reported by Yoann Vandoorselaere
4599   <yoann@prelude-ids.org>.
4601 * Version 1.1.20 (2004-10-12)
4602 - Fix compile problem in gl/getpass.c on some systems.
4604 * Version 1.1.19 (2004-10-07)
4605 - Fix memory leak in gnutls_certificate_verify_peers and
4606   gnutls_certificate_free_credentials, report and patch by Simon
4607   Posnjak <simon.posnjak@cetrtapot.si>.
4608 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4609   a key and no certificate to PKCS#12.
4610 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4611   <gp@familiehaase.de>.
4612 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4613   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4614 - Uses memmem instead of strnstr in lib/.
4615 - Using more GNULib portability files, although not yet inside lib/.
4616 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4617   Nikos deprecated gnutls_certificate_verify_peers in favor of
4618   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4619 - Improvements to the manual.
4620 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4621 - Known bug: the library require snprintf.  This has not yet been
4622   fixed, but will be handled via GNULib later on.
4624 * Version 1.1.18 (2004-08-24)
4625 - Corrected handling of certificate with dates after year 2038.
4626 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4627 - Correct certtool --smime-to-p7 end of line character handling.
4628 - Added example client and server for anonymous authentication.
4629 - Added self test that tests anonymous TLS client and server.
4630 - Added self tests of Nettle and generic crypto layer.
4631 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4632   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4633 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4634 - Man pages for API functions are included.
4636 * Version 1.1.17 (2004-08-18)
4637 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4638   reported by Robey Pointer <robey@danger.com>.
4639 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4640   See section "Experimental" within section "COMPILATION ISSUES" in README.
4641 - Removed length limit on passwords read by 'certtool'.
4642 - Documentation fixes.
4644 * Version 1.1.16 (2004-08-15)
4645 - Fix missing gnulib linker parameter when building certtool.
4646 - Add gnulib module 'progname', needed by module 'error'.
4647 - Improve building with srcdir != objdir.
4649 * Version 1.1.15 (2004-08-15)
4650 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4651   PKCS #7 format.
4652 - Ported to Mac OS X / Darwin.
4653 - Ported to FreeBSD.
4655 * Version 1.1.14 (2004-08-09)
4656 - Documentation converted to Texinfo format.
4657 - Bug fix of test suite.
4658 - Configure now print build information, used by Autobuild.
4660 * Version 1.1.13 (2004-08-05)
4661 - Added simple self test suite.
4663 * Version 1.1.12 (2004-08-02)
4664 - Updated the SRP authentication to conform to the
4665   latest (yet unreleased) draft. Unfortunately this breaks
4666   compatibility with previous versions.
4667 - Changed the makefiles to be more portable.
4668 - SRP ciphersuites were moved to the gnutls library.
4669 - Added some default limits in the verification of certificate
4670   chains, to avoid denial of service attacks. Also added 
4671   gnutls_certificate_set_verify_limits() to override them.
4672   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4673 - Added gnutls_certificate_verify_peers2().
4675 * Version 1.1.11 (2004-07-16)
4676 - Added the '_t' suffix to all exported symbols.
4677 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4678   <mak@greenhills.co.uk>.
4679 - Corrected a bug in certificate verification. Pointed out by
4680   Yoann Vandoorselaere <yoann@prelude-ids.org>
4681 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4682   verification functions.
4683 - The ephemeral DH and RSA parameters are no longer stored in the
4684   session resume DB.
4685 - Do not free the SRP (prime and generator) parameters obtained from the 
4686   callback if they are the static ones defined in extra.h
4687 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4689 * Version 1.1.10 (2004-06-12)
4690 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4691 - Corrected bug in TLS renegotiation.
4692 - Corrected bug in OpenPGP key loading using a callback.
4693 - gnutls-srpcrypt was renamed to srptool
4694 - Allow handshake requests by the client.
4695 - Automatically disable certificate types that do not have corresponding
4696   certificates.
4697 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4698 - Opencdk library is being included if not found.
4699 - certtool can now add ip address SAN extension.
4700 - certtool has now support for more X.520 DN attribute types.
4701 - Better handling of EOF in gnutls_record_recv().
4702 - _gnutls_deinit() is no longer used. Sessions are not
4703   automatically removed any more, on abnormal termination.
4704 - Corrected session resuming in SRP ciphersuites.
4705 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4706 - Added new functions to allow access to the ephemeral
4707   Diffie Hellman parameters.
4708 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4709   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4710 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4711   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4712   RSA-EXPORT key exchange.
4713 - Some fixes in the session resuming code.
4714 - Added gnutls_openpgp_keyring_check_id().
4716 * Version 1.1.9 (2004-04-14)
4717 - Added support for authority key identifier and the extended key usage
4718   X.509 extension fields. The certtoool was updated to support them.
4719 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4720 - Added batch support to certtool. Now it can use templates.
4722 * Version 1.1.8 (2004-04-07)
4723 - Implemented all the tests for the SRP group parameters in
4724   client side. This may lead to incompatibility with very
4725   old gnutls servers.
4726 - Corrected bug in RSA parameters handling which could cause
4727   unexpected crashes.
4728 - Optimized the copying of rsa_params.
4730 * Version 1.1.7 (2004-03-29)
4731 - Added gnutls_certificate_set_params_function() and 
4732   gnutls_anon_set_params_function() that set the RSA or DH
4733   parameters using a callback.
4734 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4735   and gnutls_x509_privkey_cpy().
4736 - Corrected a compilation issue when opencdk was installed in a
4737   non standard directory.
4738 - Deprecated: gnutls_srp_server_set_select_function(), 
4739   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4741 * Version 1.1.6 (2004-02-24)
4742 - Several bug fixes, by Arne Thomassen.
4743 - Fixed a bug where 'server name' extension was always sent.
4745 * Version 1.1.5 (2004-01-06)
4746 - Added the gnutls_sign_algorithm type.
4748 * Version 1.1.4 (2004-01-04)
4749 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4750   If they are of highest priority then the abbreviated handshake
4751   is used.
4752 - Removed all references of missing files.
4753 - Changed handshake behaviour to send the lowest TLS version
4754   when an unsupported version was advertized. The current behaviour
4755   is to send the maximum version we support.
4756 - Corrected problem printing the DC attributes in a DN.
4758 * Version 1.1.3 (2003-12-30)
4759 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4760   hack).
4762 * Version 1.1.2 (2003-12-28)
4763 - Added CRL verification functionality to certtool.
4764 - Corrected the CRL distribution point extension handling.
4766 * Version 1.1.1 (2003-12-26)
4767 - Added PKCS #7 support to certtool utility.
4768 - Added support for reading and generating CRL distribution
4769   points extensions in certificates.
4770 - Added support for generating CRLs in the library and the
4771   certtool utility.
4772 - Added support for the Subject Key ID PKIX extension.
4774 * Version 1.1.0 (2003-12-21)
4775 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4776   are no longer returned by the handshake function. Ciphersuites that
4777   require temporary parameters are removed when such parameters do not exist.
4778 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4779   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4780   to specify certificates for the handshake without storing them to the
4781   credentials structure.
4782 - Added support for generating and exporting DSA private keys.
4783 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
4784   certificate's key usage.
4785 - Added gnutls_openpgp_key_get_key_usage().
4787 * Version 1.0.25 (2005-04-27)
4788 - Corrected bug in record packet parsing that could lead
4789   to a denial of service attack.
4790 - Corrected bug in RSA key export.
4792 * Version 1.0.24 (2005-01-18)
4793 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4795 * Version 1.0.23 (2004-11-13)
4796 - Replace GNU LD version script with Libtool -export-symbols-regex,
4797   from Joe Orton <joe@manyfish.co.uk>.
4798 - Copy libtasn1 has been updated to version 0.2.11.
4799 - Corrected the write of CRL distribution points.
4800 - It is now possible to generate PKCS#12 structures without private
4801   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4802   <fabbe@paniq.net>.
4804 * Version 1.0.22 (2004-10-28)
4805 - Print DN of certificates with unknown characters in them, but in hexform
4806   only.
4807 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4808   actual OID.
4809 - Added second precision to the X.509 parsing functions.
4810 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4811   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4812 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4813   <stephane.loeuillet@tiscali.fr>.
4814 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4815   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4816 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
4817 - Fix library order in libgnutls*-config --libs output, to permit
4818   static linking, reported by Yoann Vandoorselaere
4819   <yoann@prelude-ids.org>.
4821 * Version 1.0.21 (2004-10-07)
4822 - Fix memory leak in gnutls_certificate_verify_peers and
4823   gnutls_certificate_free_credentials, report and patch by Simon
4824   Posnjak <simon.posnjak@cetrtapot.si>.
4825 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4826   a key and no certificate to PKCS#12.
4827 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4828   <gp@familiehaase.de>.
4829 - Avoid redefining getpass if system already has it, reported by
4830   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4831 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4832 - Known bug: the library require snprintf.
4834 * Version 1.0.20 (2004-08-18)
4835 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4836   reported by Robey Pointer <robey@danger.com>.
4838 * Version 1.0.19 (2004-08-09)
4839 - Bug fix of test suite.
4841 * Version 1.0.18 (2004-08-05)
4842 - Added simple self test suite.
4844 * Version 1.0.17 (2004-08-02)
4845 - Updated the SRP authentication to conform to the
4846   latest (yet unreleased) draft. Unfortunately this breaks
4847   compatibility with previous versions.
4848 - Changed the makefiles to be more portable.
4849 - Added some default limits in the verification of certificate
4850   chains, to avoid denial of service attacks. Also added 
4851   gnutls_certificate_set_verify_limits() to override them.
4852   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4853 - Added gnutls_certificate_verify_peers2().
4855 * Version 1.0.16 (2004-07-10)
4856 - Do not free the SRP (prime and generator) parameters obtained from the 
4857   callback if they are the static ones defined in extra.h.
4858 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4859 - Some fixes in the makefiles.
4861 * Version 1.0.15 (2004-06-29)
4862 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4863   <mak@greenhills.co.uk>.
4864 - Corrected a bug in certificate verification. Pointed out by
4865   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4867 * Version 1.0.14 (2004-06-12)
4868 - Automatically disable certificate types that do not have corresponding
4869   certificates.
4870 - Updates in the documentation.
4871 - certtool can now add ip address SAN extension.
4872 - certtool has now support for more X.520 DN attribute types.
4873 - Opencdk library is being included if not found.
4874 - Added gnutls_openpgp_keyring_check_id().
4875 - Corrected a serious bug in the included libtasn1 library.
4876 - Corrected session resuming in SRP ciphersuites.
4877 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4878 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4879   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4880 - Some fixes in the session resuming code.
4882 * Version 1.0.13 (2004-04-29)
4883 - Some complilation fixes.
4884 - Added the --xml parameter to the certtool utility.
4886 * Version 1.0.12 (2004-04-23)
4887 - Corrected bug in OpenPGP key loading using a callback.
4888 - Renamed gnutls-srpcrypt to srptool
4889 - Allow handshake requests by the client.
4890 * Things backported from the development branch:
4891 - Added support for authority key identifier and the extended key usage
4892   X.509 extension fields. The certtoool was updated to support them.
4893 - Added batch support to certtool. Now it can use templates.
4894 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4896 * Version 1.0.11 (2004-04-17)
4897 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4898 - Corrected bug in TLS renegotiation.
4900 * Version 1.0.10 (2004-04-03)
4901 - Corrected bug in RSA parameters handling which could cause
4902   unexpected crashes.
4903 - Corrected bug in SSL 3.0 authentication.
4905 * Version 1.0.9 (2004-03-29)
4906 - Added gnutls_certificate_set_params_function() and 
4907   gnutls_anon_set_params_function() that set the RSA or DH
4908   parameters using a callback.
4909 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4910   and gnutls_x509_privkey_cpy().
4911 - Corrected a compilation issue when opencdk was installed in a
4912   non standard directory.
4913 - Documented the changes need in multi-threaded application due
4914   to the new libgcrypt.
4916 * Version 1.0.8 (2004-02-28)
4917 - Corrected bug in mutual certificate authentication in SSL 3.0.
4919 * Version 1.0.7 (2004-02-25)
4920 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4921   hack).
4922 - Some updates in the documentation.
4924 * Version 1.0.6 (2004-02-12)
4925 * Backported things from the development branch (while maintaining
4926   backwards compatibility):
4927 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4928   If they are of highest priority then the abbreviated handshake
4929   is used.
4930 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4931   are no longer returned by the handshake function. Ciphersuites that
4932   require temporary parameters are removed when such parameters do not exist.
4933 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4934   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4935   to specify certificates for the handshake without storing them to the
4936   credentials structure.
4937 - Added support for generating and exporting DSA private keys.
4939 * Version 1.0.5 (2004-02-11)
4940 - Fixed a bug where 'server name' extension was always sent.
4941 * Backported things from the development branch:
4942 - Added CRL verification functionality to certtool.
4943 - Corrected the CRL distribution point extension handling.
4944 - Added PKCS #7 support to certtool utility.
4945 - Added support for reading and generating CRL distribution
4946   points extensions in certificates.
4947 - Added support for generating CRLs in the library and the
4948   certtool utility.
4949 - Added support for the Subject Key ID PKIX extension.
4950 - Added the gnutls_sign_algorithm type.
4952 * Version 1.0.4 (2004-01-04)
4953 - Changed handshake behaviour to send the lowest TLS version
4954   when an unsupported version was advertized. The current behaviour
4955   is to send the maximum version we support.
4956 - certtool no longer asks the password in unencrypted private
4957   keys.
4958 - The source is now compiled to use the reentrant libc functions.
4960 * Version 1.0.3 (2003-12-21)
4961 - Corrected bug in gnutls_bye() which made it return an error code
4962   of INVALID_REQUEST instead of success.
4963 - Corrected a bug in the GNUTLS_KEY key usage definitions.
4965 * Version 1.0.2 (2003-12-18)
4966 - Corrected a bug in the RSA key generation. This was
4967   generating unusable RSA keys.
4969 * Version 1.0.1 (2003-12-10)
4970 - Some minor fixes in the makefiles. They now include CFLAGS
4971   from libgcrypt or opencdk if installed in a non standard directory.
4972 - Fixed the SRP detection test in gnutls-cli-debug.
4973 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
4975 * Version 1.0.0 (2003-12-04)
4976 - Exported the static SRP group parameters.
4977 - Some fixes in the certificate authenticated SRP ciphersuites.
4978 - Improved the support for draft-ietf-tls-srp-05. The two-phase
4979   handshake is now fully supported without any interaction with
4980   the application layer (except for a callback).
4982 * Version 0.9.99 (2003-11-28)
4983 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
4984   and gnutls_server_name_get() prototypes.
4985 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
4986   and gnutls_x509_crt_verify_data().
4987 - Some fixes in the openpgp authentication.
4988 - Removed the Twofish cipher.
4990 * Version 0.9.98 (2003-11-16)
4991 - The openssl compatibility layer was moved to gnutls-openssl
4992   library instead of being included in the gnutls-extra library.
4993 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
4994 - Building with openpgp support is now mandatory.
4995 - gnutls4 compatibility header is no longer included by default in
4996   gnutls.h.
4997 - gnutls8 function usage yelds a deprecation warning in gcc3.
4998 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
4999   functions have a raw_flag parameter added.
5000 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
5001   functions which return the available OIDs.
5003 * Version 0.9.97 (2003-11-11)
5004 - The certtool utility can now generate PKCS #12 structures
5005   without specifying a certificate.
5006 - Added capability to read CRLs to certtool.
5007 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
5008   to properly set the required buffer size.
5009 - Corrected a bug in libgcrypt detection.
5011 * Version 0.9.96 (2003-11-09)
5012 - Some changes to allow compilation with mingw32.
5013 - Several code cleanups.
5015 * Version 0.9.95 (2003-11-02)
5016 - Improved the verification functions. Added new verification
5017   output flags and removed the unused and redundant ones.
5018 - Improved the OpenPGP key support.
5019 - The prime utility was removed, and its functionality was moved
5020   to certtool.
5022 * Version 0.9.94 (2003-10-30)
5023 - Added manpages for the included programs.
5024 - Documented and improved the certtool utility. 
5025 - Added PKCS #12 support to certtool utility.
5027 * Version 0.9.93 (2003-10-26)
5028 - Corrected some compilation issues.
5029 - Improved the certtool command line utility.
5031 * Version 0.9.92 (2003-10-25)
5032 - The RFC2818 hostname verification is now case insensitive.
5033 - Added support for generating X.509 certificates.
5034 - Added the certtool, a tool for generating X.509 certificates
5036 * Version 0.9.91 (2003-10-17)
5037 - Fixed a compilation issue in the openpgp authentication part.
5039 * Version 0.9.90 (2003-10-08)
5040 - Updated the openpgp key API (depends on the unreleased new
5041   opencdk).
5043 * Version 0.9.8 (2003-10-02)
5044 - Updated the SRP implementation to follow the latest draft
5045   (draft-ietf-tls-srp-05).
5046 - Improved the gnutls-cli behaviour in error handling,
5047   and added a check for the peer's hostname.
5048 - Use versioned symbols in the library (where available).
5049 - RIJNDAEL ciphersuites were renamed to AES.
5051 * Version 0.9.7 (2003-08-25)
5052 - The tex files are now included in the distribution.
5053 - The library can now decrypt PKCS #12 files encrypted with
5054   the RC2-40 cipher.
5055 - The missing rfc2818_hostname object is now included.
5056 - Several corrections and bug fixes in the library by 
5057   Arne Thomassen <arne@arne-thomassen.de>.
5058 - CR is now allowed in the base64 decoder.
5060 * Version 0.9.6 (2003-06-28)
5061 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5062   functions which return a unique (per public key) ID. These can
5063   be used to check if the private key corresponds to a given certificate.
5064 - Corrections in the TLS layer openpgp certificate packet parser.
5065 - Corrected a bug in the record layer buffering, which affected
5066   the case where external pull function was used. Report and patch
5067   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5068 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5069   was freed.
5070 - SRP programs are now built by default.
5071 - Added API to read and write to PKCS #12 structures. Prototypes
5072   in gnutls/pkcs12.h.
5073 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5075 * Version 0.9.5 (2003-04-06)
5076 - Several improvements in the PKCS #7 handling
5077 - Eliminated several hard coded constants in MPI parameters.
5079 * Version 0.9.4 (2003-03-28)
5080 - Corrected a parsing error in the Certificate request message.
5081 - Corrected behaviour when a certificate request message is received.
5082   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5083   a no_certificate alert is sent instead.
5084 - Added functionality to generate PKCS #7 structures (with certificates).
5086 * Version 0.9.3 (2003-03-24)
5087 - Support for MD2 was dropped. 
5088 - Improved the error logging functions, by adding a level, and
5089   by allowing debugging messages just by increasing the level.
5090 - The diffie Hellman ciphersuites are now of higher priority than
5091   the plain RSA.
5092 - The RSA premaster secret version check can no longer be disabled.
5093 - Implemented the counter measure discussed in the paper "Attacking
5094   RSA-based Sessions in SSL/TLS", against the attack described in the
5095   same paper.
5096 - Added the functions: gnutls_handshake_get_last_in(), 
5097   gnutls_handshake_get_last_out().
5098 - The gnutls_certificate_set_rsa_params() was renamed to 
5099   gnutls_certificate_set_rsa_export_params().
5100 - Added the new functions: gnutls_certificate_set_x509_key()
5101   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5102   gnutls_x509_crt_export(), gnutls_x509_crl_export().
5103 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
5104   RSA private keys.
5106 * Version 0.9.2 (2003-03-15)
5107 - Some corrections in the memory mapping code (file is unmapped after 
5108   it is read).
5109 - Added support for PKCS#10 certificate requests generation.
5111 * Version 0.9.1 (2003-03-12)
5112 - Corrected a bug in 64 bit architectures, which affected the
5113   serial number calculation in the record layer.
5114 - Added gnutls_certificate_free_keys() which deletes all the
5115   private keys and certificates from the credentials structure.
5116 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5117   which caused some unexpected packet length errors. Report and patch
5118   by Ian Peters <itp@ximian.com>.
5119 - Added ability to generate RSA keys.
5120 - Increased the maximum parameter size in order to read some large keys
5121   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5122 - Added an strnstr() function and the requirement in some functions to
5123   use null terminated PEM structures is no more.
5124 - Use mmap() if available to read files.
5125 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5126   <r.kittinger@efkon.com>.
5128 * Version 0.9.0 (2003-03-03)
5129 - This version is not binary compatible with the previous ones.
5130 - The library notifies the application on empty and illegal SRP usernames, 
5131   so that proper notification (via an alert) is sent to the peer.
5132 - Added ability to send some messages back to the application using
5133   the gnutls_global_set_log_function().
5134 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5135   gnutls_malloc() to allocate the output parameters.
5136 - Added support for MD2 algorithm in certificate signature verification.
5137 - The RSA and DH parameter generation interface was changed. Added
5138   ability to import and export from and to PKCS3 structures. This 
5139   was needed to read parameters generated using the openssl dhparam tool.
5140 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5141   parameters are now included in the library. Also the credentials structure 
5142   can now hold only one temporary parameter of a kind.
5143 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5144   API, defined in gnutls/x509.h
5145 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5146   verification flags in the credentials structure. They will be used in the
5147   *verify_peers functions.
5148 - Added protection against the new TLS 1.0 record layer timing attack.
5149 - Added support for Certificate revocation lists. Functions defined
5150   in gnutls/x509.h
5151 - The only functions that were removed are:
5152   gnutls_x509_certificate_to_xml()
5153   gnutls_x509_extract_dn_string()
5154 - Ported to libtasn1 0.2.x
5156 * Version 0.8.1 (2003-01-22)
5157 - Improved the SRP support, to prevent attackers guessing the
5158   available usernames by brute force.
5159 - Improved the SRP detection in gnutls-cli-debug
5160 - Some fixes which now allow compilation.
5162 * Version 0.8.0 (2003-01-20)
5163 - Added gnutls_x509_extract_dn_string() which returns a 
5164   distinguished name in a single string.
5165 - Added gnutls_openpgp_extract_key_name_string() which returns
5166   an openpgp user ID in a single string.
5167 - Added gnutls_x509_extract_certificate_ca_status() which returns
5168   the CA status of the given certificate.
5169 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5170 - If libtasn1 is not present in the system, it is included in 
5171   the main gnutls library.
5172 - If liblzo is present in the system, then the included minilzo
5173   will not be used, and libgnutls-extra will depend on liblzo.
5174 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5175   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5176   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5178 * Version 0.6.0 (2002-12-08)
5179 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5180   to emulate the old 0.4.x API.
5181 - Example programs are now stored in doc/examples/
5182 - Several improvements and updates in the documentation.
5183 - Added the certificate authenticated SRP cipher suites.
5184 - gnutls_x509_extract_certificate_dn_string() was updated to return
5185   an RFC2253 conforming string.
5186 - Added the SRP related functions:
5187    gnutls_srp_verifier()
5188    gnutls_srp_base64_encode()
5189    gnutls_srp_base64_decode()
5190 - Added the function gnutls_srp_set_server_credentials_function()
5191   to allow retrieving SRP parameters from an external backend - other
5192   than password files.
5193 - Added the function gnutls_openpgp_set_recv_key_function()
5194   which can be used to set a callback, to get OpenPGP keys.
5195 - Exported the functions:
5196    gnutls_malloc()
5197    gnutls_free()
5198   which should be used by callback functions.
5199 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5200   and gnutls_pem_base64_decode_alloc(). In the default case
5201   were the gnutls library is used with malloc/realloc/free,
5202   these are binary compatible.
5204 * Version 0.5.11 (2002-11-05)
5205 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5206   faults at exit.
5207 - Example programs found in the documentation can now be generated by
5208   running "make examples" in doc/tex directory.
5209 - Added more descriptive error strings, to gnutls_strerror().
5210 - Documented error codes, and the function reference list is now sorted.
5211 - Optimized buffering code.
5212 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5213 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5214   case where the memory buffer provided is not long enough.
5215 - Depends on the new OpenCDK 0.3.2.
5217 * Version 0.5.10 (2002-10-13)
5218 - Updated documentation.
5219 - Added server name extension. This allows clients to specify the
5220   name of the server they connect to. Useful to HTTPS.
5221 - Several corrections in the code base, mostly in signed/unsigned,
5222   checkings.
5224 * Version 0.5.9 (2002-10-10)
5225 - Corrected some code which worked fine in gcc 3.2, but not with any
5226   other compiler.
5227 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5228   starttls implementations.
5229 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5230   the private key type, of a DER encoded key.
5231 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5232   certificate's distinguished name in a single string.
5233 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5234   functions, to avoid calling all the *_priority() functions if the defaults
5235   are acceptable.
5236 - Added int gnutls_x509_check_certificates_hostname() which check whether
5237   the given hostname matches the owner of the given X.509 certificate.
5239 * Version 0.5.8 (2002-09-25)
5240 - Updated documentation.
5241 - Added gnutls_record_get_direction() which replaces the obsolete
5242   gnutls_handshake_get_direction().
5243 - Added function to convert error codes to alert descriptions
5244 - Added LZO compression
5246 * Version 0.5.7 (2002-09-11)
5247 - Some fixes in the memory allocation functions (realloc).
5248 - Improved the string functions used in XML certificate generation.
5249 - Removed dependency on libgdbm.
5250 - Corrected bug in gnutls_dh_params_set() which affected
5251   gnutls_dh_params_deinit().
5252 - Corrected bug in session resuming code in server side.
5254 * Version 0.5.6 (2002-09-06)
5255 - Corrected bugs in SRP implementation, which prevented gnutls 
5256   to interoperate with other implementations. (interoperability testing
5257   was done by David Taylor)
5258 - Corrected bug in cert_type extension.
5259 - Corrected extension type checks which used an 8 bit extension size,
5260   instead of 16 bits.
5261 - Added versioning in the XML output of certificate functions.
5262 - Removed the X.509 test suite.
5264 * Version 0.5.5 (2002-09-03)
5265 - Updated the SRP implementation to the latest draft. The blowfish
5266   crypt implementation was removed, since the new draft does not allow
5267   other hash algorithms except for the srpsha. 
5268 - Renamed all the constructed types in order to have more consistent
5269   names. 
5270 - Improved the certificate and key read functions. Now they can read 
5271   the certificate and the private key from the same file.
5272 - Updated and corrected documentation.
5274 * Version 0.5.4 (2002-08-27)
5275 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5276 - gnutls_handshake_set_exportable_detection() was obsoleted.
5277 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5278 - Corrected bug in DHE key exchange
5279 - Added support for temporary RSA keys which are needed for the
5280   export cipher suites.
5281 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5283 * Version 0.5.3 (2002-08-23)
5284 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5285   code from the unstable branch.
5287 * Version 0.5.2 (2002-08-22)
5288 - Added an error code that is returned in clients which connect
5289   to export only servers. This must be enabled using the
5290   gnutls_handshake_set_exportable_detection() function.
5291 - Updated openssl compatibility layer.
5292 - Added gnutls_handshake_get_direction() function which returns
5293   the state of the handshake when interrupted.
5295 * Version 0.5.1 (2002-07-17)
5296 - Corrected the m4 macros which used <gnutls.h> instead of
5297   <gnutls/gnutls.h>
5298 - Documentation fixes
5299 - Added gnutls_transport_set_ptr2() function, which accepts two
5300   different pointers, to be used while receiving, and 
5301   while sending data.
5302 - Semantic changes in gnutls_record_set_max_size(). The requested
5303   size is now immediately enforced at the output buffers.
5304 - gnutls_global_init_extra() now fails if the library versions do
5305   not match.
5306 - Fixes in client and server example programs. Null encryption can
5307   be used in these programs, to assist in debuging.
5308 - Fixes in zlib compression code.
5310 * Version 0.5.0 (2002-07-06)
5311 - Added X.509 certificate tests in tests/ directory
5312 - Removed stubs for SRP and Anonymous authentication. They served
5313   no purpose since they are always included, unless it was requested
5314   not to do so.
5315 - Added gnutls_handshake_set_private_extensions() function. This
5316   function can be used to enable private (gnutls specific) cipher suites
5317   and compression algorithms.
5318 - Added check for C99 macro support by the compiler.
5319 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5320 - Added the new libtasn1 library.
5321 - Removed the gdbm backend. Applications are now responsible for the
5322   session resuming backend. The gnutls-serv application contains an
5323   simple example on how to use gdbm for resuming.
5324 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5325 - Added an OpenSSL compatible interface (with some limitations).
5326 - Added functions to convert DER encoded certificates to XML format.
5328 * Version 0.4.4 (2002-06-24)
5329 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5330   using keys of some specific size.
5332 * Version 0.4.3 (2002-05-23)
5333 - The gnutls-extra library now compiles fine, if the opencdk library is
5334   not present.
5335 - Several bug fixes.
5336 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5337   functions, if other than the defaults are to be used.
5338 - The default memory allocation functions are now the ones in libc.
5340 * Version 0.4.2 (2002-05-21)
5341 - Separated ASN.1 structures parser documentation and TLS library
5342   documentation.
5343 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5344   version check in RSA premaster secret.
5345 - Added gnutls_session_is_resumed() function, which reports if a session
5346   is a resumed one.
5347 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5348   assist in callback functions.
5349 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5350   random one.
5351 - Relicensed the library under the GNU Lesser General Public License
5352 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5354 * Version 0.4.1 (2002-04-07)
5355 - Now uses alloca() for temporary variables
5356 - Optimized RSA signing
5357 - Added functions to return the peer's certificate activation and
5358   expiration time.
5359 - Corrected time function's behaviour (the time value returned no longer
5360   relate to local timezone).
5362 * Version 0.4.0 (2002-04-01)
5363 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5364 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5365   gnutls_openpgp_extract_key_pk_algorithm().
5366 - Several optimizations in the Handshake protocol
5367 - Several optimizations in RSA algorithm
5368 - Unified the return values because of small buffers.
5370 * Version 0.3.92 (2002-03-23)
5371 - Updated documentation
5372 - Combined error codes of ASN.1 parser and gnutls
5373 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5374 - Added protection against CBC chosen plaintext attack (disabled by default)
5375 - Improved and optimized compression support
5377 * Version 0.3.91 (2002-03-03)
5378 - Added gnutls-cli-debug program
5379 - Corrections in session resumption
5380 - Rehandshake can now handle negotiation of different authentication
5381   type.
5382 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5383   now being installed.
5385 * Version 0.3.90 (2002-02-24)
5386 - Handshake messages are not kept in memory any more. Now we use 
5387   less memory during a handshake
5388 - Added support for certificates with DSA parameters
5389 - Added DHE_DSS cipher suites
5390 - Key exchange methods changed so they do not depend on the 
5391   certificate type. Added certificate type negotiation TLS extension.
5392 - Added openpgp key support (EXPERIMENTAL)
5393 - Improved Diffie Hellman key exchange support.
5394 - Bug fixes in the RSA key exchange.
5395 - Added check for the requested TLS extensions
5396 - TLS extensions now use a 16 bit type field.
5397 - Added a minimal string library to assist in ASN.1 parsing
5398 - Changes in ASN.1 parser to work with the new bison
5399 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5400   gnutls_x509_extract_subject_dns_name()
5401 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5402 - gnutls_srp_server_set_cred_file() can now be called multiple times
5404 * Version 0.3.5 (2002-01-25)
5405 - Corrected the RSA key exchange method, to avoid attacks against
5406   PKCS-1 formating.
5408 * Version 0.3.4 (2002-01-20)
5409 - Corrected bugs in DHE_RSA key exchange method
5411 * Version 0.3.3 (2002-01-19)
5412 - Added gnutls_x509pki_verify_certificate()
5413 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5414 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5415 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5416 - Corrected library versioning
5418 * Version 0.3.2 (2002-01-05)
5419 - Corrected bug which did not allow a client to accept multiple CA names
5420 - Added gnutls_fingerprint()
5421 - Added gnutls_x509pki_extract_certificate_serial()
5422 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5423 - Corrected behaviour in version advertizing
5424 - Updated documentation
5425 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5427 * Version 0.3.1 (2001-12-21)
5428 - Corrections in the configuration files
5429 - Fixes a bug in anonymous authentication
5431 * Version 0.3.0 (2001-12-17)
5432 - Corrected bug in new integer formatting (now we use the old format again)
5433 - Several corrections and usual cleanups
5435 * Version 0.2.91 (2001-12-10)
5436 - Fixes in MPI handling (fixes possible bug with signed integers)
5437 - Removed name indication extension
5438 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5439 - Optimizations in server certificate callback.
5440 - Fixes in anonymous authentication
5441 - Corrections in client ciphersuite selection
5443 * Version 0.2.90 (2001-12-07)
5444 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5445   the 'SOCKET cd' argument. This argument is set using the function
5446   gnutls_set_transport_ptr().
5447 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5448   a list containing peer's certificate and issuers DER encoded.
5449 - Updated X.509 certificate handling API
5450 - Added callback to select the server certificate
5451 - More consistent function naming (changes in several function names)
5452 - Buffer overflow checking in ASN.1 structures parser
5453 - Updated documentation
5455 * Version 0.2.11 (2001-11-16)
5456 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5457   is returned, then the caller should perform a handshake or send
5458   an alert to the peer.
5459 - Made receive buffer dynamic. Normally if no large chunks are received
5460   it occupies less space.
5461 - Added max_record_size extension
5462 - Bugfixes in session handling
5463 - Improved non blocking IO support in the Handshake Protocol
5464 - Usual bugfixes and cleanups
5465 - Documentation updated (includes ASN.1 documentation)
5467 * Version 0.2.10 (2001-11-05)
5468 - Corrected bugs and improved non blocking IO
5469 - Added hooks to use external database to store sessions
5470 - Usual cleanups
5472 * Version 0.2.9 (2001-10-27)
5473 - AUTH_INFO types and structures were moved to library internals
5474 - AUTH_FAILED is no longer returned in SRP authentication
5475   (any fatal error in SRP means auth failed)
5476 - Introduced GNUTLS_E_INTERRUPTED
5477 - Added support for non blocking IO
5478 - gnutls_recv() and gnutls_send() are now obsolete
5479 - Changed semantics of gnutls_rehandshake()
5481 * Version 0.2.4 (2001-10-12)
5482 - Better handling of X.509 certificate extensions
5483 - Added DHE_RSA ciphersuites
5484 - Updated the Name Indication (dnsname) extension
5485 - Improvements in Diffie Hellman primes handling
5487 * Version 0.2.3 (2001-09-19)
5488 - Memory optimizations in gnutls_recv()
5489 - Fixed several memory leaks
5490 - Added ability to specify callback for x509 client certificate selection
5491 - Better documentation
5493 * Version 0.2.2 (2001-08-21)
5494 - Several bugfixes (library and documentation)
5496 * Version 0.2.1 (2001-08-07)
5497 - SRP fixes
5499 * Version 0.2.0 (2001-08-07)
5500 - Partial support for X.509v3 Certificate extensions.
5501 - Added Internal memory handlers
5502 - Removed gnutls_x509_set_cn()
5503 - Added X.509 client authentication
5504 - Several bug fixes and protocol fixes
5506 * Version 0.1.9 (2001-07-30)
5507 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5508 - SRP is updated to conform to the newest draft.
5509 - Added support for DNSNAME extension.
5510 - Reentracy fixes in ASN.1 Parsing.
5511 - Optimizations in hash/hmac functions
5512 - (Error) message handling has changed
5513 - Better Protocol Version handling
5514 - Added X.509 Certificate Verification
5515 - gnutls_read() semantics are now closer to read(2) - added EOF
5516 - Documented some part of gnutls in doc/tex/ using Latex
5518 * Version 0.1.4 (2001-06-22)
5519 - Corrected (srp) base64 encoding.
5520 - Changed bcrypt algorithm to include username.
5521 - Added RSA Ciphersuites (no certificate checking).
5522 - Fixes in SSL 2.0 client hello parsing.
5523 - Added ASN.1 and DER parsers.
5524 - Bugfixes in session resuming
5525 - Updated Ciphersuite selection algorithm
5526 - Added internal representation of X.509 structures.
5527 - Added global state
5529 * Version 0.1.3 (2001-06-01)
5530 - Updated API (and the way it is documented - we use inline documentation)
5531 - Added function to access alert messages.
5532 - Added support for renegotiating parameters.
5533 - Better and Faster Resume Database handling.
5534 - Several bugfixes
5536 * Version 0.1.2 (2001-05-14)
5537 - Updated API
5538 - Fixes in extension handling
5540 * Version 0.1.1 (2001-05-13)
5541 - Added compatibility with Stanford's libsrp library
5543 * Version 0.1.0 (2001-05-09)
5544 - Added SSL 2.0 client hello support
5545 - GNUTLS is a gnu library
5546 - Added support for TLS extensions.
5547 - Added support for SRP
5549 * Version 0.0.7 (2001-01-11)
5550 - Added server side session resuming (using gdbm)
5551 - Added twofish algorithm
5553 * Version 0.0.6 (2000-12-20)
5554 - Added client side session resuming
5555 - Better documentation (check doc/API)
5556 - Better socket handling (gnutls can be used with select())
5557 - Some primitive support for non blocking IO and socket options has been added.
5559 * Version 0.0.5 (2000-12-07)
5560 - Added Compression (using ZLIB)
5561 - Added SSL 3.0 support
5563 ----------------------------------------------------------------------
5564 Copying and distribution of this file, with or without modification,
5565 are permitted in any medium without royalty provided the copyright
5566 notice and this notice are preserved.