Fix --disable-valgrind-tests.
[gnutls.git] / NEWS
blob40d39760320ba92200c573152d61145bef0ede7a
1 GNU TLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson
3 Copyright (C) 2000, 2001, 2002, 2003, 2004 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 2.9.9 (unreleased)
8 ** libgnutls: Cleanups and several bug fixes found by Steve Grubb and 
9 Tomas Mraz.
11 ** API and ABI modifications:
12 No changes since last version.
14 * Version 2.9.8 (released 2009-11-05)
16 ** libgnutls: Fix for memory leaks on interrupted handshake.
17 Reported by Tang Tong.
19 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
20 ** extension and certificate verify field.
21 This requires changes for TLS 1.2 servers and clients that use
22 callbacks for certificate retrieval.  They are now required to check
23 with gnutls_sign_algorithm_get_requested() whether the certificate
24 they send complies with the peer's preferences in signature
25 algorithms.
27 ** libgnutls: In server side when resuming a session do not overwrite the 
28 ** initial session data with the resumed session data.
30 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
31 ** encryption.
32 This affects also PKCS #12 encoded files.  This adds the following new
33 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
34 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
36 ** libgnutls: Fix PKCS#12 encoding.
37 The error you would get was "The OID is not supported.".  Problem
38 introduced for the v2.8.x branch in 2.7.6.
40 ** certtool: Added the --pkcs-cipher option.
41 To explicitely specify the encryption algorithm to use.
43 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
45 ** tests: Fix time bomb in chainverify self-test.
46 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
47 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
49 ** tests: Fix expired cert in chainverify self-test.
51 ** i18n: Vietnamese translation updated.
52 Thanks to Clytie Siddall.
54 ** API and ABI modifications:
55 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
56 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
57 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
58 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
59 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
60 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
61 gnutls_sign_algorithm_get_requested: ADDED.
63 * Version 2.9.7 (released 2009-10-06)
65 ** libgnutls: TLS 1.2 server mode fixes.
66 Now interoperates against Opera.  Contributed by Daiki Ueno.
68 ** libgnutlsxx: Fix link problems.
69 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
71 ** guile: Compatibility with guile 2.x.
72 By Ludovic Courtes <ludovic.courtes@laas.fr>.
74 ** API and ABI modifications:
75 No changes since last version.
77 * Version 2.9.6 (released 2009-09-22)
79 ** libgnutls: Enable Camellia ciphers by default.
81 ** API and ABI modifications:
82 No changes since last version.
84 * Version 2.9.5 (released 2009-09-10)
86 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
87 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
88 gnutls_x509_crt_get_issuer_alt_name, and
89 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
90 Hards <bradh@frogmouth.net>.
92 ** API and ABI modifications:
93 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
94 gnutls_x509_crt_get_issuer_alt_name: ADDED.
95 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
97 * Version 2.9.4 (released 2009-09-03)
99 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
100 The new supported ciphersuites are AES-128/256 in CBC mode with
101 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
102 SHA-256 is now the preferred default MAC (however it is only used with
103 TLS 1.2).
105 ** libgnutls: Make OpenPGP hostname checking work again.
106 The patch to resolve the X.509 CN/SAN issue accidentally broken
107 OpenPGP hostname comparison.
109 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
110 Reported by Howard Chu <hyc@symas.com> in
111 <https://savannah.gnu.org/support/?106975>.
113 ** Fix use of deprecated types internally.
114 Use of deprecated types in GnuTLS from now on will lead to a compile
115 error, to prevent this from happening again.
117 ** API and ABI modifications:
118 No changes since last version.
120 * Version 2.9.3 (released 2009-08-19)
122 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
123 The new APIs are gnutls_session_ticket_enable_client,
124 gnutls_session_ticket_enable_server, and
125 gnutls_session_ticket_key_generate.
127 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
129 ** API and ABI modifications:
130 gnutls_session_ticket_key_generate: ADDED.
131 gnutls_session_ticket_enable_client: ADDED.
132 gnutls_session_ticket_enable_server: ADDED.
134 * Version 2.9.2 (released 2009-08-14)
136 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
137 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
138 into 1) not printing the entire CN/SAN field value when printing a
139 certificate and 2) cause incorrect positive matches when matching a
140 hostname against a certificate.  Some CAs apparently have poor
141 checking of CN/SAN values and issue these (arguable invalid)
142 certificates.  Combined, this can be used by attackers to become a
143 MITM on server-authenticated TLS sessions.  The problem is mitigated
144 since attackers needs to get one certificate per site they want to
145 attack, and the attacker reveals his tracks by applying for a
146 certificate at the CA.  It does not apply to client authenticated TLS
147 sessions.  Research presented independently by Dan Kaminsky and Moxie
148 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
149 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
151 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
152 The function may fail incorrectly when an earlier certificate was
153 imported to the same gnutls_x509_crt_t structure.
155 ** minitasn1: Internal copy updated to libtasn1 v2.3.
157 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
158 Before it always returned false.  Reported by Peter Hendrickson
159 <pdh@wiredyne.com> in
160 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
162 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
163 The error resulted in truncated strings when printing unknown OIDs in
164 X.509 certificate DNs.  Reported by Tim Kosse
165 <tim.kosse@filezilla-project.org> in
166 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
168 ** libgnutls: Fix PKCS#12 decryption from password.
169 The encryption key derived from the password was incorrect for (on
170 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
171 Tomas" <tomas.kukosa@siemens-enterprise.com> in
172 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
174 ** libgnutls: Return correct bit lengths of some MPIs.
175 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
176 gnutls_dh_get_peers_public_bits.  Before the reported value was
177 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
178 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
180 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
181 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
182 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
184 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
186 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
187 Before we required that the runtime library used the same (or more
188 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
189 that the runtime usage is above the minimum required.  Reported by
190 Marco d'Itri <md@linux.it> via Andreas Metzler
191 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
193 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
195 ** tests: Improved test vectors in self-test pkcs12_s2k.
197 ** tests: Added new self-test dn2 to detect off-by-one size error.
199 ** tests: Fix failure in "chainverify" because a certificate have expired.
201 ** API and ABI modifications:
202 No changes since last version.
204 * Version 2.9.1 (released 2009-06-08)
206 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
207 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
208 <http://bugs.gentoo.org/272388>.
210 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
212 ** Reduce stack usage for some CRQ functions.
214 ** Doc fixes for CRQ functions.
216 ** API and ABI modifications:
217 No changes since last version.
219 * Version 2.9.0 (released 2009-05-28)
221 ** Doc fixes.
223 ** API and ABI modifications:
224 No changes since last version.
226 * Version 2.8.3 (released 2009-08-13)
228 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
229 Code intended to be removed would lead to an read-out-bound error in
230 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
231 code have been allocated for the vulnerability: [CVE-2009-2730].
233 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
234 The function may fail incorrectly when an earlier certificate was
235 imported to the same gnutls_x509_crt_t structure.
237 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
239 ** tests: Made self-test mini-eagain take less time.
241 ** doc: Typo fixes.
243 ** API and ABI modifications:
244 No changes since last version.
246 * Version 2.8.2 (released 2009-08-10)
248 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
249 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
250 into 1) not printing the entire CN/SAN field value when printing a
251 certificate and 2) cause incorrect positive matches when matching a
252 hostname against a certificate.  Some CAs apparently have poor
253 checking of CN/SAN values and issue these (arguable invalid)
254 certificates.  Combined, this can be used by attackers to become a
255 MITM on server-authenticated TLS sessions.  The problem is mitigated
256 since attackers needs to get one certificate per site they want to
257 attack, and the attacker reveals his tracks by applying for a
258 certificate at the CA.  It does not apply to client authenticated TLS
259 sessions.  Research presented independently by Dan Kaminsky and Moxie
260 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
261 for providing one part of the patch.  [GNUTLS-SA-2009-4].
263 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
264 Before it always returned false.  Reported by Peter Hendrickson
265 <pdh@wiredyne.com> in
266 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
268 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
269 The error resulted in truncated strings when printing unknown OIDs in
270 X.509 certificate DNs.  Reported by Tim Kosse
271 <tim.kosse@filezilla-project.org> in
272 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
274 ** libgnutls: Return correct bit lengths of some MPIs.
275 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
276 gnutls_dh_get_peers_public_bits.  Before the reported value was
277 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
278 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
280 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
281 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
282 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
284 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
286 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
287 Before we required that the runtime library used the same (or more
288 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
289 that the runtime usage is above the minimum required.  Reported by
290 Marco d'Itri <md@linux.it> via Andreas Metzler
291 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
293 ** minitasn1: Internal copy updated to libtasn1 v2.3.
295 ** tests: Fix failure in "chainverify" because a certificate have expired.
297 ** API and ABI modifications:
298 No changes since last version.
300 * Version 2.8.1 (released 2009-06-10)
302 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
303 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
304 <http://bugs.gentoo.org/272388>.
306 ** libgnutls: Fix PKCS#12 decryption from password.
307 The encryption key derived from the password was incorrect for (on
308 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
309 Tomas" <tomas.kukosa@siemens-enterprise.com> in
310 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
312 ** API and ABI modifications:
313 No changes since last version.
315 * Version 2.8.0 (released 2009-05-27)
317 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
319 ** Major changes compared to the v2.4 branch:
321 *** lib: Linker version scripts reduces number of exported symbols.
323 *** lib: Limit exported symbols on systems without LD linker scripts.
325 *** libgnutls: Fix namespace issue with version symbols.
327 *** libgnutls: Add functions to verify a hash against a certificate.
328 gnutls_x509_crt_verify_hash: ADDED
329 gnutls_x509_crt_get_verify_algorithm: ADDED
331 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
333 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
335 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
337 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
339 *** gnutls-serv: No longer disable MAC padding by default.
341 *** gnutls-cli: Certificate information output format changed.
343 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
344 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
346 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
348 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
350 *** libgnutls: gnutls_handshake when sending client hello during a
351 rehandshake, will not offer a version number larger than the current.
353 *** libgnutls: New interface to get key id for certificate requests.
354 gnutls_x509_crq_get_key_id: ADDED.
356 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
358 *** certtool: --verify-chain now prints results of using library verification.
360 *** libgnutls: Libgcrypt initialization changed.
362 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
364 *** gnutls-cli: Return non-zero exit code on error conditions.
366 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
368 *** certtool: allow setting arbitrary key purpose object identifiers.
370 *** libgnutls: Change detection of when to use a linker version script.
371 Use --enable-ld-version-script or --disable-ld-version-script to
372 override auto-detection logic.
374 *** Fix warnings and build GnuTLS with more warnings enabled.
376 *** New API to set X.509 credentials from PKCS#12 memory structure.
377 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
379 *** Old libgnutls.m4 and libgnutls-config scripts removed.
380 Please use pkg-config instead.
382 *** libgnutls: Added functions to handle CRL extensions.
383 gnutls_x509_crl_get_authority_key_id: ADDED
384 gnutls_x509_crl_get_number: ADDED
385 gnutls_x509_crl_get_extension_oid: ADDED
386 gnutls_x509_crl_get_extension_info: ADDED
387 gnutls_x509_crl_get_extension_data: ADDED
388 gnutls_x509_crl_set_authority_key_id: ADDED
389 gnutls_x509_crl_set_number: ADDED
391 *** libgnutls: Added functions to handle X.509 extensions in Certificate
392 Requests.
393 gnutls_x509_crq_get_key_rsa_raw: ADDED
394 gnutls_x509_crq_get_attribute_info: ADDED
395 gnutls_x509_crq_get_attribute_data: ADDED
396 gnutls_x509_crq_get_extension_info: ADDED
397 gnutls_x509_crq_get_extension_data: ADDED
398 gnutls_x509_crq_get_key_usage: ADDED
399 gnutls_x509_crq_get_basic_constraints: ADDED
400 gnutls_x509_crq_get_subject_alt_name: ADDED
401 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
402 gnutls_x509_crq_get_extension_by_oid: ADDED
403 gnutls_x509_crq_set_subject_alt_name: ADDED
404 gnutls_x509_crq_set_basic_constraints: ADDED
405 gnutls_x509_crq_set_key_usage: ADDED
406 gnutls_x509_crq_get_key_purpose_oid: ADDED
407 gnutls_x509_crq_set_key_purpose_oid: ADDED
408 gnutls_x509_crq_print: ADDED
409 gnutls_x509_crt_set_crq_extensions: ADDED
411 *** certtool: Print and set CRL and CRQ extensions.
413 *** minitasn1: Internal copy updated to libtasn1 v2.1.
415 *** examples: Now released into the public domain.
417 *** The Texinfo and GTK-DOC manuals were improved.
419 *** Several self-tests were added and others improved.
421 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
422 No offically supported interfaces have been modified or removed.  The
423 library should be completely backwards compatible on both the source
424 and binary level.
426 The shared library no longer exports some symbols that have never been
427 officially supported, i.e., not mentioned in any of the header files.
428 The symbols are:
430   _gnutls*
431   gnutls_asn1_tab
432   
433 Normally when symbols are removed, the shared library version has to
434 be incremented.  This leads to a significant cost for everyone using
435 the library.  Because none of the above symbols have ever been
436 intended for use by well-behaved applications, we decided that the it
437 would be better for those applications to pay the price rather than
438 incurring problems on the majority of applications.
440 If it turns out that applications have been using unofficial
441 interfaces, we will need to release a follow-on release on the v2.8
442 branch to exports additional interfaces.  However, initial testing
443 suggests that few if any applications have been using any of the
444 internal symbols.
446 Although not a new change compared to 2.6.x, we'd like to remind you
447 interfaces have been modified so that X.509 chain verification now
448 also checks activation/expiration times on certificates.  The affected
449 functions are:
451 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
452 gnutls_certificate_verify_peers: Likewise.
453 gnutls_certificate_verify_peers2: Likewise.
454 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
455 GNUTLS_CERT_EXPIRED: ADDED.
456 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
458 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
459 we gave our rationale for it in earlier release notes.
461 The following symbols have been added to the library:
463 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
464 gnutls_x509_crl_get_authority_key_id: ADDED
465 gnutls_x509_crl_get_extension_data: ADDED
466 gnutls_x509_crl_get_extension_info: ADDED
467 gnutls_x509_crl_get_extension_oid: ADDED
468 gnutls_x509_crl_get_number: ADDED
469 gnutls_x509_crl_set_authority_key_id: ADDED
470 gnutls_x509_crl_set_number: ADDED
471 gnutls_x509_crq_get_attribute_data: ADDED
472 gnutls_x509_crq_get_attribute_info: ADDED
473 gnutls_x509_crq_get_basic_constraints: ADDED
474 gnutls_x509_crq_get_extension_by_oid: ADDED
475 gnutls_x509_crq_get_extension_data: ADDED
476 gnutls_x509_crq_get_extension_info: ADDED
477 gnutls_x509_crq_get_key_id: ADDED.
478 gnutls_x509_crq_get_key_purpose_oid: ADDED
479 gnutls_x509_crq_get_key_rsa_raw: ADDED
480 gnutls_x509_crq_get_key_usage: ADDED
481 gnutls_x509_crq_get_subject_alt_name: ADDED
482 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
483 gnutls_x509_crq_print: ADDED
484 gnutls_x509_crq_set_basic_constraints: ADDED
485 gnutls_x509_crq_set_key_purpose_oid: ADDED
486 gnutls_x509_crq_set_key_usage: ADDED
487 gnutls_x509_crq_set_subject_alt_name: ADDED
488 gnutls_x509_crt_get_verify_algorithm: ADDED
489 gnutls_x509_crt_set_crq_extensions: ADDED
490 gnutls_x509_crt_verify_hash: ADDED
492 The following interfaces have been added to the header files:
494 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
495 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
496 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
497 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
498 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
499 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
501 The following interfaces have been deprecated:
503 LIBGNUTLS_VERSION: DEPRECATED.
504 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
505 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
506 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
507 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
508 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
510 * Version 2.7.14 (released 2009-05-26)
512 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
513 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
514 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
515 deprecated.
517 ** Doc: Several typo fixes in documentation.
518 Reported by Peter Hendrickson <pdh@wiredyne.com>.
520 ** API and ABI modifications:
521 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
522 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
524 * Version 2.7.13 (released 2009-05-25)
526 ** libgnutls: Fix version of some exported symbols in the shared library.
527 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
528 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
530 ** tests: Handle recently expired certificates in chainverify self-test.
531 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
532 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
534 ** API and ABI modifications:
535 No changes since last version.
537 * Version 2.7.12 (released 2009-05-20)
539 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
541 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
542 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
543 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
545 ** Fix build failures.
546 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
547 G. Christensen" <tgc@jupiterrise.com> in
548 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
550 ** minitasn1: Internal copy updated to libtasn1 v2.2.
551 GnuTLS should work fine with libtasn1 v1.x and that is still
552 supported.
554 ** API and ABI modifications:
555 No changes since last version.
557 * Version 2.7.11 (released 2009-05-18)
559 ** minitasn1: Fix build failure when using internal libtasn1.
560 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
561 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
563 ** libgnutls: Fix build failure with --disable-cxx.
564 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
565 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
567 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
568 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
569 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
571 ** Building with many warning flags now requires --enable-gcc-warnings.
572 This avoids crying wolf for normal compiles.
574 ** API and ABI modifications:
575 No changes since last version.
577 * Version 2.7.10 (released 2009-05-13)
579 ** examples: Now released into the public domain.
580 This makes the license of the example code compatible with more
581 licenses, including the (L)GPL.
583 ** minitasn1: Internal copy updated to libtasn1 v2.1.
584 GnuTLS should work fine with libtasn1 v1.x and that is still
585 supported.
587 ** libgnutls: Fix crash in signature verification
588 The fix for the CVE-2009-1415 problem wasn't merged completely.
590 ** doc: Fixes for GTK-DOC output.
592 ** API and ABI modifications:
593 No changes since last version.
595 * Version 2.7.9 (released 2009-05-11)
597 ** doc: Fix strings in man page of gnutls_priority_init.
599 ** doc: Fix tables of error codes and supported algorithms.
601 ** Fix build failure when cross-compiled using MinGW.
603 ** Fix build failure when LZO is enabled.
604 Reported by Arfrever Frehtes Taifersar Arahesis
605 <arfrever.fta@gmail.com> in
606 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
608 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
609 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
610 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
612 ** Fix warnings in self-tests.
614 ** API and ABI modifications:
615 No changes since last version.
617 * Version 2.7.8 (released 2009-05-03)
619 ** libgnutls: Fix DSA key generation.
620 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
622 ** libgnutls: Check expiration/activation time on untrusted certificates.
623 Merged from stable branch.  Reported by Romain Francoise
624 <romain@orebokech.com>.  This changes the semantics of
625 gnutls_x509_crt_list_verify, which in turn is used by
626 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
627 We add two new gnutls_certificate_status_t codes for reporting the new
628 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
629 We also add a new gnutls_certificate_verify_flags flag,
630 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
631 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
633 ** lib: Linker version scripts reduces number of exported symbols.
634 The linker version script now lists all exported ABIs explicitly, to
635 avoid accidentally exporting unintended functions.  Compared to
636 before, most symbols beginning with _gnutls* are no longer exported.
637 These functions have never been intended for use by applications, and
638 there were no prototypes for these function in the public header
639 files.  Thus we believe it is possible to do this without incrementing
640 the library ABI version which normally has to be done when removing an
641 interface.
643 ** lib: Limit exported symbols on systems without LD linker scripts.
644 Before all symbols were exported.  Now we limit the exported symbols
645 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
646 _gnutls*.  This is a superset of the actual supported ABI, but still
647 an improvement compared to before.  This is implemented using Libtool
648 -export-symbols-regex.  It is more portable than linker version
649 scripts.
651 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
652 This should have been done in the last release.
654 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
655 Reported by Peter Hendrickson <pdh@wiredyne.com> in
656 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
658 ** doc: Improved sections for the info manual.
659 We now follow the advice given by the texinfo manual on which
660 directory categories to use.  In particular, libgnutls moved from the
661 'GNU Libraries' section to the 'Software libraries' and the command
662 line tools moved from 'Network Applications' to 'System
663 Administration'.
665 ** API and ABI modifications:
666 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
667 gnutls_certificate_verify_peers: Likewise.
668 gnutls_certificate_verify_peers2: Likewise.
669 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
670 GNUTLS_CERT_EXPIRED: ADDED.
671 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
673 * Version 2.7.7 (released 2009-04-20)
675 ** libgnutls: Applied patch by Cedric Bail to add functions
676 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
678 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
679 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
680 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
682 ** minitasn1: Internal copy updated to libtasn1 v1.8.
683 GnuTLS is also internally ready to be used with libtasn1 v2.0.
685 ** doc: Fix build failure of errcodes/printlist.
686 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
687 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
689 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
690 It is currently only used by the core library.  This will enable a new
691 domain 'gnutls' for translations of the command line tools.
693 ** Corrected possible memory corruption on signature verification failure. 
694 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
696 ** API and ABI modifications:
697 gnutls_x509_crt_verify_hash: ADDED
698 gnutls_x509_crt_get_verify_algorithm: ADDED
700 * Version 2.7.6 (released 2009-02-27)
702 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
703 This applies both to generating certificates and certificate requests.
705 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
707 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
708 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
709 be used for chain verification.
711 ** gnutls-serv: No longer disable MAC padding by default.
712 Use --priority NORMAL:%COMPAT to disable MAC padding again.
714 ** gnutls-cli: Certificate information output format changed.
715 The tool now uses libgnutls' functions to print certificate
716 information.  This avoids code duplication.
718 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
719 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
720 They can be used to override the default certificate chain validation
721 behaviour.
723 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
724 specify the client hello message record version. Used to overcome buggy 
725 TLS servers. Report by Martin von Gagern.
727 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
729 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
731 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
733 ** API and ABI modifications:
734 No changes since last version.
736 * Version 2.7.5 (released 2009-02-06)
738 ** libgnutls: Accept chains where intermediary certs are trusted.
739 Before GnuTLS needed to validate the entire chain back to a
740 self-signed certificate.  GnuTLS will now stop looking when it has
741 found an intermediary trusted certificate.  The new behaviour is
742 useful when chains, for example, contains a top-level CA, an
743 intermediary CA signed using RSA-MD5, and an end-entity certificate.
744 To avoid chain validation errors due to the RSA-MD5 cert, you can
745 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
746 The signature on trusted certificates are not checked, so the chain
747 has a chance to validate correctly.  Reported by "Douglas E. Engert"
748 <deengert@anl.gov> in
749 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
751 ** libgnutls: result_size in gnutls_hex_encode now holds
752 the size of the result. Report by John Brooks <special@dereferenced.net>.
754 ** libgnutls: gnutls_handshake when sending client hello during a
755 rehandshake, will not offer a version number larger than the current.
756 Reported by Tristan Hill <stan@saticed.me.uk>.
758 ** libgnutls: Permit V1 Certificate Authorities properly.
759 Before they were mistakenly rejected even though
760 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
761 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
762 "Douglas E. Engert" <deengert@anl.gov> in
763 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
765 ** API and ABI modifications:
766 No changes since last version.
768 * Version 2.7.4 (released 2009-01-07)
770 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
771 This is a bugfix -- the previous attempt to do this from internal x509
772 certificate verification procedures did not return the correct value
773 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
774 <dkg@fifthhorseman.net> in
775 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
776 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
777 Gillmor <dkg@fifthhorseman.net>.
779 ** libgnutls: New interface to get key id for certificate requests.
780 Patch from David Marín Carreño <davefx@gmail.com> in
781 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
783 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
785 ** certtool: --verify-chain now prints results of using library verification.
786 Earlier, certtool --verify-chain used its own validation algorithm
787 which wasn't guaranteed to give the same result as the libgnutls
788 internal validation algorithm.  Now this command print a new final
789 line with header 'Chain verification output:' that contains the result
790 from using the internal verification algorithm on the same chain.
792 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
794 ** API and ABI modifications:
795 gnutls_x509_crq_get_key_id: ADDED.
797 * Version 2.7.3 (released 2008-12-10)
799 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
800 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
801 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
802 Andreas Metzler <ametzler@downhill.at.eu.org> in
803 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
805 ** libgnutls: Libgcrypt initialization changed.
806 If libgcrypt has not already been initialized, GnuTLS will now
807 initialize libgcrypt with disabled secure memory.  Initialize
808 libgcrypt explicitly in your application if you want to enable secure
809 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
810 allocation functions, which doesn't use secure memory, so there is no
811 real change in behaviour.
813 ** libgnutls: Fix memory leak in PSK authentication.
814 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
815 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
817 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
819 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
820 It needs to be invoked before libgcrypt is initialized.
822 ** gnutls-cli: Return non-zero exit code on error conditions.
824 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
826 ** tests: Added chainverify self-test that tests X.509 chain verifications.
828 ** API and ABI modifications:
829 No changes since last version.
831 * Version 2.7.2 (released 2008-11-18)
833 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
834 The flaw makes it possible for man in the middle attackers (i.e.,
835 active attackers) to assume any name and trick GNU TLS clients into
836 trusting that name.  Thanks for report and analysis from Martin von
837 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
839 Any updates with more details about this vulnerability will be added
840 to <http://www.gnu.org/software/gnutls/security.html>
842 ** libgnutls: Fix namespace issue with version symbols.
843 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
844 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
845 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
846 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
847 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
848 work but are deprecated.
850 ** certtool: allow setting arbitrary key purpose object identifiers.
852 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
854 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
855 Reported by Kevin Quick <quick@sparq.org> in
856 <https://savannah.gnu.org/support/index.php?106454>.
858 ** libgnutls-extra: Make building with LZO compression work again.
859 Build failure reported by Arfrever Frehtes Taifersar Arahesis
860 <arfrever.fta@gmail.com> in
861 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
863 ** libgnutls: Change detection of when to use a linker version script.
864 Use --enable-ld-version-script or --disable-ld-version-script to
865 override auto-detection logic.
867 ** doc: Change license on the manual to GFDLv1.3+.
869 ** doc: GTK-DOC fixes for new splitted configuration system.
871 ** doc: Texinfo stylesheet uses white background.
873 ** tests: Add cve-2008-4989.c self-test.
874 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
875 follow-on problem with crashes on length 1 certificate chains.
877 ** gnulib: Deprecated modules removed.
878 Modules include memchr and memcmp.
880 ** Fix warnings and build GnuTLS with more warnings enabled.
882 ** minitasn1: Internal copy updated to libtasn1 v1.7.
884 ** API and ABI modifications:
885 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
886 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
887 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
888 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
889 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
890 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
891 LIBGNUTLS_VERSION: DEPRECATED.
892 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
893 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
894 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
895 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
897 * Version 2.7.1 (released 2008-10-31)
899 ** certtool: print a PKCS #8 key even if it is not encrypted.
901 ** Old libgnutls.m4 and libgnutls-config scripts removed.
902 Please use pkg-config instead.
904 ** Configuration system modified.
905 There is now a configure script in lib/ and libextra/ as well, because
906 gnulib works better with a config.h per gnulib directory.
908 ** API and ABI modifications:
909 No changes since last version.
911 * Version 2.7.0 (released 2008-10-16)
913 ** libgnutls: Added functions to handle CRL extensions.
915 ** libgnutls: Added functions to handle X.509 extensions in Certificate
916 Requests.
918 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
919 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
921 ** certtool: Print and set CRL and CRQ extensions.
923 ** libgnutls-extra: Protect internal symbols with static.
924 Fixes problem when linking certtool statically.  Tiny patch from Aaron
925 Ucko <ucko@ncbi.nlm.nih.gov>.
927 ** libgnutls-openssl: fix out of bounds access.
928 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
929 from Thomas Viehmann <tv@beamnet.de>.
931 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
933 ** tests: Make tests compile when using internal libtasn1.
934 Patch by ludo@gnu.org (Ludovic Courtès).
936 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
937 We now require a libgcrypt that has Camellia constants declared in
938 gcrypt.h, which means v1.3.0 or later.
940 ** API and ABI modifications:
941 gnutls_x509_crl_get_authority_key_id: ADDED
942 gnutls_x509_crl_get_number: ADDED
943 gnutls_x509_crl_get_extension_oid: ADDED
944 gnutls_x509_crl_get_extension_info: ADDED
945 gnutls_x509_crl_get_extension_data: ADDED
946 gnutls_x509_crl_set_authority_key_id: ADDED
947 gnutls_x509_crl_set_number: ADDED
948 gnutls_x509_crq_get_key_rsa_raw: ADDED
949 gnutls_x509_crq_get_attribute_info: ADDED
950 gnutls_x509_crq_get_attribute_data: ADDED
951 gnutls_x509_crq_get_extension_info: ADDED
952 gnutls_x509_crq_get_extension_data: ADDED
953 gnutls_x509_crq_get_key_usage: ADDED
954 gnutls_x509_crq_get_basic_constraints: ADDED
955 gnutls_x509_crq_get_subject_alt_name: ADDED
956 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
957 gnutls_x509_crq_get_extension_by_oid: ADDED
958 gnutls_x509_crq_set_subject_alt_name: ADDED
959 gnutls_x509_crq_set_basic_constraints: ADDED
960 gnutls_x509_crq_set_key_usage: ADDED
961 gnutls_x509_crq_get_key_purpose_oid: ADDED
962 gnutls_x509_crq_set_key_purpose_oid: ADDED
963 gnutls_x509_crq_print: ADDED
964 gnutls_x509_crt_set_crq_extensions: ADDED
966 * Version 2.6.6 (released 2009-04-30)
968 ** libgnutls: Corrected double free on signature verification failure.
969 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
970 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
972 ** libgnutls: Fix DSA key generation.
973 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
974 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
975 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
977 ** libgnutls: Check expiration/activation time on untrusted certificates.
978 Reported by Romain Francoise <romain@orebokech.com>.  Before the
979 library did not check activation/expiration times on certificates, and
980 was documented as not doing so.  We have realized that many
981 applications that use libgnutls, including gnutls-cli, fail to perform
982 proper checks.  Implementing similar logic in all applications leads
983 to code duplication.  Hence, we decided to check whether the current
984 time (as reported by the time function) is within the
985 activation/expiration period of certificates when verifying untrusted
986 certificates.
988 This changes the semantics of gnutls_x509_crt_list_verify, which in
989 turn is used by gnutls_certificate_verify_peers and
990 gnutls_certificate_verify_peers2.  We add two new
991 gnutls_certificate_status_t codes for reporting the new error
992 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
993 add a new gnutls_certificate_verify_flags flag,
994 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
995 behaviour.
997 More details about the vulnerabilities will be posted at
998 <http://www.gnu.org/software/gnutls/security.html>.
1000 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1001 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1002 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1004 ** tests: Fix linking of tests/openpgp/keyring self-test.
1005 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1007 ** API and ABI modifications:
1008 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1009 gnutls_certificate_verify_peers: Likewise.
1010 gnutls_certificate_verify_peers2: Likewise.
1011 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1012 GNUTLS_CERT_EXPIRED: ADDED.
1013 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1015 * Version 2.6.5 (released 2009-04-11)
1017 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1018 specify the client hello message record version. Used to overcome buggy
1019 TLS servers. Report by Martin von Gagern.
1021 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1022 Libtasn1 0.3.4 or later is required.  This is to align with the
1023 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1025 ** API and ABI modifications:
1026 No changes since last version.
1028 * Version 2.6.4 (released 2009-02-06)
1030 ** libgnutls: Accept chains where intermediary certs are trusted.
1031 Before GnuTLS needed to validate the entire chain back to a
1032 self-signed certificate.  GnuTLS will now stop looking when it has
1033 found an intermediary trusted certificate.  The new behaviour is
1034 useful when chains, for example, contains a top-level CA, an
1035 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1036 To avoid chain validation errors due to the RSA-MD5 cert, you can
1037 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1038 The signature on trusted certificates are not checked, so the chain
1039 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1040 <deengert@anl.gov> in
1041 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1043 ** libgnutls: result_size in gnutls_hex_encode now holds
1044 the size of the result. Report by John Brooks <special@dereferenced.net>.
1046 ** libgnutls: gnutls_handshake when sending client hello during a
1047 rehandshake, will not offer a version number larger than the current.
1048 Reported by Tristan Hill <stan@saticed.me.uk>.
1050 ** libgnutls: Permit V1 Certificate Authorities properly.
1051 Before they were mistakenly rejected even though
1052 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1053 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1054 "Douglas E. Engert" <deengert@anl.gov> in
1055 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1057 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1058 This is a bugfix -- the previous attempt to do this from internal x509
1059 certificate verification procedures did not return the correct value
1060 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1061 <dkg@fifthhorseman.net> in
1062 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1063 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1064 Gillmor <dkg@fifthhorseman.net>.
1066 ** libgnutls: Fix compile error with Sun CC.
1067 Reported by Jeff Cai <jeff.cai@sun.com> in
1068 <https://savannah.gnu.org/support/?106549>.
1070 ** API and ABI modifications:
1071 No changes since last version.
1073 * Version 2.6.3 (released 2008-12-12)
1075 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1076 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1077 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1078 Andreas Metzler <ametzler@downhill.at.eu.org> in
1079 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1081 ** libgnutls: Fix memory leak in PSK authentication.
1082 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1083 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1085 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1086 It needs to be invoked before libgcrypt is initialized.
1088 ** gnutls-cli: Return non-zero exit code on error conditions.
1090 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1092 ** API and ABI modifications:
1093 No changes since last version.
1095 * Version 2.6.2 (released 2008-11-12)
1097 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1098 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1099 problem for certificate chains that contained just one self-signed
1100 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1101 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1103 ** API and ABI modifications:
1104 No changes since last version.
1106 * Version 2.6.1 (released 2008-11-10)
1108 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1109 The flaw makes it possible for man in the middle attackers (i.e.,
1110 active attackers) to assume any name and trick GNU TLS clients into
1111 trusting that name.  Thanks for report and analysis from Martin von
1112 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1114 Any updates with more details about this vulnerability will be added
1115 to <http://www.gnu.org/software/gnutls/security.html>
1117 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1118 Reported by Kevin Quick <quick@sparq.org> in
1119 <https://savannah.gnu.org/support/index.php?106454>.
1121 ** libgnutls-extra: Protect internal symbols with static.
1122 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1123 Ucko <ucko@ncbi.nlm.nih.gov>.
1125 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1126 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1127 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1129 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1131 ** tests: Make tests compile when using internal libtasn1.
1132 Patch by ludo@gnu.org (Ludovic Courtès).
1134 ** API and ABI modifications:
1135 No changes since last version.
1137 * Version 2.6.0 (released 2008-10-06)
1139 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1141 ** libgnutls-openssl: fix out of bounds access.
1142 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1143 from Thomas Viehmann <tv@beamnet.de>.
1145 ** certtool: Use inet_pton for parsing IPv6 addresses.
1147 ** Major changes compared to the v2.4 branch:
1149 *** Added API to replace and update the crypto backend.
1151 *** certtool: can add several subject alternative names via template file.
1153 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1155 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1156 either set or append alternative names. It can also handle binary structures
1157 such as IP addresses.
1159 *** libgnutls: New function to set minimum acceptable SRP bits.
1160 The function is gnutls_srp_set_prime_bits.
1162 *** libgnutls: Add interface to deal with public key and signature algorithms.
1163 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1164 gnutls_sign_list, and gnutls_sign_get_id.
1166 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1167 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1169 *** libgnutls: New API to get a string corresponding to a error symbol.
1170 The function is gnutls_strerror_name.
1172 *** libgnutls: New API to set the public parameters in a certificate request
1173 *** from a private key.
1174 The function is gnutls_x509_crq_set_key_rsa_raw.
1176 *** libgnutls: New API to set a callback to extract TLS Finished data.
1177 The function to register is gnutls_session_set_finished_function and
1178 it takes a callback of the gnutls_finished_callback_func type.
1180 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1182 *** libgnutls: New interface to register a new TLS extension handler.
1183 The new function gnutls_ext_register can be used to register handlers
1184 for specific TLS extension types.  The callback functions have the new
1185 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1186 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1187 well.
1189 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1190 The function is gnutls_register_md5_handler.  When libgcrypt is in
1191 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1192 the PRF.
1194 *** API/ABI changes in GnuTLS 2.6
1195 No functions have been removed or modified.  The library should be
1196 fully backwards compatible on both the source and binary level.
1198 A new header file <gnutls/crypto.h> have been added.  It contains
1199 definitions related to replacing the internal crypto functionality.
1200 All definitions and the header itself is experimental but supported.
1202 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1203 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1204 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1206 The following functions have been added to libgnutls:
1208 GNUTLS_MASTER_SIZE
1209 GNUTLS_RANDOM_SIZE
1210 gnutls_crypto_bigint_register2
1211 gnutls_crypto_cipher_register2
1212 gnutls_crypto_digest_register2
1213 gnutls_crypto_mac_register2
1214 gnutls_crypto_pk_register2
1215 gnutls_crypto_rnd_register2
1216 gnutls_crypto_single_cipher_register2
1217 gnutls_crypto_single_digest_register2
1218 gnutls_crypto_single_mac_register2
1219 gnutls_ext_register
1220 gnutls_pk_get_id
1221 gnutls_pk_get_name
1222 gnutls_pk_list
1223 gnutls_session_set_finished_function
1224 gnutls_sign_get_id
1225 gnutls_sign_get_name
1226 gnutls_sign_list
1227 gnutls_srp_set_prime_bits:
1228 gnutls_strerror_name
1229 gnutls_x509_crq_set_key_rsa_raw
1230 gnutls_x509_crt_set_crl_dist_points2
1231 gnutls_x509_crt_set_subject_alt_name
1233 The following functions have been added to libgnutls-extra:
1235 gnutls_register_md5_handler
1237 ** API and ABI modifications:
1238 No changes since last version.
1240 * Version 2.5.9 (released 2008-09-29)
1242 ** libgnutls: Fix several memory leaks.
1243 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1245 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1246 Report and patch by Jonathan Manktelow.
1248 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1249 The parameters are now allocated in the structure itself.
1251 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1253 ** tests: Scripts now use EXEEXT properly.
1254 Modern libtool doesn't create wrapper script, so the self tests need
1255 to invoke certtool.exe under MinGW32+Wine.
1257 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1258 Automake warnings are now also enabled.
1260 ** API and ABI modifications:
1261 gnutls_pk_params_st: MODIFIED
1263 * Version 2.5.8 (released 2008-09-21)
1265 ** certtool: updated so it can add several subject alternative names using
1266 the template file.
1268 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1269 either set or append alternative names. It can also handle binary structures
1270 such as IP addresses.
1272 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1274 ** libgnutls: New function to set minimum acceptable SRP bits.
1275 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1276 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1278 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1279 Also fix overflows in calls to those functions.  Reported by Werner
1280 Koch <wk@gnupg.org>.
1282 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1283 The function is gnutls_register_md5_handler.  When libgcrypt is in
1284 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1285 the PRF.
1287 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1289 ** Indent code.
1291 ** API and ABI modifications:
1292 gnutls_srp_set_prime_bits: ADDED
1293 gnutls_register_md5_handler: ADDED
1294 gnutls_x509_crt_set_crl_dist_points2: ADDED
1295 gnutls_x509_crt_set_subject_alt_name: ADDED
1297 * Version 2.5.7 (released 2008-09-16)
1299 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1300 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1302 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1304 ** libgnutls: Fix libgnutls shared library version.
1305 It wasn't properly incremented after adding symbols in the last
1306 release.
1308 ** manual: Now mention supported public key and public key signing algorithms.
1310 ** tests/openssl: initialize gnutls before use.
1312 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1314 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1316 ** API and ABI modifications:
1317 gnutls_sign_get_name: ADDED
1318 gnutls_pk_get_name: ADDED
1320 * Version 2.5.6 (released 2008-09-08)
1322 ** libgnutls: Add interface to deal with public key and signature algorithms.
1323 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1324 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1325 Varshavchik <mrsam@courier-mta.com>.
1327 ** libgnutls: Refactor and clean up some code.
1329 ** libgnutls: Fix compile error with Sun CC.
1331 ** gnutls-cli: Improve --list output to include public key and signature algs.
1333 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1334 Use standard --version to get license info.
1336 ** gnutls-cli.1: Document all new parameters.
1337 Thanks to James Westby <jw+debian@jameswestby.net>.
1339 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1340 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1342 ** API and ABI modifications:
1343 gnutls_pk_list: ADDED
1344 gnutls_pk_get_id: ADDED
1345 gnutls_sign_list: ADDED
1346 gnutls_sign_get_id: ADDED
1348 * Version 2.5.5 (released 2008-08-29)
1350 ** libgnutls: New API to get a string corresponding to a error symbol.
1351 The function is gnutls_strerror_name.
1353 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1354 Reported by "jth.net ApS" <info@jth.net>.
1356 ** libgnutls: Fix segmentation fault when generating private keys.
1357 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1359 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1360 The code has not worked since v0.9.0 and apparently nobody has missed
1361 it, so we decided to remove the code rather than fix it.  If you have
1362 old certificate chains stored in PKCS#7 format, you can convert them
1363 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1364 by Christian Grothoff <christian@grothoff.org>.
1366 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1367 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1369 ** libgnutls: Fix many warnings.
1371 ** Included copy of libtasn1 is upgraded to version 1.5.
1373 ** Add French translation, thanks to Nicolas Provost.
1375 ** API and ABI modifications:
1376 gnutls_strerror_name: ADDED
1378 * Version 2.5.4 (released 2008-08-19)
1380 ** Fix secure memory initialization of libgcrypt.
1381 Reported by Joe Orton <joe@manyfish.co.uk> in
1382 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1384 ** Doc fixes.
1385 Reference to NIST SP 800-57 in the manual on key size recommendations.
1386 Added 'Since:' tags to new APIs for gtk-doc.
1388 ** API and ABI modifications:
1389 No changes since last version.
1391 * Version 2.5.3 (released 2008-08-14)
1393 ** libgnutls: New API to set the public parameters in a certificate request
1394 ** from a private key.
1395 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1396 discussion with "Zach C." <fxchip@gmail.com>.
1398 ** libgnutls: New API to set a callback to extract TLS Finished data.
1399 The function to register is gnutls_session_set_finished_function and
1400 it takes a callback of the gnutls_finished_callback_func type.
1402 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1403 Reported in <https://savannah.gnu.org/support/?106453>.
1405 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1406 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1407 names are mapped to the new names in compat.h.  These mappings will
1408 likely be removed more quickly than other mappings in that file due to
1409 the namespace violation.
1411 ** libgnutlsxx: Make it build when SRP is disabled.
1413 ** doc: Add doxygen files in doc/doxygen/.
1415 ** API and ABI modifications:
1416 gnutls_x509_crq_set_key_rsa_raw: ADDED
1417 gnutls_session_set_finished_function: ADDED
1418 gnutls_finished_callback_func: ADDED
1419 GNUTLS_MASTER_SIZE: ADDED
1420 GNUTLS_RANDOM_SIZE: ADDED
1421 TLS_MASTER_SIZE: DEPRECATED
1422 TLS_RANDOM_SIZE: DEPRECATED
1424 * Version 2.5.2 (released 2008-07-08)
1426 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1427 The prime and generator was swapped.
1429 ** libgnutls: New interface to register a new TLS extension handler.
1430 The new function gnutls_ext_register can be used to register handlers
1431 for specific TLS extension types.  The callback functions have the new
1432 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1433 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1434 well.
1436 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1437 This was made possible by using the new gnutls_ext_register interface.
1438 The TLS/IA functionality has only been supported through the
1439 libgnutls-extra library, so it makes sense for the code to belong
1440 there too.
1442 ** API and ABI modifications:
1443 gnutls_ext_recv_func: ADDED
1444 gnutls_ext_send_func: ADDED
1445 gnutls_ext_parse_type_t: ADDED
1446 gnutls_ext_register: ADDED
1448 * Version 2.5.1 (released 2008-07-02)
1450 ** Indent code.
1452 ** API and ABI modifications:
1453 No changes since last version.
1455 * Version 2.5.0 (released 2008-07-02)
1457 ** Port fixes from v2.4.1 release, see below.
1459 ** Added API to replace and update the crypto backend.
1460 The header gnutls/crypto.h is now officially supported, and declares
1461 the symbols below.
1463 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1465 ** Update gnulib and translations.
1466 The gnulib gc crypto code has been removed since it was never finished
1467 and is no longer even used.  An internal non-libgcrypt crypto
1468 implementation may be added in the future, but we'll decide that later
1471 ** API and ABI modifications:
1472 gnutls_crypto_bigint_register2: ADDED.
1473 gnutls_crypto_cipher_register2: ADDED.
1474 gnutls_crypto_digest_register2: ADDED.
1475 gnutls_crypto_mac_register2: ADDED.
1476 gnutls_crypto_pk_register2: ADDED.
1477 gnutls_crypto_rnd_register2: ADDED.
1478 gnutls_crypto_single_cipher_register2: ADDED.
1479 gnutls_crypto_single_digest_register2: ADDED.
1480 gnutls_crypto_single_mac_register2: ADDED.
1482 * Version 2.4.3 (released 2009-02-06)
1484 ** libgnutls: Accept chains where intermediary certs are trusted.
1485 Before GnuTLS needed to validate the entire chain back to a
1486 self-signed certificate.  GnuTLS will now stop looking when it has
1487 found an intermediary trusted certificate.  The new behaviour is
1488 useful when chains, for example, contains a top-level CA, an
1489 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1490 To avoid chain validation errors due to the RSA-MD5 cert, you can
1491 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1492 The signature on trusted certificates are not checked, so the chain
1493 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1494 <deengert@anl.gov> in
1495 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1497 ** libgnutls: Permit V1 Certificate Authorities properly.
1498 Before they were mistakenly rejected even though
1499 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1500 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1501 "Douglas E. Engert" <deengert@anl.gov> in
1502 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1504 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1505 This is a bugfix -- the previous attempt to do this from internal x509
1506 certificate verification procedures did not return the correct value
1507 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1508 <dkg@fifthhorseman.net> in
1509 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1510 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1511 Gillmor <dkg@fifthhorseman.net>.
1513 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1514 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1515 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1516 Andreas Metzler <ametzler@downhill.at.eu.org> in
1517 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1519 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1520 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1521 problem for certificate chains that contained just one self-signed
1522 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1523 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1525 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1526 The flaw makes it possible for man in the middle attackers (i.e.,
1527 active attackers) to assume any name and trick GNU TLS clients into
1528 trusting that name.  Thanks for report and analysis from Martin von
1529 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1531 Any updates with more details about this vulnerability will be added
1532 to <http://www.gnu.org/software/gnutls/security.html>
1534 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1535 Report and patch by Jonathan Manktelow.
1537 ** libgnutls: Avoid use of non-thread safe strerror.
1539 ** API and ABI modifications:
1540 No changes since last version.
1542 * Version 2.4.2 (released 2008-09-15)
1544 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1546 ** libgnutls: Corrected memory leak in X.509 functions.
1547 Thanks to Colin Leroy <colin@colino.net>.
1549 ** libgnutls: Fix compile error with Sun CC.
1551 ** gnutls-cli.1: Document all new parameters.
1552 Thanks to James Westby <jw+debian@jameswestby.net>.
1554 ** tests/openssl: initialize gnutls before use.
1555 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1556 <ludovic.courtes@laas.fr>.
1558 ** doc/: Fix texinfo markup for old texinfo versions.
1560 ** Included copy of libtasn1 is upgraded to version 1.5.
1562 ** API and ABI modifications:
1563 No changes since last version.
1565 * Version 2.4.1 (released 2008-06-30)
1567 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1568 If the gnutls_handshake function is called for a normal session, which
1569 can happen for re-handshakes, the library would crash because it tried
1570 to hash some data using a libgcrypt handle that had been deallocated.
1571 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1572 with more details about this vulnerability will be added to
1573 <http://www.gnu.org/software/gnutls/security.html>
1575 ** libgnutls: Fix memory leaks when doing a re-handshake.
1576 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1577 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1579 ** Fix compiler warnings.
1580 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1581 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1583 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1584 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1585 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1587 ** srptool: Fix a problem where --verify check does not succeed.
1588 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1589 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1591 ** API and ABI modifications:
1592 No changes since last version.
1594 * Version 2.4.0 (released 2008-06-19)
1596 ** Major changes compared to the v2.2 branch:
1598 *** The OpenPGP sub-system has been improved and now supports subkeys.
1600 *** The PSK sub-system has been improved and now supports password
1601 *** derivation and PSK identity hints.
1602 The password derivation algorithms support is documented in
1603 draft-ietf-netconf-tls-02.txt.
1605 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1606 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1607 The old parameters will continue to work for some time.
1609 *** Certtool now confirm passwords and changes permissions of private key files.
1611 *** The default handshake size limit has been increased to 48kb.
1612 It appears as if some valid handshakes are large due to sending many
1613 CA certificates.  (The earlier limit was 16kb.)
1615 *** LZO compression is now disabled by default.
1616 The main reason is that LZO compression in TLS is not standardized,
1617 but license compatiblity issues with minilzo triggered us to make this
1618 decision now.
1620 *** Improvements for cross-compilation to Windows and OpenWRT.
1622 *** The look of the GTK-DOC manual has been improved.
1623 Major developer visible changes compared to the v2.2 branch:
1625 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1627 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1628 *** elements from the certificate credentials structure.
1629 Thanks to Joe Orton.
1631 *** New APIs to improve working with username/passwords and PSK.
1633 *** Names of constants to affect certificate printing changed.
1634 The constants are used for OpenPGP too, which the names didn't
1635 reflect, so the following name change has been made:
1637             Old name                         New name
1638      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
1639      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
1640      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
1642 The old names will be mapped to the new names for some time.
1644 *** The function gnutls_openpgp_privkey_get_id has been renamed to
1645 *** gnutls_openpgp_privkey_get_key_id.
1646 A compatibility mapping exists to avoid breaking API backwards
1647 compatibility.
1649 *** Replaced all uses of alloca with malloc and free.
1651 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
1652 We have been unable to find a documented rationale for this practice.
1654 *** Of course, many smaller fixes have been made, see the ChangeLog file.
1656 *** API/ABI changes in GnuTLS 2.4
1657 All OpenPGP related functions have been moved from libgnutls-extra to
1658 libgnutls, and several new functions have been added (see below).
1659 Before making the release, we discussed whether moving functions from
1660 libgnutls-extra to libgnutls would require us to increment the ABI
1661 version, but the general opinion was that this would not be required.
1662 All older functions continue to work the same.  We are open to the
1663 possibility that this decision will lead to problem on some platform,
1664 and if it turns out that the Right Thing should have been to increment
1665 the shared library version, we would need to release an update within
1666 the 2.4.x branch that increments the shared library version.
1668 This release adds the following functions:
1670   gnutls_psk_client_get_hint
1671   gnutls_psk_set_server_credentials_hint
1672   gnutls_psk_netconf_derive_key
1674     Used to get/set the PSK identity hint, and derive PSK keys from
1675     passwords a'la netconf.
1677   gnutls_x509_dn_deinit
1678   gnutls_x509_dn_export
1679   gnutls_x509_dn_import
1680   gnutls_x509_dn_init
1682     Used to handle X.509 Certificate DN's directly.
1684   gnutls_hex2bin
1686     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
1687     secrets.
1689   gnutls_certificate_get_x509_cas
1690   gnutls_certificate_get_x509_crls
1691   gnutls_certificate_get_openpgp_keyring
1693     Functions for direct access to credential elements.
1695   gnutls_openpgp_crt_get_auth_subkey
1696   gnutls_openpgp_crt_get_key_id
1697   gnutls_openpgp_crt_get_pk_dsa_raw
1698   gnutls_openpgp_crt_get_pk_rsa_raw
1699   gnutls_openpgp_crt_get_preferred_key_id
1700   gnutls_openpgp_crt_get_revoked_status
1701   gnutls_openpgp_crt_get_subkey_count
1702   gnutls_openpgp_crt_get_subkey_creation_time
1703   gnutls_openpgp_crt_get_subkey_expiration_time
1704   gnutls_openpgp_crt_get_subkey_fingerprint
1705   gnutls_openpgp_crt_get_subkey_id
1706   gnutls_openpgp_crt_get_subkey_idx
1707   gnutls_openpgp_crt_get_subkey_pk_algorithm
1708   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
1709   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
1710   gnutls_openpgp_crt_get_subkey_revoked_status
1711   gnutls_openpgp_crt_get_subkey_usage
1712   gnutls_openpgp_crt_print
1713   gnutls_openpgp_crt_set_preferred_key_id
1714   gnutls_openpgp_keyring_get_crt
1715   gnutls_openpgp_keyring_get_crt_count
1716   gnutls_openpgp_privkey_export
1717   gnutls_openpgp_privkey_export_dsa_raw
1718   gnutls_openpgp_privkey_export_rsa_raw
1719   gnutls_openpgp_privkey_export_subkey_dsa_raw
1720   gnutls_openpgp_privkey_export_subkey_rsa_raw
1721   gnutls_openpgp_privkey_get_fingerprint
1722   gnutls_openpgp_privkey_get_key_id
1723   gnutls_openpgp_privkey_get_pk_algorithm
1724   gnutls_openpgp_privkey_get_preferred_key_id
1725   gnutls_openpgp_privkey_get_revoked_status
1726   gnutls_openpgp_privkey_get_subkey_count
1727   gnutls_openpgp_privkey_get_subkey_creation_time
1728   gnutls_openpgp_privkey_get_subkey_expiration_time
1729   gnutls_openpgp_privkey_get_subkey_fingerprint
1730   gnutls_openpgp_privkey_get_subkey_id
1731   gnutls_openpgp_privkey_get_subkey_idx
1732   gnutls_openpgp_privkey_get_subkey_pk_algorithm
1733   gnutls_openpgp_privkey_get_subkey_revoked_status
1734   gnutls_openpgp_privkey_set_preferred_key_id
1736     New OpenPGP related functions.
1738     The function gnutls_openpgp_crt_get_key_id is the same as the old
1739     from gnutls_openpgp_crt_get_id, see above.
1741 The release also adds a new header file 'gnutls/crypto.h', however it
1742 is currently not used.
1744 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
1745 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1747 ** API and ABI modifications:
1748 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
1749 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
1751 * Version 2.3.15 (released 2008-06-15)
1753 ** Disable the openpgp-certs self-tests.
1754 It results in failure under Wine and doesn't work on Debian buildds.
1756 ** API and ABI modifications:
1757 No changes since last version.
1759 * Version 2.3.14 (released 2008-06-11)
1761 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
1762 An OpenPGP certificate is now only considered verified if all the user
1763 IDs are verified.
1765 ** Examples: Make C++ example compile.
1766 Earlier it may have failed with an unresolved reference to strlen.
1768 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
1769 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1771 ** API and ABI modifications:
1772 No changes since last version.
1774 * Version 2.3.13 (released 2008-06-07)
1776 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
1778 ** doc/: Add psktool to info index.  Some minor cleanups.
1780 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
1782 ** tests/: Added libgcrypt.supp which can be used with valgrind.
1783 The file suppresses the known libgcrypt memory leaks, so they aren't
1784 printed when you run valgrind on the gnutls self-tests.  Use it as
1785 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
1786 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
1787 ~/.valgrindrc file.
1789 ** tests/: Reduce amount of debugging output by default.
1790 Use --verbose for each test to get the full output.
1792 ** tests/: Fix memory leaks in several self-tests.
1793 None of the self tests should be leaking memory when running valgrind
1794 or similar tools.  (Known exceptions are dhepskself, pskself, and
1795 set_pkcs12_cred, which appear likely to be due to memory leaks in the
1796 library.)
1798 ** API and ABI modifications:
1799 No changes since last version.
1801 * Version 2.3.12 (released 2008-06-04)
1803 ** Merge gnutls_with_netconf branch.
1805 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
1806 The function is gnutls_psk_client_get_hint.
1808 *** libgnutls [PSK]: New API to set PSK identity hint in server.
1809 The function is gnutls_psk_set_server_credentials_hint.
1811 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
1812 In the client, the message is parsed and the application can use
1813 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
1814 message is sent if the application has specified a PSK identity hint
1815 using gnutls_psk_set_server_credentials_hint.
1817 *** libgnutls [PSK]: Support Netconf PSK key derivation.
1818 The function gnutls_psk_netconf_derive_key supports the PSK key
1819 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
1820 test netconf-psk.c.
1822 *** psktool: Support new --netconf-hint to generate PSK key from password.
1823 Uses the Netconf algorithm to derive PSK key from password.
1825 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
1827 *** gnutls-cli: Always support PSK modes, through a callback.
1828 The callback will derive a PSK key using Netconf algorithm.  It will
1829 print the PSK identity hint to help the user.
1831 *** New PSK example client and server.
1832 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
1834 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
1835 The code didn't work properly on platforms where 'char' is unsigned,
1836 when you set version 0.  Reported by Laurence Withers
1837 <l@lwithers.me.uk> in
1838 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
1840 ** libgnutls-openssl: added RAND_pseudo_bytes API.
1841 Patch from Robert Millan <rmh@aybabtu.com>.
1843 ** API and ABI modifications:
1844 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
1845 gnutls_psk_client_get_hint: ADDED.
1846 gnutls_psk_set_server_credentials_hint: ADDED.
1847 gnutls_psk_netconf_derive_key: ADDED
1849 * Version 2.3.11 (released 2008-05-20)
1851 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
1852 The flaw would result in incorrectly terminated sessions with the
1853 error "Decryption has failed" when the server sends a small packet
1854 (typically when the session is closed).  Reported by Andreas Metzler
1855 <ametzler@downhill.at.eu.org> in
1856 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
1858 ** Don't use gnulib headers when building C++ library.
1859 Fixes builds under Windows.
1861 ** Make umask a requirement.
1862 We don't know of any system that lacks it, even GNU CoreUtils use it
1863 unconditionally.
1865 ** Update gnulib files.
1866 Fixes a problem where it pulled in a replacement for memcmp under
1867 MinGW, which caused the C++ example to fail to build.
1869 ** API and ABI modifications:
1870 No changes since last version.
1872 * Version 2.3.10 (released 2008-05-19)
1874 ** Added wide wildcard hostname matching.
1875 Tiny patch by Jean-Philippe Garcia Ballester.
1877 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
1878 Thanks to CERT-FI for finding the bugs and providing detailed reports,
1879 which allowed the bugs to be reproduced and fixed easily.  Patches
1880 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
1881 with more details about these vulnerabilities will be added to
1882 <http://www.gnu.org/software/gnutls/security.html>
1884 *** [GNUTLS-SA-2008-1-1]
1885 *** libgnutls: Fix crash when sending invalid server name.
1886 The crash can be triggered remotely before authentication, which can
1887 lead to a Daniel of Service attack to disable the server.  The bug
1888 cause gnutls to store more session resumption data than what was
1889 allocated for, thus overwriting unallocated memory.
1891 *** [GNUTLS-SA-2008-1-2]
1892 *** libgnutls: Fix crash when sending repeated client hellos.
1893 The crash can be triggered remotely before authentication, which can
1894 lead to a Daniel of Service attack to disable the server.  The bug
1895 triggers a null-pointer dereference.
1897 *** [GNUTLS-SA-2008-1-3]
1898 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
1899 The crash can be triggered remotely before authentication, which can
1900 lead to a Daniel of Service attack to disable the server.  The bug
1901 cause gnutls to read memory beyond the end of the received record.
1903 ** libgnutlsxx: Updated API according to patches from Eduardo 
1904 Villanueva Che (discussion at
1905 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
1907 ** Use umask to restrict permissions to owner before creating a file.
1909 ** API and ABI modifications:
1910 No changes since last version.
1912 * Version 2.3.9 (released 2008-05-16)
1914 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
1915 Based on report and tiny patches from
1916 <jared.jennings.ctr@eglin.af.mil>, see
1917 <https://savannah.gnu.org/support/index.php?106342>.
1919 ** libgnutls: Translation fixes.
1921 ** gnutls-cli: Fix so that PSK authentication works.
1922 Also improve manual to give example for gnutls-cli PSK authentication.
1924 ** certtool: Encrypting a private key now require a confirmed password.
1925 Before './certtool -k -8' would merely ask for a password once.
1926 Reported by Daniel 'NebuchadnezzaR' Dehennin
1927 <nebuchadnezzar@asgardr.info> see
1928 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
1930 ** certtool: When writing private keys to files, change permissions of file.
1931 Now the file which the private key is saved to is chmod'ed 0600.
1932 Reported by martin f krafft <madduck@debian.org> see
1933 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
1935 ** guile: Fix -fgnu89-inline test.
1937 ** Removed --enable-profile-mode.
1938 The code linked gnutls with the libfc project (Function Check) which
1939 appears to have been stalled since around 2002.
1941 ** Clean up header file checks by ./configure.
1943 ** Update of gnulib files.
1945 ** API and ABI modifications:
1946 No changes since last version.
1948 * Version 2.3.8 (released 2008-04-29)
1950 ** libgnutls: Increase default handshake packet size limit to 48kb.
1951 The old limit was 16kb and some servers send huge list of trusted CAs,
1952 thus running into the limit.  FYI, applications can further increase
1953 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
1954 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
1955 <marc@mclemente.net> for reporting and providing test servers.
1957 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
1958 Returned when the handshake data size is too large.  Before
1959 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
1960 error situations.
1962 ** libgnutls: Hide definitions in crypto.h.
1963 We have decided that the APIs defined in crypto.h are not stable
1964 enough for v2.4, so don't use any of those functions.
1966 ** gnutls-cli: exit when hostname doesn't match certificate.
1967 Use --insecure to avoid hostname comparison.
1969 ** certtool: --inder and --outder replaced by --inraw and --outraw.
1970 The reason is to align terminology with OpenPGP, which doesn't use
1971 DER.  The old parameters will continue to work for some time.
1973 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
1975 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
1977 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
1978 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
1979 vasprintf symbol from the libgcrypt library which caused problems.
1981 ** Update of gnulib files.
1983 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
1985 ** API and ABI modifications:
1986 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
1988 * Version 2.3.7 (released 2008-04-21)
1990 ** opencdk now properly sets the key usage bits into openpgp keys.
1992 ** gnutls-cli: Fix crash on TLS handshake failures.
1993 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
1994 This is similar to <http://bugs.debian.org/429183>.
1996 ** certtool: with --generate-request and newly generated keys, print the key.
1998 ** Build fixes for MinGW.
1999 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2000 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2001 X.509 certificate information, to avoid non-ASCII but printable
2002 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2003 reports.
2005 ** Update internal copy of libtasn1 to version 1.4.
2007 ** API and ABI modifications:
2008 No changes since last version.
2010 * Version 2.3.6 (released 2008-04-17)
2012 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2013 ** Improve documentation for gnutls_x509_crq_sign2.
2014 Based on report from "John Brooks" <aspecialj@gmail.com> in
2015 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2017 ** tests/pathlen: run diff without parameters to improve portability.
2018 Based on HPUX build hints in
2019 <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>.
2021 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2022 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2023 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2025 ** Remove all uses of gnutls_alloca/gnutls_afree.
2026 Use normal gnutls_malloc instead.  One reason is increased portability
2027 to Windows, the other is that several of the uses may be unsafe
2028 because the size of data allocated could be large.  Reported by
2029 Massimo Gaspari <massimo.gaspari@alice.it> in
2030 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2032 ** Build Guile code with -fgnu89-inline only when supported.
2033 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2034 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2036 ** Several GTK-DOC related fixes.
2038 ** Clean up OpenCDK related code.
2039 GnuTLS now requires its internal OpenCDK code rather than the external
2040 GPL library OpenCDK.  Unfortunately, we don't have resources to
2041 maintain an external library (help welcome).
2043 ** API and ABI modifications:
2044 No changes since last version.
2046 * Version 2.3.5 (released 2008-04-14)
2048 ** Build fix for MinGW and --disable-shared.
2049 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2050 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2052 ** Document how to generate CRLs.
2053 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2055 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2057 ** Several minor fixes in the OpenPGP interface.
2058 Thanks to Daniel Kahn Gillmor.
2060 ** Fix fopen file descriptor leak in PSK server code.
2061 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2062 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2064 ** Translations files not stored directly in git to avoid merge conflicts.
2066 ** New APIs to let applications replace the RNG used.
2067 Update all RNG callers in the code to use the new interface.
2069 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2071 ** Update gnulib files.
2073 ** API and ABI modifications:
2074 gnutls_crypto_rnd_register: ADDED
2075 gnutls_rnd_level_t: ADDED
2076 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2077 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2078 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2079 gnutls_crypto_rnd_st: ADDED
2080 GNUTLS_DIG_SHA224: ADDED
2081 GNUTLS_SIGN_RSA_SHA224: ADDED
2082 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2084 * Version 2.3.4 (released 2008-03-19)
2086 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2087 They weren't renamed in the public header file.
2089 ** Added functions to register a cipher/mac/digest. This allows to 
2090 override the included ones.
2092 ** Fix a bunch of compiler warnings.
2094 ** API and ABI modifications:
2095 gnutls_crypto_cipher_st: ADDED
2096 gnutls_crypto_mac_st: ADDED
2097 gnutls_crypto_digest_st: ADDED
2098 gnutls_crypto_cipher_register: ADDED
2099 gnutls_crypto_mac_register: ADDED
2100 gnutls_crypto_digest_register: ADDED
2101 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2103 * Version 2.3.3 (released 2008-03-10)
2105 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2106 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2108 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2109 We could not find any modern justification for enabling these flags by
2110 default.  If you know of some platform that needs one of the flags to
2111 work properly, please let us know.  (Actually introduced in v2.3.0 but
2112 not documented until now.)
2114 ** Importing many CA certificates are now considerably faster.
2115 This affect gnutls_certificate_set_x509_trust_mem,
2116 gnutls_certificate_set_x509_trust, and
2117 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2118 from O(2*n^2) to O(n).  When adding 206 files containing 408
2119 certificates, using gnutls_certificate_set_x509_trust_file, the time
2120 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2121 to trigger the problem.  See also
2122 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2124 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2125 ** to be explicit that it takes zero terminated data.
2127 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2129 ** Documentation fixes for the GTK-DOC manual.
2131 ** Fix compilation error related to __FUNCTION__ on some systems.
2132 Reported by Tim Mooney, see
2133 <https://savannah.gnu.org/support/?106267>.
2135 ** Updated translations.
2137 ** Update gnulib files.
2139 ** API and ABI modifications:
2140 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2141                 and char* instead of void* for output buffer.
2143 * Version 2.3.2 (released 2008-02-26)
2145 ** Fix srcdir!=objdir failure in openpgpself test.
2147 ** Improved API documentation output from GTK-DOC.
2149 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2151 ** Renamed gnutls_certificate_export_x509_cas and friends.
2152 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2154 ** Internal header files cleanup.
2156 ** API and ABI modifications:
2157 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2158 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2159 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2160 gnutls_x509_dn_export: ADDED
2162 * Version 2.3.1 (released 2008-02-21)
2164 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2165 The included copy of OpenCDK has been stripped down and re-licensed
2166 under the LGPL.
2168 ** Cipher priority string handling now handle strings that starts with NULL.
2169 Thanks to Laurence Withers <l@lwithers.me.uk>.
2171 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2173 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2174 by Daniel Stenberg.
2176 ** Increased the default certificate verification chain limits and allowed
2177 for checks without limitation.
2179 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2180 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2181 strings and return the proper size.
2183 ** Add section 'On Record Padding' to the manual.
2184 This collects all problems related to record padding with
2185 Nokia/Sony-Ericsson phones that we know about.
2187 ** Several improvements in the OpenPGP authentication.
2188 Now subkeys can be used for authentication, according to
2189 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2191 ** certtool can print information on OpenPGP certificates and keys.
2193 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2194 Patch by Joe Orton.
2196 ** Added gnutls_certificate_export_x509_cas and other functions to
2197 export elements from the certificate credentials structure.  Based on
2198 suggestion from Joe Orton.
2200 ** Doc fixes.
2201 Clarify that srp_base64 is not the same as normal base64.
2203 ** Fix non-portable use of brace expansion in makefiles.
2205 ** API and ABI modifications:
2206 gnutls_certificate_export_x509_cas: ADDED
2207 gnutls_certificate_export_x509_crls: ADDED
2208 gnutls_certificate_export_openpgp_keyring: ADDED
2209 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2210 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2211 gnutls_openpgp_crt_get_revoked_status: ADDED
2212 gnutls_openpgp_crt_get_subkey_count: ADDED
2213 gnutls_openpgp_crt_get_subkey_idx: ADDED
2214 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2215 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2216 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2217 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2218 gnutls_openpgp_crt_get_subkey_id: ADDED
2219 gnutls_openpgp_crt_get_subkey_usage: ADDED
2220 gnutls_openpgp_privkey_get_fingerprint: ADDED
2221 gnutls_openpgp_privkey_get_key_id: ADDED
2222 gnutls_openpgp_privkey_get_subkey_count: ADDED
2223 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2224 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2225 gnutls_openpgp_privkey_get_revoked_status: ADDED
2226 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2227 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2228 gnutls_openpgp_privkey_get_subkey_id: ADDED
2229 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2230 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2231 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2232 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2233 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2234 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2235 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2236 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2237 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2238 gnutls_openpgp_privkey_export: ADDED
2239 gnutls_certificate_set_openpgp_key_file2: ADDED
2240 gnutls_certificate_set_openpgp_key_mem2: ADDED
2241 gnutls_x509_dn_init: ADDED
2242 gnutls_x509_dn_import: ADDED
2243 gnutls_x509_dn_deinit: ADDED
2244 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2245 gnutls_hex2bin: ADDED
2246 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2247 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2248 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2249                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2251 * Version 2.3.0 (released 2008-01-08)
2253 ** LZO compression is now disabled by default.
2254 The reason is that LZO compression is not standardized in TLS.  If you
2255 wish to experiment with it, you will have to supply --with-lzo when
2256 invoking ./configure.  The internal copy of minilzo is no longer
2257 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2258 your system to have --with-lzo to be effective.
2260 ** More than one server name field is now sent to the server properly.
2261 Thanks to mark.phillips@virgin.net.
2263 ** Fixes the post_client_hello_function(). The extensions are now parsed
2264 in a callback friendly way.
2266 ** Fix for certificate selection in servers with certificate callbacks.
2268 ** Updated translations.
2270 ** Update gnulib files.
2272 ** API and ABI modifications:
2273 No changes since last version.
2275 * Version 2.2.5 (released 2008-05-19)
2277 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2278 The flaw would result in incorrectly terminated sessions with the
2279 error "Decryption has failed" when the server sends a small packet
2280 (typically when the session is closed).  Reported by Andreas Metzler
2281 <ametzler@downhill.at.eu.org> in
2282 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2284 ** API and ABI modifications:
2285 No changes since last version.
2287 * Version 2.2.4 (released 2008-05-19)
2289 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2290 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2291 which allowed the bugs to be reproduced and fixed easily.  Patches
2292 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2293 with more details about these vulnerabilities will be added to
2294 <http://www.gnu.org/software/gnutls/security.html>
2296 *** [GNUTLS-SA-2008-1-1]
2297 *** libgnutls: Fix crash when sending invalid server name.
2298 The crash can be triggered remotely before authentication, which can
2299 lead to a Daniel of Service attack to disable the server.  The bug
2300 cause gnutls to store more session resumption data than what was
2301 allocated for, thus overwriting unallocated memory.
2303 *** [GNUTLS-SA-2008-1-2]
2304 *** libgnutls: Fix crash when sending repeated client hellos.
2305 The crash can be triggered remotely before authentication, which can
2306 lead to a Daniel of Service attack to disable the server.  The bug
2307 triggers a null-pointer dereference.
2309 *** [GNUTLS-SA-2008-1-3]
2310 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2311 The crash can be triggered remotely before authentication, which can
2312 lead to a Daniel of Service attack to disable the server.  The bug
2313 cause gnutls to read memory beyond the end of the received record.
2315 ** API and ABI modifications:
2316 No changes since last version.
2318 * Version 2.2.3 (released 2008-05-06)
2320 ** Increase default handshake packet size limit to 48kb.
2321 The old limit was 16kb and some servers send huge list of trusted CAs,
2322 thus running into the limit.  FYI, applications can further increase
2323 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2324 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2325 <marc@mclemente.net> for reporting and providing test servers.
2327 ** Fix compilation error related to __FUNCTION__ on some systems.
2328 Reported by Tim Mooney, see
2329 <https://savannah.gnu.org/support/?106267>.
2331 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2333 ** Fix fopen file descriptor leak in PSK server code.
2334 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2335 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2337 ** Build Guile code with -fgnu89-inline only when supported.
2338 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2339 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2341 ** Make Camellia encryption work.
2342 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2343 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2345 ** API and ABI modifications:
2346 No changes since last version.
2348 * Version 2.2.2 (released 2008-02-21)
2350 ** Cipher priority string handling now handle strings that starts with NULL.
2351 Thanks to Laurence Withers <l@lwithers.me.uk>.
2353 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2354 by Daniel Stenberg.
2356 ** Increased the default certificate verification chain limits and allowed
2357 for checks without limitation.
2359 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2360 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2361 strings and return the proper size.
2363 ** API and ABI modifications:
2364 No changes since last version.
2366 * Version 2.2.1 (released 2008-01-17)
2368 ** Prevent linking libextra against previously installed libgnutls.
2369 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2370 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2372 ** Fixes the post_client_hello_function(). The extensions are now parsed
2373 in a callback friendly way.
2375 ** Fix for certificate selection in servers with certificate callbacks.
2377 ** API and ABI modifications:
2378 No changes since last version.
2380 * Version 2.2.0 (released 2007-12-14)
2382 ** Update internal copy of libtasn1 to version 1.2.
2384 ** Certtool --verify-chain now handle inputs larger than 64kb.
2385 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2386 recent versions of libgcrypt.  The problem was that Wine with the
2387 libgcrypt RNG generates huge amounts of debugging output.
2389 ** Translation updates.
2390 Added Dutch translation.  Updated Polish and Swedish translation.
2392 ** Major changes compared to the v2.0 branch:
2394 *** SRP support aligned with newly published RFC 5054.
2396 *** OpenPGP support aligned with newly published RFC 5081.
2398 *** Support for DSA2 keys.
2400 *** Support for Camellia cipher.
2402 *** Support for Opaque PRF Input extension.
2404 *** PKCS#8 parser now handle DSA keys.
2406 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2407 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2408 versions, such as 2.01 which is included with GnuTLS, is available
2409 under GPLv2 or later.  If this incompatibility causes problems, we
2410 recommend you to disable LZO using --without-lzo.  LZO compression is
2411 not a standard TLS compression algorithm, so the impact should be
2412 minimal.
2414 *** Functions for disabling record protocol padding.
2415 Works around bugs on Nokia/Ericsson phones.
2417 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2418 Priorities like "COMPAT" also enables other work arounds, such as
2419 disabling padding.
2421 *** Other minor improvements and bug fixes.
2423 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2424 To adapt to changes in the TLS extension specifications for OpenPGP
2425 and SRP, the GnuTLS API had to be modified.  This means breaking the
2426 API and ABI backwards compatibility.  That is something we try to
2427 avoid unless it is necessary.  We decided to also remove the already
2428 deprecated stub functions for X.509 to XML conversion and TLS
2429 authorization (see below) when we had the opportunity.
2431 Generally, most applications does not need to be modified.  Just
2432 re-compile them against the latest GnuTLS release, and it should work
2433 fine.
2435 Applications that use the OpenPGP or SRP features needs to be
2436 modified.  Below is a list of the modified APIs and discussion of what
2437 the minimal things you need to modify in your application to make it
2438 work with GnuTLS 2.2.
2440 Note that GnuTLS 2.2 also introduces new APIs -- such as
2441 gnutls_set_priority() that is superior to
2442 gnutls_set_default_priority() -- that you may want to start using.
2443 However, using those new APIs is not required to use GnuTLS 2.2 since
2444 the old functions continue are still supported.  This text only
2445 discuss what you minimally have to modify.
2447 *** XML related changes
2448 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2449 deprecated and only returned an error code since GnuTLS version
2450 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2451 functionality.  We don't know of any other library to convert X.509
2452 certificates into XML format, but we decided (long ago) that GnuTLS
2453 isn't the right place for this kind of functionality.  If you want
2454 help to find some other library to use here, please explain and
2455 discuss your use case on help-gnutls@gnu.org.
2457 *** TLS Authorization related changes
2458 Everything related to TLS authorizations have been removed, they were
2459 only stub functions that returned an error code:
2461  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2462  gnutls_authz_data_format_type_t
2463  gnutls_authz_recv_callback_func
2464  gnutls_authz_send_callback_func
2465  gnutls_authz_enable
2466  gnutls_authz_send_x509_attr_cert
2467  gnutls_authz_send_saml_assertion
2468  gnutls_authz_send_x509_attr_cert_url
2469  gnutls_authz_send_saml_assertion_url
2471 *** SRP related changes
2472 The callback gnutls_srp_client_credentials_function has a new
2473 prototype, and its semantic has changed.  You need to rewrite the
2474 callback, see the updated function documentation and SRP example code
2475 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2476 information.
2478 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2479 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2480 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2481 used.  There are #define's to map the old names to the new.  You may
2482 run into problems if you have a switch-case with cases for both SRP
2483 alerts, since they are now mapped to the same value.  The solution is
2484 to drop the SRP alerts from such switch cases, as they are now
2485 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2487 *** OpenPGP related changes
2488 The function `gnutls_certificate_set_openpgp_keyserver' have been
2489 removed.  There is no replacement functionality inside GnuTLS.  If you
2490 need keyserver functionality, consider using the GnuPG tools.
2492 All functions, types, and error codes related to OpenPGP trustdb
2493 format have been removed.  The trustdb format is a non-standard
2494 GnuPG-specific format, and we recommend you to use key rings instead.
2495 The following have been removed:
2497  gnutls_certificate_set_openpgp_trustdb
2498  gnutls_openpgp_trustdb_init
2499  gnutls_openpgp_trustdb_deinit
2500  gnutls_openpgp_trustdb_import
2501  gnutls_openpgp_key_verify_trustdb
2502  gnutls_openpgp_trustdb_t
2503  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2505 The following functions has an added parameter of the (new) type
2506 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2507 (binary or base64).  The functions are:
2508  gnutls_certificate_set_openpgp_key_file
2509  gnutls_certificate_set_openpgp_key_mem
2510  gnutls_certificate_set_openpgp_keyring_mem
2511  gnutls_certificate_set_openpgp_keyring_file
2513 To improve terminology and align with the X.509 interface, some
2514 functions have been renamed.  Compatibility mappings exists.  The old
2515 and new names of the affected functions and types are:
2517         Old name                                New name
2518  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2519  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2520  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2521  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2522  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2523  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2524  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2525  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2526  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2527  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2528  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2529  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2530  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2531  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2532  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2533  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2534  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2535  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2536  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2538 ** API and ABI modifications:
2539 No changes since last version.
2541 * Version 2.1.8 (released 2007-12-10)
2543 ** The GPL version has been changed from version 2 to version 3.
2544 This affects the self-tests, command-line tools, the libgnutls-extra
2545 library, the relevant guile parts, and the build environment.
2547 ** Added gnutls_x509_crt_get_subject_alt_name2().
2549 ** Corrected a segfault when setting an empty gnutls_priority_t
2550 at gnutls_priority_set().
2552 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2553 Fixes a problem with spurious -L/usr/lib additions.
2555 ** API and ABI modifications:
2556 gnutls_x509_crt_get_subject_alt_name2: ADD.
2558 * Version 2.1.7 (released 2007-11-29)
2560 ** PKCS #8 parser can now encode/decode DSA keys.
2562 ** Updated gnutls_set_default_priority2() now renamed to
2563 gnutls_priority_set() and gnutls_priority_set_direct() which
2564 accept a string to indicate preferences of ciphersuite parameters.
2566 ** gnutls-cli and gnutls-serv now have a --priority option to set
2567 the priority string.
2569 ** The gnutls_*_convert_priority() functions were deprecated by
2570 the gnutls_priority_set() and gnutls_priority_set_direct().
2572 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2574 ** API and ABI modifications:
2575 gnutls_priority_init: ADD.
2576 gnutls_priority_deinit: ADD.
2577 gnutls_priority_set: ADD.
2578 gnutls_priority_set_direct: ADD.
2579 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2580 gnutls_mac_convert_priority: REMOVED
2581 gnutls_compression_convert_priority: REMOVED
2582 gnutls_protocol_convert_priority: REMOVED
2583 gnutls_kx_convert_priority: REMOVED
2584 gnutls_cipher_convert_priority: REMOVED
2585 gnutls_certificate_type_convert_priority: REMOVED
2586 gnutls_set_default_priority: UNDEPRECATED
2587 gnutls_set_default_priority_export: UNDEPRECATED
2589 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2590 GNUTLS_CIPHER_UNKNOWN: ADD.
2591 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2592 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2593 GNUTLS_KX_UNKNOWN: ADD.
2594 GNUTLS_COMP_UNKNOWN: ADD.
2595 GNUTLS_CRT_UNKNOWN: ADD.
2596 gnutls_mac_get_id: ADD.
2597 gnutls_compression_get_id: ADD.
2598 gnutls_cipher_get_id: ADD.
2599 gnutls_kx_get_id: ADD.
2600 gnutls_protocol_get_id: ADD.
2601 gnutls_certificate_type_get_id: ADD.
2602 gnutls_handshake_post_client_hello_func: ADD.
2603 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2605 * Version 2.1.6 (released 2007-11-15)
2607 ** Corrected bug in decompression of expanded compression data.
2609 ** Added the --to-p8 option to certtool to convert private keys
2610 to PKCS #8 keys.
2612 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2614 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2615 private keys.
2617 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2618 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2619 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2620 documented.  This caused some problems (e.g., debian #450854).  To
2621 avoid backwards compatibility problems, this release revert this
2622 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2623 done in GnuTLS 2.0.x and earlier, and add a new error code
2624 GNUTLS_E_UNKNOWN_ALGORITHM.
2626 ** Fixes several gtk-doc warnings.
2628 ** API and ABI modifications:
2629 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2630 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2631 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2633 * Version 2.1.5 (released 2007-11-01)
2635 ** Fix PKCS#3 parameter export problem.
2637 ** Improve certtool queries, they now print the default value.
2639 ** Fix ABI version.
2641 ** Update gnulib files.
2643 ** API and ABI modifications:
2644 No changes since last version.
2646 * Version 2.1.4 (released 2007-10-27)
2648 ** Added the --v1 option to certtool, to allow generating X.509
2649 version 1 certificates. 
2651 ** certtool: Add option --disable-quick-random to enable the old behaviour
2652 of using /dev/random to generate keys.
2654 ** Added priority functions that accept strings.
2656 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
2657 priorities preferences.
2659 ** Added gnutls_record_disable_padding() to allow servers talking to 
2660 buggy clients that complain if the TLS 1.0 record protocol padding is
2661 used.
2663 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2664 all supported compatibility options (like disabling padding).
2666 ** The gnutls_certificate_set_openpgp_* functions were modified to include
2667 the format. This makes the interface consistent with the x509 functions.
2669 ** Internal copy of OpenCDK upgraded to version 0.6.5.
2671 ** Update gnulib files.
2673 ** API and ABI modifications:
2674 gnutls_certificate_set_openpgp_key_mem: MODIFIED
2675 gnutls_certificate_set_openpgp_key_file: MODIFIED
2676 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
2677 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
2678 gnutls_set_default_priority: DEPRECATED
2679 gnutls_set_default_priority_export: DEPRECATED
2680 gnutls_set_default_priority2: ADDED
2681 gnutls_session_enable_compatibility_mode: ADDED
2682 gnutls_record_disable_padding: ADDED
2683 gnutls_mac_convert_priority: ADDED
2684 gnutls_compression_convert_priority: ADDED
2685 gnutls_protocol_convert_priority: ADDED
2686 gnutls_kx_convert_priority: ADDED
2687 gnutls_cipher_convert_priority: ADDED
2688 gnutls_certificate_type_convert_priority: ADDED
2689 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
2690 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
2691 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
2692 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
2693 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
2694 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
2695 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
2696 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
2697 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
2698 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
2699 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
2700 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
2701 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
2702 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
2703 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
2704 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
2705 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
2706 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
2708 * Version 2.1.3 (released 2007-10-17)
2710 ** TLS authorization support removed.
2711 This technique may be patented in the future, and it is not of crucial
2712 importance for the Internet community.  After deliberation we have
2713 concluded that the best thing we can do in this situation is to
2714 encourage society not to adopt this technique.  We have decided to
2715 lead the way with our own actions.
2717 ** Re-enabled the 256 bit ciphers in the default priorities.
2719 ** Corrected bugs in openpgp key verification using a keyring (both in
2720 gnutls and opencdk)
2722 ** API and ABI modifications:
2723 gnutls_certificate_set_openpgp_keyserver: REMOVED
2724 gnutls_authz_data_format_type_t,
2725 gnutls_authz_recv_callback_func,
2726 gnutls_authz_send_callback_func,
2727 gnutls_authz_enable,
2728 gnutls_authz_send_x509_attr_cert,
2729 gnutls_authz_send_saml_assertion,
2730 gnutls_authz_send_x509_attr_cert_url,
2731 gnutls_authz_send_saml_assertion_url: REMOVED.
2732 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2733     gnutls_supplemental_data_format_type_t enum type becomes empty.
2735 * Version 2.1.2 (released 2007-10-14)
2737 ** Removed all the trustdb code from openpgp authentication.
2738 We now use only the well-specified keyrings.
2740 ** The 256 bit ciphers are not enabled in the default priorities.
2742 ** Added support for DSA2 using libgcrypt 1.3.0.
2744 ** certtool: Fixed data corruption when using --outder.
2746 ** Removed all the xml related stubs and functions.
2748 ** Added capability to set a callback after the client hello is received
2749 by the server in order to adjust parameters before the handshake.
2751 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
2753 ** Corrected bug which did not allow a server to run without supporting
2754 certificates.
2756 ** Updated the DN parser which now prints wrongly decoded values as hex
2757 strings.
2759 ** certtool: Add option --quick-random.
2760 For generating low security test credentials.
2762 ** API and ABI modifications:
2763 gnutls_x509_crt_to_xml: REMOVED
2764 gnutls_openpgp_key_to_xml: REMOVED
2765 gnutls_openpgp_key_verify_trustdb: REMOVED
2766 gnutls_openpgp_trustdb_init: REMOVED
2767 gnutls_openpgp_trustdb_deinit: REMOVED
2768 gnutls_openpgp_trustdb_import: REMOVED
2769 gnutls_certificate_set_openpgp_trustdb: REMOVED
2770 gnutls_srp_client_credentials_function: CHANGED
2771 gnutls_handshake_set_post_client_hello_function: ADDED
2772 gnutls_mac_get_key_size: ADDED
2773 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
2774 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
2775 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
2777 * Version 2.1.1 (released 2007-09-24)
2779 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
2780 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
2781 compiled with Camellia support.  See the libgcrypt documentation on
2782 how to enable it.  Unconditionally disable it using the configure
2783 option --disable-camellia.  Fixes #1.
2785 ** Properly document in the NEWS file the API change in the last release.
2787 ** API and ABI modifications:
2788 No changes since last version.
2790 * Version 2.1.0 (released 2007-09-20)
2792 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
2793 The support is disabled by default.  Since no value has been allocated
2794 by the IANA for this extension yet, you will need to provide one
2795 yourself by invoking './configure --enable-opaque-prf-input=42'.
2796 Fixes #2.
2798 ** Example code: Fix compilation flaw under MinGW.
2800 ** API and ABI modifications:
2801 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
2802 gnutls_oprfi_enable_client: ADD, new function.
2803 gnutls_oprfi_enable_server: ADD, new function.
2805 * Version 2.0.4 (released 2007-11-16)
2807 ** Corrected bug in decompression of expanded compression data.           
2809 ** API and ABI modifications:
2810 No changes since last version.
2812 * Version 2.0.3 (released 2007-11-10)
2814 ** This version backports several fixes from the 2.1.x branch.
2816 ** Fixed PKCS #3 parameter export.
2818 ** Added gnutls_record_disable_padding() to allow servers talking to
2819 buggy clients that complain if the TLS 1.0 record protocol padding is
2820 used.
2822 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2823 all supported compatibility options (like disabling padding).
2825 ** Corrected bug which did not allow a server to run without supporting
2826 certificates.
2828 ** API and ABI modifications:
2829 gnutls_session_enable_compatibility_mode: ADDED
2830 gnutls_record_disable_padding: ADDED
2832 * Version 2.0.2 (released 2007-10-17)
2834 ** TLS authorization support removed.
2835 This technique may be patented in the future, and it is not of crucial
2836 importance for the Internet community.  After deliberation we have
2837 concluded that the best thing we can do in this situation is to
2838 encourage society not to adopt this technique.  We have decided to
2839 lead the way with our own actions.
2841 ** certtool: Fixed data corruption when using --outder.
2843 ** Fix configure-time Guile detection.
2845 ** API and ABI modifications:
2846 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2847     gnutls_supplemental_data_format_type_t enum type becomes empty.
2849 * Version 2.0.1 (released 2007-09-20)
2851 ** New directory doc/credentials/ with test credentials.
2852 This collects the test credentials from the web page and from src/.
2853 The script gnutls-http-serv has also been moved to that directory.
2855 ** Update SRP extension type and cipher suite with official IANA values.
2856 This breaks backwards compatibility with SRP in older versions of
2857 GnuTLS, but this is intentional to speed up the adoption of the
2858 official values.  The old values we used were incorrect.
2860 ** Guile: Fix `x509-certificate-dn-oid'
2862 ** API and ABI modifications:
2863 No changes since last version.
2865 * Version 2.0.0 (released 2007-09-04)
2867 ** Included copy of Libtasn1 upgraded to version 1.1.
2869 ** Disable building of some examples if anonymous ciphers are disabled.
2871 ** Don't build examples for disabled features.
2873 ** API and ABI modifications:
2874 No changes since last version.
2876 * Version 1.7.19 (released 2007-08-27)
2878 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
2879 This solves connection problems in mutt, see
2880 <http://bugs.debian.org/439640>.
2882 ** Update gnulib files.
2883 In particular, the getpass module -- with its dependencies on getline,
2884 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
2885 library) directory to the gl/ directory (only used by the command line
2886 tools).  The reason is that getpass is now only used by the
2887 command-line tools, and reducing the number of gnulib modules linked
2888 to the core library helps portability and reduces size.
2890 ** Fix warnings.
2892 ** Disable building of PGP examples if PGP is disabled.
2894 ** Included copy of OpenCDK upgraded to version 0.6.4.
2896 ** API and ABI modifications:
2897 No changes since last version.
2899 * Version 1.7.18 (released 2007-08-16)
2901 ** Install images for the info manual.
2902 This has a side effect of renaming the images.  See
2903 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
2904 discussions on the approach chosen.
2906 ** Fix pointer mix to variables of different size.
2907 Patch extracted from
2908 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
2910 ** Fix warnings during build.
2911 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
2913 ** API and ABI modifications:
2914 No changes since last version.
2916 * Version 1.7.17 (released 2007-08-15)
2918 ** New functions to perform external signing.
2919 Set the signing callback function (of the gnutls_sign_func prototype)
2920 using the gnutls_sign_callback_set function.  In the callback, you may
2921 find the new functions gnutls_x509_privkey_sign_hash and
2922 gnutls_openpgp_privkey_sign_hash useful.  A new function
2923 gnutls_sign_callback_get is also added, to retrieve the function
2924 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
2925 comments and testing.
2927 ** New self test of client and server authenticated X.509 TLS sessions.
2928 See tests/x509self.c and tests/x509signself.c.  The latter also tests
2929 the new external signing callback interface.
2931 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
2932 These two actually describe the outer limits of a range of error codes
2933 reserved to the application.  All of the errors are treated as fatal
2934 by the library (it has to since it doesn't know the semantics of the
2935 error codes).  This can be useful in callbacks, to signal some
2936 application-specific error condition, which will usually eventually
2937 cause some gnutls API to return the same error code as the callback,
2938 which then can be inspected by the application.  Note that error codes
2939 are negative.
2941 ** gnutls_set_default_priority now disable TLS 1.2 by default.
2942 The RFC is not released yet, and we're approaching a major release so
2943 let's not enable it just yet.
2945 ** Fix namespace so that gnutls_*_t is used consistently.
2946 Before, many places in the GnuTLS code used the old deprecated type
2947 names without the '_t' suffix.
2949 ** Build fixes for Guile code.
2950 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
2952 ** More documentation fixes.
2953 In particular, the section headings were modified for casing.  By
2954 Ludovic Courtes <ludovic.courtes@laas.fr>.
2956 ** Updated Polish and Swedish translations.
2957 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
2958 <po@danielnylander.se>.
2960 ** API and ABI modifications:
2961 gnutls_sign_func: ADD, new type for sign callback.
2962 gnutls_sign_callback_set: ADD, new function to set sign callback.
2963 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
2964 gnutls_x509_privkey_sign_hash,
2965 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
2966 GNUTLS_E_APPLICATION_ERROR_MIN,
2967 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
2969 * Version 1.7.16 (released 2007-08-07)
2971 ** Fix sanity checks and return values in certificate selection.
2972 In some cases, GnuTLS omitted to report suitable error codes when no
2973 suitable certificate was found.
2975 ** Fix gnutls-cli starttls EOF on Mac OS X.
2976 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
2978 ** Documentation fixes.
2979 In particular, the section headings were modified for casing.  By
2980 Ludovic Courtes <ludovic.courtes@laas.fr>.
2982 ** Update gnulib files.
2984 ** API and ABI modifications:
2985 No changes since last version.
2987 * Version 1.7.15 (released 2007-07-02)
2989 ** Fix self-tests key-id under mingw32.
2991 ** Test that the Guile header files are recent enough to work.
2992 Before we just tested that the command line tool 'guile' was recent
2993 enough, which may not be sufficient if you still have an old
2994 libguile.h header installed.
2996 ** Guile bindings are now installed under $prefix by default.
2997 Use --without-guile-site-dir to install it under $pkgdatadir/site/
2998 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
2999 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3000 The default, --with-guile-site-dir, will install the Guile bindings
3001 under $datadir/guile/site.  There is a new section 'Guile
3002 Preparations' in the manual that discuss these issues.
3004 ** Fix run-time library path ordering in linking the Guile bindings.
3006 ** Improved manual on downloading, installing, getting help, bug reports etc.
3007 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3009 ** Add Malay message translations.
3010 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3012 ** API and ABI modifications:
3013 No changes since last version.
3015 * Version 1.7.14 (released 2007-06-26)
3017 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3018 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3020 ** Fix memory leak during DSA signature verification.
3021 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3023 ** Fix crash in gnutls-cli when TLS handshake fails.
3024 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3025 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3026 <http://bugs.debian.org/429183>.
3028 ** Minor OpenPGP fixes in stream_to_datum.
3029 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3030 <ludovic.courtes@laas.fr>.
3032 ** Fix off-by-one in TLS 1.2 handshake.
3033 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3035 ** Minor Guile binding self-test cleanup.
3036 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3038 ** Update gnulib files.
3040 ** API and ABI modifications:
3041 No changes since last version.
3043 * Version 1.7.13 (released 2007-06-11)
3045 ** OpenCDK copy updated to version 0.6.3.
3047 ** Build fixes for GnuTLS Guile bindings.
3048 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3050 ** Build fix for GTK-DOC manual.
3052 ** Update gnulib files.
3054 ** API and ABI modifications:
3055 No changes since last version.
3057 * Version 1.7.12 (released 2007-06-08)
3059 ** Guile bindings for GnuTLS have been included.
3060 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3061 new chapter 'Guile Bindings' in the manual.
3063 ** Have PKCS8 parser return better error codes.
3064 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3065 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3066 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3068 ** Fix mem leak for sessions with client authentication via certificates.
3069 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3070 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3072 ** Fix mem leaks.
3073 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3074 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3075 self-test tests/parse_ca.c to test regressions.
3077 ** Fix build failures related to missing images in manual.
3078 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3080 ** Update gnulib files.
3082 ** API and ABI modifications:
3083 No changes since last version.
3085 * Version 1.7.11 (released 2007-05-26)
3087 ** Include opencdk.h in the release.
3088 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3090 ** API and ABI modifications:
3091 No changes since last version.
3093 * Version 1.7.10 (released 2007-05-25)
3095 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3096 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3098 ** Update of gnulib files.
3100 ** GnuTLS is now developed in GIT instead of CVS.
3101 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3103 ** API and ABI modifications:
3104 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3105 gnutls_x509_crt_get_raw_dn: ADD.
3107 * Version 1.7.9 (released 2007-05-12)
3109 ** X.509 certificates are preferred over OpenPGP keys.
3110 This is a change in the semantics of gnutls_set_default_priority.
3112 ** The included copy of OpenCDK has been updated to 0.6.1.
3113 There has been some API changes in OpenCDK, and the GnuTLS layer have
3114 been modified as well.  Note that while there are API/ABI incompatible
3115 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3116 its API/ABI have not changed.  From this version on, GnuTLS requires
3117 OpenCDK 0.6.0 or later.
3119 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3121 ** Change certtool's default serial number from 0 to a time-based value.
3123 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3124 Before, we remove the parameters field, which resulted in a slightly
3125 different DER encoding which in turn caused signature verification
3126 failures of GnuTLS-generated RSA certificates in some other
3127 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3128 you read, this may or may not be correct, but our new behaviour appear
3129 to be consistent with other widely used implementations.
3131 ** Fix mem leaks in gnutls_x509_crt_print.
3133 ** API and ABI modifications:
3134 No changes since last version.
3136 * Version 1.7.8 (released 2007-04-16)
3138 ** Added examples for the authorization extension.
3139 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3141 ** The examples only use gnutls_set_default_priority().
3142 The exception is when DH_ANON is needed.
3144 ** Improve gnutls_set_default_priority() priorities.
3145 The new approach is for it to try and negotiate all secure and
3146 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3147 LZO compressions are not enabled by default, because they are,
3148 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3149 not be enabled by default in non-experimental release until it has
3150 been approved by the IETF.
3152 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3153 This means that to get DH_ANON and LZO compression, you'll need to
3154 specify that manually using '--kx anon' or '--comp lzo'.
3156 ** Minor fixes to the human display format of X.509 certificates.
3158 ** New APIs to extract Distinguished Name's from X.509 certificates.
3159 Based on patch from Howard Chu <hyc@symas.com>.
3161 ** Improved library searching for opencdk.
3162 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3163 The deprecated opencdk.m4 is no longer used.
3165 ** New APIs to list supported algorithms in the library.
3166 The APIs are gnutls_cipher_list, gnutls_mac_list,
3167 gnutls_compression_list, gnutls_protocol_list,
3168 gnutls_certificate_type_list, gnutls_kx_list, and
3169 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3171 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3173 ** New configure option --disable-tls-authorization to disable tls-authz.
3175 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3176 The last parameter was renamed from 'flags' to 'format' and the type
3177 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3178 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3179 (Ludovic Courtès).
3181 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3182 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3184 ** API and ABI modifications:
3185 gnutls_x509_dn_t: ADD.
3186 gnutls_x509_ava_st: ADD.
3187 gnutls_x509_crt_get_subject,
3188 gnutls_x509_crt_get_issuer: ADD.
3189 gnutls_x509_dn_get_rdn_ava: ADD.
3190 gnutls_cipher_list: ADD.
3191 gnutls_mac_list: ADD.
3192 gnutls_compression_list: ADD.
3193 gnutls_protocol_list: ADD.
3194 gnutls_certificate_type_list: ADD.
3195 gnutls_kx_list: ADD.
3196 gnutls_cipher_suite_info: ADD.
3198 * Version 1.7.7 (released 2007-02-22)
3200 ** Support for supplemental handshake messages and authorization data.
3201 Supplemental data is described in RFC 4680 and the authorization
3202 extensions in draft-housley-tls-authz-extns-07.
3204 ** Support for authorization data in gnutls-cli and gnutls-serv.
3205 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3207 ** Fix for gnutls_x509_crt_check_hostname.
3208 Before it would have reported that the certificate matched a hostname
3209 when it did not have any dNSName or any CN field.  Report and tiny
3210 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3212 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3213 Tests regressions of the bug, and several other features.
3215 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3216 Before there were no support for iPAddress SAN's during comparison.
3218 ** New API to print information about CRL's.
3219 The function is gnutls_x509_crl_print.
3221 ** New API to extract signature value from CRL's.
3222 The function is gnutls_x509_crl_get_signature.
3224 ** Support for directoryName Subject Alternative Name's.
3225 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3226 string in the provided buffer.
3228 ** Internal improvements to certtool.
3229 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3230 more gnulib modules to simplify error handling.
3232 ** API and ABI modifications:
3233 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3234 gnutls_supplemental_data_format_type_t: ADD.
3235 gnutls_authz_data_format_type_t: ADD.
3236 gnutls_supplemental_get_name: ADD.
3237 gnutls_authz_recv_callback_func,
3238 gnutls_authz_send_callback_func: ADD, callback prototypes.
3239 gnutls_authz_enable: ADD.
3240 gnutls_authz_send_x509_attr_cert,
3241 gnutls_authz_send_saml_assertion,
3242 gnutls_authz_send_x509_attr_cert_url,
3243 gnutls_authz_send_saml_assertion_url: ADD.
3244 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3245 gnutls_x509_crl_print: ADD.
3246 gnutls_x509_crl_get_signature: ADD.
3248 * Version 1.7.6 (released 2007-02-12)
3250 ** Support for 'otherName' Subject Alternative Names.
3251 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3252 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3253 To find out the otherName OID (necessary for proper parsing of the
3254 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3255 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3256 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3257 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3259 ** Certtool can print otherName SAN values for certificates.
3260 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3261 RFC 3920), it will also print the name.
3263 ** Fix TLS 1.2 RSA signing in servers.
3264 Before it used the old-style MD5+SHA1 signature, but the TLS
3265 signatures should be normal PKCS#1 signatures.  FYI, we use and
3266 require that DigestInfo parameters are present and NULL for TLS 1.2.
3268 ** Add APIs to access X.509 extensions sequentially.
3269 The existing APIs gnutls_x509_crt_get_extension_oid() and
3270 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3271 inspect the extensions in the order defined by the certificate.
3273 ** Add API to extract signature value from X.509 certificates.
3274 The function is gnutls_x509_crt_get_signature.
3276 ** Fix crash when generating proxy certificates in batch mode.
3277 If you don't specify a proxy policy in batch mode, it will use
3278 id-ppl-inheritALL.
3280 ** Add API to print information about X.509 certificates.
3281 The function is gnutls_x509_crt_print.
3283 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3284 One consequence of this is that the output syntax has changed
3285 slightly.  Some more fields are printed.
3287 ** Doc fixes.
3289 ** API and ABI modifications:
3290 gnutls_x509_crt_print: ADD
3291 gnutls_certificate_print_formats_t: ADD, new enum.
3292 gnutls_x509_crt_get_signature: ADD.
3293 gnutls_x509_crt_get_extension_data: ADD.
3294 gnutls_x509_crt_get_extension_info: ADD.
3295 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3296 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3297 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3299 * Version 1.7.5 (released 2007-02-06)
3301 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3302 ** is set.
3304 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3306 ** Fix --list output for gnutls-cli and gnutls-serv.
3307 Mention TLS1.2, SHA512 etc.
3309 ** Manual contains new section on setting up a test HTTP server.
3310 A server set up following those descriptions are available online via
3311 <http://www.gnutls.org/server.html>.
3313 ** Update of gnulib files.
3315 ** API and ABI modifications:
3316 No changes since last version.
3318 * Version 1.7.4 (released 2007-02-05)
3320 ** Support for RSA signing using SHA-256/384/512.
3321 A new self test "sha2" tries to build a long X.509 certificate chain
3322 testing all new hashes.
3324 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3326 ** Discuss proxy certificates in the manual.
3328 ** Improve bibliographical citations in the manual.
3330 ** Update of gnulib files.
3332 ** Fix certtool template handling of pathLenConstraints.
3333 It now defaults to -1 instead of 0, which causes the field to be
3334 missing unless the template specify it.
3336 ** API and ABI modifications:
3337 GNUTLS_MAC_SHA256,
3338 GNUTLS_MAC_SHA384,
3339 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3340 GNUTLS_DIG_SHA256,
3341 GNUTLS_DIG_SHA384,
3342 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3343 GNUTLS_SIGN_RSA_SHA256,
3344 GNUTLS_SIGN_RSA_SHA384,
3345 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3347 * Version 1.7.3 (released 2007-02-01)
3349 ** New option to certtool: --generate-proxy.
3350 This will generate a Proxy Certificate from an end entity certificate.
3351 Proxy Certificates are documented in RFC 3820.  You will need to
3352 specify the proxy certificate's private key with --load-privkey, the
3353 user certificate with --load-certificate and the private key used to
3354 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3355 query for proxy path length and the policy language OID.  Currently
3356 only OIDs that have an empty policy are supported (which includes the
3357 two OIDs defined by RFC 3820).
3359 ** Certtool --certificate-info now prints information for Proxy Certificates.
3360 Before the proxy extension was just printed as DER encoded data.
3362 ** New APIs to set proxy subject names and get/set proxy cert extension.
3364 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3366 ** Added self-test to test for regressions of pathLenConstraint bug.
3367 Incidentally, this also test (some) other regressions or changes in
3368 the output from certtool --certificate-info.
3370 ** When certtool generates CA certificates, pressing enter on the path
3371 ** length constraint query will now remove the field.
3372 Before it set the path length constraint to 0, which is a rather poor
3373 default.
3375 ** Certtool now print times in UTC when printing certificate/CRL info.
3377 ** Add better fix to work around C++ compiler bug on Mac OS X.
3378 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3380 ** Fix import of ASCII armored OpenPGP keys.
3381 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3383 ** Update of gnulib files.
3385 ** API and ABI modifications:
3386 gnutls_x509_crt_set_proxy_dn: ADD.
3387 gnutls_x509_crt_set_proxy: ADD.
3388 gnutls_x509_crt_get_proxy: ADD.
3390 * Version 1.7.2 (released 2007-01-14)
3392 ** Certtool now print the value of the pathLenConstraints field for certs.
3394 ** Certtool now query for path length constraints when generating CA certs.
3395 For batch uses, the certtool configuration name is "path_len".
3396 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3398 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3399 The new functions gnutls_x509_crt_get_basic_constraints and
3400 gnutls_x509_crt_set_basic_constraints provide a superset of the
3401 functionality in the old gnutls_x509_crt_get_ca_status and
3402 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3403 will continue to be supported.
3405 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3406 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3407 OpenCDK release with this patch will be made soon, which should bump
3408 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3410 ** Certtool --to-p12 can now store more than one certificate in the blob.
3411 Before it could only store one certificate, but now it will read and
3412 store as many certificate there are from the --load-certificate file.
3413 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3415 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3416 In particular, the OpenPGP function variables are no longer part of
3417 the exported libgnutls interface, and no header files from
3418 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3419 were never intended for non-internal purposes, and thus this does not
3420 imply a change in the external API/ABI.
3422 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3423 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3425 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3426 Before these parameters were set to make GnuTLS build under mingw32,
3427 however, they appear to no longer be necessary.
3429 ** A minor fix to the C++ library to make it build.
3430 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3432 ** Update of gnulib files.
3434 ** API and ABI modifications:
3435 gnutls_x509_crt_get_basic_constraints: ADD.
3436 gnutls_x509_crt_set_basic_constraints: ADD.
3437 cdk_pubkey_to_sexp: ADD (in opencdk).
3438 cdk_seckey_to_sexp: ADD (in opencdk).
3440 * Version 1.7.1 (released 2006-12-28)
3442 ** TLS 1.2 server side fix.
3443 The Certificate Request sent did not contain the list of supported
3444 hashes field, thus violating the protocol.  It will now contain an
3445 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3447 ** TLS 1.2 DSA signature verification fix.
3448 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3450 ** Fix the list of trusted CAs that server's send to clients.
3451 Before, the list contained issuer DN's instead of subject DN's of the
3452 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3454 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3455 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3456 function.  Reported by Max Kellermann <max@duempel.org>.
3458 ** Encode UID fields in DN's as DirectoryString.
3459 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3460 incorrect, it should have used DirectoryString.  Now it will use
3461 DirectoryString for the UID field, but for backwards compatibility it
3462 will also accept IA5String UID's.  Reported by Max Kellermann
3463 <max@duempel.org>.
3465 ** Improve out-of-sourcedir builds from CVS.
3466 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3468 ** Bootstrap tools changed.
3469 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3470 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3472 ** Fixed a syntax error in lib/gnutls.asn.
3473 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3475 ** Added German translation of GnuTLS messages.
3477 ** Update of gnulib files.
3479 ** API and ABI modifications:
3480 No changes since last version.
3482 * Version 1.7.0 (released 2006-11-29)
3484 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3485 The details is that the protocol priority set by
3486 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3487 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3489 ** Preliminary support for TLS 1.2.
3490 The client has been successfully tested against
3491 https://www.mikestoolbox.org:4433/.
3493 ** Anonself test now print a lot of debugging info, including TLS version.
3495 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3497 ** Update of gnulib files.
3499 ** API and ABI modifications:
3500 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3502 *** Pulled up from stable 1.6.x branch:
3504 ** Fix ./configure failure with non-GCC compilers.
3505 This fixes the following error message:
3506 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3507 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3509 * Version 1.6.3 (released 2007-05-26)
3511 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3512 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3513 from the 1.7.x branch, see
3514 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3516 ** Have PKCS8 parser return better error codes.
3517 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3518 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3519 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3521 ** Fix mem leak for sessions with client authentication via certificates.
3522 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3523 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3525 ** Fix building of 'tlsia' self test.
3526 Earlier some gcc are known to build tlsia linking to
3527 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3528 the build directory, even though command line parameters look OK.
3529 Changing order of some parameters fixes it.
3531 ** API and ABI modifications:
3532 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3533 gnutls_x509_crt_get_raw_dn: ADD.
3535 * Version 1.6.2 (released 2007-04-18)
3537 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3538 Before, we remove the parameters field, which resulted in a slightly
3539 different DER encoding which in turn caused signature verification
3540 failures of GnuTLS-generated RSA certificates in some other
3541 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3542 you read, this may or may not be correct, but our new behaviour appear
3543 to be consistent with other widely used implementations.
3545 ** Regenerate the PKIX ASN.1 syntax tree.
3546 For some reason, after changing the ASN.1 type of ldap-UID in the last
3547 release, the generated C file built from the ASN.1 schema was not
3548 refreshed.  This can cause problems when reading/writing UID
3549 components inside X.500 Distinguished Names.  Reported by devel
3550 <dev001@pas-world.com>.
3552 ** Updated translations.
3554 ** API and ABI modifications:
3555 No changes since last version.
3557 * Version 1.6.1 (released 2006-12-28)
3559 ** Fix the list of trusted CAs that server's send to clients.
3560 Before, the list contained issuer DN's instead of subject DN's of the
3561 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3563 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3564 Reported by Max Kellermann <max@duempel.org>.
3566 ** Encode UID fields in DN's as DirectoryString.
3567 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3568 incorrect, it should have used DirectoryString.  Now it will use
3569 DirectoryString for the UID field, but for backwards compatibility it
3570 will also accept IA5String UID's.  Reported by Max Kellermann
3571 <max@duempel.org>.
3573 ** Fix ./configure failure with non-GCC compilers.
3574 This fixes the following error message:
3575 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3576 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3578 ** API and ABI modifications:
3579 No changes since last version.
3581 * Version 1.6.0 (released 2006-11-17)
3583 ** No changes since 1.5.5.
3584 The major changes compared to the 1.4.x branch are:
3586 *** A GnuTLS C++ library is part of the official distribution.
3587 Currently there are no examples or documentation, but hopefully this
3588 will change.  See gnutlsxx.h for the API.
3590 *** Windows is a supported platform.
3591 There are, however, two know bugs.  One is related to select() in
3592 command line tools (not, nota bene, in the library), the other is a
3593 problem with libgcrypt that causes delays.  Help is needed to resolve
3594 those issues, so we feel we can't delay the release because of this.
3596 *** New APIs for custom push/pull function error reporting.
3597 The new APIs are gnutls_transport_set_errno and
3598 gnutls_transport_set_global_errno.  See the release notes for version
3599 1.5.4 for more information.
3601 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3603 * Version 1.5.5 (released 2006-11-16)
3605 ** Correctly bump shared library version after adding new APIs.
3606 This was forgotten in the last release.
3608 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3609 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3611 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3613 ** Update of gnulib files.
3615 ** API and ABI modifications:
3616 No changes since last version.
3618 * Version 1.5.4 (released 2006-11-07)
3620 ** New API functions to set errno in push/pull functions.
3621 Under Windows, setting the errno variable in a push/pull replacement
3622 may end up setting the wrong errno variable, and GnuTLS send/recv
3623 functions become confused about the real errno returned from a failed
3624 push/pull function.  Therefor, we have added two APIs to set the errno
3625 variable used by GnuTLS.  The APIs can also help to keep things
3626 thread-safe, by avoiding potentially global variables.  Typically,
3627 instead of setting errno in your push/pull function, you will call one
3628 of these functions.  It is recommended to use
3629 gnutls_transport_set_errno, but if you don't have the session variable
3630 easily accessible in the push/pull replacement function, you can use
3631 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3632 <tim.kosse@filezilla-project.org>.
3634 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3635 void gnutls_transport_set_global_errno (int err);
3637 ** When calling `recv' or `send' Windows errors are handled properly.
3638 The Windows recv/send functions doesn't use errno, and GnuTLS now use
3639 WSAGetLastError to access the error condition instead.
3641 ** Several OpenPGP API fixes.
3642 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
3643 important fix is to change the return value of
3644 gnutls_openpgp_privkey_get_pk_algorithm and
3645 gnutls_openpgp_key_get_pk_algorithm from 'int' to
3646 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
3647 compatible with 'int').
3649 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3650 ** version, try to negotiate the highest version support by the GnuTLS server,
3651 ** instead of the lowest.
3652 Reported by <Pasi.Eronen@nokia.com>.
3654 ** Replace old constructs with use of gnulib modules.
3655 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
3656 the code.  If the headers doesn't exist on the target system, gnulib
3657 will make sure its replacement header files are used instead.
3659 ** Fix SOVERSION computation for *.def files.
3660 This fixes build errors similar to "No rule to make target
3661 `libgnutls-`expr', needed by `all-am'." when building for Windows.
3663 ** gnutls_check-version uses strverscmp from gnulib.
3665 ** Update of gnulib files.
3667 ** API and ABI modifications:
3668 gnutls_transport_set_errno: ADD
3669 gnutls_transport_set_global_errno: ADD
3671 * Version 1.5.3 (released 2006-10-26)
3673 ** Add new self-test of RSA-MD5 signature chains.
3674 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
3675 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
3676 and is based on the work by Marc Stevens et al, see
3677 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
3679 ** Re-factor self tests.
3681 ** The include copy of Libtasn1 is updated to version 0.3.7.
3683 ** The included copy of OpenCDK is updated to version 0.5.11.
3685 ** Fix the filename of the *.def file on Windows after library version bump.
3687 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
3688 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
3689 gnulib modules.  Earlier we could only use the LGPL'ed module from
3690 gnulib, because two gnulib directories in the same project didn't
3691 work.
3693 ** API and ABI modifications:
3694 No changes since last version.
3696 * Version 1.5.2 (released 2006-10-03)
3698 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
3699 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
3700 shared library version than this version, so you'll have to remove
3701 them and possibly relink your applications.  The reason for this is
3702 that no API/ABI changes have been made since the 1.4.x branch, and
3703 that incrementing the shared library version was a mistake.  Reported
3704 by Andreas Metzler <ametzler@downhill.at.eu.org>.
3706 ** Fix off-by-one error when computing length to malloc.
3707 The code is used by gnutls_openpgp_add_keyring_file and
3708 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
3709 <agl@imperialviolet.org>.
3711 ** Add version script for the GnuTLS C++ library.
3712 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3714 ** Fix the C++ compiler detection logic.
3715 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3717 ** Update of gnulib files.
3719 ** API and ABI modifications:
3720 No changes since last version.
3722 * Version 1.5.1 (released 2006-09-21)
3724 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3725 ** Crypto 06 rump session attack.
3726 In particular, we check that the digestAlgorithm.parameters field is
3727 missing or empty, to avoid that it can contain "garbage" that may be
3728 used to alter the numeric properties of the signature.  See
3729 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3730 not exactly the same as the problem we fix here).  Reported by Yutaka
3731 OIWA <y.oiwa@aist.go.jp>.
3733 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3734 up to date information.
3736 ** Add self test to test for above flaw.
3738 ** Fix gnutls-cli-debug regarding resume support detection.
3739 Earlier, if the session-id from the server had a length of 0, it would
3740 indicate that the server supports resumption, which isn't the case.
3741 Reported by Kataja Kai <kai.kataja@op.fi>.
3743 ** Fix building of examples on FreeBSD by including netinet/in.h.
3744 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3746 ** Fix certtool bug that caused the private key to not be loaded when
3747 generating a certificate with --load-request, which in turn triggered
3748 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
3749 by Sascha Ziemann <sascha.ziemann@secunet.com>.
3751 ** gnutls-cli and gnutls-serv works on Windows.
3752 The problem was the select() call that doesn't work on file
3753 descriptors (stdin) on Windows.  We borrowed some code from plibc to
3754 solve this.  It appears to be somewhat unreliable though.
3756 ** Autoconf 2.60 is now used.
3758 ** API and ABI modifications:
3759 No changes since last version.
3761 * Version 1.5.0 (released 2006-08-13)
3763 ** Change SRP and Cert-Type extensions to match IANA registry.
3765 ** Fixed bug in OpenPGP authentication handshake.
3767 ** Improvements for building under MinGW.
3768 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
3769 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
3770 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
3771 at run-time from ws2_32.dll, and falls back on a simple replacement if
3772 it is not available.  Builds the library with -mms-bitfields
3773 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
3774 create *.def files, which are installed.
3776 ** The examples now (conditionally) include config.h and link to gnulib.
3777 No other source changes were necessary, so the examples should
3778 continue to be possible to use stand-alone without any autoconf or
3779 gnulib stuff.
3781 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
3782 You may unconditionally disable it with --disable-cxx.  See
3783 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
3784 implementation.
3786 ** Made command line tool '--version' behave according to GNU Standards.
3787 This enables 'make distcheck' to succeed.
3789 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3791 ** Make --without-included-libtasn1 work.
3792 Reported by Daniel Black <dragonheart@gentoo.org>.
3794 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3795 See http://www.gnu.org/software/gnutls/security.html regardging
3796 GNUTLS-SA-2006-2 for more up to date information.  Reported by
3797 satyakumar <satyam_kkd@hyd.hellosoft.com>.
3799 ** API and ABI modifications:
3800 No changes since last version.
3802 * Version 1.4.5 (released 2006-11-06)
3804 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3805 ** version, try to negotiate the highest version support by the GnuTLS server,
3806 ** instead of the lowest.
3807 Reported by <Pasi.Eronen@nokia.com>.
3809 ** Fix typo in doc/examples/ex-serv-pgp.c.
3810 Reported by Adam Langley" <agl@imperialviolet.org>.
3812 ** API and ABI modifications:
3813 No changes since last version.
3815 * Version 1.4.4 (released 2006-09-12)
3817 ** Relax the test that caught signatures that exploit the variant of
3818 ** Bleichenbacher's Crypto 06 rump session attack on our
3819 ** verification logic flaw.
3820 In particular, we now permit the digestAlgorithm.parameters field to
3821 be present but empty, whereas in 1.4.3 we actually checked that the
3822 field was absent.
3824 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
3825 The messages are only printed in debug mode, which is not recommended
3826 for normal use, and thus logging this situation cannot be abused as an
3827 oracle in typical recommended situations.
3829 ** API and ABI modifications:
3830 No changes since last version.
3832 * Version 1.4.3 (released 2006-09-08)
3834 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3835 ** Crypto 06 rump session attack.
3836 In particular, we check that the digestAlgorithm.parameters field is
3837 empty, to avoid that it can contain "garbage" that may be used to
3838 alter the numeric properties of the signature.  See
3839 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3840 not exactly the same as the problem we fix here).  Reported by Yutaka
3841 OIWA <y.oiwa@aist.go.jp>.
3843 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3844 up to date information.
3846 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
3847 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
3848 Reported by Werner Koch <wk@gnupg.org>.
3850 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
3851 up to date information.
3853 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
3855 ** API and ABI modifications:
3856 No changes since last version.
3858 * Version 1.4.2 (released 2006-08-12)
3860 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3861 This can happen if you call gnutls_certificate_verify_peers2 and have
3862 a certain mix of local CA certificates and the peer send special
3863 certificates, that together trigger certain behaviour.  It is not
3864 known at this point whether the crash can be triggered without the
3865 special local CA certificate, and thus turn this into a remote crash
3866 of clients that verify server certificates when they talk to a server
3867 with the special server certificate.  See GNUTLS-SA-2006-2 on
3868 http://www.gnu.org/software/gnutls/security.html for more up to date
3869 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
3871 ** Change SRP and Cert-Type extensions to match IANA registry.
3873 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3875 ** Make --without-included-libtasn1 work.
3876 Reported by Daniel Black <dragonheart@gentoo.org>.
3878 ** API and ABI modifications:
3879 No changes since last version.
3881 * Version 1.4.1 (released 2006-06-14)
3883 ** Replaced inactive ifdefs to enable openpgp support in test programs.
3885 ** Fixed bug in OpenPGP authentication handshake.
3887 ** Fixed typographical in man pages.
3889 ** Build fixes of the manual.
3891 ** Added Swedish translation.
3893 ** API and ABI modifications:
3894 No changes since last version.
3896 * Version 1.4.0 (released 2006-05-15)
3898 ** Remove GnuTLS 0.8.x compatibility functions.
3900 ** The libgcrypt RNG is initialized in gnutls_global_init().
3902 ** TLS/IA API changes from Emile van Bergen.
3903 A dummy credential structure is not needed now, if you wish to use the
3904 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
3905 a session.
3907 ** The self-tests are now run under valgrind, if it is installed.
3909 ** Libtasn1 is updated to 0.3.4, and that version is now required.
3911 ** The command line tools now use getaddrinfo and support IPv6.
3913 ** API and ABI modifications:
3914 _gnutls_x509_get_raw_crt_activation_time,
3915 _gnutls_x509_get_raw_crt_expiration_time: Removed.
3916 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
3917 gnutls_ia_enable: Added.
3919 * Version 1.3.5 (released 2006-03-08)
3921 ** Error messages are now translated using GNU Gettext.
3923 ** The function gnutls_x509_crt_to_xml now return an internal error.
3924 This means that the code to convert X.509 certificates to XML format
3925 does not work any more.  The reason is that the function called
3926 libtasn1 internal functions.  It seems unclean for libtasn1 to export
3927 the APIs needed here.  Instead it would be better to implement XML
3928 support inside libtasn1 properly.  If you need this functionality
3929 strongly, please consider looking into implementing this suggested
3930 approach instead.  As a workaround, you may also modify lib/x509/xml.c
3931 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
3933 ** Libraries are now built with libtool's -no-undefined.
3934 This helps producing libraries for Windows using mingw32.
3936 ** Doc fixes to explain that gnutls_record_send can block.
3938 ** Libtasn1 0.3.1 or later is now required.
3939 The include copy has been updated too.
3941 ** gnutls-cli can now recognize services and port numbers with the -p option.
3943 ** API and ABI modifications:
3944 No changes since last version.
3946 * Version 1.3.4 (released 2006-02-09)
3948 ** Fix read of out bounds bug in DER parser.
3949 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
3950 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
3951 previous bug fix.  The included libtasn1 version in GnuTLS has been
3952 updated.
3954 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
3955 longer invalidate a session if the underlying send fails, but it will 
3956 prevent future writes. That is to allow reading the already received data.
3957 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
3959 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
3960 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
3961 more than one certificates were added. Report and patch by Max Kellermann.
3963 ** Fix build problems of OpenCDK on AIX.
3964 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
3966 ** API and ABI modifications:
3967 No changes since last version.
3969 * Version 1.3.3 (released 2006-01-12)
3971 ** New API to access the TLS master secret.
3972 When possible, you should use the TLS PRF functions instead.
3973 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
3975 ** Improved handling when multiple libraries use GnuTLS at the same time.
3976 Now gnutls_global_init() can be called multiple times, and
3977 gnutls_global_deinit() will only deallocate the structure when it has
3978 been called as many times as gnutls_global_init() was called.
3980 ** Added a self test of TLS resume functionality.
3982 ** Fix crash in TLS resume code, caused by TLS/IA changes.
3984 ** Documentation fixes about thread unsafety, prompted by
3985 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
3986 In particular, gnutls_global_init() and gnutls_global_deinit() are not
3987 thread safe.  Careful callers may want to protect the call using a
3988 mutex.  The problem could also be ignored, which would cause a memory
3989 leak under rare conditions when two threads invoke the function
3990 roughly at the same time.
3992 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
3994 ** The code was indented again, including the external header files.
3996 ** API and ABI modifications:
3997 New functions to retrieve the master secret value:
3998   gnutls_session_get_master_secret
4000 Add a 'const' keyword to existing API:
4001   gnutls_x509_crq_get_challenge_password
4003 * Version 1.3.2 (released 2005-12-15)
4005 ** GnuTLS now support TLS Inner application (TLS/IA).
4006 This is per draft-funk-tls-inner-application-extension-01.  This
4007 functionality is added to libgnutls-extra, so it is licensed under the
4008 GNU General Public License.
4010 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4011 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4012 and EAP-TTLS.  One function to access the raw PRF and one to access
4013 the PRF seeded with the client/server random fields are provided.
4014 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4016 ** New APIs to acceess the client and server random fields in a session.
4017 These fields can be useful by protocols using TLS.  Note that these
4018 fields are typically used as input to the TLS PRF, and if this is your
4019 intended use, you should use the TLS PRF API that use the
4020 client/server random field directly.  Suggested by Jouni Malinen
4021 <jkmaline@cc.hut.fi>.
4023 ** Internal type cleanups.
4024 The uint8, uint16, uint32 types have been replaced by uint8_t,
4025 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4026 correct types on platforms that lack them.  The uint type have been
4027 replaced by unsigned.
4029 ** API and ABI modifications:
4030 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4031   gnutls_prf
4032   gnutls_prf_raw
4034 New functions to retrieve the session's client and server random values:
4035   gnutls_session_get_server_random
4036   gnutls_session_get_client_random
4038 New function, to perform TLS/IA handshake:
4039   gnutls_ia_handshake
4041 New function to decide whether to do a TLS/IA handshake:
4042   gnutls_ia_handshake_p
4044 New functions to allocate a TLS/IA credential:
4045   gnutls_ia_allocate_client_credentials
4046   gnutls_ia_free_client_credentials
4047   gnutls_ia_allocate_server_credentials
4048   gnutls_ia_free_server_credentials
4050 New functions to handle the AVP callback:
4051   gnutls_ia_set_client_avp_function
4052   gnutls_ia_set_client_avp_ptr
4053   gnutls_ia_get_client_avp_ptr
4054   gnutls_ia_set_server_avp_function
4055   gnutls_ia_set_server_avp_ptr
4056   gnutls_ia_get_server_avp_ptr
4058 New functions, to toggle TLS/IA application phases:
4059   gnutls_ia_require_inner_phase
4061 New function to mix session keys with inner secret:
4062   gnutls_ia_permute_inner_secret
4064 Low-level API (used internally by gnutls_ia_handshake):
4065   gnutls_ia_endphase_send
4066   gnutls_ia_send
4067   gnutls_ia_recv
4069 New functions that can be used after successful TLS/IA negotiation:
4070   gnutls_ia_generate_challenge
4071   gnutls_ia_extract_inner_secret
4073 Enum type with TLS/IA modes:
4074   gnutls_ia_mode_t
4076 Enum type with TLS/IA packet types:
4077   gnutls_ia_apptype_t
4079 Enum values for TLS/IA alerts:
4080   GNUTLS_A_INNER_APPLICATION_FAILURE
4081   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4083 New error codes, to signal when an application phase has finished:
4084   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4085   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4087 New error code to signal TLS/IA verify failure:
4088   GNUTLS_E_IA_VERIFY_FAILED
4090 * Version 1.3.1 (released 2005-12-08)
4092 ** Support for DHE-PSK cipher suites has been added.
4093 This method offers perfect forward secrecy.
4095 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4096 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4098 ** Corrected a bug in certtool for 64 bit machines. Reported
4099 by Max Kellermann <max@duempel.org>.
4101 ** New function to set a X.509 private key and certificate pairs, and/or
4102 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4103 <emile@e-advies.nl>.
4105 The integrity of the PKCS#12 file is protected through a password
4106 based MAC; public-key based signatures for integrity protection are
4107 not supported.  PKCS#12 bags may be encrypted using password derived
4108 symmetric keys, public-key based encryption is not supported.  The
4109 PKCS#8 keys may be encrypted using passwords.  The API use the same
4110 password for all operations.  We believe that any more flexibility
4111 create too much complexity that would hurt overall security, but may
4112 add more PKCS#12 related APIs if real-world experience indicate
4113 otherwise.
4115 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4116 reported by Emile van Bergen <emile@e-advies.nl>.
4117 This will enable "certtool -k -8" to parse those keys.
4119 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4120 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4121 certtool would have encrypted the key using an empty password.
4123 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4124 Earlier it would have prompted the user for it, even if --password was
4125 supplied.
4127 ** Added self test of PKCS#8 parsing.
4128 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4129 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4130 tests/pkcs8.
4132 ** API and ABI modifications:
4133 New function to set X.509 credentials from a PKCS#12 file:
4134   gnutls_certificate_set_x509_simple_pkcs12_file
4136 New gnutls_kx_algorithm_t enum type:
4137   GNUTLS_KX_DHE_PSK
4139 New API to return session data (basically same as gnutls_session_get_data):
4140   gnutls_session_get_data2
4142 New API to set PSK Diffie-Hellman parameters:
4143   gnutls_psk_set_server_dh_params
4145 * Version 1.3.0 (2005-11-15)
4147 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4148 This add several new APIs, see below.  Read the updated manual for
4149 more information.  A new self test "pskself" has been added, that will
4150 test this functionality.
4152 ** The session resumption data are now system independent.
4154 ** The code has been re-indented to conform to the GNU coding style.
4156 ** Removed the RIPEMD ciphersuites.
4158 ** Added a discussion of the internals of gnutls in manual.
4160 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4162 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4164 ** Make sure config.h is included first in a few files, from Albert Chin.
4166 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4168 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4169 from Albert Chin.
4171 ** API and ABI modifications:
4172 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4174 New gnutls_credentials_type_t credential type:
4175   GNUTLS_CRD_PSK
4177 New credential types:
4178   gnutls_psk_server_credentials_t
4179   gnutls_psk_client_credentials_t
4181 New functions to allocate PSK credentials:
4182   gnutls_psk_allocate_client_credentials
4183   gnutls_psk_free_client_credentials
4184   gnutls_psk_free_server_credentials
4185   gnutls_psk_allocate_server_credentials
4187 New enum type for PSK key flags:
4188   gnutls_psk_key_flags
4190 New function prototypes for credential callback:
4191   gnutls_psk_client_credentials_function
4192   gnutls_psk_server_credentials_function
4194 New function to set PSK username and key:
4195   gnutls_psk_set_client_credentials
4197 New function to set PSK passwd file:
4198   gnutls_psk_set_server_credentials_file
4200 New function to extract PSK user in server:
4201   gnutls_psk_server_get_username
4203 New functions to set PSK callback:
4204   gnutls_psk_set_server_credentials_function
4205   gnutls_psk_set_client_credentials_function
4207 Use size_t instead of int for output size parameter:
4208   gnutls_srp_base64_encode
4209   gnutls_srp_base64_decode
4211 * Version 1.2.11 (2006-05-11)
4212 - The function gnutls_x509_crt_to_xml is not supported any more, and
4213   return an internal error.  The reason is that the function called
4214   internal libtasn1 functions which are no longer exported from
4215   libtasn1.
4216 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4217 - Updated gnulib compatibility files.
4218 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4219   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4220 - API and ABI modifications:
4221   No changes since last version.
4223 * Version 1.2.10 (2006-02-09)
4224 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4225   <admin@gleg.net>, and debugging help from Protover SSL.
4226 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4227   The included version has been updated too.
4228 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4229   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4230 - Corrected a bug in certtool for 64 bit machines. Reported
4231   by Max Kellermann <max@duempel.org>.
4232 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4233   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4234   more than one certificates were added. Report and patch by Max Kellermann.
4235 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4236   longer invalidate a session if the underlying send fails, but it will 
4237   prevent future writes. That is to allow reading the already received data.
4238   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4240 * Version 1.2.9 (2005-11-07)
4241 - Documentation was updated and improved.
4242 - RSA-MD2 is now supported for verifying digital signatures.
4243 - Due to cryptographic advances, verifying untrusted X.509
4244   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4245   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4246   applications that must remain interoperable, you can use the
4247   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4248   flags when verifying certificates.  Naturally, this is not
4249   recommended default behaviour for applications.  To enable the
4250   broken algorithms, call gnutls_certificate_set_verify_flags with the
4251   proper flag, to change the verification mode used by
4252   gnutls_certificate_verify_peers2.
4253 - Make it possible to send empty data through gnutls_record_send,
4254   to align with the send(2) API.
4255 - Some changes in the certificate receiving part of handshake to prevent
4256   some possible errors with non-blocking servers.
4257 - Added numeric version symbols to permit simple CPP-based feature
4258   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4259 - The (experimental) low-level crypto alternative to libgcrypt used
4260   earlier (Nettle) has been replaced with crypto code from gnulib.
4261   This leads to easier re-use of these components in other projects,
4262   leading to more review and simpler maintenance.  The new configure
4263   parameter --with-builtin-crypto replace the old --with-nettle, and
4264   must be used if you wish to enable this functionality.  See README
4265   under "Experimental" for more information.  Internally, GnuTLS has
4266   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4267   API is similar to the old crypto/gc.h, because the gnulib code were
4268   based on GnuTLS's gc.h.
4269 - Fix compiler warning in the "anonself" self test.
4270 - API and ABI modifications:
4271 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4272                              This doesn't reflect a change in behaviour,
4273                              so we don't break backwards compatibility.
4274 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4275 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4276 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4277 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4278                                   Use when calling
4279                                   gnutls_x509_crt_list_verify,
4280                                   gnutls_x509_crt_verify, or
4281                                   gnutls_certificate_set_verify_flags.
4282 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4283                                 used when broken signature algorithms
4284                                 is used (currently RSA-MD2/MD5).
4285 LIBGNUTLS_VERSION_MAJOR,
4286 LIBGNUTLS_VERSION_MINOR,
4287 LIBGNUTLS_VERSION_PATCH,
4288 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4289                           version number, can be used for feature existence
4290                           tests.
4292 * Version 1.2.8 (2005-10-07)
4293 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4294 - Don't install the auxilliary libexamples library used by the
4295   examples in doc/examples/ on "make install", report and tiny patch
4296   from Thomas Klausner <tk@giga.or.at>.
4297 - If you pass a X.509 CA or PGP trust database to the command line
4298   tool, it will now abort the connection if the server certificate
4299   validation fails.  Use the parameter --insecure to continue even
4300   after certificate validation failures.  Inspired from discussion
4301   with Alexander Kotelnikov <sacha@myxomop.com>.
4302 - The test for socklen_t has been moved to gnulib.
4303 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4304   patch from Martin Lambers <marlam@marlam.de>.
4305 - The command line tool and the examples no longer uses mmap or bzero,
4306   to make them more portable, patch from Martin Lambers
4307   <marlam@marlam.de>.
4308 - Made the PKCS #12 API handle null passwords. Based on patch by
4309   Anton Altaparmakov <aia21@cam.ac.uk>.
4310 - The GTK-DOC manual should build with current released tools.
4311   (But a copy of the output is included, so the tools are not required.)
4312 - The inet_ntop function is now used through gnulib.
4313 - API and ABI modifications:
4314   No changes since last version.
4316 * Version 1.2.7 (2005-09-09)
4317 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
4318 - Certtool now complains when reading out-of-range X.509 serial
4319   numbers, suggested by Fran <e_agf@yahoo.es>.
4320 - Certtool now uses the readline library (when available) when reading
4321   X.509 serial numbers.
4322 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4323 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4324   Martin Lambers <marlam@marlam.de>.
4325 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4326 - Gnulib is now used for the core library, enabling future code cleanups.
4327 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4328   suggested by Daniel Stenberg <daniel@haxx.se>.
4329 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4330 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4331 - Disable zlib support if zlib.h is not present.
4332 - A number of internal cleanups.
4333 - API and ABI modifications:
4334   No changes since last version.
4336 * Version 1.2.6 (2005-07-16)
4337 - MiniLZO updated to version 2.01 and moved to separate directory.
4338 - Collision between system LZO header files and MiniLZO header file
4339   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4340 - Will now test for liblzo functionality in liblzo2 too, reported by
4341   Thomas Klausner <tk@giga.or.at>.
4342 - Minilibtasn1 is now 0.2.14 (no code changes).
4343 - Some code changes to avoid GTK-DOC warnings.
4344 - API and ABI modifications:
4345   No changes since last version.
4347 * Version 1.2.5 (2005-07-03)
4348 - More builddir != srcdir fixes, reported by Mike Castle
4349   <dalgoda@ix.netcom.com>.
4350 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4351   reported by Adam Langley <alangley@gmail.com>.
4352 - Corrected some stuff in minilzo detection. Pointed out by 
4353   Sergey Lipnevich.
4354 - MiniLZO updated to version 2.00.
4355 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4356 - API and ABI modifications:
4357   No changes since last version.
4359 * Version 1.2.4 (2005-05-28)
4360 - Corrected some bugs that could affect 64 bit systems.
4361 - Some corrections in the header files to include the prototype
4362   of memmem properly (affected 64 bit systems). Report and patch
4363   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4364 - Introduced the --fix-key option to certtool, which can be used to
4365   regenerate the (optional) parameters in a private key. It should
4366   be used together with --key-info.
4367 - Corrected a bug in certificate chain verification that could lead
4368   to marking a trusted chain as non trusted, if the last certificate in
4369   the chain was a self signed one.
4370 - Gnulib portability files were updated.
4371 - License were updated to reflect new FSF address.
4372 - API and ABI modifications:
4373   No changes since last version.
4375 * Version 1.2.3 (2005-04-28)
4376 - Corrected bug in record packet parsing that could lead
4377   to a denial of service attack.
4378 - Corrected bug in RSA key export. Previously exported keys
4379   can be fixed using certtool. Use certtool -k <infile >outfile
4380 - API and ABI modifications:
4381     gnutls_x509_privkey_fix(): Add.
4383 * Version 1.2.2 (2005-04-25)
4384 - gnutls_error_to_alert() now considers
4385   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4386 - Fixed error in session resuming that could cause a crash in a session.
4387 - Fixed pkcs12 friendly name and local key identifier decoding.
4388 - Internal cleanups, removed duplicate typedef/struct definitions,
4389   and made source code include external include file, to check
4390   function prototypes during compile time.
4391 - API and ABI modifications:
4392   No changes since last version.  At least not intentional, but due
4393   to the include header changes, there may be inadvertant changes,
4394   please let us know if you find any.
4396 * Version 1.2.1 (2005-04-04)
4397 - gnutls_bye() will no longer fail when RDWR is used and application
4398   data are available for reading.
4399 - Added more strict checks for the SRP parameters (g,n), when they
4400   are not in the included list.
4401 - Added warning to certtool when MD5 is being used for digital
4402   signatures.
4403 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4404   instead the standard autoconf defaults are used.  Use `./configure
4405   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4406 - Added the option --get-dh-params to certtool, in order to get the
4407   parameters included in the library primes and generators.
4408 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4409   allow only trusted Version 1 CAs and introduced
4410   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4411 - Nettle self tests now build properly, reported by Pierre
4412   <pierre42d@9online.fr>.
4413 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4414   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4415 - If the library has been compiled with features disabled, a warning is 
4416   issued during the compilation of any program.
4417 - API and ABI modifications:
4418     gnutls_x509_crt_list_import(): Add
4419     gnutls_x509_crq_get_attribute_by_oid(): Add.
4420     gnutls_x509_crq_set_attribute_by_oid(): Add
4421     gnutls_x509_crt_set_extension_by_oid(): Add.
4422     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4423     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4425 * Version 1.2.0 (2005-01-27)
4426 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4427 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4428   gnutls_x509_crl_sign2().
4429 - Fixed license header in source code files.
4431 * Version 1.1.23 (2005-01-18)
4432 - It is now possible to generate PKCS#12 structures without private
4433   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4434   <fabbe@paniq.net>.
4435 - Certtool now prints information for the RSA and DSA parameters of
4436   certificates and private keys.
4437 - Corrected the write of CRL distribution points.
4438 - The certificate chain verification function now checks certificates
4439   in the reverse order to minimize the spent resources.
4440 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4441 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4442   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4443   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4444   required, instead of the string length.  That is, the value has been
4445   incremented by 1 to account for the terminating zero. Reported by
4446   Martin Lambers <marlam@web.de>.
4447 - Debug output shouldn't crash on platforms that doesn't handle NULL
4448   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4449 - Sync included copy of libtasn1 with version 0.2.13.
4450 - Client X.509 authenticated connections via gnutls-cli should now work again.
4452 * Version 1.1.22 (2004-11-04)
4453 - Replace GNU LD version script with Libtool -export-symbols-regex,
4454   from Joe Orton <joe@manyfish.co.uk>.
4455 - Documentation improvements.
4456 - Code indented using 'indent -i4 -kr'.
4457 - The API manual is included in Devhelp format.  (Was in last release too,
4458   but the NEWS entry was forgotten.)
4459 - The OpenSSL compatibility code now use the internal crypto interface.
4460 - Added simple self test of OpenSSL compatibility library.
4461 - Internally, libtool convenience libraries are used.
4462 - Cleanups to configure.ac.
4464 * Version 1.1.21 (2004-10-27)
4465 - Print DN of certificates with unknown characters in them, but in hexform
4466   only.
4467 - Added second precision to the X.509 parsing and generation functions.
4468 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4469   actual OID.
4470 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4471   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4472 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4473   <stephane.loeuillet@tiscali.fr>.
4474 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4475   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4476 - Add self test of PKCS#12 functionality in "certtool", based on test
4477   vectors from Joe Orton <joe@manyfish.co.uk>.
4478 - Fix library order in libgnutls*-config --libs output, to permit
4479   static linking, reported by Yoann Vandoorselaere
4480   <yoann@prelude-ids.org>.
4482 * Version 1.1.20 (2004-10-12)
4483 - Fix compile problem in gl/getpass.c on some systems.
4485 * Version 1.1.19 (2004-10-07)
4486 - Fix memory leak in gnutls_certificate_verify_peers and
4487   gnutls_certificate_free_credentials, report and patch by Simon
4488   Posnjak <simon.posnjak@cetrtapot.si>.
4489 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4490   a key and no certificate to PKCS#12.
4491 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4492   <gp@familiehaase.de>.
4493 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4494   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4495 - Uses memmem instead of strnstr in lib/.
4496 - Using more GNULib portability files, although not yet inside lib/.
4497 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4498   Nikos deprecated gnutls_certificate_verify_peers in favor of
4499   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4500 - Improvements to the manual.
4501 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4502 - Known bug: the library require snprintf.  This has not yet been
4503   fixed, but will be handled via GNULib later on.
4505 * Version 1.1.18 (2004-08-24)
4506 - Corrected handling of certificate with dates after year 2038.
4507 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4508 - Correct certtool --smime-to-p7 end of line character handling.
4509 - Added example client and server for anonymous authentication.
4510 - Added self test that tests anonymous TLS client and server.
4511 - Added self tests of Nettle and generic crypto layer.
4512 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4513   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4514 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4515 - Man pages for API functions are included.
4517 * Version 1.1.17 (2004-08-18)
4518 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4519   reported by Robey Pointer <robey@danger.com>.
4520 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4521   See section "Experimental" within section "COMPILATION ISSUES" in README.
4522 - Removed length limit on passwords read by 'certtool'.
4523 - Documentation fixes.
4525 * Version 1.1.16 (2004-08-15)
4526 - Fix missing gnulib linker parameter when building certtool.
4527 - Add gnulib module 'progname', needed by module 'error'.
4528 - Improve building with srcdir != objdir.
4530 * Version 1.1.15 (2004-08-15)
4531 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4532   PKCS #7 format.
4533 - Ported to Mac OS X / Darwin.
4534 - Ported to FreeBSD.
4536 * Version 1.1.14 (2004-08-09)
4537 - Documentation converted to Texinfo format.
4538 - Bug fix of test suite.
4539 - Configure now print build information, used by Autobuild.
4541 * Version 1.1.13 (2004-08-05)
4542 - Added simple self test suite.
4544 * Version 1.1.12 (2004-08-02)
4545 - Updated the SRP authentication to conform to the
4546   latest (yet unreleased) draft. Unfortunately this breaks
4547   compatibility with previous versions.
4548 - Changed the makefiles to be more portable.
4549 - SRP ciphersuites were moved to the gnutls library.
4550 - Added some default limits in the verification of certificate
4551   chains, to avoid denial of service attacks. Also added 
4552   gnutls_certificate_set_verify_limits() to override them.
4553   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4554 - Added gnutls_certificate_verify_peers2().
4556 * Version 1.1.11 (2004-07-16)
4557 - Added the '_t' suffix to all exported symbols.
4558 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4559   <mak@greenhills.co.uk>.
4560 - Corrected a bug in certificate verification. Pointed out by
4561   Yoann Vandoorselaere <yoann@prelude-ids.org>
4562 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4563   verification functions.
4564 - The ephemeral DH and RSA parameters are no longer stored in the
4565   session resume DB.
4566 - Do not free the SRP (prime and generator) parameters obtained from the 
4567   callback if they are the static ones defined in extra.h
4568 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4570 * Version 1.1.10 (2004-06-12)
4571 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4572 - Corrected bug in TLS renegotiation.
4573 - Corrected bug in OpenPGP key loading using a callback.
4574 - gnutls-srpcrypt was renamed to srptool
4575 - Allow handshake requests by the client.
4576 - Automatically disable certificate types that do not have corresponding
4577   certificates.
4578 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4579 - Opencdk library is being included if not found.
4580 - certtool can now add ip address SAN extension.
4581 - certtool has now support for more X.520 DN attribute types.
4582 - Better handling of EOF in gnutls_record_recv().
4583 - _gnutls_deinit() is no longer used. Sessions are not
4584   automatically removed any more, on abnormal termination.
4585 - Corrected session resuming in SRP ciphersuites.
4586 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4587 - Added new functions to allow access to the ephemeral
4588   Diffie Hellman parameters.
4589 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4590   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4591 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4592   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4593   RSA-EXPORT key exchange.
4594 - Some fixes in the session resuming code.
4595 - Added gnutls_openpgp_keyring_check_id().
4597 * Version 1.1.9 (2004-04-14)
4598 - Added support for authority key identifier and the extended key usage
4599   X.509 extension fields. The certtoool was updated to support them.
4600 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4601 - Added batch support to certtool. Now it can use templates.
4603 * Version 1.1.8 (2004-04-07)
4604 - Implemented all the tests for the SRP group parameters in
4605   client side. This may lead to incompatibility with very
4606   old gnutls servers.
4607 - Corrected bug in RSA parameters handling which could cause
4608   unexpected crashes.
4609 - Optimized the copying of rsa_params.
4611 * Version 1.1.7 (2004-03-29)
4612 - Added gnutls_certificate_set_params_function() and 
4613   gnutls_anon_set_params_function() that set the RSA or DH
4614   parameters using a callback.
4615 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4616   and gnutls_x509_privkey_cpy().
4617 - Corrected a compilation issue when opencdk was installed in a
4618   non standard directory.
4619 - Deprecated: gnutls_srp_server_set_select_function(), 
4620   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4622 * Version 1.1.6 (2004-02-24)
4623 - Several bug fixes, by Arne Thomassen.
4624 - Fixed a bug where 'server name' extension was always sent.
4626 * Version 1.1.5 (2004-01-06)
4627 - Added the gnutls_sign_algorithm type.
4629 * Version 1.1.4 (2004-01-04)
4630 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4631   If they are of highest priority then the abbreviated handshake
4632   is used.
4633 - Removed all references of missing files.
4634 - Changed handshake behaviour to send the lowest TLS version
4635   when an unsupported version was advertized. The current behaviour
4636   is to send the maximum version we support.
4637 - Corrected problem printing the DC attributes in a DN.
4639 * Version 1.1.3 (2003-12-30)
4640 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4641   hack).
4643 * Version 1.1.2 (2003-12-28)
4644 - Added CRL verification functionality to certtool.
4645 - Corrected the CRL distribution point extension handling.
4647 * Version 1.1.1 (2003-12-26)
4648 - Added PKCS #7 support to certtool utility.
4649 - Added support for reading and generating CRL distribution
4650   points extensions in certificates.
4651 - Added support for generating CRLs in the library and the
4652   certtool utility.
4653 - Added support for the Subject Key ID PKIX extension.
4655 * Version 1.1.0 (2003-12-21)
4656 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4657   are no longer returned by the handshake function. Ciphersuites that
4658   require temporary parameters are removed when such parameters do not exist.
4659 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4660   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4661   to specify certificates for the handshake without storing them to the
4662   credentials structure.
4663 - Added support for generating and exporting DSA private keys.
4664 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
4665   certificate's key usage.
4666 - Added gnutls_openpgp_key_get_key_usage().
4668 * Version 1.0.25 (2005-04-27)
4669 - Corrected bug in record packet parsing that could lead
4670   to a denial of service attack.
4671 - Corrected bug in RSA key export.
4673 * Version 1.0.24 (2005-01-18)
4674 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4676 * Version 1.0.23 (2004-11-13)
4677 - Replace GNU LD version script with Libtool -export-symbols-regex,
4678   from Joe Orton <joe@manyfish.co.uk>.
4679 - Copy libtasn1 has been updated to version 0.2.11.
4680 - Corrected the write of CRL distribution points.
4681 - It is now possible to generate PKCS#12 structures without private
4682   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4683   <fabbe@paniq.net>.
4685 * Version 1.0.22 (2004-10-28)
4686 - Print DN of certificates with unknown characters in them, but in hexform
4687   only.
4688 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4689   actual OID.
4690 - Added second precision to the X.509 parsing functions.
4691 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4692   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4693 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4694   <stephane.loeuillet@tiscali.fr>.
4695 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4696   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4697 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
4698 - Fix library order in libgnutls*-config --libs output, to permit
4699   static linking, reported by Yoann Vandoorselaere
4700   <yoann@prelude-ids.org>.
4702 * Version 1.0.21 (2004-10-07)
4703 - Fix memory leak in gnutls_certificate_verify_peers and
4704   gnutls_certificate_free_credentials, report and patch by Simon
4705   Posnjak <simon.posnjak@cetrtapot.si>.
4706 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4707   a key and no certificate to PKCS#12.
4708 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4709   <gp@familiehaase.de>.
4710 - Avoid redefining getpass if system already has it, reported by
4711   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4712 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4713 - Known bug: the library require snprintf.
4715 * Version 1.0.20 (2004-08-18)
4716 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4717   reported by Robey Pointer <robey@danger.com>.
4719 * Version 1.0.19 (2004-08-09)
4720 - Bug fix of test suite.
4722 * Version 1.0.18 (2004-08-05)
4723 - Added simple self test suite.
4725 * Version 1.0.17 (2004-08-02)
4726 - Updated the SRP authentication to conform to the
4727   latest (yet unreleased) draft. Unfortunately this breaks
4728   compatibility with previous versions.
4729 - Changed the makefiles to be more portable.
4730 - Added some default limits in the verification of certificate
4731   chains, to avoid denial of service attacks. Also added 
4732   gnutls_certificate_set_verify_limits() to override them.
4733   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4734 - Added gnutls_certificate_verify_peers2().
4736 * Version 1.0.16 (2004-07-10)
4737 - Do not free the SRP (prime and generator) parameters obtained from the 
4738   callback if they are the static ones defined in extra.h.
4739 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4740 - Some fixes in the makefiles.
4742 * Version 1.0.15 (2004-06-29)
4743 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4744   <mak@greenhills.co.uk>.
4745 - Corrected a bug in certificate verification. Pointed out by
4746   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4748 * Version 1.0.14 (2004-06-12)
4749 - Automatically disable certificate types that do not have corresponding
4750   certificates.
4751 - Updates in the documentation.
4752 - certtool can now add ip address SAN extension.
4753 - certtool has now support for more X.520 DN attribute types.
4754 - Opencdk library is being included if not found.
4755 - Added gnutls_openpgp_keyring_check_id().
4756 - Corrected a serious bug in the included libtasn1 library.
4757 - Corrected session resuming in SRP ciphersuites.
4758 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4759 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4760   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4761 - Some fixes in the session resuming code.
4763 * Version 1.0.13 (2004-04-29)
4764 - Some complilation fixes.
4765 - Added the --xml parameter to the certtool utility.
4767 * Version 1.0.12 (2004-04-23)
4768 - Corrected bug in OpenPGP key loading using a callback.
4769 - Renamed gnutls-srpcrypt to srptool
4770 - Allow handshake requests by the client.
4771 * Things backported from the development branch:
4772 - Added support for authority key identifier and the extended key usage
4773   X.509 extension fields. The certtoool was updated to support them.
4774 - Added batch support to certtool. Now it can use templates.
4775 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4777 * Version 1.0.11 (2004-04-17)
4778 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4779 - Corrected bug in TLS renegotiation.
4781 * Version 1.0.10 (2004-04-03)
4782 - Corrected bug in RSA parameters handling which could cause
4783   unexpected crashes.
4784 - Corrected bug in SSL 3.0 authentication.
4786 * Version 1.0.9 (2004-03-29)
4787 - Added gnutls_certificate_set_params_function() and 
4788   gnutls_anon_set_params_function() that set the RSA or DH
4789   parameters using a callback.
4790 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4791   and gnutls_x509_privkey_cpy().
4792 - Corrected a compilation issue when opencdk was installed in a
4793   non standard directory.
4794 - Documented the changes need in multi-threaded application due
4795   to the new libgcrypt.
4797 * Version 1.0.8 (2004-02-28)
4798 - Corrected bug in mutual certificate authentication in SSL 3.0.
4800 * Version 1.0.7 (2004-02-25)
4801 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4802   hack).
4803 - Some updates in the documentation.
4805 * Version 1.0.6 (2004-02-12)
4806 * Backported things from the development branch (while maintaining
4807   backwards compatibility):
4808 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4809   If they are of highest priority then the abbreviated handshake
4810   is used.
4811 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4812   are no longer returned by the handshake function. Ciphersuites that
4813   require temporary parameters are removed when such parameters do not exist.
4814 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4815   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4816   to specify certificates for the handshake without storing them to the
4817   credentials structure.
4818 - Added support for generating and exporting DSA private keys.
4820 * Version 1.0.5 (2004-02-11)
4821 - Fixed a bug where 'server name' extension was always sent.
4822 * Backported things from the development branch:
4823 - Added CRL verification functionality to certtool.
4824 - Corrected the CRL distribution point extension handling.
4825 - Added PKCS #7 support to certtool utility.
4826 - Added support for reading and generating CRL distribution
4827   points extensions in certificates.
4828 - Added support for generating CRLs in the library and the
4829   certtool utility.
4830 - Added support for the Subject Key ID PKIX extension.
4831 - Added the gnutls_sign_algorithm type.
4833 * Version 1.0.4 (2004-01-04)
4834 - Changed handshake behaviour to send the lowest TLS version
4835   when an unsupported version was advertized. The current behaviour
4836   is to send the maximum version we support.
4837 - certtool no longer asks the password in unencrypted private
4838   keys.
4839 - The source is now compiled to use the reentrant libc functions.
4841 * Version 1.0.3 (2003-12-21)
4842 - Corrected bug in gnutls_bye() which made it return an error code
4843   of INVALID_REQUEST instead of success.
4844 - Corrected a bug in the GNUTLS_KEY key usage definitions.
4846 * Version 1.0.2 (2003-12-18)
4847 - Corrected a bug in the RSA key generation. This was
4848   generating unusable RSA keys.
4850 * Version 1.0.1 (2003-12-10)
4851 - Some minor fixes in the makefiles. They now include CFLAGS
4852   from libgcrypt or opencdk if installed in a non standard directory.
4853 - Fixed the SRP detection test in gnutls-cli-debug.
4854 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
4856 * Version 1.0.0 (2003-12-04)
4857 - Exported the static SRP group parameters.
4858 - Some fixes in the certificate authenticated SRP ciphersuites.
4859 - Improved the support for draft-ietf-tls-srp-05. The two-phase
4860   handshake is now fully supported without any interaction with
4861   the application layer (except for a callback).
4863 * Version 0.9.99 (2003-11-28)
4864 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
4865   and gnutls_server_name_get() prototypes.
4866 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
4867   and gnutls_x509_crt_verify_data().
4868 - Some fixes in the openpgp authentication.
4869 - Removed the Twofish cipher.
4871 * Version 0.9.98 (2003-11-16)
4872 - The openssl compatibility layer was moved to gnutls-openssl
4873   library instead of being included in the gnutls-extra library.
4874 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
4875 - Building with openpgp support is now mandatory.
4876 - gnutls4 compatibility header is no longer included by default in
4877   gnutls.h.
4878 - gnutls8 function usage yelds a deprecation warning in gcc3.
4879 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
4880   functions have a raw_flag parameter added.
4881 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
4882   functions which return the available OIDs.
4884 * Version 0.9.97 (2003-11-11)
4885 - The certtool utility can now generate PKCS #12 structures
4886   without specifying a certificate.
4887 - Added capability to read CRLs to certtool.
4888 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
4889   to properly set the required buffer size.
4890 - Corrected a bug in libgcrypt detection.
4892 * Version 0.9.96 (2003-11-09)
4893 - Some changes to allow compilation with mingw32.
4894 - Several code cleanups.
4896 * Version 0.9.95 (2003-11-02)
4897 - Improved the verification functions. Added new verification
4898   output flags and removed the unused and redundant ones.
4899 - Improved the OpenPGP key support.
4900 - The prime utility was removed, and its functionality was moved
4901   to certtool.
4903 * Version 0.9.94 (2003-10-30)
4904 - Added manpages for the included programs.
4905 - Documented and improved the certtool utility. 
4906 - Added PKCS #12 support to certtool utility.
4908 * Version 0.9.93 (2003-10-26)
4909 - Corrected some compilation issues.
4910 - Improved the certtool command line utility.
4912 * Version 0.9.92 (2003-10-25)
4913 - The RFC2818 hostname verification is now case insensitive.
4914 - Added support for generating X.509 certificates.
4915 - Added the certtool, a tool for generating X.509 certificates
4917 * Version 0.9.91 (2003-10-17)
4918 - Fixed a compilation issue in the openpgp authentication part.
4920 * Version 0.9.90 (2003-10-08)
4921 - Updated the openpgp key API (depends on the unreleased new
4922   opencdk).
4924 * Version 0.9.8 (2003-10-02)
4925 - Updated the SRP implementation to follow the latest draft
4926   (draft-ietf-tls-srp-05).
4927 - Improved the gnutls-cli behaviour in error handling,
4928   and added a check for the peer's hostname.
4929 - Use versioned symbols in the library (where available).
4930 - RIJNDAEL ciphersuites were renamed to AES.
4932 * Version 0.9.7 (2003-08-25)
4933 - The tex files are now included in the distribution.
4934 - The library can now decrypt PKCS #12 files encrypted with
4935   the RC2-40 cipher.
4936 - The missing rfc2818_hostname object is now included.
4937 - Several corrections and bug fixes in the library by 
4938   Arne Thomassen <arne@arne-thomassen.de>.
4939 - CR is now allowed in the base64 decoder.
4941 * Version 0.9.6 (2003-06-28)
4942 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
4943   functions which return a unique (per public key) ID. These can
4944   be used to check if the private key corresponds to a given certificate.
4945 - Corrections in the TLS layer openpgp certificate packet parser.
4946 - Corrected a bug in the record layer buffering, which affected
4947   the case where external pull function was used. Report and patch
4948   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
4949 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
4950   was freed.
4951 - SRP programs are now built by default.
4952 - Added API to read and write to PKCS #12 structures. Prototypes
4953   in gnutls/pkcs12.h.
4954 - The gnutls_transport_ptr type was changed to a pointer type (void*).
4956 * Version 0.9.5 (2003-04-06)
4957 - Several improvements in the PKCS #7 handling
4958 - Eliminated several hard coded constants in MPI parameters.
4960 * Version 0.9.4 (2003-03-28)
4961 - Corrected a parsing error in the Certificate request message.
4962 - Corrected behaviour when a certificate request message is received.
4963   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
4964   a no_certificate alert is sent instead.
4965 - Added functionality to generate PKCS #7 structures (with certificates).
4967 * Version 0.9.3 (2003-03-24)
4968 - Support for MD2 was dropped. 
4969 - Improved the error logging functions, by adding a level, and
4970   by allowing debugging messages just by increasing the level.
4971 - The diffie Hellman ciphersuites are now of higher priority than
4972   the plain RSA.
4973 - The RSA premaster secret version check can no longer be disabled.
4974 - Implemented the counter measure discussed in the paper "Attacking
4975   RSA-based Sessions in SSL/TLS", against the attack described in the
4976   same paper.
4977 - Added the functions: gnutls_handshake_get_last_in(), 
4978   gnutls_handshake_get_last_out().
4979 - The gnutls_certificate_set_rsa_params() was renamed to 
4980   gnutls_certificate_set_rsa_export_params().
4981 - Added the new functions: gnutls_certificate_set_x509_key()
4982   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
4983   gnutls_x509_crt_export(), gnutls_x509_crl_export().
4984 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
4985   RSA private keys.
4987 * Version 0.9.2 (2003-03-15)
4988 - Some corrections in the memory mapping code (file is unmapped after 
4989   it is read).
4990 - Added support for PKCS#10 certificate requests generation.
4992 * Version 0.9.1 (2003-03-12)
4993 - Corrected a bug in 64 bit architectures, which affected the
4994   serial number calculation in the record layer.
4995 - Added gnutls_certificate_free_keys() which deletes all the
4996   private keys and certificates from the credentials structure.
4997 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
4998   which caused some unexpected packet length errors. Report and patch
4999   by Ian Peters <itp@ximian.com>.
5000 - Added ability to generate RSA keys.
5001 - Increased the maximum parameter size in order to read some large keys
5002   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5003 - Added an strnstr() function and the requirement in some functions to
5004   use null terminated PEM structures is no more.
5005 - Use mmap() if available to read files.
5006 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5007   <r.kittinger@efkon.com>.
5009 * Version 0.9.0 (2003-03-03)
5010 - This version is not binary compatible with the previous ones.
5011 - The library notifies the application on empty and illegal SRP usernames, 
5012   so that proper notification (via an alert) is sent to the peer.
5013 - Added ability to send some messages back to the application using
5014   the gnutls_global_set_log_function().
5015 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5016   gnutls_malloc() to allocate the output parameters.
5017 - Added support for MD2 algorithm in certificate signature verification.
5018 - The RSA and DH parameter generation interface was changed. Added
5019   ability to import and export from and to PKCS3 structures. This 
5020   was needed to read parameters generated using the openssl dhparam tool.
5021 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5022   parameters are now included in the library. Also the credentials structure 
5023   can now hold only one temporary parameter of a kind.
5024 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5025   API, defined in gnutls/x509.h
5026 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5027   verification flags in the credentials structure. They will be used in the
5028   *verify_peers functions.
5029 - Added protection against the new TLS 1.0 record layer timing attack.
5030 - Added support for Certificate revocation lists. Functions defined
5031   in gnutls/x509.h
5032 - The only functions that were removed are:
5033   gnutls_x509_certificate_to_xml()
5034   gnutls_x509_extract_dn_string()
5035 - Ported to libtasn1 0.2.x
5037 * Version 0.8.1 (2003-01-22)
5038 - Improved the SRP support, to prevent attackers guessing the
5039   available usernames by brute force.
5040 - Improved the SRP detection in gnutls-cli-debug
5041 - Some fixes which now allow compilation.
5043 * Version 0.8.0 (2003-01-20)
5044 - Added gnutls_x509_extract_dn_string() which returns a 
5045   distinguished name in a single string.
5046 - Added gnutls_openpgp_extract_key_name_string() which returns
5047   an openpgp user ID in a single string.
5048 - Added gnutls_x509_extract_certificate_ca_status() which returns
5049   the CA status of the given certificate.
5050 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5051 - If libtasn1 is not present in the system, it is included in 
5052   the main gnutls library.
5053 - If liblzo is present in the system, then the included minilzo
5054   will not be used, and libgnutls-extra will depend on liblzo.
5055 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5056   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5057   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5059 * Version 0.6.0 (2002-12-08)
5060 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5061   to emulate the old 0.4.x API.
5062 - Example programs are now stored in doc/examples/
5063 - Several improvements and updates in the documentation.
5064 - Added the certificate authenticated SRP cipher suites.
5065 - gnutls_x509_extract_certificate_dn_string() was updated to return
5066   an RFC2253 conforming string.
5067 - Added the SRP related functions:
5068    gnutls_srp_verifier()
5069    gnutls_srp_base64_encode()
5070    gnutls_srp_base64_decode()
5071 - Added the function gnutls_srp_set_server_credentials_function()
5072   to allow retrieving SRP parameters from an external backend - other
5073   than password files.
5074 - Added the function gnutls_openpgp_set_recv_key_function()
5075   which can be used to set a callback, to get OpenPGP keys.
5076 - Exported the functions:
5077    gnutls_malloc()
5078    gnutls_free()
5079   which should be used by callback functions.
5080 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5081   and gnutls_pem_base64_decode_alloc(). In the default case
5082   were the gnutls library is used with malloc/realloc/free,
5083   these are binary compatible.
5085 * Version 0.5.11 (2002-11-05)
5086 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5087   faults at exit.
5088 - Example programs found in the documentation can now be generated by
5089   running "make examples" in doc/tex directory.
5090 - Added more descriptive error strings, to gnutls_strerror().
5091 - Documented error codes, and the function reference list is now sorted.
5092 - Optimized buffering code.
5093 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5094 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5095   case where the memory buffer provided is not long enough.
5096 - Depends on the new OpenCDK 0.3.2.
5098 * Version 0.5.10 (2002-10-13)
5099 - Updated documentation.
5100 - Added server name extension. This allows clients to specify the
5101   name of the server they connect to. Useful to HTTPS.
5102 - Several corrections in the code base, mostly in signed/unsigned,
5103   checkings.
5105 * Version 0.5.9 (2002-10-10)
5106 - Corrected some code which worked fine in gcc 3.2, but not with any
5107   other compiler.
5108 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5109   starttls implementations.
5110 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5111   the private key type, of a DER encoded key.
5112 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5113   certificate's distinguished name in a single string.
5114 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5115   functions, to avoid calling all the *_priority() functions if the defaults
5116   are acceptable.
5117 - Added int gnutls_x509_check_certificates_hostname() which check whether
5118   the given hostname matches the owner of the given X.509 certificate.
5120 * Version 0.5.8 (2002-09-25)
5121 - Updated documentation.
5122 - Added gnutls_record_get_direction() which replaces the obsolete
5123   gnutls_handshake_get_direction().
5124 - Added function to convert error codes to alert descriptions
5125 - Added LZO compression
5127 * Version 0.5.7 (2002-09-11)
5128 - Some fixes in the memory allocation functions (realloc).
5129 - Improved the string functions used in XML certificate generation.
5130 - Removed dependency on libgdbm.
5131 - Corrected bug in gnutls_dh_params_set() which affected
5132   gnutls_dh_params_deinit().
5133 - Corrected bug in session resuming code in server side.
5135 * Version 0.5.6 (2002-09-06)
5136 - Corrected bugs in SRP implementation, which prevented gnutls 
5137   to interoperate with other implementations. (interoperability testing
5138   was done by David Taylor)
5139 - Corrected bug in cert_type extension.
5140 - Corrected extension type checks which used an 8 bit extension size,
5141   instead of 16 bits.
5142 - Added versioning in the XML output of certificate functions.
5143 - Removed the X.509 test suite.
5145 * Version 0.5.5 (2002-09-03)
5146 - Updated the SRP implementation to the latest draft. The blowfish
5147   crypt implementation was removed, since the new draft does not allow
5148   other hash algorithms except for the srpsha. 
5149 - Renamed all the constructed types in order to have more consistent
5150   names. 
5151 - Improved the certificate and key read functions. Now they can read 
5152   the certificate and the private key from the same file.
5153 - Updated and corrected documentation.
5155 * Version 0.5.4 (2002-08-27)
5156 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5157 - gnutls_handshake_set_exportable_detection() was obsoleted.
5158 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5159 - Corrected bug in DHE key exchange
5160 - Added support for temporary RSA keys which are needed for the
5161   export cipher suites.
5162 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5164 * Version 0.5.3 (2002-08-23)
5165 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5166   code from the unstable branch.
5168 * Version 0.5.2 (2002-08-22)
5169 - Added an error code that is returned in clients which connect
5170   to export only servers. This must be enabled using the
5171   gnutls_handshake_set_exportable_detection() function.
5172 - Updated openssl compatibility layer.
5173 - Added gnutls_handshake_get_direction() function which returns
5174   the state of the handshake when interrupted.
5176 * Version 0.5.1 (2002-07-17)
5177 - Corrected the m4 macros which used <gnutls.h> instead of
5178   <gnutls/gnutls.h>
5179 - Documentation fixes
5180 - Added gnutls_transport_set_ptr2() function, which accepts two
5181   different pointers, to be used while receiving, and 
5182   while sending data.
5183 - Semantic changes in gnutls_record_set_max_size(). The requested
5184   size is now immediately enforced at the output buffers.
5185 - gnutls_global_init_extra() now fails if the library versions do
5186   not match.
5187 - Fixes in client and server example programs. Null encryption can
5188   be used in these programs, to assist in debuging.
5189 - Fixes in zlib compression code.
5191 * Version 0.5.0 (2002-07-06)
5192 - Added X.509 certificate tests in tests/ directory
5193 - Removed stubs for SRP and Anonymous authentication. They served
5194   no purpose since they are always included, unless it was requested
5195   not to do so.
5196 - Added gnutls_handshake_set_private_extensions() function. This
5197   function can be used to enable private (gnutls specific) cipher suites
5198   and compression algorithms.
5199 - Added check for C99 macro support by the compiler.
5200 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5201 - Added the new libtasn1 library.
5202 - Removed the gdbm backend. Applications are now responsible for the
5203   session resuming backend. The gnutls-serv application contains an
5204   simple example on how to use gdbm for resuming.
5205 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5206 - Added an OpenSSL compatible interface (with some limitations).
5207 - Added functions to convert DER encoded certificates to XML format.
5209 * Version 0.4.4 (2002-06-24)
5210 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5211   using keys of some specific size.
5213 * Version 0.4.3 (2002-05-23)
5214 - The gnutls-extra library now compiles fine, if the opencdk library is
5215   not present.
5216 - Several bug fixes.
5217 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5218   functions, if other than the defaults are to be used.
5219 - The default memory allocation functions are now the ones in libc.
5221 * Version 0.4.2 (2002-05-21)
5222 - Separated ASN.1 structures parser documentation and TLS library
5223   documentation.
5224 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5225   version check in RSA premaster secret.
5226 - Added gnutls_session_is_resumed() function, which reports if a session
5227   is a resumed one.
5228 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5229   assist in callback functions.
5230 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5231   random one.
5232 - Relicensed the library under the GNU Lesser General Public License
5233 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5235 * Version 0.4.1 (2002-04-07)
5236 - Now uses alloca() for temporary variables
5237 - Optimized RSA signing
5238 - Added functions to return the peer's certificate activation and
5239   expiration time.
5240 - Corrected time function's behaviour (the time value returned no longer
5241   relate to local timezone).
5243 * Version 0.4.0 (2002-04-01)
5244 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5245 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5246   gnutls_openpgp_extract_key_pk_algorithm().
5247 - Several optimizations in the Handshake protocol
5248 - Several optimizations in RSA algorithm
5249 - Unified the return values because of small buffers.
5251 * Version 0.3.92 (2002-03-23)
5252 - Updated documentation
5253 - Combined error codes of ASN.1 parser and gnutls
5254 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5255 - Added protection against CBC chosen plaintext attack (disabled by default)
5256 - Improved and optimized compression support
5258 * Version 0.3.91 (2002-03-03)
5259 - Added gnutls-cli-debug program
5260 - Corrections in session resumption
5261 - Rehandshake can now handle negotiation of different authentication
5262   type.
5263 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5264   now being installed.
5266 * Version 0.3.90 (2002-02-24)
5267 - Handshake messages are not kept in memory any more. Now we use 
5268   less memory during a handshake
5269 - Added support for certificates with DSA parameters
5270 - Added DHE_DSS cipher suites
5271 - Key exchange methods changed so they do not depend on the 
5272   certificate type. Added certificate type negotiation TLS extension.
5273 - Added openpgp key support (EXPERIMENTAL)
5274 - Improved Diffie Hellman key exchange support.
5275 - Bug fixes in the RSA key exchange.
5276 - Added check for the requested TLS extensions
5277 - TLS extensions now use a 16 bit type field.
5278 - Added a minimal string library to assist in ASN.1 parsing
5279 - Changes in ASN.1 parser to work with the new bison
5280 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5281   gnutls_x509_extract_subject_dns_name()
5282 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5283 - gnutls_srp_server_set_cred_file() can now be called multiple times
5285 * Version 0.3.5 (2002-01-25)
5286 - Corrected the RSA key exchange method, to avoid attacks against
5287   PKCS-1 formating.
5289 * Version 0.3.4 (2002-01-20)
5290 - Corrected bugs in DHE_RSA key exchange method
5292 * Version 0.3.3 (2002-01-19)
5293 - Added gnutls_x509pki_verify_certificate()
5294 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5295 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5296 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5297 - Corrected library versioning
5299 * Version 0.3.2 (2002-01-05)
5300 - Corrected bug which did not allow a client to accept multiple CA names
5301 - Added gnutls_fingerprint()
5302 - Added gnutls_x509pki_extract_certificate_serial()
5303 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5304 - Corrected behaviour in version advertizing
5305 - Updated documentation
5306 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5308 * Version 0.3.1 (2001-12-21)
5309 - Corrections in the configuration files
5310 - Fixes a bug in anonymous authentication
5312 * Version 0.3.0 (2001-12-17)
5313 - Corrected bug in new integer formatting (now we use the old format again)
5314 - Several corrections and usual cleanups
5316 * Version 0.2.91 (2001-12-10)
5317 - Fixes in MPI handling (fixes possible bug with signed integers)
5318 - Removed name indication extension
5319 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5320 - Optimizations in server certificate callback.
5321 - Fixes in anonymous authentication
5322 - Corrections in client ciphersuite selection
5324 * Version 0.2.90 (2001-12-07)
5325 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5326   the 'SOCKET cd' argument. This argument is set using the function
5327   gnutls_set_transport_ptr().
5328 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5329   a list containing peer's certificate and issuers DER encoded.
5330 - Updated X.509 certificate handling API
5331 - Added callback to select the server certificate
5332 - More consistent function naming (changes in several function names)
5333 - Buffer overflow checking in ASN.1 structures parser
5334 - Updated documentation
5336 * Version 0.2.11 (2001-11-16)
5337 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5338   is returned, then the caller should perform a handshake or send
5339   an alert to the peer.
5340 - Made receive buffer dynamic. Normally if no large chunks are received
5341   it occupies less space.
5342 - Added max_record_size extension
5343 - Bugfixes in session handling
5344 - Improved non blocking IO support in the Handshake Protocol
5345 - Usual bugfixes and cleanups
5346 - Documentation updated (includes ASN.1 documentation)
5348 * Version 0.2.10 (2001-11-05)
5349 - Corrected bugs and improved non blocking IO
5350 - Added hooks to use external database to store sessions
5351 - Usual cleanups
5353 * Version 0.2.9 (2001-10-27)
5354 - AUTH_INFO types and structures were moved to library internals
5355 - AUTH_FAILED is no longer returned in SRP authentication
5356   (any fatal error in SRP means auth failed)
5357 - Introduced GNUTLS_E_INTERRUPTED
5358 - Added support for non blocking IO
5359 - gnutls_recv() and gnutls_send() are now obsolete
5360 - Changed semantics of gnutls_rehandshake()
5362 * Version 0.2.4 (2001-10-12)
5363 - Better handling of X.509 certificate extensions
5364 - Added DHE_RSA ciphersuites
5365 - Updated the Name Indication (dnsname) extension
5366 - Improvements in Diffie Hellman primes handling
5368 * Version 0.2.3 (2001-09-19)
5369 - Memory optimizations in gnutls_recv()
5370 - Fixed several memory leaks
5371 - Added ability to specify callback for x509 client certificate selection
5372 - Better documentation
5374 * Version 0.2.2 (2001-08-21)
5375 - Several bugfixes (library and documentation)
5377 * Version 0.2.1 (2001-08-07)
5378 - SRP fixes
5380 * Version 0.2.0 (2001-08-07)
5381 - Partial support for X.509v3 Certificate extensions.
5382 - Added Internal memory handlers
5383 - Removed gnutls_x509_set_cn()
5384 - Added X.509 client authentication
5385 - Several bug fixes and protocol fixes
5387 * Version 0.1.9 (2001-07-30)
5388 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5389 - SRP is updated to conform to the newest draft.
5390 - Added support for DNSNAME extension.
5391 - Reentracy fixes in ASN.1 Parsing.
5392 - Optimizations in hash/hmac functions
5393 - (Error) message handling has changed
5394 - Better Protocol Version handling
5395 - Added X.509 Certificate Verification
5396 - gnutls_read() semantics are now closer to read(2) - added EOF
5397 - Documented some part of gnutls in doc/tex/ using Latex
5399 * Version 0.1.4 (2001-06-22)
5400 - Corrected (srp) base64 encoding.
5401 - Changed bcrypt algorithm to include username.
5402 - Added RSA Ciphersuites (no certificate checking).
5403 - Fixes in SSL 2.0 client hello parsing.
5404 - Added ASN.1 and DER parsers.
5405 - Bugfixes in session resuming
5406 - Updated Ciphersuite selection algorithm
5407 - Added internal representation of X.509 structures.
5408 - Added global state
5410 * Version 0.1.3 (2001-06-01)
5411 - Updated API (and the way it is documented - we use inline documentation)
5412 - Added function to access alert messages.
5413 - Added support for renegotiating parameters.
5414 - Better and Faster Resume Database handling.
5415 - Several bugfixes
5417 * Version 0.1.2 (2001-05-14)
5418 - Updated API
5419 - Fixes in extension handling
5421 * Version 0.1.1 (2001-05-13)
5422 - Added compatibility with Stanford's libsrp library
5424 * Version 0.1.0 (2001-05-09)
5425 - Added SSL 2.0 client hello support
5426 - GNUTLS is a gnu library
5427 - Added support for TLS extensions.
5428 - Added support for SRP
5430 * Version 0.0.7 (2001-01-11)
5431 - Added server side session resuming (using gdbm)
5432 - Added twofish algorithm
5434 * Version 0.0.6 (2000-12-20)
5435 - Added client side session resuming
5436 - Better documentation (check doc/API)
5437 - Better socket handling (gnutls can be used with select())
5438 - Some primitive support for non blocking IO and socket options has been added.
5440 * Version 0.0.5 (2000-12-07)
5441 - Added Compression (using ZLIB)
5442 - Added SSL 3.0 support
5444 ----------------------------------------------------------------------
5445 Copying and distribution of this file, with or without modification,
5446 are permitted in any medium without royalty provided the copyright
5447 notice and this notice are preserved.