Fix compile error.
[gnutls.git] / NEWS
blob29af4e8ec7ff2d7f549705318dde9b51b50d7e35
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.8 (unreleased)
8 ** libgnutls: Fix for memory leaks on interrupted handshake.
9 Reported by Tang Tong.
11 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
12 ** extension and certificate verify field.
13 This requires changes for TLS 1.2 servers and clients that use
14 callbacks for certificate retrieval.  They are now required to check
15 with gnutls_session_sign_algorithm_get_requested() whether the
16 certificate they send complies with the peer's preferences in
17 signature algorithms.
19 ** libgnutls: In server side when resuming a session do not overwrite the 
20 ** initial session data with the resumed session data.
22 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
23 ** encryption.
24 This affects also PKCS #12 encoded files.
26 ** libgnutls: Fix PKCS#12 encoding.
27 The error you would get was "The OID is not supported.".  Problem
28 introduced for the v2.8.x branch in 2.7.6.
30 ** certtool: Added the --pkcs-cipher option.
31 To explicitely specify the encryption algorithm to use.
33 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
35 ** tests: Fix time bomb in chainverify self-test.
36 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
37 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
39 ** tests: Fix expired cert in chainverify self-test.
41 ** i18n: Vietnamese translation updated.
42 Thanks to Clytie Siddall.
44 ** API and ABI modifications:
45 No changes since last version.
47 * Version 2.9.7 (released 2009-10-06)
49 ** libgnutls: TLS 1.2 server mode fixes.
50 Now interoperates against Opera.  Contributed by Daiki Ueno.
52 ** libgnutlsxx: Fix link problems.
53 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
55 ** guile: Compatibility with guile 2.x.
56 By Ludovic Courtes <ludovic.courtes@laas.fr>.
58 ** API and ABI modifications:
59 No changes since last version.
61 * Version 2.9.6 (released 2009-09-22)
63 ** libgnutls: Enable Camellia ciphers by default.
65 ** API and ABI modifications:
66 No changes since last version.
68 * Version 2.9.5 (released 2009-09-10)
70 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
71 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
72 gnutls_x509_crt_get_issuer_alt_name, and
73 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
74 Hards <bradh@frogmouth.net>.
76 ** API and ABI modifications:
77 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
78 gnutls_x509_crt_get_issuer_alt_name: ADDED.
79 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
81 * Version 2.9.4 (released 2009-09-03)
83 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
84 The new supported ciphersuites are AES-128/256 in CBC mode with
85 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
86 SHA-256 is now the preferred default MAC (however it is only used with
87 TLS 1.2).
89 ** libgnutls: Make OpenPGP hostname checking work again.
90 The patch to resolve the X.509 CN/SAN issue accidentally broken
91 OpenPGP hostname comparison.
93 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
94 Reported by Howard Chu <hyc@symas.com> in
95 <https://savannah.gnu.org/support/?106975>.
97 ** Fix use of deprecated types internally.
98 Use of deprecated types in GnuTLS from now on will lead to a compile
99 error, to prevent this from happening again.
101 ** API and ABI modifications:
102 No changes since last version.
104 * Version 2.9.3 (released 2009-08-19)
106 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
107 The new APIs are gnutls_session_ticket_enable_client,
108 gnutls_session_ticket_enable_server, and
109 gnutls_session_ticket_key_generate.
111 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
113 ** API and ABI modifications:
114 gnutls_session_ticket_key_generate: ADDED.
115 gnutls_session_ticket_enable_client: ADDED.
116 gnutls_session_ticket_enable_server: ADDED.
118 * Version 2.9.2 (released 2009-08-14)
120 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
121 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
122 into 1) not printing the entire CN/SAN field value when printing a
123 certificate and 2) cause incorrect positive matches when matching a
124 hostname against a certificate.  Some CAs apparently have poor
125 checking of CN/SAN values and issue these (arguable invalid)
126 certificates.  Combined, this can be used by attackers to become a
127 MITM on server-authenticated TLS sessions.  The problem is mitigated
128 since attackers needs to get one certificate per site they want to
129 attack, and the attacker reveals his tracks by applying for a
130 certificate at the CA.  It does not apply to client authenticated TLS
131 sessions.  Research presented independently by Dan Kaminsky and Moxie
132 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
133 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
135 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
136 The function may fail incorrectly when an earlier certificate was
137 imported to the same gnutls_x509_crt_t structure.
139 ** minitasn1: Internal copy updated to libtasn1 v2.3.
141 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
142 Before it always returned false.  Reported by Peter Hendrickson
143 <pdh@wiredyne.com> in
144 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
146 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
147 The error resulted in truncated strings when printing unknown OIDs in
148 X.509 certificate DNs.  Reported by Tim Kosse
149 <tim.kosse@filezilla-project.org> in
150 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
152 ** libgnutls: Fix PKCS#12 decryption from password.
153 The encryption key derived from the password was incorrect for (on
154 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
155 Tomas" <tomas.kukosa@siemens-enterprise.com> in
156 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
158 ** libgnutls: Return correct bit lengths of some MPIs.
159 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
160 gnutls_dh_get_peers_public_bits.  Before the reported value was
161 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
162 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
164 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
165 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
166 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
168 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
170 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
171 Before we required that the runtime library used the same (or more
172 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
173 that the runtime usage is above the minimum required.  Reported by
174 Marco d'Itri <md@linux.it> via Andreas Metzler
175 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
177 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
179 ** tests: Improved test vectors in self-test pkcs12_s2k.
181 ** tests: Added new self-test dn2 to detect off-by-one size error.
183 ** tests: Fix failure in "chainverify" because a certificate have expired.
185 ** API and ABI modifications:
186 No changes since last version.
188 * Version 2.9.1 (released 2009-06-08)
190 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
191 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
192 <http://bugs.gentoo.org/272388>.
194 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
196 ** Reduce stack usage for some CRQ functions.
198 ** Doc fixes for CRQ functions.
200 ** API and ABI modifications:
201 No changes since last version.
203 * Version 2.9.0 (released 2009-05-28)
205 ** Doc fixes.
207 ** API and ABI modifications:
208 No changes since last version.
210 * Version 2.8.3 (released 2009-08-13)
212 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
213 Code intended to be removed would lead to an read-out-bound error in
214 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
215 code have been allocated for the vulnerability: [CVE-2009-2730].
217 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
218 The function may fail incorrectly when an earlier certificate was
219 imported to the same gnutls_x509_crt_t structure.
221 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
223 ** tests: Made self-test mini-eagain take less time.
225 ** doc: Typo fixes.
227 ** API and ABI modifications:
228 No changes since last version.
230 * Version 2.8.2 (released 2009-08-10)
232 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
233 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
234 into 1) not printing the entire CN/SAN field value when printing a
235 certificate and 2) cause incorrect positive matches when matching a
236 hostname against a certificate.  Some CAs apparently have poor
237 checking of CN/SAN values and issue these (arguable invalid)
238 certificates.  Combined, this can be used by attackers to become a
239 MITM on server-authenticated TLS sessions.  The problem is mitigated
240 since attackers needs to get one certificate per site they want to
241 attack, and the attacker reveals his tracks by applying for a
242 certificate at the CA.  It does not apply to client authenticated TLS
243 sessions.  Research presented independently by Dan Kaminsky and Moxie
244 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
245 for providing one part of the patch.  [GNUTLS-SA-2009-4].
247 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
248 Before it always returned false.  Reported by Peter Hendrickson
249 <pdh@wiredyne.com> in
250 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
252 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
253 The error resulted in truncated strings when printing unknown OIDs in
254 X.509 certificate DNs.  Reported by Tim Kosse
255 <tim.kosse@filezilla-project.org> in
256 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
258 ** libgnutls: Return correct bit lengths of some MPIs.
259 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
260 gnutls_dh_get_peers_public_bits.  Before the reported value was
261 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
262 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
264 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
265 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
266 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
268 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
270 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
271 Before we required that the runtime library used the same (or more
272 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
273 that the runtime usage is above the minimum required.  Reported by
274 Marco d'Itri <md@linux.it> via Andreas Metzler
275 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
277 ** minitasn1: Internal copy updated to libtasn1 v2.3.
279 ** tests: Fix failure in "chainverify" because a certificate have expired.
281 ** API and ABI modifications:
282 No changes since last version.
284 * Version 2.8.1 (released 2009-06-10)
286 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
287 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
288 <http://bugs.gentoo.org/272388>.
290 ** libgnutls: Fix PKCS#12 decryption from password.
291 The encryption key derived from the password was incorrect for (on
292 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
293 Tomas" <tomas.kukosa@siemens-enterprise.com> in
294 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
296 ** API and ABI modifications:
297 No changes since last version.
299 * Version 2.8.0 (released 2009-05-27)
301 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
303 ** Major changes compared to the v2.4 branch:
305 *** lib: Linker version scripts reduces number of exported symbols.
307 *** lib: Limit exported symbols on systems without LD linker scripts.
309 *** libgnutls: Fix namespace issue with version symbols.
311 *** libgnutls: Add functions to verify a hash against a certificate.
312 gnutls_x509_crt_verify_hash: ADDED
313 gnutls_x509_crt_get_verify_algorithm: ADDED
315 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
317 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
319 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
321 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
323 *** gnutls-serv: No longer disable MAC padding by default.
325 *** gnutls-cli: Certificate information output format changed.
327 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
328 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
330 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
332 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
334 *** libgnutls: gnutls_handshake when sending client hello during a
335 rehandshake, will not offer a version number larger than the current.
337 *** libgnutls: New interface to get key id for certificate requests.
338 gnutls_x509_crq_get_key_id: ADDED.
340 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
342 *** certtool: --verify-chain now prints results of using library verification.
344 *** libgnutls: Libgcrypt initialization changed.
346 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
348 *** gnutls-cli: Return non-zero exit code on error conditions.
350 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
352 *** certtool: allow setting arbitrary key purpose object identifiers.
354 *** libgnutls: Change detection of when to use a linker version script.
355 Use --enable-ld-version-script or --disable-ld-version-script to
356 override auto-detection logic.
358 *** Fix warnings and build GnuTLS with more warnings enabled.
360 *** New API to set X.509 credentials from PKCS#12 memory structure.
361 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
363 *** Old libgnutls.m4 and libgnutls-config scripts removed.
364 Please use pkg-config instead.
366 *** libgnutls: Added functions to handle CRL extensions.
367 gnutls_x509_crl_get_authority_key_id: ADDED
368 gnutls_x509_crl_get_number: ADDED
369 gnutls_x509_crl_get_extension_oid: ADDED
370 gnutls_x509_crl_get_extension_info: ADDED
371 gnutls_x509_crl_get_extension_data: ADDED
372 gnutls_x509_crl_set_authority_key_id: ADDED
373 gnutls_x509_crl_set_number: ADDED
375 *** libgnutls: Added functions to handle X.509 extensions in Certificate
376 Requests.
377 gnutls_x509_crq_get_key_rsa_raw: ADDED
378 gnutls_x509_crq_get_attribute_info: ADDED
379 gnutls_x509_crq_get_attribute_data: ADDED
380 gnutls_x509_crq_get_extension_info: ADDED
381 gnutls_x509_crq_get_extension_data: ADDED
382 gnutls_x509_crq_get_key_usage: ADDED
383 gnutls_x509_crq_get_basic_constraints: ADDED
384 gnutls_x509_crq_get_subject_alt_name: ADDED
385 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
386 gnutls_x509_crq_get_extension_by_oid: ADDED
387 gnutls_x509_crq_set_subject_alt_name: ADDED
388 gnutls_x509_crq_set_basic_constraints: ADDED
389 gnutls_x509_crq_set_key_usage: ADDED
390 gnutls_x509_crq_get_key_purpose_oid: ADDED
391 gnutls_x509_crq_set_key_purpose_oid: ADDED
392 gnutls_x509_crq_print: ADDED
393 gnutls_x509_crt_set_crq_extensions: ADDED
395 *** certtool: Print and set CRL and CRQ extensions.
397 *** minitasn1: Internal copy updated to libtasn1 v2.1.
399 *** examples: Now released into the public domain.
401 *** The Texinfo and GTK-DOC manuals were improved.
403 *** Several self-tests were added and others improved.
405 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
406 No offically supported interfaces have been modified or removed.  The
407 library should be completely backwards compatible on both the source
408 and binary level.
410 The shared library no longer exports some symbols that have never been
411 officially supported, i.e., not mentioned in any of the header files.
412 The symbols are:
414   _gnutls*
415   gnutls_asn1_tab
416   
417 Normally when symbols are removed, the shared library version has to
418 be incremented.  This leads to a significant cost for everyone using
419 the library.  Because none of the above symbols have ever been
420 intended for use by well-behaved applications, we decided that the it
421 would be better for those applications to pay the price rather than
422 incurring problems on the majority of applications.
424 If it turns out that applications have been using unofficial
425 interfaces, we will need to release a follow-on release on the v2.8
426 branch to exports additional interfaces.  However, initial testing
427 suggests that few if any applications have been using any of the
428 internal symbols.
430 Although not a new change compared to 2.6.x, we'd like to remind you
431 interfaces have been modified so that X.509 chain verification now
432 also checks activation/expiration times on certificates.  The affected
433 functions are:
435 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
436 gnutls_certificate_verify_peers: Likewise.
437 gnutls_certificate_verify_peers2: Likewise.
438 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
439 GNUTLS_CERT_EXPIRED: ADDED.
440 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
442 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
443 we gave our rationale for it in earlier release notes.
445 The following symbols have been added to the library:
447 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
448 gnutls_x509_crl_get_authority_key_id: ADDED
449 gnutls_x509_crl_get_extension_data: ADDED
450 gnutls_x509_crl_get_extension_info: ADDED
451 gnutls_x509_crl_get_extension_oid: ADDED
452 gnutls_x509_crl_get_number: ADDED
453 gnutls_x509_crl_set_authority_key_id: ADDED
454 gnutls_x509_crl_set_number: ADDED
455 gnutls_x509_crq_get_attribute_data: ADDED
456 gnutls_x509_crq_get_attribute_info: ADDED
457 gnutls_x509_crq_get_basic_constraints: ADDED
458 gnutls_x509_crq_get_extension_by_oid: ADDED
459 gnutls_x509_crq_get_extension_data: ADDED
460 gnutls_x509_crq_get_extension_info: ADDED
461 gnutls_x509_crq_get_key_id: ADDED.
462 gnutls_x509_crq_get_key_purpose_oid: ADDED
463 gnutls_x509_crq_get_key_rsa_raw: ADDED
464 gnutls_x509_crq_get_key_usage: ADDED
465 gnutls_x509_crq_get_subject_alt_name: ADDED
466 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
467 gnutls_x509_crq_print: ADDED
468 gnutls_x509_crq_set_basic_constraints: ADDED
469 gnutls_x509_crq_set_key_purpose_oid: ADDED
470 gnutls_x509_crq_set_key_usage: ADDED
471 gnutls_x509_crq_set_subject_alt_name: ADDED
472 gnutls_x509_crt_get_verify_algorithm: ADDED
473 gnutls_x509_crt_set_crq_extensions: ADDED
474 gnutls_x509_crt_verify_hash: ADDED
476 The following interfaces have been added to the header files:
478 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
479 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
480 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
481 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
482 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
483 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
485 The following interfaces have been deprecated:
487 LIBGNUTLS_VERSION: DEPRECATED.
488 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
489 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
490 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
491 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
492 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
494 * Version 2.7.14 (released 2009-05-26)
496 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
497 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
498 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
499 deprecated.
501 ** Doc: Several typo fixes in documentation.
502 Reported by Peter Hendrickson <pdh@wiredyne.com>.
504 ** API and ABI modifications:
505 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
506 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
508 * Version 2.7.13 (released 2009-05-25)
510 ** libgnutls: Fix version of some exported symbols in the shared library.
511 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
512 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
514 ** tests: Handle recently expired certificates in chainverify self-test.
515 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
516 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
518 ** API and ABI modifications:
519 No changes since last version.
521 * Version 2.7.12 (released 2009-05-20)
523 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
525 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
526 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
527 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
529 ** Fix build failures.
530 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
531 G. Christensen" <tgc@jupiterrise.com> in
532 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
534 ** minitasn1: Internal copy updated to libtasn1 v2.2.
535 GnuTLS should work fine with libtasn1 v1.x and that is still
536 supported.
538 ** API and ABI modifications:
539 No changes since last version.
541 * Version 2.7.11 (released 2009-05-18)
543 ** minitasn1: Fix build failure when using internal libtasn1.
544 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
545 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
547 ** libgnutls: Fix build failure with --disable-cxx.
548 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
549 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
551 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
552 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
553 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
555 ** Building with many warning flags now requires --enable-gcc-warnings.
556 This avoids crying wolf for normal compiles.
558 ** API and ABI modifications:
559 No changes since last version.
561 * Version 2.7.10 (released 2009-05-13)
563 ** examples: Now released into the public domain.
564 This makes the license of the example code compatible with more
565 licenses, including the (L)GPL.
567 ** minitasn1: Internal copy updated to libtasn1 v2.1.
568 GnuTLS should work fine with libtasn1 v1.x and that is still
569 supported.
571 ** libgnutls: Fix crash in signature verification
572 The fix for the CVE-2009-1415 problem wasn't merged completely.
574 ** doc: Fixes for GTK-DOC output.
576 ** API and ABI modifications:
577 No changes since last version.
579 * Version 2.7.9 (released 2009-05-11)
581 ** doc: Fix strings in man page of gnutls_priority_init.
583 ** doc: Fix tables of error codes and supported algorithms.
585 ** Fix build failure when cross-compiled using MinGW.
587 ** Fix build failure when LZO is enabled.
588 Reported by Arfrever Frehtes Taifersar Arahesis
589 <arfrever.fta@gmail.com> in
590 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
592 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
593 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
594 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
596 ** Fix warnings in self-tests.
598 ** API and ABI modifications:
599 No changes since last version.
601 * Version 2.7.8 (released 2009-05-03)
603 ** libgnutls: Fix DSA key generation.
604 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
606 ** libgnutls: Check expiration/activation time on untrusted certificates.
607 Merged from stable branch.  Reported by Romain Francoise
608 <romain@orebokech.com>.  This changes the semantics of
609 gnutls_x509_crt_list_verify, which in turn is used by
610 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
611 We add two new gnutls_certificate_status_t codes for reporting the new
612 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
613 We also add a new gnutls_certificate_verify_flags flag,
614 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
615 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
617 ** lib: Linker version scripts reduces number of exported symbols.
618 The linker version script now lists all exported ABIs explicitly, to
619 avoid accidentally exporting unintended functions.  Compared to
620 before, most symbols beginning with _gnutls* are no longer exported.
621 These functions have never been intended for use by applications, and
622 there were no prototypes for these function in the public header
623 files.  Thus we believe it is possible to do this without incrementing
624 the library ABI version which normally has to be done when removing an
625 interface.
627 ** lib: Limit exported symbols on systems without LD linker scripts.
628 Before all symbols were exported.  Now we limit the exported symbols
629 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
630 _gnutls*.  This is a superset of the actual supported ABI, but still
631 an improvement compared to before.  This is implemented using Libtool
632 -export-symbols-regex.  It is more portable than linker version
633 scripts.
635 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
636 This should have been done in the last release.
638 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
639 Reported by Peter Hendrickson <pdh@wiredyne.com> in
640 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
642 ** doc: Improved sections for the info manual.
643 We now follow the advice given by the texinfo manual on which
644 directory categories to use.  In particular, libgnutls moved from the
645 'GNU Libraries' section to the 'Software libraries' and the command
646 line tools moved from 'Network Applications' to 'System
647 Administration'.
649 ** API and ABI modifications:
650 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
651 gnutls_certificate_verify_peers: Likewise.
652 gnutls_certificate_verify_peers2: Likewise.
653 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
654 GNUTLS_CERT_EXPIRED: ADDED.
655 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
657 * Version 2.7.7 (released 2009-04-20)
659 ** libgnutls: Applied patch by Cedric Bail to add functions
660 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
662 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
663 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
664 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
666 ** minitasn1: Internal copy updated to libtasn1 v1.8.
667 GnuTLS is also internally ready to be used with libtasn1 v2.0.
669 ** doc: Fix build failure of errcodes/printlist.
670 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
671 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
673 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
674 It is currently only used by the core library.  This will enable a new
675 domain 'gnutls' for translations of the command line tools.
677 ** Corrected possible memory corruption on signature verification failure. 
678 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
680 ** API and ABI modifications:
681 gnutls_x509_crt_verify_hash: ADDED
682 gnutls_x509_crt_get_verify_algorithm: ADDED
684 * Version 2.7.6 (released 2009-02-27)
686 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
687 This applies both to generating certificates and certificate requests.
689 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
691 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
692 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
693 be used for chain verification.
695 ** gnutls-serv: No longer disable MAC padding by default.
696 Use --priority NORMAL:%COMPAT to disable MAC padding again.
698 ** gnutls-cli: Certificate information output format changed.
699 The tool now uses libgnutls' functions to print certificate
700 information.  This avoids code duplication.
702 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
703 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
704 They can be used to override the default certificate chain validation
705 behaviour.
707 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
708 specify the client hello message record version. Used to overcome buggy 
709 TLS servers. Report by Martin von Gagern.
711 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
713 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
715 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
717 ** API and ABI modifications:
718 No changes since last version.
720 * Version 2.7.5 (released 2009-02-06)
722 ** libgnutls: Accept chains where intermediary certs are trusted.
723 Before GnuTLS needed to validate the entire chain back to a
724 self-signed certificate.  GnuTLS will now stop looking when it has
725 found an intermediary trusted certificate.  The new behaviour is
726 useful when chains, for example, contains a top-level CA, an
727 intermediary CA signed using RSA-MD5, and an end-entity certificate.
728 To avoid chain validation errors due to the RSA-MD5 cert, you can
729 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
730 The signature on trusted certificates are not checked, so the chain
731 has a chance to validate correctly.  Reported by "Douglas E. Engert"
732 <deengert@anl.gov> in
733 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
735 ** libgnutls: result_size in gnutls_hex_encode now holds
736 the size of the result. Report by John Brooks <special@dereferenced.net>.
738 ** libgnutls: gnutls_handshake when sending client hello during a
739 rehandshake, will not offer a version number larger than the current.
740 Reported by Tristan Hill <stan@saticed.me.uk>.
742 ** libgnutls: Permit V1 Certificate Authorities properly.
743 Before they were mistakenly rejected even though
744 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
745 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
746 "Douglas E. Engert" <deengert@anl.gov> in
747 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
749 ** API and ABI modifications:
750 No changes since last version.
752 * Version 2.7.4 (released 2009-01-07)
754 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
755 This is a bugfix -- the previous attempt to do this from internal x509
756 certificate verification procedures did not return the correct value
757 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
758 <dkg@fifthhorseman.net> in
759 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
760 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
761 Gillmor <dkg@fifthhorseman.net>.
763 ** libgnutls: New interface to get key id for certificate requests.
764 Patch from David Marín Carreño <davefx@gmail.com> in
765 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
767 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
769 ** certtool: --verify-chain now prints results of using library verification.
770 Earlier, certtool --verify-chain used its own validation algorithm
771 which wasn't guaranteed to give the same result as the libgnutls
772 internal validation algorithm.  Now this command print a new final
773 line with header 'Chain verification output:' that contains the result
774 from using the internal verification algorithm on the same chain.
776 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
778 ** API and ABI modifications:
779 gnutls_x509_crq_get_key_id: ADDED.
781 * Version 2.7.3 (released 2008-12-10)
783 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
784 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
785 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
786 Andreas Metzler <ametzler@downhill.at.eu.org> in
787 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
789 ** libgnutls: Libgcrypt initialization changed.
790 If libgcrypt has not already been initialized, GnuTLS will now
791 initialize libgcrypt with disabled secure memory.  Initialize
792 libgcrypt explicitly in your application if you want to enable secure
793 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
794 allocation functions, which doesn't use secure memory, so there is no
795 real change in behaviour.
797 ** libgnutls: Fix memory leak in PSK authentication.
798 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
799 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
801 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
803 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
804 It needs to be invoked before libgcrypt is initialized.
806 ** gnutls-cli: Return non-zero exit code on error conditions.
808 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
810 ** tests: Added chainverify self-test that tests X.509 chain verifications.
812 ** API and ABI modifications:
813 No changes since last version.
815 * Version 2.7.2 (released 2008-11-18)
817 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
818 The flaw makes it possible for man in the middle attackers (i.e.,
819 active attackers) to assume any name and trick GNU TLS clients into
820 trusting that name.  Thanks for report and analysis from Martin von
821 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
823 Any updates with more details about this vulnerability will be added
824 to <http://www.gnu.org/software/gnutls/security.html>
826 ** libgnutls: Fix namespace issue with version symbols.
827 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
828 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
829 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
830 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
831 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
832 work but are deprecated.
834 ** certtool: allow setting arbitrary key purpose object identifiers.
836 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
838 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
839 Reported by Kevin Quick <quick@sparq.org> in
840 <https://savannah.gnu.org/support/index.php?106454>.
842 ** libgnutls-extra: Make building with LZO compression work again.
843 Build failure reported by Arfrever Frehtes Taifersar Arahesis
844 <arfrever.fta@gmail.com> in
845 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
847 ** libgnutls: Change detection of when to use a linker version script.
848 Use --enable-ld-version-script or --disable-ld-version-script to
849 override auto-detection logic.
851 ** doc: Change license on the manual to GFDLv1.3+.
853 ** doc: GTK-DOC fixes for new splitted configuration system.
855 ** doc: Texinfo stylesheet uses white background.
857 ** tests: Add cve-2008-4989.c self-test.
858 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
859 follow-on problem with crashes on length 1 certificate chains.
861 ** gnulib: Deprecated modules removed.
862 Modules include memchr and memcmp.
864 ** Fix warnings and build GnuTLS with more warnings enabled.
866 ** minitasn1: Internal copy updated to libtasn1 v1.7.
868 ** API and ABI modifications:
869 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
870 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
871 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
872 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
873 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
874 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
875 LIBGNUTLS_VERSION: DEPRECATED.
876 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
877 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
878 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
879 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
881 * Version 2.7.1 (released 2008-10-31)
883 ** certtool: print a PKCS #8 key even if it is not encrypted.
885 ** Old libgnutls.m4 and libgnutls-config scripts removed.
886 Please use pkg-config instead.
888 ** Configuration system modified.
889 There is now a configure script in lib/ and libextra/ as well, because
890 gnulib works better with a config.h per gnulib directory.
892 ** API and ABI modifications:
893 No changes since last version.
895 * Version 2.7.0 (released 2008-10-16)
897 ** libgnutls: Added functions to handle CRL extensions.
899 ** libgnutls: Added functions to handle X.509 extensions in Certificate
900 Requests.
902 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
903 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
905 ** certtool: Print and set CRL and CRQ extensions.
907 ** libgnutls-extra: Protect internal symbols with static.
908 Fixes problem when linking certtool statically.  Tiny patch from Aaron
909 Ucko <ucko@ncbi.nlm.nih.gov>.
911 ** libgnutls-openssl: fix out of bounds access.
912 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
913 from Thomas Viehmann <tv@beamnet.de>.
915 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
917 ** tests: Make tests compile when using internal libtasn1.
918 Patch by ludo@gnu.org (Ludovic Courtès).
920 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
921 We now require a libgcrypt that has Camellia constants declared in
922 gcrypt.h, which means v1.3.0 or later.
924 ** API and ABI modifications:
925 gnutls_x509_crl_get_authority_key_id: ADDED
926 gnutls_x509_crl_get_number: ADDED
927 gnutls_x509_crl_get_extension_oid: ADDED
928 gnutls_x509_crl_get_extension_info: ADDED
929 gnutls_x509_crl_get_extension_data: ADDED
930 gnutls_x509_crl_set_authority_key_id: ADDED
931 gnutls_x509_crl_set_number: ADDED
932 gnutls_x509_crq_get_key_rsa_raw: ADDED
933 gnutls_x509_crq_get_attribute_info: ADDED
934 gnutls_x509_crq_get_attribute_data: ADDED
935 gnutls_x509_crq_get_extension_info: ADDED
936 gnutls_x509_crq_get_extension_data: ADDED
937 gnutls_x509_crq_get_key_usage: ADDED
938 gnutls_x509_crq_get_basic_constraints: ADDED
939 gnutls_x509_crq_get_subject_alt_name: ADDED
940 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
941 gnutls_x509_crq_get_extension_by_oid: ADDED
942 gnutls_x509_crq_set_subject_alt_name: ADDED
943 gnutls_x509_crq_set_basic_constraints: ADDED
944 gnutls_x509_crq_set_key_usage: ADDED
945 gnutls_x509_crq_get_key_purpose_oid: ADDED
946 gnutls_x509_crq_set_key_purpose_oid: ADDED
947 gnutls_x509_crq_print: ADDED
948 gnutls_x509_crt_set_crq_extensions: ADDED
950 * Version 2.6.6 (released 2009-04-30)
952 ** libgnutls: Corrected double free on signature verification failure.
953 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
954 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
956 ** libgnutls: Fix DSA key generation.
957 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
958 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
959 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
961 ** libgnutls: Check expiration/activation time on untrusted certificates.
962 Reported by Romain Francoise <romain@orebokech.com>.  Before the
963 library did not check activation/expiration times on certificates, and
964 was documented as not doing so.  We have realized that many
965 applications that use libgnutls, including gnutls-cli, fail to perform
966 proper checks.  Implementing similar logic in all applications leads
967 to code duplication.  Hence, we decided to check whether the current
968 time (as reported by the time function) is within the
969 activation/expiration period of certificates when verifying untrusted
970 certificates.
972 This changes the semantics of gnutls_x509_crt_list_verify, which in
973 turn is used by gnutls_certificate_verify_peers and
974 gnutls_certificate_verify_peers2.  We add two new
975 gnutls_certificate_status_t codes for reporting the new error
976 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
977 add a new gnutls_certificate_verify_flags flag,
978 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
979 behaviour.
981 More details about the vulnerabilities will be posted at
982 <http://www.gnu.org/software/gnutls/security.html>.
984 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
985 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
986 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
988 ** tests: Fix linking of tests/openpgp/keyring self-test.
989 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
991 ** API and ABI modifications:
992 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
993 gnutls_certificate_verify_peers: Likewise.
994 gnutls_certificate_verify_peers2: Likewise.
995 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
996 GNUTLS_CERT_EXPIRED: ADDED.
997 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
999 * Version 2.6.5 (released 2009-04-11)
1001 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1002 specify the client hello message record version. Used to overcome buggy
1003 TLS servers. Report by Martin von Gagern.
1005 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1006 Libtasn1 0.3.4 or later is required.  This is to align with the
1007 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1009 ** API and ABI modifications:
1010 No changes since last version.
1012 * Version 2.6.4 (released 2009-02-06)
1014 ** libgnutls: Accept chains where intermediary certs are trusted.
1015 Before GnuTLS needed to validate the entire chain back to a
1016 self-signed certificate.  GnuTLS will now stop looking when it has
1017 found an intermediary trusted certificate.  The new behaviour is
1018 useful when chains, for example, contains a top-level CA, an
1019 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1020 To avoid chain validation errors due to the RSA-MD5 cert, you can
1021 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1022 The signature on trusted certificates are not checked, so the chain
1023 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1024 <deengert@anl.gov> in
1025 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1027 ** libgnutls: result_size in gnutls_hex_encode now holds
1028 the size of the result. Report by John Brooks <special@dereferenced.net>.
1030 ** libgnutls: gnutls_handshake when sending client hello during a
1031 rehandshake, will not offer a version number larger than the current.
1032 Reported by Tristan Hill <stan@saticed.me.uk>.
1034 ** libgnutls: Permit V1 Certificate Authorities properly.
1035 Before they were mistakenly rejected even though
1036 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1037 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1038 "Douglas E. Engert" <deengert@anl.gov> in
1039 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1041 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1042 This is a bugfix -- the previous attempt to do this from internal x509
1043 certificate verification procedures did not return the correct value
1044 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1045 <dkg@fifthhorseman.net> in
1046 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1047 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1048 Gillmor <dkg@fifthhorseman.net>.
1050 ** libgnutls: Fix compile error with Sun CC.
1051 Reported by Jeff Cai <jeff.cai@sun.com> in
1052 <https://savannah.gnu.org/support/?106549>.
1054 ** API and ABI modifications:
1055 No changes since last version.
1057 * Version 2.6.3 (released 2008-12-12)
1059 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1060 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1061 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1062 Andreas Metzler <ametzler@downhill.at.eu.org> in
1063 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1065 ** libgnutls: Fix memory leak in PSK authentication.
1066 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1067 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1069 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1070 It needs to be invoked before libgcrypt is initialized.
1072 ** gnutls-cli: Return non-zero exit code on error conditions.
1074 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1076 ** API and ABI modifications:
1077 No changes since last version.
1079 * Version 2.6.2 (released 2008-11-12)
1081 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1082 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1083 problem for certificate chains that contained just one self-signed
1084 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1085 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1087 ** API and ABI modifications:
1088 No changes since last version.
1090 * Version 2.6.1 (released 2008-11-10)
1092 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1093 The flaw makes it possible for man in the middle attackers (i.e.,
1094 active attackers) to assume any name and trick GNU TLS clients into
1095 trusting that name.  Thanks for report and analysis from Martin von
1096 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1098 Any updates with more details about this vulnerability will be added
1099 to <http://www.gnu.org/software/gnutls/security.html>
1101 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1102 Reported by Kevin Quick <quick@sparq.org> in
1103 <https://savannah.gnu.org/support/index.php?106454>.
1105 ** libgnutls-extra: Protect internal symbols with static.
1106 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1107 Ucko <ucko@ncbi.nlm.nih.gov>.
1109 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1110 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1111 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1113 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1115 ** tests: Make tests compile when using internal libtasn1.
1116 Patch by ludo@gnu.org (Ludovic Courtès).
1118 ** API and ABI modifications:
1119 No changes since last version.
1121 * Version 2.6.0 (released 2008-10-06)
1123 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1125 ** libgnutls-openssl: fix out of bounds access.
1126 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1127 from Thomas Viehmann <tv@beamnet.de>.
1129 ** certtool: Use inet_pton for parsing IPv6 addresses.
1131 ** Major changes compared to the v2.4 branch:
1133 *** Added API to replace and update the crypto backend.
1135 *** certtool: can add several subject alternative names via template file.
1137 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1139 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1140 either set or append alternative names. It can also handle binary structures
1141 such as IP addresses.
1143 *** libgnutls: New function to set minimum acceptable SRP bits.
1144 The function is gnutls_srp_set_prime_bits.
1146 *** libgnutls: Add interface to deal with public key and signature algorithms.
1147 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1148 gnutls_sign_list, and gnutls_sign_get_id.
1150 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1151 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1153 *** libgnutls: New API to get a string corresponding to a error symbol.
1154 The function is gnutls_strerror_name.
1156 *** libgnutls: New API to set the public parameters in a certificate request
1157 *** from a private key.
1158 The function is gnutls_x509_crq_set_key_rsa_raw.
1160 *** libgnutls: New API to set a callback to extract TLS Finished data.
1161 The function to register is gnutls_session_set_finished_function and
1162 it takes a callback of the gnutls_finished_callback_func type.
1164 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1166 *** libgnutls: New interface to register a new TLS extension handler.
1167 The new function gnutls_ext_register can be used to register handlers
1168 for specific TLS extension types.  The callback functions have the new
1169 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1170 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1171 well.
1173 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1174 The function is gnutls_register_md5_handler.  When libgcrypt is in
1175 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1176 the PRF.
1178 *** API/ABI changes in GnuTLS 2.6
1179 No functions have been removed or modified.  The library should be
1180 fully backwards compatible on both the source and binary level.
1182 A new header file <gnutls/crypto.h> have been added.  It contains
1183 definitions related to replacing the internal crypto functionality.
1184 All definitions and the header itself is experimental but supported.
1186 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1187 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1188 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1190 The following functions have been added to libgnutls:
1192 GNUTLS_MASTER_SIZE
1193 GNUTLS_RANDOM_SIZE
1194 gnutls_crypto_bigint_register2
1195 gnutls_crypto_cipher_register2
1196 gnutls_crypto_digest_register2
1197 gnutls_crypto_mac_register2
1198 gnutls_crypto_pk_register2
1199 gnutls_crypto_rnd_register2
1200 gnutls_crypto_single_cipher_register2
1201 gnutls_crypto_single_digest_register2
1202 gnutls_crypto_single_mac_register2
1203 gnutls_ext_register
1204 gnutls_pk_get_id
1205 gnutls_pk_get_name
1206 gnutls_pk_list
1207 gnutls_session_set_finished_function
1208 gnutls_sign_get_id
1209 gnutls_sign_get_name
1210 gnutls_sign_list
1211 gnutls_srp_set_prime_bits:
1212 gnutls_strerror_name
1213 gnutls_x509_crq_set_key_rsa_raw
1214 gnutls_x509_crt_set_crl_dist_points2
1215 gnutls_x509_crt_set_subject_alt_name
1217 The following functions have been added to libgnutls-extra:
1219 gnutls_register_md5_handler
1221 ** API and ABI modifications:
1222 No changes since last version.
1224 * Version 2.5.9 (released 2008-09-29)
1226 ** libgnutls: Fix several memory leaks.
1227 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1229 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1230 Report and patch by Jonathan Manktelow.
1232 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1233 The parameters are now allocated in the structure itself.
1235 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1237 ** tests: Scripts now use EXEEXT properly.
1238 Modern libtool doesn't create wrapper script, so the self tests need
1239 to invoke certtool.exe under MinGW32+Wine.
1241 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1242 Automake warnings are now also enabled.
1244 ** API and ABI modifications:
1245 gnutls_pk_params_st: MODIFIED
1247 * Version 2.5.8 (released 2008-09-21)
1249 ** certtool: updated so it can add several subject alternative names using
1250 the template file.
1252 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1253 either set or append alternative names. It can also handle binary structures
1254 such as IP addresses.
1256 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1258 ** libgnutls: New function to set minimum acceptable SRP bits.
1259 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1260 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1262 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1263 Also fix overflows in calls to those functions.  Reported by Werner
1264 Koch <wk@gnupg.org>.
1266 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1267 The function is gnutls_register_md5_handler.  When libgcrypt is in
1268 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1269 the PRF.
1271 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1273 ** Indent code.
1275 ** API and ABI modifications:
1276 gnutls_srp_set_prime_bits: ADDED
1277 gnutls_register_md5_handler: ADDED
1278 gnutls_x509_crt_set_crl_dist_points2: ADDED
1279 gnutls_x509_crt_set_subject_alt_name: ADDED
1281 * Version 2.5.7 (released 2008-09-16)
1283 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1284 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1286 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1288 ** libgnutls: Fix libgnutls shared library version.
1289 It wasn't properly incremented after adding symbols in the last
1290 release.
1292 ** manual: Now mention supported public key and public key signing algorithms.
1294 ** tests/openssl: initialize gnutls before use.
1296 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1298 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1300 ** API and ABI modifications:
1301 gnutls_sign_get_name: ADDED
1302 gnutls_pk_get_name: ADDED
1304 * Version 2.5.6 (released 2008-09-08)
1306 ** libgnutls: Add interface to deal with public key and signature algorithms.
1307 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1308 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1309 Varshavchik <mrsam@courier-mta.com>.
1311 ** libgnutls: Refactor and clean up some code.
1313 ** libgnutls: Fix compile error with Sun CC.
1315 ** gnutls-cli: Improve --list output to include public key and signature algs.
1317 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1318 Use standard --version to get license info.
1320 ** gnutls-cli.1: Document all new parameters.
1321 Thanks to James Westby <jw+debian@jameswestby.net>.
1323 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1324 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1326 ** API and ABI modifications:
1327 gnutls_pk_list: ADDED
1328 gnutls_pk_get_id: ADDED
1329 gnutls_sign_list: ADDED
1330 gnutls_sign_get_id: ADDED
1332 * Version 2.5.5 (released 2008-08-29)
1334 ** libgnutls: New API to get a string corresponding to a error symbol.
1335 The function is gnutls_strerror_name.
1337 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1338 Reported by "jth.net ApS" <info@jth.net>.
1340 ** libgnutls: Fix segmentation fault when generating private keys.
1341 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1343 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1344 The code has not worked since v0.9.0 and apparently nobody has missed
1345 it, so we decided to remove the code rather than fix it.  If you have
1346 old certificate chains stored in PKCS#7 format, you can convert them
1347 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1348 by Christian Grothoff <christian@grothoff.org>.
1350 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1351 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1353 ** libgnutls: Fix many warnings.
1355 ** Included copy of libtasn1 is upgraded to version 1.5.
1357 ** Add French translation, thanks to Nicolas Provost.
1359 ** API and ABI modifications:
1360 gnutls_strerror_name: ADDED
1362 * Version 2.5.4 (released 2008-08-19)
1364 ** Fix secure memory initialization of libgcrypt.
1365 Reported by Joe Orton <joe@manyfish.co.uk> in
1366 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1368 ** Doc fixes.
1369 Reference to NIST SP 800-57 in the manual on key size recommendations.
1370 Added 'Since:' tags to new APIs for gtk-doc.
1372 ** API and ABI modifications:
1373 No changes since last version.
1375 * Version 2.5.3 (released 2008-08-14)
1377 ** libgnutls: New API to set the public parameters in a certificate request
1378 ** from a private key.
1379 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1380 discussion with "Zach C." <fxchip@gmail.com>.
1382 ** libgnutls: New API to set a callback to extract TLS Finished data.
1383 The function to register is gnutls_session_set_finished_function and
1384 it takes a callback of the gnutls_finished_callback_func type.
1386 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1387 Reported in <https://savannah.gnu.org/support/?106453>.
1389 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1390 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1391 names are mapped to the new names in compat.h.  These mappings will
1392 likely be removed more quickly than other mappings in that file due to
1393 the namespace violation.
1395 ** libgnutlsxx: Make it build when SRP is disabled.
1397 ** doc: Add doxygen files in doc/doxygen/.
1399 ** API and ABI modifications:
1400 gnutls_x509_crq_set_key_rsa_raw: ADDED
1401 gnutls_session_set_finished_function: ADDED
1402 gnutls_finished_callback_func: ADDED
1403 GNUTLS_MASTER_SIZE: ADDED
1404 GNUTLS_RANDOM_SIZE: ADDED
1405 TLS_MASTER_SIZE: DEPRECATED
1406 TLS_RANDOM_SIZE: DEPRECATED
1408 * Version 2.5.2 (released 2008-07-08)
1410 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1411 The prime and generator was swapped.
1413 ** libgnutls: New interface to register a new TLS extension handler.
1414 The new function gnutls_ext_register can be used to register handlers
1415 for specific TLS extension types.  The callback functions have the new
1416 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1417 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1418 well.
1420 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1421 This was made possible by using the new gnutls_ext_register interface.
1422 The TLS/IA functionality has only been supported through the
1423 libgnutls-extra library, so it makes sense for the code to belong
1424 there too.
1426 ** API and ABI modifications:
1427 gnutls_ext_recv_func: ADDED
1428 gnutls_ext_send_func: ADDED
1429 gnutls_ext_parse_type_t: ADDED
1430 gnutls_ext_register: ADDED
1432 * Version 2.5.1 (released 2008-07-02)
1434 ** Indent code.
1436 ** API and ABI modifications:
1437 No changes since last version.
1439 * Version 2.5.0 (released 2008-07-02)
1441 ** Port fixes from v2.4.1 release, see below.
1443 ** Added API to replace and update the crypto backend.
1444 The header gnutls/crypto.h is now officially supported, and declares
1445 the symbols below.
1447 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1449 ** Update gnulib and translations.
1450 The gnulib gc crypto code has been removed since it was never finished
1451 and is no longer even used.  An internal non-libgcrypt crypto
1452 implementation may be added in the future, but we'll decide that later
1455 ** API and ABI modifications:
1456 gnutls_crypto_bigint_register2: ADDED.
1457 gnutls_crypto_cipher_register2: ADDED.
1458 gnutls_crypto_digest_register2: ADDED.
1459 gnutls_crypto_mac_register2: ADDED.
1460 gnutls_crypto_pk_register2: ADDED.
1461 gnutls_crypto_rnd_register2: ADDED.
1462 gnutls_crypto_single_cipher_register2: ADDED.
1463 gnutls_crypto_single_digest_register2: ADDED.
1464 gnutls_crypto_single_mac_register2: ADDED.
1466 * Version 2.4.3 (released 2009-02-06)
1468 ** libgnutls: Accept chains where intermediary certs are trusted.
1469 Before GnuTLS needed to validate the entire chain back to a
1470 self-signed certificate.  GnuTLS will now stop looking when it has
1471 found an intermediary trusted certificate.  The new behaviour is
1472 useful when chains, for example, contains a top-level CA, an
1473 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1474 To avoid chain validation errors due to the RSA-MD5 cert, you can
1475 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1476 The signature on trusted certificates are not checked, so the chain
1477 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1478 <deengert@anl.gov> in
1479 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1481 ** libgnutls: Permit V1 Certificate Authorities properly.
1482 Before they were mistakenly rejected even though
1483 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1484 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1485 "Douglas E. Engert" <deengert@anl.gov> in
1486 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1488 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1489 This is a bugfix -- the previous attempt to do this from internal x509
1490 certificate verification procedures did not return the correct value
1491 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1492 <dkg@fifthhorseman.net> in
1493 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1494 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1495 Gillmor <dkg@fifthhorseman.net>.
1497 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1498 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1499 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1500 Andreas Metzler <ametzler@downhill.at.eu.org> in
1501 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1503 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1504 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1505 problem for certificate chains that contained just one self-signed
1506 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1507 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1509 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1510 The flaw makes it possible for man in the middle attackers (i.e.,
1511 active attackers) to assume any name and trick GNU TLS clients into
1512 trusting that name.  Thanks for report and analysis from Martin von
1513 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1515 Any updates with more details about this vulnerability will be added
1516 to <http://www.gnu.org/software/gnutls/security.html>
1518 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1519 Report and patch by Jonathan Manktelow.
1521 ** libgnutls: Avoid use of non-thread safe strerror.
1523 ** API and ABI modifications:
1524 No changes since last version.
1526 * Version 2.4.2 (released 2008-09-15)
1528 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1530 ** libgnutls: Corrected memory leak in X.509 functions.
1531 Thanks to Colin Leroy <colin@colino.net>.
1533 ** libgnutls: Fix compile error with Sun CC.
1535 ** gnutls-cli.1: Document all new parameters.
1536 Thanks to James Westby <jw+debian@jameswestby.net>.
1538 ** tests/openssl: initialize gnutls before use.
1539 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1540 <ludovic.courtes@laas.fr>.
1542 ** doc/: Fix texinfo markup for old texinfo versions.
1544 ** Included copy of libtasn1 is upgraded to version 1.5.
1546 ** API and ABI modifications:
1547 No changes since last version.
1549 * Version 2.4.1 (released 2008-06-30)
1551 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1552 If the gnutls_handshake function is called for a normal session, which
1553 can happen for re-handshakes, the library would crash because it tried
1554 to hash some data using a libgcrypt handle that had been deallocated.
1555 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1556 with more details about this vulnerability will be added to
1557 <http://www.gnu.org/software/gnutls/security.html>
1559 ** libgnutls: Fix memory leaks when doing a re-handshake.
1560 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1561 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1563 ** Fix compiler warnings.
1564 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1565 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1567 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1568 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1569 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1571 ** srptool: Fix a problem where --verify check does not succeed.
1572 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1573 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1575 ** API and ABI modifications:
1576 No changes since last version.
1578 * Version 2.4.0 (released 2008-06-19)
1580 ** Major changes compared to the v2.2 branch:
1582 *** The OpenPGP sub-system has been improved and now supports subkeys.
1584 *** The PSK sub-system has been improved and now supports password
1585 *** derivation and PSK identity hints.
1586 The password derivation algorithms support is documented in
1587 draft-ietf-netconf-tls-02.txt.
1589 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1590 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1591 The old parameters will continue to work for some time.
1593 *** Certtool now confirm passwords and changes permissions of private key files.
1595 *** The default handshake size limit has been increased to 48kb.
1596 It appears as if some valid handshakes are large due to sending many
1597 CA certificates.  (The earlier limit was 16kb.)
1599 *** LZO compression is now disabled by default.
1600 The main reason is that LZO compression in TLS is not standardized,
1601 but license compatiblity issues with minilzo triggered us to make this
1602 decision now.
1604 *** Improvements for cross-compilation to Windows and OpenWRT.
1606 *** The look of the GTK-DOC manual has been improved.
1607 Major developer visible changes compared to the v2.2 branch:
1609 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1611 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1612 *** elements from the certificate credentials structure.
1613 Thanks to Joe Orton.
1615 *** New APIs to improve working with username/passwords and PSK.
1617 *** Names of constants to affect certificate printing changed.
1618 The constants are used for OpenPGP too, which the names didn't
1619 reflect, so the following name change has been made:
1621             Old name                         New name
1622      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
1623      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
1624      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
1626 The old names will be mapped to the new names for some time.
1628 *** The function gnutls_openpgp_privkey_get_id has been renamed to
1629 *** gnutls_openpgp_privkey_get_key_id.
1630 A compatibility mapping exists to avoid breaking API backwards
1631 compatibility.
1633 *** Replaced all uses of alloca with malloc and free.
1635 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
1636 We have been unable to find a documented rationale for this practice.
1638 *** Of course, many smaller fixes have been made, see the ChangeLog file.
1640 *** API/ABI changes in GnuTLS 2.4
1641 All OpenPGP related functions have been moved from libgnutls-extra to
1642 libgnutls, and several new functions have been added (see below).
1643 Before making the release, we discussed whether moving functions from
1644 libgnutls-extra to libgnutls would require us to increment the ABI
1645 version, but the general opinion was that this would not be required.
1646 All older functions continue to work the same.  We are open to the
1647 possibility that this decision will lead to problem on some platform,
1648 and if it turns out that the Right Thing should have been to increment
1649 the shared library version, we would need to release an update within
1650 the 2.4.x branch that increments the shared library version.
1652 This release adds the following functions:
1654   gnutls_psk_client_get_hint
1655   gnutls_psk_set_server_credentials_hint
1656   gnutls_psk_netconf_derive_key
1658     Used to get/set the PSK identity hint, and derive PSK keys from
1659     passwords a'la netconf.
1661   gnutls_x509_dn_deinit
1662   gnutls_x509_dn_export
1663   gnutls_x509_dn_import
1664   gnutls_x509_dn_init
1666     Used to handle X.509 Certificate DN's directly.
1668   gnutls_hex2bin
1670     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
1671     secrets.
1673   gnutls_certificate_get_x509_cas
1674   gnutls_certificate_get_x509_crls
1675   gnutls_certificate_get_openpgp_keyring
1677     Functions for direct access to credential elements.
1679   gnutls_openpgp_crt_get_auth_subkey
1680   gnutls_openpgp_crt_get_key_id
1681   gnutls_openpgp_crt_get_pk_dsa_raw
1682   gnutls_openpgp_crt_get_pk_rsa_raw
1683   gnutls_openpgp_crt_get_preferred_key_id
1684   gnutls_openpgp_crt_get_revoked_status
1685   gnutls_openpgp_crt_get_subkey_count
1686   gnutls_openpgp_crt_get_subkey_creation_time
1687   gnutls_openpgp_crt_get_subkey_expiration_time
1688   gnutls_openpgp_crt_get_subkey_fingerprint
1689   gnutls_openpgp_crt_get_subkey_id
1690   gnutls_openpgp_crt_get_subkey_idx
1691   gnutls_openpgp_crt_get_subkey_pk_algorithm
1692   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
1693   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
1694   gnutls_openpgp_crt_get_subkey_revoked_status
1695   gnutls_openpgp_crt_get_subkey_usage
1696   gnutls_openpgp_crt_print
1697   gnutls_openpgp_crt_set_preferred_key_id
1698   gnutls_openpgp_keyring_get_crt
1699   gnutls_openpgp_keyring_get_crt_count
1700   gnutls_openpgp_privkey_export
1701   gnutls_openpgp_privkey_export_dsa_raw
1702   gnutls_openpgp_privkey_export_rsa_raw
1703   gnutls_openpgp_privkey_export_subkey_dsa_raw
1704   gnutls_openpgp_privkey_export_subkey_rsa_raw
1705   gnutls_openpgp_privkey_get_fingerprint
1706   gnutls_openpgp_privkey_get_key_id
1707   gnutls_openpgp_privkey_get_pk_algorithm
1708   gnutls_openpgp_privkey_get_preferred_key_id
1709   gnutls_openpgp_privkey_get_revoked_status
1710   gnutls_openpgp_privkey_get_subkey_count
1711   gnutls_openpgp_privkey_get_subkey_creation_time
1712   gnutls_openpgp_privkey_get_subkey_expiration_time
1713   gnutls_openpgp_privkey_get_subkey_fingerprint
1714   gnutls_openpgp_privkey_get_subkey_id
1715   gnutls_openpgp_privkey_get_subkey_idx
1716   gnutls_openpgp_privkey_get_subkey_pk_algorithm
1717   gnutls_openpgp_privkey_get_subkey_revoked_status
1718   gnutls_openpgp_privkey_set_preferred_key_id
1720     New OpenPGP related functions.
1722     The function gnutls_openpgp_crt_get_key_id is the same as the old
1723     from gnutls_openpgp_crt_get_id, see above.
1725 The release also adds a new header file 'gnutls/crypto.h', however it
1726 is currently not used.
1728 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
1729 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1731 ** API and ABI modifications:
1732 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
1733 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
1735 * Version 2.3.15 (released 2008-06-15)
1737 ** Disable the openpgp-certs self-tests.
1738 It results in failure under Wine and doesn't work on Debian buildds.
1740 ** API and ABI modifications:
1741 No changes since last version.
1743 * Version 2.3.14 (released 2008-06-11)
1745 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
1746 An OpenPGP certificate is now only considered verified if all the user
1747 IDs are verified.
1749 ** Examples: Make C++ example compile.
1750 Earlier it may have failed with an unresolved reference to strlen.
1752 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
1753 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1755 ** API and ABI modifications:
1756 No changes since last version.
1758 * Version 2.3.13 (released 2008-06-07)
1760 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
1762 ** doc/: Add psktool to info index.  Some minor cleanups.
1764 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
1766 ** tests/: Added libgcrypt.supp which can be used with valgrind.
1767 The file suppresses the known libgcrypt memory leaks, so they aren't
1768 printed when you run valgrind on the gnutls self-tests.  Use it as
1769 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
1770 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
1771 ~/.valgrindrc file.
1773 ** tests/: Reduce amount of debugging output by default.
1774 Use --verbose for each test to get the full output.
1776 ** tests/: Fix memory leaks in several self-tests.
1777 None of the self tests should be leaking memory when running valgrind
1778 or similar tools.  (Known exceptions are dhepskself, pskself, and
1779 set_pkcs12_cred, which appear likely to be due to memory leaks in the
1780 library.)
1782 ** API and ABI modifications:
1783 No changes since last version.
1785 * Version 2.3.12 (released 2008-06-04)
1787 ** Merge gnutls_with_netconf branch.
1789 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
1790 The function is gnutls_psk_client_get_hint.
1792 *** libgnutls [PSK]: New API to set PSK identity hint in server.
1793 The function is gnutls_psk_set_server_credentials_hint.
1795 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
1796 In the client, the message is parsed and the application can use
1797 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
1798 message is sent if the application has specified a PSK identity hint
1799 using gnutls_psk_set_server_credentials_hint.
1801 *** libgnutls [PSK]: Support Netconf PSK key derivation.
1802 The function gnutls_psk_netconf_derive_key supports the PSK key
1803 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
1804 test netconf-psk.c.
1806 *** psktool: Support new --netconf-hint to generate PSK key from password.
1807 Uses the Netconf algorithm to derive PSK key from password.
1809 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
1811 *** gnutls-cli: Always support PSK modes, through a callback.
1812 The callback will derive a PSK key using Netconf algorithm.  It will
1813 print the PSK identity hint to help the user.
1815 *** New PSK example client and server.
1816 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
1818 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
1819 The code didn't work properly on platforms where 'char' is unsigned,
1820 when you set version 0.  Reported by Laurence Withers
1821 <l@lwithers.me.uk> in
1822 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
1824 ** libgnutls-openssl: added RAND_pseudo_bytes API.
1825 Patch from Robert Millan <rmh@aybabtu.com>.
1827 ** API and ABI modifications:
1828 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
1829 gnutls_psk_client_get_hint: ADDED.
1830 gnutls_psk_set_server_credentials_hint: ADDED.
1831 gnutls_psk_netconf_derive_key: ADDED
1833 * Version 2.3.11 (released 2008-05-20)
1835 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
1836 The flaw would result in incorrectly terminated sessions with the
1837 error "Decryption has failed" when the server sends a small packet
1838 (typically when the session is closed).  Reported by Andreas Metzler
1839 <ametzler@downhill.at.eu.org> in
1840 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
1842 ** Don't use gnulib headers when building C++ library.
1843 Fixes builds under Windows.
1845 ** Make umask a requirement.
1846 We don't know of any system that lacks it, even GNU CoreUtils use it
1847 unconditionally.
1849 ** Update gnulib files.
1850 Fixes a problem where it pulled in a replacement for memcmp under
1851 MinGW, which caused the C++ example to fail to build.
1853 ** API and ABI modifications:
1854 No changes since last version.
1856 * Version 2.3.10 (released 2008-05-19)
1858 ** Added wide wildcard hostname matching.
1859 Tiny patch by Jean-Philippe Garcia Ballester.
1861 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
1862 Thanks to CERT-FI for finding the bugs and providing detailed reports,
1863 which allowed the bugs to be reproduced and fixed easily.  Patches
1864 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
1865 with more details about these vulnerabilities will be added to
1866 <http://www.gnu.org/software/gnutls/security.html>
1868 *** [GNUTLS-SA-2008-1-1]
1869 *** libgnutls: Fix crash when sending invalid server name.
1870 The crash can be triggered remotely before authentication, which can
1871 lead to a Daniel of Service attack to disable the server.  The bug
1872 cause gnutls to store more session resumption data than what was
1873 allocated for, thus overwriting unallocated memory.
1875 *** [GNUTLS-SA-2008-1-2]
1876 *** libgnutls: Fix crash when sending repeated client hellos.
1877 The crash can be triggered remotely before authentication, which can
1878 lead to a Daniel of Service attack to disable the server.  The bug
1879 triggers a null-pointer dereference.
1881 *** [GNUTLS-SA-2008-1-3]
1882 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
1883 The crash can be triggered remotely before authentication, which can
1884 lead to a Daniel of Service attack to disable the server.  The bug
1885 cause gnutls to read memory beyond the end of the received record.
1887 ** libgnutlsxx: Updated API according to patches from Eduardo 
1888 Villanueva Che (discussion at
1889 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
1891 ** Use umask to restrict permissions to owner before creating a file.
1893 ** API and ABI modifications:
1894 No changes since last version.
1896 * Version 2.3.9 (released 2008-05-16)
1898 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
1899 Based on report and tiny patches from
1900 <jared.jennings.ctr@eglin.af.mil>, see
1901 <https://savannah.gnu.org/support/index.php?106342>.
1903 ** libgnutls: Translation fixes.
1905 ** gnutls-cli: Fix so that PSK authentication works.
1906 Also improve manual to give example for gnutls-cli PSK authentication.
1908 ** certtool: Encrypting a private key now require a confirmed password.
1909 Before './certtool -k -8' would merely ask for a password once.
1910 Reported by Daniel 'NebuchadnezzaR' Dehennin
1911 <nebuchadnezzar@asgardr.info> see
1912 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
1914 ** certtool: When writing private keys to files, change permissions of file.
1915 Now the file which the private key is saved to is chmod'ed 0600.
1916 Reported by martin f krafft <madduck@debian.org> see
1917 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
1919 ** guile: Fix -fgnu89-inline test.
1921 ** Removed --enable-profile-mode.
1922 The code linked gnutls with the libfc project (Function Check) which
1923 appears to have been stalled since around 2002.
1925 ** Clean up header file checks by ./configure.
1927 ** Update of gnulib files.
1929 ** API and ABI modifications:
1930 No changes since last version.
1932 * Version 2.3.8 (released 2008-04-29)
1934 ** libgnutls: Increase default handshake packet size limit to 48kb.
1935 The old limit was 16kb and some servers send huge list of trusted CAs,
1936 thus running into the limit.  FYI, applications can further increase
1937 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
1938 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
1939 <marc@mclemente.net> for reporting and providing test servers.
1941 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
1942 Returned when the handshake data size is too large.  Before
1943 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
1944 error situations.
1946 ** libgnutls: Hide definitions in crypto.h.
1947 We have decided that the APIs defined in crypto.h are not stable
1948 enough for v2.4, so don't use any of those functions.
1950 ** gnutls-cli: exit when hostname doesn't match certificate.
1951 Use --insecure to avoid hostname comparison.
1953 ** certtool: --inder and --outder replaced by --inraw and --outraw.
1954 The reason is to align terminology with OpenPGP, which doesn't use
1955 DER.  The old parameters will continue to work for some time.
1957 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
1959 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
1961 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
1962 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
1963 vasprintf symbol from the libgcrypt library which caused problems.
1965 ** Update of gnulib files.
1967 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
1969 ** API and ABI modifications:
1970 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
1972 * Version 2.3.7 (released 2008-04-21)
1974 ** opencdk now properly sets the key usage bits into openpgp keys.
1976 ** gnutls-cli: Fix crash on TLS handshake failures.
1977 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
1978 This is similar to <http://bugs.debian.org/429183>.
1980 ** certtool: with --generate-request and newly generated keys, print the key.
1982 ** Build fixes for MinGW.
1983 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
1984 with -lws2_32 when needed.  Use ASCII only isprint() when printing
1985 X.509 certificate information, to avoid non-ASCII but printable
1986 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
1987 reports.
1989 ** Update internal copy of libtasn1 to version 1.4.
1991 ** API and ABI modifications:
1992 No changes since last version.
1994 * Version 2.3.6 (released 2008-04-17)
1996 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
1997 ** Improve documentation for gnutls_x509_crq_sign2.
1998 Based on report from "John Brooks" <aspecialj@gmail.com> in
1999 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2001 ** tests/pathlen: run diff without parameters to improve portability.
2002 Based on HPUX build hints in
2003 <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>.
2005 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2006 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2007 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2009 ** Remove all uses of gnutls_alloca/gnutls_afree.
2010 Use normal gnutls_malloc instead.  One reason is increased portability
2011 to Windows, the other is that several of the uses may be unsafe
2012 because the size of data allocated could be large.  Reported by
2013 Massimo Gaspari <massimo.gaspari@alice.it> in
2014 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2016 ** Build Guile code with -fgnu89-inline only when supported.
2017 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2018 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2020 ** Several GTK-DOC related fixes.
2022 ** Clean up OpenCDK related code.
2023 GnuTLS now requires its internal OpenCDK code rather than the external
2024 GPL library OpenCDK.  Unfortunately, we don't have resources to
2025 maintain an external library (help welcome).
2027 ** API and ABI modifications:
2028 No changes since last version.
2030 * Version 2.3.5 (released 2008-04-14)
2032 ** Build fix for MinGW and --disable-shared.
2033 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2034 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2036 ** Document how to generate CRLs.
2037 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2039 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2041 ** Several minor fixes in the OpenPGP interface.
2042 Thanks to Daniel Kahn Gillmor.
2044 ** Fix fopen file descriptor leak in PSK server code.
2045 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2046 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2048 ** Translations files not stored directly in git to avoid merge conflicts.
2050 ** New APIs to let applications replace the RNG used.
2051 Update all RNG callers in the code to use the new interface.
2053 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2055 ** Update gnulib files.
2057 ** API and ABI modifications:
2058 gnutls_crypto_rnd_register: ADDED
2059 gnutls_rnd_level_t: ADDED
2060 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2061 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2062 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2063 gnutls_crypto_rnd_st: ADDED
2064 GNUTLS_DIG_SHA224: ADDED
2065 GNUTLS_SIGN_RSA_SHA224: ADDED
2066 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2068 * Version 2.3.4 (released 2008-03-19)
2070 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2071 They weren't renamed in the public header file.
2073 ** Added functions to register a cipher/mac/digest. This allows to 
2074 override the included ones.
2076 ** Fix a bunch of compiler warnings.
2078 ** API and ABI modifications:
2079 gnutls_crypto_cipher_st: ADDED
2080 gnutls_crypto_mac_st: ADDED
2081 gnutls_crypto_digest_st: ADDED
2082 gnutls_crypto_cipher_register: ADDED
2083 gnutls_crypto_mac_register: ADDED
2084 gnutls_crypto_digest_register: ADDED
2085 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2087 * Version 2.3.3 (released 2008-03-10)
2089 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2090 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2092 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2093 We could not find any modern justification for enabling these flags by
2094 default.  If you know of some platform that needs one of the flags to
2095 work properly, please let us know.  (Actually introduced in v2.3.0 but
2096 not documented until now.)
2098 ** Importing many CA certificates are now considerably faster.
2099 This affect gnutls_certificate_set_x509_trust_mem,
2100 gnutls_certificate_set_x509_trust, and
2101 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2102 from O(2*n^2) to O(n).  When adding 206 files containing 408
2103 certificates, using gnutls_certificate_set_x509_trust_file, the time
2104 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2105 to trigger the problem.  See also
2106 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2108 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2109 ** to be explicit that it takes zero terminated data.
2111 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2113 ** Documentation fixes for the GTK-DOC manual.
2115 ** Fix compilation error related to __FUNCTION__ on some systems.
2116 Reported by Tim Mooney, see
2117 <https://savannah.gnu.org/support/?106267>.
2119 ** Updated translations.
2121 ** Update gnulib files.
2123 ** API and ABI modifications:
2124 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2125                 and char* instead of void* for output buffer.
2127 * Version 2.3.2 (released 2008-02-26)
2129 ** Fix srcdir!=objdir failure in openpgpself test.
2131 ** Improved API documentation output from GTK-DOC.
2133 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2135 ** Renamed gnutls_certificate_export_x509_cas and friends.
2136 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2138 ** Internal header files cleanup.
2140 ** API and ABI modifications:
2141 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2142 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2143 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2144 gnutls_x509_dn_export: ADDED
2146 * Version 2.3.1 (released 2008-02-21)
2148 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2149 The included copy of OpenCDK has been stripped down and re-licensed
2150 under the LGPL.
2152 ** Cipher priority string handling now handle strings that starts with NULL.
2153 Thanks to Laurence Withers <l@lwithers.me.uk>.
2155 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2157 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2158 by Daniel Stenberg.
2160 ** Increased the default certificate verification chain limits and allowed
2161 for checks without limitation.
2163 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2164 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2165 strings and return the proper size.
2167 ** Add section 'On Record Padding' to the manual.
2168 This collects all problems related to record padding with
2169 Nokia/Sony-Ericsson phones that we know about.
2171 ** Several improvements in the OpenPGP authentication.
2172 Now subkeys can be used for authentication, according to
2173 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2175 ** certtool can print information on OpenPGP certificates and keys.
2177 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2178 Patch by Joe Orton.
2180 ** Added gnutls_certificate_export_x509_cas and other functions to
2181 export elements from the certificate credentials structure.  Based on
2182 suggestion from Joe Orton.
2184 ** Doc fixes.
2185 Clarify that srp_base64 is not the same as normal base64.
2187 ** Fix non-portable use of brace expansion in makefiles.
2189 ** API and ABI modifications:
2190 gnutls_certificate_export_x509_cas: ADDED
2191 gnutls_certificate_export_x509_crls: ADDED
2192 gnutls_certificate_export_openpgp_keyring: ADDED
2193 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2194 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2195 gnutls_openpgp_crt_get_revoked_status: ADDED
2196 gnutls_openpgp_crt_get_subkey_count: ADDED
2197 gnutls_openpgp_crt_get_subkey_idx: ADDED
2198 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2199 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2200 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2201 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2202 gnutls_openpgp_crt_get_subkey_id: ADDED
2203 gnutls_openpgp_crt_get_subkey_usage: ADDED
2204 gnutls_openpgp_privkey_get_fingerprint: ADDED
2205 gnutls_openpgp_privkey_get_key_id: ADDED
2206 gnutls_openpgp_privkey_get_subkey_count: ADDED
2207 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2208 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2209 gnutls_openpgp_privkey_get_revoked_status: ADDED
2210 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2211 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2212 gnutls_openpgp_privkey_get_subkey_id: ADDED
2213 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2214 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2215 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2216 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2217 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2218 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2219 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2220 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2221 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2222 gnutls_openpgp_privkey_export: ADDED
2223 gnutls_certificate_set_openpgp_key_file2: ADDED
2224 gnutls_certificate_set_openpgp_key_mem2: ADDED
2225 gnutls_x509_dn_init: ADDED
2226 gnutls_x509_dn_import: ADDED
2227 gnutls_x509_dn_deinit: ADDED
2228 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2229 gnutls_hex2bin: ADDED
2230 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2231 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2232 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2233                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2235 * Version 2.3.0 (released 2008-01-08)
2237 ** LZO compression is now disabled by default.
2238 The reason is that LZO compression is not standardized in TLS.  If you
2239 wish to experiment with it, you will have to supply --with-lzo when
2240 invoking ./configure.  The internal copy of minilzo is no longer
2241 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2242 your system to have --with-lzo to be effective.
2244 ** More than one server name field is now sent to the server properly.
2245 Thanks to mark.phillips@virgin.net.
2247 ** Fixes the post_client_hello_function(). The extensions are now parsed
2248 in a callback friendly way.
2250 ** Fix for certificate selection in servers with certificate callbacks.
2252 ** Updated translations.
2254 ** Update gnulib files.
2256 ** API and ABI modifications:
2257 No changes since last version.
2259 * Version 2.2.5 (released 2008-05-19)
2261 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2262 The flaw would result in incorrectly terminated sessions with the
2263 error "Decryption has failed" when the server sends a small packet
2264 (typically when the session is closed).  Reported by Andreas Metzler
2265 <ametzler@downhill.at.eu.org> in
2266 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2268 ** API and ABI modifications:
2269 No changes since last version.
2271 * Version 2.2.4 (released 2008-05-19)
2273 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2274 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2275 which allowed the bugs to be reproduced and fixed easily.  Patches
2276 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2277 with more details about these vulnerabilities will be added to
2278 <http://www.gnu.org/software/gnutls/security.html>
2280 *** [GNUTLS-SA-2008-1-1]
2281 *** libgnutls: Fix crash when sending invalid server name.
2282 The crash can be triggered remotely before authentication, which can
2283 lead to a Daniel of Service attack to disable the server.  The bug
2284 cause gnutls to store more session resumption data than what was
2285 allocated for, thus overwriting unallocated memory.
2287 *** [GNUTLS-SA-2008-1-2]
2288 *** libgnutls: Fix crash when sending repeated client hellos.
2289 The crash can be triggered remotely before authentication, which can
2290 lead to a Daniel of Service attack to disable the server.  The bug
2291 triggers a null-pointer dereference.
2293 *** [GNUTLS-SA-2008-1-3]
2294 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2295 The crash can be triggered remotely before authentication, which can
2296 lead to a Daniel of Service attack to disable the server.  The bug
2297 cause gnutls to read memory beyond the end of the received record.
2299 ** API and ABI modifications:
2300 No changes since last version.
2302 * Version 2.2.3 (released 2008-05-06)
2304 ** Increase default handshake packet size limit to 48kb.
2305 The old limit was 16kb and some servers send huge list of trusted CAs,
2306 thus running into the limit.  FYI, applications can further increase
2307 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2308 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2309 <marc@mclemente.net> for reporting and providing test servers.
2311 ** Fix compilation error related to __FUNCTION__ on some systems.
2312 Reported by Tim Mooney, see
2313 <https://savannah.gnu.org/support/?106267>.
2315 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2317 ** Fix fopen file descriptor leak in PSK server code.
2318 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2319 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2321 ** Build Guile code with -fgnu89-inline only when supported.
2322 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2323 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2325 ** Make Camellia encryption work.
2326 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2327 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2329 ** API and ABI modifications:
2330 No changes since last version.
2332 * Version 2.2.2 (released 2008-02-21)
2334 ** Cipher priority string handling now handle strings that starts with NULL.
2335 Thanks to Laurence Withers <l@lwithers.me.uk>.
2337 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2338 by Daniel Stenberg.
2340 ** Increased the default certificate verification chain limits and allowed
2341 for checks without limitation.
2343 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2344 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2345 strings and return the proper size.
2347 ** API and ABI modifications:
2348 No changes since last version.
2350 * Version 2.2.1 (released 2008-01-17)
2352 ** Prevent linking libextra against previously installed libgnutls.
2353 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2354 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2356 ** Fixes the post_client_hello_function(). The extensions are now parsed
2357 in a callback friendly way.
2359 ** Fix for certificate selection in servers with certificate callbacks.
2361 ** API and ABI modifications:
2362 No changes since last version.
2364 * Version 2.2.0 (released 2007-12-14)
2366 ** Update internal copy of libtasn1 to version 1.2.
2368 ** Certtool --verify-chain now handle inputs larger than 64kb.
2369 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2370 recent versions of libgcrypt.  The problem was that Wine with the
2371 libgcrypt RNG generates huge amounts of debugging output.
2373 ** Translation updates.
2374 Added Dutch translation.  Updated Polish and Swedish translation.
2376 ** Major changes compared to the v2.0 branch:
2378 *** SRP support aligned with newly published RFC 5054.
2380 *** OpenPGP support aligned with newly published RFC 5081.
2382 *** Support for DSA2 keys.
2384 *** Support for Camellia cipher.
2386 *** Support for Opaque PRF Input extension.
2388 *** PKCS#8 parser now handle DSA keys.
2390 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2391 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2392 versions, such as 2.01 which is included with GnuTLS, is available
2393 under GPLv2 or later.  If this incompatibility causes problems, we
2394 recommend you to disable LZO using --without-lzo.  LZO compression is
2395 not a standard TLS compression algorithm, so the impact should be
2396 minimal.
2398 *** Functions for disabling record protocol padding.
2399 Works around bugs on Nokia/Ericsson phones.
2401 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2402 Priorities like "COMPAT" also enables other work arounds, such as
2403 disabling padding.
2405 *** Other minor improvements and bug fixes.
2407 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2408 To adapt to changes in the TLS extension specifications for OpenPGP
2409 and SRP, the GnuTLS API had to be modified.  This means breaking the
2410 API and ABI backwards compatibility.  That is something we try to
2411 avoid unless it is necessary.  We decided to also remove the already
2412 deprecated stub functions for X.509 to XML conversion and TLS
2413 authorization (see below) when we had the opportunity.
2415 Generally, most applications does not need to be modified.  Just
2416 re-compile them against the latest GnuTLS release, and it should work
2417 fine.
2419 Applications that use the OpenPGP or SRP features needs to be
2420 modified.  Below is a list of the modified APIs and discussion of what
2421 the minimal things you need to modify in your application to make it
2422 work with GnuTLS 2.2.
2424 Note that GnuTLS 2.2 also introduces new APIs -- such as
2425 gnutls_set_priority() that is superior to
2426 gnutls_set_default_priority() -- that you may want to start using.
2427 However, using those new APIs is not required to use GnuTLS 2.2 since
2428 the old functions continue are still supported.  This text only
2429 discuss what you minimally have to modify.
2431 *** XML related changes
2432 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2433 deprecated and only returned an error code since GnuTLS version
2434 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2435 functionality.  We don't know of any other library to convert X.509
2436 certificates into XML format, but we decided (long ago) that GnuTLS
2437 isn't the right place for this kind of functionality.  If you want
2438 help to find some other library to use here, please explain and
2439 discuss your use case on help-gnutls@gnu.org.
2441 *** TLS Authorization related changes
2442 Everything related to TLS authorizations have been removed, they were
2443 only stub functions that returned an error code:
2445  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2446  gnutls_authz_data_format_type_t
2447  gnutls_authz_recv_callback_func
2448  gnutls_authz_send_callback_func
2449  gnutls_authz_enable
2450  gnutls_authz_send_x509_attr_cert
2451  gnutls_authz_send_saml_assertion
2452  gnutls_authz_send_x509_attr_cert_url
2453  gnutls_authz_send_saml_assertion_url
2455 *** SRP related changes
2456 The callback gnutls_srp_client_credentials_function has a new
2457 prototype, and its semantic has changed.  You need to rewrite the
2458 callback, see the updated function documentation and SRP example code
2459 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2460 information.
2462 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2463 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2464 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2465 used.  There are #define's to map the old names to the new.  You may
2466 run into problems if you have a switch-case with cases for both SRP
2467 alerts, since they are now mapped to the same value.  The solution is
2468 to drop the SRP alerts from such switch cases, as they are now
2469 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2471 *** OpenPGP related changes
2472 The function `gnutls_certificate_set_openpgp_keyserver' have been
2473 removed.  There is no replacement functionality inside GnuTLS.  If you
2474 need keyserver functionality, consider using the GnuPG tools.
2476 All functions, types, and error codes related to OpenPGP trustdb
2477 format have been removed.  The trustdb format is a non-standard
2478 GnuPG-specific format, and we recommend you to use key rings instead.
2479 The following have been removed:
2481  gnutls_certificate_set_openpgp_trustdb
2482  gnutls_openpgp_trustdb_init
2483  gnutls_openpgp_trustdb_deinit
2484  gnutls_openpgp_trustdb_import
2485  gnutls_openpgp_key_verify_trustdb
2486  gnutls_openpgp_trustdb_t
2487  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2489 The following functions has an added parameter of the (new) type
2490 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2491 (binary or base64).  The functions are:
2492  gnutls_certificate_set_openpgp_key_file
2493  gnutls_certificate_set_openpgp_key_mem
2494  gnutls_certificate_set_openpgp_keyring_mem
2495  gnutls_certificate_set_openpgp_keyring_file
2497 To improve terminology and align with the X.509 interface, some
2498 functions have been renamed.  Compatibility mappings exists.  The old
2499 and new names of the affected functions and types are:
2501         Old name                                New name
2502  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2503  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2504  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2505  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2506  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2507  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2508  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2509  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2510  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2511  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2512  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2513  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2514  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2515  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2516  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2517  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2518  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2519  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2520  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2522 ** API and ABI modifications:
2523 No changes since last version.
2525 * Version 2.1.8 (released 2007-12-10)
2527 ** The GPL version has been changed from version 2 to version 3.
2528 This affects the self-tests, command-line tools, the libgnutls-extra
2529 library, the relevant guile parts, and the build environment.
2531 ** Added gnutls_x509_crt_get_subject_alt_name2().
2533 ** Corrected a segfault when setting an empty gnutls_priority_t
2534 at gnutls_priority_set().
2536 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2537 Fixes a problem with spurious -L/usr/lib additions.
2539 ** API and ABI modifications:
2540 gnutls_x509_crt_get_subject_alt_name2: ADD.
2542 * Version 2.1.7 (released 2007-11-29)
2544 ** PKCS #8 parser can now encode/decode DSA keys.
2546 ** Updated gnutls_set_default_priority2() now renamed to
2547 gnutls_priority_set() and gnutls_priority_set_direct() which
2548 accept a string to indicate preferences of ciphersuite parameters.
2550 ** gnutls-cli and gnutls-serv now have a --priority option to set
2551 the priority string.
2553 ** The gnutls_*_convert_priority() functions were deprecated by
2554 the gnutls_priority_set() and gnutls_priority_set_direct().
2556 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2558 ** API and ABI modifications:
2559 gnutls_priority_init: ADD.
2560 gnutls_priority_deinit: ADD.
2561 gnutls_priority_set: ADD.
2562 gnutls_priority_set_direct: ADD.
2563 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2564 gnutls_mac_convert_priority: REMOVED
2565 gnutls_compression_convert_priority: REMOVED
2566 gnutls_protocol_convert_priority: REMOVED
2567 gnutls_kx_convert_priority: REMOVED
2568 gnutls_cipher_convert_priority: REMOVED
2569 gnutls_certificate_type_convert_priority: REMOVED
2570 gnutls_set_default_priority: UNDEPRECATED
2571 gnutls_set_default_priority_export: UNDEPRECATED
2573 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2574 GNUTLS_CIPHER_UNKNOWN: ADD.
2575 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2576 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2577 GNUTLS_KX_UNKNOWN: ADD.
2578 GNUTLS_COMP_UNKNOWN: ADD.
2579 GNUTLS_CRT_UNKNOWN: ADD.
2580 gnutls_mac_get_id: ADD.
2581 gnutls_compression_get_id: ADD.
2582 gnutls_cipher_get_id: ADD.
2583 gnutls_kx_get_id: ADD.
2584 gnutls_protocol_get_id: ADD.
2585 gnutls_certificate_type_get_id: ADD.
2586 gnutls_handshake_post_client_hello_func: ADD.
2587 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2589 * Version 2.1.6 (released 2007-11-15)
2591 ** Corrected bug in decompression of expanded compression data.
2593 ** Added the --to-p8 option to certtool to convert private keys
2594 to PKCS #8 keys.
2596 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2598 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2599 private keys.
2601 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2602 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2603 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2604 documented.  This caused some problems (e.g., debian #450854).  To
2605 avoid backwards compatibility problems, this release revert this
2606 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2607 done in GnuTLS 2.0.x and earlier, and add a new error code
2608 GNUTLS_E_UNKNOWN_ALGORITHM.
2610 ** Fixes several gtk-doc warnings.
2612 ** API and ABI modifications:
2613 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2614 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2615 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2617 * Version 2.1.5 (released 2007-11-01)
2619 ** Fix PKCS#3 parameter export problem.
2621 ** Improve certtool queries, they now print the default value.
2623 ** Fix ABI version.
2625 ** Update gnulib files.
2627 ** API and ABI modifications:
2628 No changes since last version.
2630 * Version 2.1.4 (released 2007-10-27)
2632 ** Added the --v1 option to certtool, to allow generating X.509
2633 version 1 certificates. 
2635 ** certtool: Add option --disable-quick-random to enable the old behaviour
2636 of using /dev/random to generate keys.
2638 ** Added priority functions that accept strings.
2640 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
2641 priorities preferences.
2643 ** Added gnutls_record_disable_padding() to allow servers talking to 
2644 buggy clients that complain if the TLS 1.0 record protocol padding is
2645 used.
2647 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2648 all supported compatibility options (like disabling padding).
2650 ** The gnutls_certificate_set_openpgp_* functions were modified to include
2651 the format. This makes the interface consistent with the x509 functions.
2653 ** Internal copy of OpenCDK upgraded to version 0.6.5.
2655 ** Update gnulib files.
2657 ** API and ABI modifications:
2658 gnutls_certificate_set_openpgp_key_mem: MODIFIED
2659 gnutls_certificate_set_openpgp_key_file: MODIFIED
2660 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
2661 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
2662 gnutls_set_default_priority: DEPRECATED
2663 gnutls_set_default_priority_export: DEPRECATED
2664 gnutls_set_default_priority2: ADDED
2665 gnutls_session_enable_compatibility_mode: ADDED
2666 gnutls_record_disable_padding: ADDED
2667 gnutls_mac_convert_priority: ADDED
2668 gnutls_compression_convert_priority: ADDED
2669 gnutls_protocol_convert_priority: ADDED
2670 gnutls_kx_convert_priority: ADDED
2671 gnutls_cipher_convert_priority: ADDED
2672 gnutls_certificate_type_convert_priority: ADDED
2673 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
2674 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
2675 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
2676 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
2677 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
2678 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
2679 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
2680 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
2681 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
2682 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
2683 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
2684 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
2685 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
2686 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
2687 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
2688 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
2689 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
2690 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
2692 * Version 2.1.3 (released 2007-10-17)
2694 ** TLS authorization support removed.
2695 This technique may be patented in the future, and it is not of crucial
2696 importance for the Internet community.  After deliberation we have
2697 concluded that the best thing we can do in this situation is to
2698 encourage society not to adopt this technique.  We have decided to
2699 lead the way with our own actions.
2701 ** Re-enabled the 256 bit ciphers in the default priorities.
2703 ** Corrected bugs in openpgp key verification using a keyring (both in
2704 gnutls and opencdk)
2706 ** API and ABI modifications:
2707 gnutls_certificate_set_openpgp_keyserver: REMOVED
2708 gnutls_authz_data_format_type_t,
2709 gnutls_authz_recv_callback_func,
2710 gnutls_authz_send_callback_func,
2711 gnutls_authz_enable,
2712 gnutls_authz_send_x509_attr_cert,
2713 gnutls_authz_send_saml_assertion,
2714 gnutls_authz_send_x509_attr_cert_url,
2715 gnutls_authz_send_saml_assertion_url: REMOVED.
2716 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2717     gnutls_supplemental_data_format_type_t enum type becomes empty.
2719 * Version 2.1.2 (released 2007-10-14)
2721 ** Removed all the trustdb code from openpgp authentication.
2722 We now use only the well-specified keyrings.
2724 ** The 256 bit ciphers are not enabled in the default priorities.
2726 ** Added support for DSA2 using libgcrypt 1.3.0.
2728 ** certtool: Fixed data corruption when using --outder.
2730 ** Removed all the xml related stubs and functions.
2732 ** Added capability to set a callback after the client hello is received
2733 by the server in order to adjust parameters before the handshake.
2735 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
2737 ** Corrected bug which did not allow a server to run without supporting
2738 certificates.
2740 ** Updated the DN parser which now prints wrongly decoded values as hex
2741 strings.
2743 ** certtool: Add option --quick-random.
2744 For generating low security test credentials.
2746 ** API and ABI modifications:
2747 gnutls_x509_crt_to_xml: REMOVED
2748 gnutls_openpgp_key_to_xml: REMOVED
2749 gnutls_openpgp_key_verify_trustdb: REMOVED
2750 gnutls_openpgp_trustdb_init: REMOVED
2751 gnutls_openpgp_trustdb_deinit: REMOVED
2752 gnutls_openpgp_trustdb_import: REMOVED
2753 gnutls_certificate_set_openpgp_trustdb: REMOVED
2754 gnutls_srp_client_credentials_function: CHANGED
2755 gnutls_handshake_set_post_client_hello_function: ADDED
2756 gnutls_mac_get_key_size: ADDED
2757 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
2758 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
2759 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
2761 * Version 2.1.1 (released 2007-09-24)
2763 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
2764 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
2765 compiled with Camellia support.  See the libgcrypt documentation on
2766 how to enable it.  Unconditionally disable it using the configure
2767 option --disable-camellia.  Fixes #1.
2769 ** Properly document in the NEWS file the API change in the last release.
2771 ** API and ABI modifications:
2772 No changes since last version.
2774 * Version 2.1.0 (released 2007-09-20)
2776 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
2777 The support is disabled by default.  Since no value has been allocated
2778 by the IANA for this extension yet, you will need to provide one
2779 yourself by invoking './configure --enable-opaque-prf-input=42'.
2780 Fixes #2.
2782 ** Example code: Fix compilation flaw under MinGW.
2784 ** API and ABI modifications:
2785 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
2786 gnutls_oprfi_enable_client: ADD, new function.
2787 gnutls_oprfi_enable_server: ADD, new function.
2789 * Version 2.0.4 (released 2007-11-16)
2791 ** Corrected bug in decompression of expanded compression data.           
2793 ** API and ABI modifications:
2794 No changes since last version.
2796 * Version 2.0.3 (released 2007-11-10)
2798 ** This version backports several fixes from the 2.1.x branch.
2800 ** Fixed PKCS #3 parameter export.
2802 ** Added gnutls_record_disable_padding() to allow servers talking to
2803 buggy clients that complain if the TLS 1.0 record protocol padding is
2804 used.
2806 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2807 all supported compatibility options (like disabling padding).
2809 ** Corrected bug which did not allow a server to run without supporting
2810 certificates.
2812 ** API and ABI modifications:
2813 gnutls_session_enable_compatibility_mode: ADDED
2814 gnutls_record_disable_padding: ADDED
2816 * Version 2.0.2 (released 2007-10-17)
2818 ** TLS authorization support removed.
2819 This technique may be patented in the future, and it is not of crucial
2820 importance for the Internet community.  After deliberation we have
2821 concluded that the best thing we can do in this situation is to
2822 encourage society not to adopt this technique.  We have decided to
2823 lead the way with our own actions.
2825 ** certtool: Fixed data corruption when using --outder.
2827 ** Fix configure-time Guile detection.
2829 ** API and ABI modifications:
2830 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2831     gnutls_supplemental_data_format_type_t enum type becomes empty.
2833 * Version 2.0.1 (released 2007-09-20)
2835 ** New directory doc/credentials/ with test credentials.
2836 This collects the test credentials from the web page and from src/.
2837 The script gnutls-http-serv has also been moved to that directory.
2839 ** Update SRP extension type and cipher suite with official IANA values.
2840 This breaks backwards compatibility with SRP in older versions of
2841 GnuTLS, but this is intentional to speed up the adoption of the
2842 official values.  The old values we used were incorrect.
2844 ** Guile: Fix `x509-certificate-dn-oid'
2846 ** API and ABI modifications:
2847 No changes since last version.
2849 * Version 2.0.0 (released 2007-09-04)
2851 ** Included copy of Libtasn1 upgraded to version 1.1.
2853 ** Disable building of some examples if anonymous ciphers are disabled.
2855 ** Don't build examples for disabled features.
2857 ** API and ABI modifications:
2858 No changes since last version.
2860 * Version 1.7.19 (released 2007-08-27)
2862 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
2863 This solves connection problems in mutt, see
2864 <http://bugs.debian.org/439640>.
2866 ** Update gnulib files.
2867 In particular, the getpass module -- with its dependencies on getline,
2868 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
2869 library) directory to the gl/ directory (only used by the command line
2870 tools).  The reason is that getpass is now only used by the
2871 command-line tools, and reducing the number of gnulib modules linked
2872 to the core library helps portability and reduces size.
2874 ** Fix warnings.
2876 ** Disable building of PGP examples if PGP is disabled.
2878 ** Included copy of OpenCDK upgraded to version 0.6.4.
2880 ** API and ABI modifications:
2881 No changes since last version.
2883 * Version 1.7.18 (released 2007-08-16)
2885 ** Install images for the info manual.
2886 This has a side effect of renaming the images.  See
2887 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
2888 discussions on the approach chosen.
2890 ** Fix pointer mix to variables of different size.
2891 Patch extracted from
2892 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
2894 ** Fix warnings during build.
2895 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
2897 ** API and ABI modifications:
2898 No changes since last version.
2900 * Version 1.7.17 (released 2007-08-15)
2902 ** New functions to perform external signing.
2903 Set the signing callback function (of the gnutls_sign_func prototype)
2904 using the gnutls_sign_callback_set function.  In the callback, you may
2905 find the new functions gnutls_x509_privkey_sign_hash and
2906 gnutls_openpgp_privkey_sign_hash useful.  A new function
2907 gnutls_sign_callback_get is also added, to retrieve the function
2908 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
2909 comments and testing.
2911 ** New self test of client and server authenticated X.509 TLS sessions.
2912 See tests/x509self.c and tests/x509signself.c.  The latter also tests
2913 the new external signing callback interface.
2915 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
2916 These two actually describe the outer limits of a range of error codes
2917 reserved to the application.  All of the errors are treated as fatal
2918 by the library (it has to since it doesn't know the semantics of the
2919 error codes).  This can be useful in callbacks, to signal some
2920 application-specific error condition, which will usually eventually
2921 cause some gnutls API to return the same error code as the callback,
2922 which then can be inspected by the application.  Note that error codes
2923 are negative.
2925 ** gnutls_set_default_priority now disable TLS 1.2 by default.
2926 The RFC is not released yet, and we're approaching a major release so
2927 let's not enable it just yet.
2929 ** Fix namespace so that gnutls_*_t is used consistently.
2930 Before, many places in the GnuTLS code used the old deprecated type
2931 names without the '_t' suffix.
2933 ** Build fixes for Guile code.
2934 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
2936 ** More documentation fixes.
2937 In particular, the section headings were modified for casing.  By
2938 Ludovic Courtes <ludovic.courtes@laas.fr>.
2940 ** Updated Polish and Swedish translations.
2941 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
2942 <po@danielnylander.se>.
2944 ** API and ABI modifications:
2945 gnutls_sign_func: ADD, new type for sign callback.
2946 gnutls_sign_callback_set: ADD, new function to set sign callback.
2947 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
2948 gnutls_x509_privkey_sign_hash,
2949 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
2950 GNUTLS_E_APPLICATION_ERROR_MIN,
2951 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
2953 * Version 1.7.16 (released 2007-08-07)
2955 ** Fix sanity checks and return values in certificate selection.
2956 In some cases, GnuTLS omitted to report suitable error codes when no
2957 suitable certificate was found.
2959 ** Fix gnutls-cli starttls EOF on Mac OS X.
2960 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
2962 ** Documentation fixes.
2963 In particular, the section headings were modified for casing.  By
2964 Ludovic Courtes <ludovic.courtes@laas.fr>.
2966 ** Update gnulib files.
2968 ** API and ABI modifications:
2969 No changes since last version.
2971 * Version 1.7.15 (released 2007-07-02)
2973 ** Fix self-tests key-id under mingw32.
2975 ** Test that the Guile header files are recent enough to work.
2976 Before we just tested that the command line tool 'guile' was recent
2977 enough, which may not be sufficient if you still have an old
2978 libguile.h header installed.
2980 ** Guile bindings are now installed under $prefix by default.
2981 Use --without-guile-site-dir to install it under $pkgdatadir/site/
2982 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
2983 Use --with-guile-site-dir=/your/own/path to specify the path manually.
2984 The default, --with-guile-site-dir, will install the Guile bindings
2985 under $datadir/guile/site.  There is a new section 'Guile
2986 Preparations' in the manual that discuss these issues.
2988 ** Fix run-time library path ordering in linking the Guile bindings.
2990 ** Improved manual on downloading, installing, getting help, bug reports etc.
2991 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
2993 ** Add Malay message translations.
2994 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
2996 ** API and ABI modifications:
2997 No changes since last version.
2999 * Version 1.7.14 (released 2007-06-26)
3001 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3002 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3004 ** Fix memory leak during DSA signature verification.
3005 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3007 ** Fix crash in gnutls-cli when TLS handshake fails.
3008 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3009 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3010 <http://bugs.debian.org/429183>.
3012 ** Minor OpenPGP fixes in stream_to_datum.
3013 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3014 <ludovic.courtes@laas.fr>.
3016 ** Fix off-by-one in TLS 1.2 handshake.
3017 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3019 ** Minor Guile binding self-test cleanup.
3020 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3022 ** Update gnulib files.
3024 ** API and ABI modifications:
3025 No changes since last version.
3027 * Version 1.7.13 (released 2007-06-11)
3029 ** OpenCDK copy updated to version 0.6.3.
3031 ** Build fixes for GnuTLS Guile bindings.
3032 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3034 ** Build fix for GTK-DOC manual.
3036 ** Update gnulib files.
3038 ** API and ABI modifications:
3039 No changes since last version.
3041 * Version 1.7.12 (released 2007-06-08)
3043 ** Guile bindings for GnuTLS have been included.
3044 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3045 new chapter 'Guile Bindings' in the manual.
3047 ** Have PKCS8 parser return better error codes.
3048 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3049 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3050 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3052 ** Fix mem leak for sessions with client authentication via certificates.
3053 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3054 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3056 ** Fix mem leaks.
3057 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3058 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3059 self-test tests/parse_ca.c to test regressions.
3061 ** Fix build failures related to missing images in manual.
3062 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3064 ** Update gnulib files.
3066 ** API and ABI modifications:
3067 No changes since last version.
3069 * Version 1.7.11 (released 2007-05-26)
3071 ** Include opencdk.h in the release.
3072 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3074 ** API and ABI modifications:
3075 No changes since last version.
3077 * Version 1.7.10 (released 2007-05-25)
3079 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3080 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3082 ** Update of gnulib files.
3084 ** GnuTLS is now developed in GIT instead of CVS.
3085 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3087 ** API and ABI modifications:
3088 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3089 gnutls_x509_crt_get_raw_dn: ADD.
3091 * Version 1.7.9 (released 2007-05-12)
3093 ** X.509 certificates are preferred over OpenPGP keys.
3094 This is a change in the semantics of gnutls_set_default_priority.
3096 ** The included copy of OpenCDK has been updated to 0.6.1.
3097 There has been some API changes in OpenCDK, and the GnuTLS layer have
3098 been modified as well.  Note that while there are API/ABI incompatible
3099 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3100 its API/ABI have not changed.  From this version on, GnuTLS requires
3101 OpenCDK 0.6.0 or later.
3103 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3105 ** Change certtool's default serial number from 0 to a time-based value.
3107 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3108 Before, we remove the parameters field, which resulted in a slightly
3109 different DER encoding which in turn caused signature verification
3110 failures of GnuTLS-generated RSA certificates in some other
3111 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3112 you read, this may or may not be correct, but our new behaviour appear
3113 to be consistent with other widely used implementations.
3115 ** Fix mem leaks in gnutls_x509_crt_print.
3117 ** API and ABI modifications:
3118 No changes since last version.
3120 * Version 1.7.8 (released 2007-04-16)
3122 ** Added examples for the authorization extension.
3123 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3125 ** The examples only use gnutls_set_default_priority().
3126 The exception is when DH_ANON is needed.
3128 ** Improve gnutls_set_default_priority() priorities.
3129 The new approach is for it to try and negotiate all secure and
3130 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3131 LZO compressions are not enabled by default, because they are,
3132 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3133 not be enabled by default in non-experimental release until it has
3134 been approved by the IETF.
3136 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3137 This means that to get DH_ANON and LZO compression, you'll need to
3138 specify that manually using '--kx anon' or '--comp lzo'.
3140 ** Minor fixes to the human display format of X.509 certificates.
3142 ** New APIs to extract Distinguished Name's from X.509 certificates.
3143 Based on patch from Howard Chu <hyc@symas.com>.
3145 ** Improved library searching for opencdk.
3146 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3147 The deprecated opencdk.m4 is no longer used.
3149 ** New APIs to list supported algorithms in the library.
3150 The APIs are gnutls_cipher_list, gnutls_mac_list,
3151 gnutls_compression_list, gnutls_protocol_list,
3152 gnutls_certificate_type_list, gnutls_kx_list, and
3153 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3155 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3157 ** New configure option --disable-tls-authorization to disable tls-authz.
3159 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3160 The last parameter was renamed from 'flags' to 'format' and the type
3161 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3162 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3163 (Ludovic Courtès).
3165 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3166 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3168 ** API and ABI modifications:
3169 gnutls_x509_dn_t: ADD.
3170 gnutls_x509_ava_st: ADD.
3171 gnutls_x509_crt_get_subject,
3172 gnutls_x509_crt_get_issuer: ADD.
3173 gnutls_x509_dn_get_rdn_ava: ADD.
3174 gnutls_cipher_list: ADD.
3175 gnutls_mac_list: ADD.
3176 gnutls_compression_list: ADD.
3177 gnutls_protocol_list: ADD.
3178 gnutls_certificate_type_list: ADD.
3179 gnutls_kx_list: ADD.
3180 gnutls_cipher_suite_info: ADD.
3182 * Version 1.7.7 (released 2007-02-22)
3184 ** Support for supplemental handshake messages and authorization data.
3185 Supplemental data is described in RFC 4680 and the authorization
3186 extensions in draft-housley-tls-authz-extns-07.
3188 ** Support for authorization data in gnutls-cli and gnutls-serv.
3189 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3191 ** Fix for gnutls_x509_crt_check_hostname.
3192 Before it would have reported that the certificate matched a hostname
3193 when it did not have any dNSName or any CN field.  Report and tiny
3194 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3196 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3197 Tests regressions of the bug, and several other features.
3199 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3200 Before there were no support for iPAddress SAN's during comparison.
3202 ** New API to print information about CRL's.
3203 The function is gnutls_x509_crl_print.
3205 ** New API to extract signature value from CRL's.
3206 The function is gnutls_x509_crl_get_signature.
3208 ** Support for directoryName Subject Alternative Name's.
3209 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3210 string in the provided buffer.
3212 ** Internal improvements to certtool.
3213 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3214 more gnulib modules to simplify error handling.
3216 ** API and ABI modifications:
3217 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3218 gnutls_supplemental_data_format_type_t: ADD.
3219 gnutls_authz_data_format_type_t: ADD.
3220 gnutls_supplemental_get_name: ADD.
3221 gnutls_authz_recv_callback_func,
3222 gnutls_authz_send_callback_func: ADD, callback prototypes.
3223 gnutls_authz_enable: ADD.
3224 gnutls_authz_send_x509_attr_cert,
3225 gnutls_authz_send_saml_assertion,
3226 gnutls_authz_send_x509_attr_cert_url,
3227 gnutls_authz_send_saml_assertion_url: ADD.
3228 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3229 gnutls_x509_crl_print: ADD.
3230 gnutls_x509_crl_get_signature: ADD.
3232 * Version 1.7.6 (released 2007-02-12)
3234 ** Support for 'otherName' Subject Alternative Names.
3235 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3236 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3237 To find out the otherName OID (necessary for proper parsing of the
3238 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3239 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3240 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3241 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3243 ** Certtool can print otherName SAN values for certificates.
3244 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3245 RFC 3920), it will also print the name.
3247 ** Fix TLS 1.2 RSA signing in servers.
3248 Before it used the old-style MD5+SHA1 signature, but the TLS
3249 signatures should be normal PKCS#1 signatures.  FYI, we use and
3250 require that DigestInfo parameters are present and NULL for TLS 1.2.
3252 ** Add APIs to access X.509 extensions sequentially.
3253 The existing APIs gnutls_x509_crt_get_extension_oid() and
3254 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3255 inspect the extensions in the order defined by the certificate.
3257 ** Add API to extract signature value from X.509 certificates.
3258 The function is gnutls_x509_crt_get_signature.
3260 ** Fix crash when generating proxy certificates in batch mode.
3261 If you don't specify a proxy policy in batch mode, it will use
3262 id-ppl-inheritALL.
3264 ** Add API to print information about X.509 certificates.
3265 The function is gnutls_x509_crt_print.
3267 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3268 One consequence of this is that the output syntax has changed
3269 slightly.  Some more fields are printed.
3271 ** Doc fixes.
3273 ** API and ABI modifications:
3274 gnutls_x509_crt_print: ADD
3275 gnutls_certificate_print_formats_t: ADD, new enum.
3276 gnutls_x509_crt_get_signature: ADD.
3277 gnutls_x509_crt_get_extension_data: ADD.
3278 gnutls_x509_crt_get_extension_info: ADD.
3279 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3280 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3281 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3283 * Version 1.7.5 (released 2007-02-06)
3285 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3286 ** is set.
3288 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3290 ** Fix --list output for gnutls-cli and gnutls-serv.
3291 Mention TLS1.2, SHA512 etc.
3293 ** Manual contains new section on setting up a test HTTP server.
3294 A server set up following those descriptions are available online via
3295 <http://www.gnutls.org/server.html>.
3297 ** Update of gnulib files.
3299 ** API and ABI modifications:
3300 No changes since last version.
3302 * Version 1.7.4 (released 2007-02-05)
3304 ** Support for RSA signing using SHA-256/384/512.
3305 A new self test "sha2" tries to build a long X.509 certificate chain
3306 testing all new hashes.
3308 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3310 ** Discuss proxy certificates in the manual.
3312 ** Improve bibliographical citations in the manual.
3314 ** Update of gnulib files.
3316 ** Fix certtool template handling of pathLenConstraints.
3317 It now defaults to -1 instead of 0, which causes the field to be
3318 missing unless the template specify it.
3320 ** API and ABI modifications:
3321 GNUTLS_MAC_SHA256,
3322 GNUTLS_MAC_SHA384,
3323 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3324 GNUTLS_DIG_SHA256,
3325 GNUTLS_DIG_SHA384,
3326 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3327 GNUTLS_SIGN_RSA_SHA256,
3328 GNUTLS_SIGN_RSA_SHA384,
3329 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3331 * Version 1.7.3 (released 2007-02-01)
3333 ** New option to certtool: --generate-proxy.
3334 This will generate a Proxy Certificate from an end entity certificate.
3335 Proxy Certificates are documented in RFC 3820.  You will need to
3336 specify the proxy certificate's private key with --load-privkey, the
3337 user certificate with --load-certificate and the private key used to
3338 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3339 query for proxy path length and the policy language OID.  Currently
3340 only OIDs that have an empty policy are supported (which includes the
3341 two OIDs defined by RFC 3820).
3343 ** Certtool --certificate-info now prints information for Proxy Certificates.
3344 Before the proxy extension was just printed as DER encoded data.
3346 ** New APIs to set proxy subject names and get/set proxy cert extension.
3348 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3350 ** Added self-test to test for regressions of pathLenConstraint bug.
3351 Incidentally, this also test (some) other regressions or changes in
3352 the output from certtool --certificate-info.
3354 ** When certtool generates CA certificates, pressing enter on the path
3355 ** length constraint query will now remove the field.
3356 Before it set the path length constraint to 0, which is a rather poor
3357 default.
3359 ** Certtool now print times in UTC when printing certificate/CRL info.
3361 ** Add better fix to work around C++ compiler bug on Mac OS X.
3362 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3364 ** Fix import of ASCII armored OpenPGP keys.
3365 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3367 ** Update of gnulib files.
3369 ** API and ABI modifications:
3370 gnutls_x509_crt_set_proxy_dn: ADD.
3371 gnutls_x509_crt_set_proxy: ADD.
3372 gnutls_x509_crt_get_proxy: ADD.
3374 * Version 1.7.2 (released 2007-01-14)
3376 ** Certtool now print the value of the pathLenConstraints field for certs.
3378 ** Certtool now query for path length constraints when generating CA certs.
3379 For batch uses, the certtool configuration name is "path_len".
3380 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3382 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3383 The new functions gnutls_x509_crt_get_basic_constraints and
3384 gnutls_x509_crt_set_basic_constraints provide a superset of the
3385 functionality in the old gnutls_x509_crt_get_ca_status and
3386 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3387 will continue to be supported.
3389 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3390 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3391 OpenCDK release with this patch will be made soon, which should bump
3392 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3394 ** Certtool --to-p12 can now store more than one certificate in the blob.
3395 Before it could only store one certificate, but now it will read and
3396 store as many certificate there are from the --load-certificate file.
3397 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3399 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3400 In particular, the OpenPGP function variables are no longer part of
3401 the exported libgnutls interface, and no header files from
3402 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3403 were never intended for non-internal purposes, and thus this does not
3404 imply a change in the external API/ABI.
3406 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3407 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3409 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3410 Before these parameters were set to make GnuTLS build under mingw32,
3411 however, they appear to no longer be necessary.
3413 ** A minor fix to the C++ library to make it build.
3414 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3416 ** Update of gnulib files.
3418 ** API and ABI modifications:
3419 gnutls_x509_crt_get_basic_constraints: ADD.
3420 gnutls_x509_crt_set_basic_constraints: ADD.
3421 cdk_pubkey_to_sexp: ADD (in opencdk).
3422 cdk_seckey_to_sexp: ADD (in opencdk).
3424 * Version 1.7.1 (released 2006-12-28)
3426 ** TLS 1.2 server side fix.
3427 The Certificate Request sent did not contain the list of supported
3428 hashes field, thus violating the protocol.  It will now contain an
3429 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3431 ** TLS 1.2 DSA signature verification fix.
3432 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3434 ** Fix the list of trusted CAs that server's send to clients.
3435 Before, the list contained issuer DN's instead of subject DN's of the
3436 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3438 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3439 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3440 function.  Reported by Max Kellermann <max@duempel.org>.
3442 ** Encode UID fields in DN's as DirectoryString.
3443 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3444 incorrect, it should have used DirectoryString.  Now it will use
3445 DirectoryString for the UID field, but for backwards compatibility it
3446 will also accept IA5String UID's.  Reported by Max Kellermann
3447 <max@duempel.org>.
3449 ** Improve out-of-sourcedir builds from CVS.
3450 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3452 ** Bootstrap tools changed.
3453 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3454 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3456 ** Fixed a syntax error in lib/gnutls.asn.
3457 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3459 ** Added German translation of GnuTLS messages.
3461 ** Update of gnulib files.
3463 ** API and ABI modifications:
3464 No changes since last version.
3466 * Version 1.7.0 (released 2006-11-29)
3468 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3469 The details is that the protocol priority set by
3470 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3471 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3473 ** Preliminary support for TLS 1.2.
3474 The client has been successfully tested against
3475 https://www.mikestoolbox.org:4433/.
3477 ** Anonself test now print a lot of debugging info, including TLS version.
3479 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3481 ** Update of gnulib files.
3483 ** API and ABI modifications:
3484 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3486 *** Pulled up from stable 1.6.x branch:
3488 ** Fix ./configure failure with non-GCC compilers.
3489 This fixes the following error message:
3490 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3491 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3493 * Version 1.6.3 (released 2007-05-26)
3495 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3496 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3497 from the 1.7.x branch, see
3498 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3500 ** Have PKCS8 parser return better error codes.
3501 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3502 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3503 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3505 ** Fix mem leak for sessions with client authentication via certificates.
3506 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3507 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3509 ** Fix building of 'tlsia' self test.
3510 Earlier some gcc are known to build tlsia linking to
3511 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3512 the build directory, even though command line parameters look OK.
3513 Changing order of some parameters fixes it.
3515 ** API and ABI modifications:
3516 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3517 gnutls_x509_crt_get_raw_dn: ADD.
3519 * Version 1.6.2 (released 2007-04-18)
3521 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3522 Before, we remove the parameters field, which resulted in a slightly
3523 different DER encoding which in turn caused signature verification
3524 failures of GnuTLS-generated RSA certificates in some other
3525 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3526 you read, this may or may not be correct, but our new behaviour appear
3527 to be consistent with other widely used implementations.
3529 ** Regenerate the PKIX ASN.1 syntax tree.
3530 For some reason, after changing the ASN.1 type of ldap-UID in the last
3531 release, the generated C file built from the ASN.1 schema was not
3532 refreshed.  This can cause problems when reading/writing UID
3533 components inside X.500 Distinguished Names.  Reported by devel
3534 <dev001@pas-world.com>.
3536 ** Updated translations.
3538 ** API and ABI modifications:
3539 No changes since last version.
3541 * Version 1.6.1 (released 2006-12-28)
3543 ** Fix the list of trusted CAs that server's send to clients.
3544 Before, the list contained issuer DN's instead of subject DN's of the
3545 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3547 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3548 Reported by Max Kellermann <max@duempel.org>.
3550 ** Encode UID fields in DN's as DirectoryString.
3551 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3552 incorrect, it should have used DirectoryString.  Now it will use
3553 DirectoryString for the UID field, but for backwards compatibility it
3554 will also accept IA5String UID's.  Reported by Max Kellermann
3555 <max@duempel.org>.
3557 ** Fix ./configure failure with non-GCC compilers.
3558 This fixes the following error message:
3559 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3560 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3562 ** API and ABI modifications:
3563 No changes since last version.
3565 * Version 1.6.0 (released 2006-11-17)
3567 ** No changes since 1.5.5.
3568 The major changes compared to the 1.4.x branch are:
3570 *** A GnuTLS C++ library is part of the official distribution.
3571 Currently there are no examples or documentation, but hopefully this
3572 will change.  See gnutlsxx.h for the API.
3574 *** Windows is a supported platform.
3575 There are, however, two know bugs.  One is related to select() in
3576 command line tools (not, nota bene, in the library), the other is a
3577 problem with libgcrypt that causes delays.  Help is needed to resolve
3578 those issues, so we feel we can't delay the release because of this.
3580 *** New APIs for custom push/pull function error reporting.
3581 The new APIs are gnutls_transport_set_errno and
3582 gnutls_transport_set_global_errno.  See the release notes for version
3583 1.5.4 for more information.
3585 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3587 * Version 1.5.5 (released 2006-11-16)
3589 ** Correctly bump shared library version after adding new APIs.
3590 This was forgotten in the last release.
3592 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3593 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3595 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3597 ** Update of gnulib files.
3599 ** API and ABI modifications:
3600 No changes since last version.
3602 * Version 1.5.4 (released 2006-11-07)
3604 ** New API functions to set errno in push/pull functions.
3605 Under Windows, setting the errno variable in a push/pull replacement
3606 may end up setting the wrong errno variable, and GnuTLS send/recv
3607 functions become confused about the real errno returned from a failed
3608 push/pull function.  Therefor, we have added two APIs to set the errno
3609 variable used by GnuTLS.  The APIs can also help to keep things
3610 thread-safe, by avoiding potentially global variables.  Typically,
3611 instead of setting errno in your push/pull function, you will call one
3612 of these functions.  It is recommended to use
3613 gnutls_transport_set_errno, but if you don't have the session variable
3614 easily accessible in the push/pull replacement function, you can use
3615 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3616 <tim.kosse@filezilla-project.org>.
3618 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3619 void gnutls_transport_set_global_errno (int err);
3621 ** When calling `recv' or `send' Windows errors are handled properly.
3622 The Windows recv/send functions doesn't use errno, and GnuTLS now use
3623 WSAGetLastError to access the error condition instead.
3625 ** Several OpenPGP API fixes.
3626 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
3627 important fix is to change the return value of
3628 gnutls_openpgp_privkey_get_pk_algorithm and
3629 gnutls_openpgp_key_get_pk_algorithm from 'int' to
3630 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
3631 compatible with 'int').
3633 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3634 ** version, try to negotiate the highest version support by the GnuTLS server,
3635 ** instead of the lowest.
3636 Reported by <Pasi.Eronen@nokia.com>.
3638 ** Replace old constructs with use of gnulib modules.
3639 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
3640 the code.  If the headers doesn't exist on the target system, gnulib
3641 will make sure its replacement header files are used instead.
3643 ** Fix SOVERSION computation for *.def files.
3644 This fixes build errors similar to "No rule to make target
3645 `libgnutls-`expr', needed by `all-am'." when building for Windows.
3647 ** gnutls_check-version uses strverscmp from gnulib.
3649 ** Update of gnulib files.
3651 ** API and ABI modifications:
3652 gnutls_transport_set_errno: ADD
3653 gnutls_transport_set_global_errno: ADD
3655 * Version 1.5.3 (released 2006-10-26)
3657 ** Add new self-test of RSA-MD5 signature chains.
3658 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
3659 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
3660 and is based on the work by Marc Stevens et al, see
3661 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
3663 ** Re-factor self tests.
3665 ** The include copy of Libtasn1 is updated to version 0.3.7.
3667 ** The included copy of OpenCDK is updated to version 0.5.11.
3669 ** Fix the filename of the *.def file on Windows after library version bump.
3671 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
3672 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
3673 gnulib modules.  Earlier we could only use the LGPL'ed module from
3674 gnulib, because two gnulib directories in the same project didn't
3675 work.
3677 ** API and ABI modifications:
3678 No changes since last version.
3680 * Version 1.5.2 (released 2006-10-03)
3682 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
3683 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
3684 shared library version than this version, so you'll have to remove
3685 them and possibly relink your applications.  The reason for this is
3686 that no API/ABI changes have been made since the 1.4.x branch, and
3687 that incrementing the shared library version was a mistake.  Reported
3688 by Andreas Metzler <ametzler@downhill.at.eu.org>.
3690 ** Fix off-by-one error when computing length to malloc.
3691 The code is used by gnutls_openpgp_add_keyring_file and
3692 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
3693 <agl@imperialviolet.org>.
3695 ** Add version script for the GnuTLS C++ library.
3696 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3698 ** Fix the C++ compiler detection logic.
3699 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3701 ** Update of gnulib files.
3703 ** API and ABI modifications:
3704 No changes since last version.
3706 * Version 1.5.1 (released 2006-09-21)
3708 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3709 ** Crypto 06 rump session attack.
3710 In particular, we check that the digestAlgorithm.parameters field is
3711 missing or empty, to avoid that it can contain "garbage" that may be
3712 used to alter the numeric properties of the signature.  See
3713 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3714 not exactly the same as the problem we fix here).  Reported by Yutaka
3715 OIWA <y.oiwa@aist.go.jp>.
3717 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3718 up to date information.
3720 ** Add self test to test for above flaw.
3722 ** Fix gnutls-cli-debug regarding resume support detection.
3723 Earlier, if the session-id from the server had a length of 0, it would
3724 indicate that the server supports resumption, which isn't the case.
3725 Reported by Kataja Kai <kai.kataja@op.fi>.
3727 ** Fix building of examples on FreeBSD by including netinet/in.h.
3728 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3730 ** Fix certtool bug that caused the private key to not be loaded when
3731 generating a certificate with --load-request, which in turn triggered
3732 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
3733 by Sascha Ziemann <sascha.ziemann@secunet.com>.
3735 ** gnutls-cli and gnutls-serv works on Windows.
3736 The problem was the select() call that doesn't work on file
3737 descriptors (stdin) on Windows.  We borrowed some code from plibc to
3738 solve this.  It appears to be somewhat unreliable though.
3740 ** Autoconf 2.60 is now used.
3742 ** API and ABI modifications:
3743 No changes since last version.
3745 * Version 1.5.0 (released 2006-08-13)
3747 ** Change SRP and Cert-Type extensions to match IANA registry.
3749 ** Fixed bug in OpenPGP authentication handshake.
3751 ** Improvements for building under MinGW.
3752 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
3753 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
3754 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
3755 at run-time from ws2_32.dll, and falls back on a simple replacement if
3756 it is not available.  Builds the library with -mms-bitfields
3757 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
3758 create *.def files, which are installed.
3760 ** The examples now (conditionally) include config.h and link to gnulib.
3761 No other source changes were necessary, so the examples should
3762 continue to be possible to use stand-alone without any autoconf or
3763 gnulib stuff.
3765 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
3766 You may unconditionally disable it with --disable-cxx.  See
3767 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
3768 implementation.
3770 ** Made command line tool '--version' behave according to GNU Standards.
3771 This enables 'make distcheck' to succeed.
3773 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3775 ** Make --without-included-libtasn1 work.
3776 Reported by Daniel Black <dragonheart@gentoo.org>.
3778 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3779 See http://www.gnu.org/software/gnutls/security.html regardging
3780 GNUTLS-SA-2006-2 for more up to date information.  Reported by
3781 satyakumar <satyam_kkd@hyd.hellosoft.com>.
3783 ** API and ABI modifications:
3784 No changes since last version.
3786 * Version 1.4.5 (released 2006-11-06)
3788 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3789 ** version, try to negotiate the highest version support by the GnuTLS server,
3790 ** instead of the lowest.
3791 Reported by <Pasi.Eronen@nokia.com>.
3793 ** Fix typo in doc/examples/ex-serv-pgp.c.
3794 Reported by Adam Langley" <agl@imperialviolet.org>.
3796 ** API and ABI modifications:
3797 No changes since last version.
3799 * Version 1.4.4 (released 2006-09-12)
3801 ** Relax the test that caught signatures that exploit the variant of
3802 ** Bleichenbacher's Crypto 06 rump session attack on our
3803 ** verification logic flaw.
3804 In particular, we now permit the digestAlgorithm.parameters field to
3805 be present but empty, whereas in 1.4.3 we actually checked that the
3806 field was absent.
3808 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
3809 The messages are only printed in debug mode, which is not recommended
3810 for normal use, and thus logging this situation cannot be abused as an
3811 oracle in typical recommended situations.
3813 ** API and ABI modifications:
3814 No changes since last version.
3816 * Version 1.4.3 (released 2006-09-08)
3818 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3819 ** Crypto 06 rump session attack.
3820 In particular, we check that the digestAlgorithm.parameters field is
3821 empty, to avoid that it can contain "garbage" that may be used to
3822 alter the numeric properties of the signature.  See
3823 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3824 not exactly the same as the problem we fix here).  Reported by Yutaka
3825 OIWA <y.oiwa@aist.go.jp>.
3827 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3828 up to date information.
3830 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
3831 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
3832 Reported by Werner Koch <wk@gnupg.org>.
3834 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
3835 up to date information.
3837 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
3839 ** API and ABI modifications:
3840 No changes since last version.
3842 * Version 1.4.2 (released 2006-08-12)
3844 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3845 This can happen if you call gnutls_certificate_verify_peers2 and have
3846 a certain mix of local CA certificates and the peer send special
3847 certificates, that together trigger certain behaviour.  It is not
3848 known at this point whether the crash can be triggered without the
3849 special local CA certificate, and thus turn this into a remote crash
3850 of clients that verify server certificates when they talk to a server
3851 with the special server certificate.  See GNUTLS-SA-2006-2 on
3852 http://www.gnu.org/software/gnutls/security.html for more up to date
3853 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
3855 ** Change SRP and Cert-Type extensions to match IANA registry.
3857 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3859 ** Make --without-included-libtasn1 work.
3860 Reported by Daniel Black <dragonheart@gentoo.org>.
3862 ** API and ABI modifications:
3863 No changes since last version.
3865 * Version 1.4.1 (released 2006-06-14)
3867 ** Replaced inactive ifdefs to enable openpgp support in test programs.
3869 ** Fixed bug in OpenPGP authentication handshake.
3871 ** Fixed typographical in man pages.
3873 ** Build fixes of the manual.
3875 ** Added Swedish translation.
3877 ** API and ABI modifications:
3878 No changes since last version.
3880 * Version 1.4.0 (released 2006-05-15)
3882 ** Remove GnuTLS 0.8.x compatibility functions.
3884 ** The libgcrypt RNG is initialized in gnutls_global_init().
3886 ** TLS/IA API changes from Emile van Bergen.
3887 A dummy credential structure is not needed now, if you wish to use the
3888 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
3889 a session.
3891 ** The self-tests are now run under valgrind, if it is installed.
3893 ** Libtasn1 is updated to 0.3.4, and that version is now required.
3895 ** The command line tools now use getaddrinfo and support IPv6.
3897 ** API and ABI modifications:
3898 _gnutls_x509_get_raw_crt_activation_time,
3899 _gnutls_x509_get_raw_crt_expiration_time: Removed.
3900 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
3901 gnutls_ia_enable: Added.
3903 * Version 1.3.5 (released 2006-03-08)
3905 ** Error messages are now translated using GNU Gettext.
3907 ** The function gnutls_x509_crt_to_xml now return an internal error.
3908 This means that the code to convert X.509 certificates to XML format
3909 does not work any more.  The reason is that the function called
3910 libtasn1 internal functions.  It seems unclean for libtasn1 to export
3911 the APIs needed here.  Instead it would be better to implement XML
3912 support inside libtasn1 properly.  If you need this functionality
3913 strongly, please consider looking into implementing this suggested
3914 approach instead.  As a workaround, you may also modify lib/x509/xml.c
3915 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
3917 ** Libraries are now built with libtool's -no-undefined.
3918 This helps producing libraries for Windows using mingw32.
3920 ** Doc fixes to explain that gnutls_record_send can block.
3922 ** Libtasn1 0.3.1 or later is now required.
3923 The include copy has been updated too.
3925 ** gnutls-cli can now recognize services and port numbers with the -p option.
3927 ** API and ABI modifications:
3928 No changes since last version.
3930 * Version 1.3.4 (released 2006-02-09)
3932 ** Fix read of out bounds bug in DER parser.
3933 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
3934 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
3935 previous bug fix.  The included libtasn1 version in GnuTLS has been
3936 updated.
3938 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
3939 longer invalidate a session if the underlying send fails, but it will 
3940 prevent future writes. That is to allow reading the already received data.
3941 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
3943 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
3944 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
3945 more than one certificates were added. Report and patch by Max Kellermann.
3947 ** Fix build problems of OpenCDK on AIX.
3948 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
3950 ** API and ABI modifications:
3951 No changes since last version.
3953 * Version 1.3.3 (released 2006-01-12)
3955 ** New API to access the TLS master secret.
3956 When possible, you should use the TLS PRF functions instead.
3957 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
3959 ** Improved handling when multiple libraries use GnuTLS at the same time.
3960 Now gnutls_global_init() can be called multiple times, and
3961 gnutls_global_deinit() will only deallocate the structure when it has
3962 been called as many times as gnutls_global_init() was called.
3964 ** Added a self test of TLS resume functionality.
3966 ** Fix crash in TLS resume code, caused by TLS/IA changes.
3968 ** Documentation fixes about thread unsafety, prompted by
3969 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
3970 In particular, gnutls_global_init() and gnutls_global_deinit() are not
3971 thread safe.  Careful callers may want to protect the call using a
3972 mutex.  The problem could also be ignored, which would cause a memory
3973 leak under rare conditions when two threads invoke the function
3974 roughly at the same time.
3976 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
3978 ** The code was indented again, including the external header files.
3980 ** API and ABI modifications:
3981 New functions to retrieve the master secret value:
3982   gnutls_session_get_master_secret
3984 Add a 'const' keyword to existing API:
3985   gnutls_x509_crq_get_challenge_password
3987 * Version 1.3.2 (released 2005-12-15)
3989 ** GnuTLS now support TLS Inner application (TLS/IA).
3990 This is per draft-funk-tls-inner-application-extension-01.  This
3991 functionality is added to libgnutls-extra, so it is licensed under the
3992 GNU General Public License.
3994 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
3995 The PRF is used by some protocols building on TLS, such as EAP-PEAP
3996 and EAP-TTLS.  One function to access the raw PRF and one to access
3997 the PRF seeded with the client/server random fields are provided.
3998 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4000 ** New APIs to acceess the client and server random fields in a session.
4001 These fields can be useful by protocols using TLS.  Note that these
4002 fields are typically used as input to the TLS PRF, and if this is your
4003 intended use, you should use the TLS PRF API that use the
4004 client/server random field directly.  Suggested by Jouni Malinen
4005 <jkmaline@cc.hut.fi>.
4007 ** Internal type cleanups.
4008 The uint8, uint16, uint32 types have been replaced by uint8_t,
4009 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4010 correct types on platforms that lack them.  The uint type have been
4011 replaced by unsigned.
4013 ** API and ABI modifications:
4014 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4015   gnutls_prf
4016   gnutls_prf_raw
4018 New functions to retrieve the session's client and server random values:
4019   gnutls_session_get_server_random
4020   gnutls_session_get_client_random
4022 New function, to perform TLS/IA handshake:
4023   gnutls_ia_handshake
4025 New function to decide whether to do a TLS/IA handshake:
4026   gnutls_ia_handshake_p
4028 New functions to allocate a TLS/IA credential:
4029   gnutls_ia_allocate_client_credentials
4030   gnutls_ia_free_client_credentials
4031   gnutls_ia_allocate_server_credentials
4032   gnutls_ia_free_server_credentials
4034 New functions to handle the AVP callback:
4035   gnutls_ia_set_client_avp_function
4036   gnutls_ia_set_client_avp_ptr
4037   gnutls_ia_get_client_avp_ptr
4038   gnutls_ia_set_server_avp_function
4039   gnutls_ia_set_server_avp_ptr
4040   gnutls_ia_get_server_avp_ptr
4042 New functions, to toggle TLS/IA application phases:
4043   gnutls_ia_require_inner_phase
4045 New function to mix session keys with inner secret:
4046   gnutls_ia_permute_inner_secret
4048 Low-level API (used internally by gnutls_ia_handshake):
4049   gnutls_ia_endphase_send
4050   gnutls_ia_send
4051   gnutls_ia_recv
4053 New functions that can be used after successful TLS/IA negotiation:
4054   gnutls_ia_generate_challenge
4055   gnutls_ia_extract_inner_secret
4057 Enum type with TLS/IA modes:
4058   gnutls_ia_mode_t
4060 Enum type with TLS/IA packet types:
4061   gnutls_ia_apptype_t
4063 Enum values for TLS/IA alerts:
4064   GNUTLS_A_INNER_APPLICATION_FAILURE
4065   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4067 New error codes, to signal when an application phase has finished:
4068   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4069   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4071 New error code to signal TLS/IA verify failure:
4072   GNUTLS_E_IA_VERIFY_FAILED
4074 * Version 1.3.1 (released 2005-12-08)
4076 ** Support for DHE-PSK cipher suites has been added.
4077 This method offers perfect forward secrecy.
4079 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4080 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4082 ** Corrected a bug in certtool for 64 bit machines. Reported
4083 by Max Kellermann <max@duempel.org>.
4085 ** New function to set a X.509 private key and certificate pairs, and/or
4086 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4087 <emile@e-advies.nl>.
4089 The integrity of the PKCS#12 file is protected through a password
4090 based MAC; public-key based signatures for integrity protection are
4091 not supported.  PKCS#12 bags may be encrypted using password derived
4092 symmetric keys, public-key based encryption is not supported.  The
4093 PKCS#8 keys may be encrypted using passwords.  The API use the same
4094 password for all operations.  We believe that any more flexibility
4095 create too much complexity that would hurt overall security, but may
4096 add more PKCS#12 related APIs if real-world experience indicate
4097 otherwise.
4099 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4100 reported by Emile van Bergen <emile@e-advies.nl>.
4101 This will enable "certtool -k -8" to parse those keys.
4103 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4104 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4105 certtool would have encrypted the key using an empty password.
4107 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4108 Earlier it would have prompted the user for it, even if --password was
4109 supplied.
4111 ** Added self test of PKCS#8 parsing.
4112 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4113 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4114 tests/pkcs8.
4116 ** API and ABI modifications:
4117 New function to set X.509 credentials from a PKCS#12 file:
4118   gnutls_certificate_set_x509_simple_pkcs12_file
4120 New gnutls_kx_algorithm_t enum type:
4121   GNUTLS_KX_DHE_PSK
4123 New API to return session data (basically same as gnutls_session_get_data):
4124   gnutls_session_get_data2
4126 New API to set PSK Diffie-Hellman parameters:
4127   gnutls_psk_set_server_dh_params
4129 * Version 1.3.0 (2005-11-15)
4131 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4132 This add several new APIs, see below.  Read the updated manual for
4133 more information.  A new self test "pskself" has been added, that will
4134 test this functionality.
4136 ** The session resumption data are now system independent.
4138 ** The code has been re-indented to conform to the GNU coding style.
4140 ** Removed the RIPEMD ciphersuites.
4142 ** Added a discussion of the internals of gnutls in manual.
4144 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4146 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4148 ** Make sure config.h is included first in a few files, from Albert Chin.
4150 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4152 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4153 from Albert Chin.
4155 ** API and ABI modifications:
4156 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4158 New gnutls_credentials_type_t credential type:
4159   GNUTLS_CRD_PSK
4161 New credential types:
4162   gnutls_psk_server_credentials_t
4163   gnutls_psk_client_credentials_t
4165 New functions to allocate PSK credentials:
4166   gnutls_psk_allocate_client_credentials
4167   gnutls_psk_free_client_credentials
4168   gnutls_psk_free_server_credentials
4169   gnutls_psk_allocate_server_credentials
4171 New enum type for PSK key flags:
4172   gnutls_psk_key_flags
4174 New function prototypes for credential callback:
4175   gnutls_psk_client_credentials_function
4176   gnutls_psk_server_credentials_function
4178 New function to set PSK username and key:
4179   gnutls_psk_set_client_credentials
4181 New function to set PSK passwd file:
4182   gnutls_psk_set_server_credentials_file
4184 New function to extract PSK user in server:
4185   gnutls_psk_server_get_username
4187 New functions to set PSK callback:
4188   gnutls_psk_set_server_credentials_function
4189   gnutls_psk_set_client_credentials_function
4191 Use size_t instead of int for output size parameter:
4192   gnutls_srp_base64_encode
4193   gnutls_srp_base64_decode
4195 * Version 1.2.11 (2006-05-11)
4196 - The function gnutls_x509_crt_to_xml is not supported any more, and
4197   return an internal error.  The reason is that the function called
4198   internal libtasn1 functions which are no longer exported from
4199   libtasn1.
4200 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4201 - Updated gnulib compatibility files.
4202 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4203   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4204 - API and ABI modifications:
4205   No changes since last version.
4207 * Version 1.2.10 (2006-02-09)
4208 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4209   <admin@gleg.net>, and debugging help from Protover SSL.
4210 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4211   The included version has been updated too.
4212 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4213   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4214 - Corrected a bug in certtool for 64 bit machines. Reported
4215   by Max Kellermann <max@duempel.org>.
4216 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4217   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4218   more than one certificates were added. Report and patch by Max Kellermann.
4219 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4220   longer invalidate a session if the underlying send fails, but it will 
4221   prevent future writes. That is to allow reading the already received data.
4222   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4224 * Version 1.2.9 (2005-11-07)
4225 - Documentation was updated and improved.
4226 - RSA-MD2 is now supported for verifying digital signatures.
4227 - Due to cryptographic advances, verifying untrusted X.509
4228   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4229   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4230   applications that must remain interoperable, you can use the
4231   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4232   flags when verifying certificates.  Naturally, this is not
4233   recommended default behaviour for applications.  To enable the
4234   broken algorithms, call gnutls_certificate_set_verify_flags with the
4235   proper flag, to change the verification mode used by
4236   gnutls_certificate_verify_peers2.
4237 - Make it possible to send empty data through gnutls_record_send,
4238   to align with the send(2) API.
4239 - Some changes in the certificate receiving part of handshake to prevent
4240   some possible errors with non-blocking servers.
4241 - Added numeric version symbols to permit simple CPP-based feature
4242   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4243 - The (experimental) low-level crypto alternative to libgcrypt used
4244   earlier (Nettle) has been replaced with crypto code from gnulib.
4245   This leads to easier re-use of these components in other projects,
4246   leading to more review and simpler maintenance.  The new configure
4247   parameter --with-builtin-crypto replace the old --with-nettle, and
4248   must be used if you wish to enable this functionality.  See README
4249   under "Experimental" for more information.  Internally, GnuTLS has
4250   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4251   API is similar to the old crypto/gc.h, because the gnulib code were
4252   based on GnuTLS's gc.h.
4253 - Fix compiler warning in the "anonself" self test.
4254 - API and ABI modifications:
4255 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4256                              This doesn't reflect a change in behaviour,
4257                              so we don't break backwards compatibility.
4258 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4259 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4260 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4261 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4262                                   Use when calling
4263                                   gnutls_x509_crt_list_verify,
4264                                   gnutls_x509_crt_verify, or
4265                                   gnutls_certificate_set_verify_flags.
4266 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4267                                 used when broken signature algorithms
4268                                 is used (currently RSA-MD2/MD5).
4269 LIBGNUTLS_VERSION_MAJOR,
4270 LIBGNUTLS_VERSION_MINOR,
4271 LIBGNUTLS_VERSION_PATCH,
4272 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4273                           version number, can be used for feature existence
4274                           tests.
4276 * Version 1.2.8 (2005-10-07)
4277 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4278 - Don't install the auxilliary libexamples library used by the
4279   examples in doc/examples/ on "make install", report and tiny patch
4280   from Thomas Klausner <tk@giga.or.at>.
4281 - If you pass a X.509 CA or PGP trust database to the command line
4282   tool, it will now abort the connection if the server certificate
4283   validation fails.  Use the parameter --insecure to continue even
4284   after certificate validation failures.  Inspired from discussion
4285   with Alexander Kotelnikov <sacha@myxomop.com>.
4286 - The test for socklen_t has been moved to gnulib.
4287 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4288   patch from Martin Lambers <marlam@marlam.de>.
4289 - The command line tool and the examples no longer uses mmap or bzero,
4290   to make them more portable, patch from Martin Lambers
4291   <marlam@marlam.de>.
4292 - Made the PKCS #12 API handle null passwords. Based on patch by
4293   Anton Altaparmakov <aia21@cam.ac.uk>.
4294 - The GTK-DOC manual should build with current released tools.
4295   (But a copy of the output is included, so the tools are not required.)
4296 - The inet_ntop function is now used through gnulib.
4297 - API and ABI modifications:
4298   No changes since last version.
4300 * Version 1.2.7 (2005-09-09)
4301 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
4302 - Certtool now complains when reading out-of-range X.509 serial
4303   numbers, suggested by Fran <e_agf@yahoo.es>.
4304 - Certtool now uses the readline library (when available) when reading
4305   X.509 serial numbers.
4306 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4307 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4308   Martin Lambers <marlam@marlam.de>.
4309 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4310 - Gnulib is now used for the core library, enabling future code cleanups.
4311 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4312   suggested by Daniel Stenberg <daniel@haxx.se>.
4313 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4314 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4315 - Disable zlib support if zlib.h is not present.
4316 - A number of internal cleanups.
4317 - API and ABI modifications:
4318   No changes since last version.
4320 * Version 1.2.6 (2005-07-16)
4321 - MiniLZO updated to version 2.01 and moved to separate directory.
4322 - Collision between system LZO header files and MiniLZO header file
4323   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4324 - Will now test for liblzo functionality in liblzo2 too, reported by
4325   Thomas Klausner <tk@giga.or.at>.
4326 - Minilibtasn1 is now 0.2.14 (no code changes).
4327 - Some code changes to avoid GTK-DOC warnings.
4328 - API and ABI modifications:
4329   No changes since last version.
4331 * Version 1.2.5 (2005-07-03)
4332 - More builddir != srcdir fixes, reported by Mike Castle
4333   <dalgoda@ix.netcom.com>.
4334 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4335   reported by Adam Langley <alangley@gmail.com>.
4336 - Corrected some stuff in minilzo detection. Pointed out by 
4337   Sergey Lipnevich.
4338 - MiniLZO updated to version 2.00.
4339 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4340 - API and ABI modifications:
4341   No changes since last version.
4343 * Version 1.2.4 (2005-05-28)
4344 - Corrected some bugs that could affect 64 bit systems.
4345 - Some corrections in the header files to include the prototype
4346   of memmem properly (affected 64 bit systems). Report and patch
4347   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4348 - Introduced the --fix-key option to certtool, which can be used to
4349   regenerate the (optional) parameters in a private key. It should
4350   be used together with --key-info.
4351 - Corrected a bug in certificate chain verification that could lead
4352   to marking a trusted chain as non trusted, if the last certificate in
4353   the chain was a self signed one.
4354 - Gnulib portability files were updated.
4355 - License were updated to reflect new FSF address.
4356 - API and ABI modifications:
4357   No changes since last version.
4359 * Version 1.2.3 (2005-04-28)
4360 - Corrected bug in record packet parsing that could lead
4361   to a denial of service attack.
4362 - Corrected bug in RSA key export. Previously exported keys
4363   can be fixed using certtool. Use certtool -k <infile >outfile
4364 - API and ABI modifications:
4365     gnutls_x509_privkey_fix(): Add.
4367 * Version 1.2.2 (2005-04-25)
4368 - gnutls_error_to_alert() now considers
4369   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4370 - Fixed error in session resuming that could cause a crash in a session.
4371 - Fixed pkcs12 friendly name and local key identifier decoding.
4372 - Internal cleanups, removed duplicate typedef/struct definitions,
4373   and made source code include external include file, to check
4374   function prototypes during compile time.
4375 - API and ABI modifications:
4376   No changes since last version.  At least not intentional, but due
4377   to the include header changes, there may be inadvertant changes,
4378   please let us know if you find any.
4380 * Version 1.2.1 (2005-04-04)
4381 - gnutls_bye() will no longer fail when RDWR is used and application
4382   data are available for reading.
4383 - Added more strict checks for the SRP parameters (g,n), when they
4384   are not in the included list.
4385 - Added warning to certtool when MD5 is being used for digital
4386   signatures.
4387 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4388   instead the standard autoconf defaults are used.  Use `./configure
4389   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4390 - Added the option --get-dh-params to certtool, in order to get the
4391   parameters included in the library primes and generators.
4392 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4393   allow only trusted Version 1 CAs and introduced
4394   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4395 - Nettle self tests now build properly, reported by Pierre
4396   <pierre42d@9online.fr>.
4397 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4398   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4399 - If the library has been compiled with features disabled, a warning is 
4400   issued during the compilation of any program.
4401 - API and ABI modifications:
4402     gnutls_x509_crt_list_import(): Add
4403     gnutls_x509_crq_get_attribute_by_oid(): Add.
4404     gnutls_x509_crq_set_attribute_by_oid(): Add
4405     gnutls_x509_crt_set_extension_by_oid(): Add.
4406     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4407     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4409 * Version 1.2.0 (2005-01-27)
4410 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4411 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4412   gnutls_x509_crl_sign2().
4413 - Fixed license header in source code files.
4415 * Version 1.1.23 (2005-01-18)
4416 - It is now possible to generate PKCS#12 structures without private
4417   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4418   <fabbe@paniq.net>.
4419 - Certtool now prints information for the RSA and DSA parameters of
4420   certificates and private keys.
4421 - Corrected the write of CRL distribution points.
4422 - The certificate chain verification function now checks certificates
4423   in the reverse order to minimize the spent resources.
4424 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4425 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4426   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4427   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4428   required, instead of the string length.  That is, the value has been
4429   incremented by 1 to account for the terminating zero. Reported by
4430   Martin Lambers <marlam@web.de>.
4431 - Debug output shouldn't crash on platforms that doesn't handle NULL
4432   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4433 - Sync included copy of libtasn1 with version 0.2.13.
4434 - Client X.509 authenticated connections via gnutls-cli should now work again.
4436 * Version 1.1.22 (2004-11-04)
4437 - Replace GNU LD version script with Libtool -export-symbols-regex,
4438   from Joe Orton <joe@manyfish.co.uk>.
4439 - Documentation improvements.
4440 - Code indented using 'indent -i4 -kr'.
4441 - The API manual is included in Devhelp format.  (Was in last release too,
4442   but the NEWS entry was forgotten.)
4443 - The OpenSSL compatibility code now use the internal crypto interface.
4444 - Added simple self test of OpenSSL compatibility library.
4445 - Internally, libtool convenience libraries are used.
4446 - Cleanups to configure.ac.
4448 * Version 1.1.21 (2004-10-27)
4449 - Print DN of certificates with unknown characters in them, but in hexform
4450   only.
4451 - Added second precision to the X.509 parsing and generation functions.
4452 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4453   actual OID.
4454 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4455   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4456 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4457   <stephane.loeuillet@tiscali.fr>.
4458 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4459   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4460 - Add self test of PKCS#12 functionality in "certtool", based on test
4461   vectors from Joe Orton <joe@manyfish.co.uk>.
4462 - Fix library order in libgnutls*-config --libs output, to permit
4463   static linking, reported by Yoann Vandoorselaere
4464   <yoann@prelude-ids.org>.
4466 * Version 1.1.20 (2004-10-12)
4467 - Fix compile problem in gl/getpass.c on some systems.
4469 * Version 1.1.19 (2004-10-07)
4470 - Fix memory leak in gnutls_certificate_verify_peers and
4471   gnutls_certificate_free_credentials, report and patch by Simon
4472   Posnjak <simon.posnjak@cetrtapot.si>.
4473 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4474   a key and no certificate to PKCS#12.
4475 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4476   <gp@familiehaase.de>.
4477 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4478   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4479 - Uses memmem instead of strnstr in lib/.
4480 - Using more GNULib portability files, although not yet inside lib/.
4481 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4482   Nikos deprecated gnutls_certificate_verify_peers in favor of
4483   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4484 - Improvements to the manual.
4485 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4486 - Known bug: the library require snprintf.  This has not yet been
4487   fixed, but will be handled via GNULib later on.
4489 * Version 1.1.18 (2004-08-24)
4490 - Corrected handling of certificate with dates after year 2038.
4491 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4492 - Correct certtool --smime-to-p7 end of line character handling.
4493 - Added example client and server for anonymous authentication.
4494 - Added self test that tests anonymous TLS client and server.
4495 - Added self tests of Nettle and generic crypto layer.
4496 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4497   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4498 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4499 - Man pages for API functions are included.
4501 * Version 1.1.17 (2004-08-18)
4502 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4503   reported by Robey Pointer <robey@danger.com>.
4504 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4505   See section "Experimental" within section "COMPILATION ISSUES" in README.
4506 - Removed length limit on passwords read by 'certtool'.
4507 - Documentation fixes.
4509 * Version 1.1.16 (2004-08-15)
4510 - Fix missing gnulib linker parameter when building certtool.
4511 - Add gnulib module 'progname', needed by module 'error'.
4512 - Improve building with srcdir != objdir.
4514 * Version 1.1.15 (2004-08-15)
4515 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4516   PKCS #7 format.
4517 - Ported to Mac OS X / Darwin.
4518 - Ported to FreeBSD.
4520 * Version 1.1.14 (2004-08-09)
4521 - Documentation converted to Texinfo format.
4522 - Bug fix of test suite.
4523 - Configure now print build information, used by Autobuild.
4525 * Version 1.1.13 (2004-08-05)
4526 - Added simple self test suite.
4528 * Version 1.1.12 (2004-08-02)
4529 - Updated the SRP authentication to conform to the
4530   latest (yet unreleased) draft. Unfortunately this breaks
4531   compatibility with previous versions.
4532 - Changed the makefiles to be more portable.
4533 - SRP ciphersuites were moved to the gnutls library.
4534 - Added some default limits in the verification of certificate
4535   chains, to avoid denial of service attacks. Also added 
4536   gnutls_certificate_set_verify_limits() to override them.
4537   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4538 - Added gnutls_certificate_verify_peers2().
4540 * Version 1.1.11 (2004-07-16)
4541 - Added the '_t' suffix to all exported symbols.
4542 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4543   <mak@greenhills.co.uk>.
4544 - Corrected a bug in certificate verification. Pointed out by
4545   Yoann Vandoorselaere <yoann@prelude-ids.org>
4546 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4547   verification functions.
4548 - The ephemeral DH and RSA parameters are no longer stored in the
4549   session resume DB.
4550 - Do not free the SRP (prime and generator) parameters obtained from the 
4551   callback if they are the static ones defined in extra.h
4552 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4554 * Version 1.1.10 (2004-06-12)
4555 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4556 - Corrected bug in TLS renegotiation.
4557 - Corrected bug in OpenPGP key loading using a callback.
4558 - gnutls-srpcrypt was renamed to srptool
4559 - Allow handshake requests by the client.
4560 - Automatically disable certificate types that do not have corresponding
4561   certificates.
4562 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4563 - Opencdk library is being included if not found.
4564 - certtool can now add ip address SAN extension.
4565 - certtool has now support for more X.520 DN attribute types.
4566 - Better handling of EOF in gnutls_record_recv().
4567 - _gnutls_deinit() is no longer used. Sessions are not
4568   automatically removed any more, on abnormal termination.
4569 - Corrected session resuming in SRP ciphersuites.
4570 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4571 - Added new functions to allow access to the ephemeral
4572   Diffie Hellman parameters.
4573 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4574   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4575 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4576   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4577   RSA-EXPORT key exchange.
4578 - Some fixes in the session resuming code.
4579 - Added gnutls_openpgp_keyring_check_id().
4581 * Version 1.1.9 (2004-04-14)
4582 - Added support for authority key identifier and the extended key usage
4583   X.509 extension fields. The certtoool was updated to support them.
4584 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4585 - Added batch support to certtool. Now it can use templates.
4587 * Version 1.1.8 (2004-04-07)
4588 - Implemented all the tests for the SRP group parameters in
4589   client side. This may lead to incompatibility with very
4590   old gnutls servers.
4591 - Corrected bug in RSA parameters handling which could cause
4592   unexpected crashes.
4593 - Optimized the copying of rsa_params.
4595 * Version 1.1.7 (2004-03-29)
4596 - Added gnutls_certificate_set_params_function() and 
4597   gnutls_anon_set_params_function() that set the RSA or DH
4598   parameters using a callback.
4599 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4600   and gnutls_x509_privkey_cpy().
4601 - Corrected a compilation issue when opencdk was installed in a
4602   non standard directory.
4603 - Deprecated: gnutls_srp_server_set_select_function(), 
4604   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4606 * Version 1.1.6 (2004-02-24)
4607 - Several bug fixes, by Arne Thomassen.
4608 - Fixed a bug where 'server name' extension was always sent.
4610 * Version 1.1.5 (2004-01-06)
4611 - Added the gnutls_sign_algorithm type.
4613 * Version 1.1.4 (2004-01-04)
4614 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4615   If they are of highest priority then the abbreviated handshake
4616   is used.
4617 - Removed all references of missing files.
4618 - Changed handshake behaviour to send the lowest TLS version
4619   when an unsupported version was advertized. The current behaviour
4620   is to send the maximum version we support.
4621 - Corrected problem printing the DC attributes in a DN.
4623 * Version 1.1.3 (2003-12-30)
4624 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4625   hack).
4627 * Version 1.1.2 (2003-12-28)
4628 - Added CRL verification functionality to certtool.
4629 - Corrected the CRL distribution point extension handling.
4631 * Version 1.1.1 (2003-12-26)
4632 - Added PKCS #7 support to certtool utility.
4633 - Added support for reading and generating CRL distribution
4634   points extensions in certificates.
4635 - Added support for generating CRLs in the library and the
4636   certtool utility.
4637 - Added support for the Subject Key ID PKIX extension.
4639 * Version 1.1.0 (2003-12-21)
4640 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4641   are no longer returned by the handshake function. Ciphersuites that
4642   require temporary parameters are removed when such parameters do not exist.
4643 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4644   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4645   to specify certificates for the handshake without storing them to the
4646   credentials structure.
4647 - Added support for generating and exporting DSA private keys.
4648 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
4649   certificate's key usage.
4650 - Added gnutls_openpgp_key_get_key_usage().
4652 * Version 1.0.25 (2005-04-27)
4653 - Corrected bug in record packet parsing that could lead
4654   to a denial of service attack.
4655 - Corrected bug in RSA key export.
4657 * Version 1.0.24 (2005-01-18)
4658 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4660 * Version 1.0.23 (2004-11-13)
4661 - Replace GNU LD version script with Libtool -export-symbols-regex,
4662   from Joe Orton <joe@manyfish.co.uk>.
4663 - Copy libtasn1 has been updated to version 0.2.11.
4664 - Corrected the write of CRL distribution points.
4665 - It is now possible to generate PKCS#12 structures without private
4666   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4667   <fabbe@paniq.net>.
4669 * Version 1.0.22 (2004-10-28)
4670 - Print DN of certificates with unknown characters in them, but in hexform
4671   only.
4672 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4673   actual OID.
4674 - Added second precision to the X.509 parsing functions.
4675 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4676   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4677 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4678   <stephane.loeuillet@tiscali.fr>.
4679 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4680   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4681 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
4682 - Fix library order in libgnutls*-config --libs output, to permit
4683   static linking, reported by Yoann Vandoorselaere
4684   <yoann@prelude-ids.org>.
4686 * Version 1.0.21 (2004-10-07)
4687 - Fix memory leak in gnutls_certificate_verify_peers and
4688   gnutls_certificate_free_credentials, report and patch by Simon
4689   Posnjak <simon.posnjak@cetrtapot.si>.
4690 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4691   a key and no certificate to PKCS#12.
4692 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4693   <gp@familiehaase.de>.
4694 - Avoid redefining getpass if system already has it, reported by
4695   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4696 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4697 - Known bug: the library require snprintf.
4699 * Version 1.0.20 (2004-08-18)
4700 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4701   reported by Robey Pointer <robey@danger.com>.
4703 * Version 1.0.19 (2004-08-09)
4704 - Bug fix of test suite.
4706 * Version 1.0.18 (2004-08-05)
4707 - Added simple self test suite.
4709 * Version 1.0.17 (2004-08-02)
4710 - Updated the SRP authentication to conform to the
4711   latest (yet unreleased) draft. Unfortunately this breaks
4712   compatibility with previous versions.
4713 - Changed the makefiles to be more portable.
4714 - Added some default limits in the verification of certificate
4715   chains, to avoid denial of service attacks. Also added 
4716   gnutls_certificate_set_verify_limits() to override them.
4717   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4718 - Added gnutls_certificate_verify_peers2().
4720 * Version 1.0.16 (2004-07-10)
4721 - Do not free the SRP (prime and generator) parameters obtained from the 
4722   callback if they are the static ones defined in extra.h.
4723 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4724 - Some fixes in the makefiles.
4726 * Version 1.0.15 (2004-06-29)
4727 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4728   <mak@greenhills.co.uk>.
4729 - Corrected a bug in certificate verification. Pointed out by
4730   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4732 * Version 1.0.14 (2004-06-12)
4733 - Automatically disable certificate types that do not have corresponding
4734   certificates.
4735 - Updates in the documentation.
4736 - certtool can now add ip address SAN extension.
4737 - certtool has now support for more X.520 DN attribute types.
4738 - Opencdk library is being included if not found.
4739 - Added gnutls_openpgp_keyring_check_id().
4740 - Corrected a serious bug in the included libtasn1 library.
4741 - Corrected session resuming in SRP ciphersuites.
4742 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4743 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4744   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4745 - Some fixes in the session resuming code.
4747 * Version 1.0.13 (2004-04-29)
4748 - Some complilation fixes.
4749 - Added the --xml parameter to the certtool utility.
4751 * Version 1.0.12 (2004-04-23)
4752 - Corrected bug in OpenPGP key loading using a callback.
4753 - Renamed gnutls-srpcrypt to srptool
4754 - Allow handshake requests by the client.
4755 * Things backported from the development branch:
4756 - Added support for authority key identifier and the extended key usage
4757   X.509 extension fields. The certtoool was updated to support them.
4758 - Added batch support to certtool. Now it can use templates.
4759 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4761 * Version 1.0.11 (2004-04-17)
4762 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4763 - Corrected bug in TLS renegotiation.
4765 * Version 1.0.10 (2004-04-03)
4766 - Corrected bug in RSA parameters handling which could cause
4767   unexpected crashes.
4768 - Corrected bug in SSL 3.0 authentication.
4770 * Version 1.0.9 (2004-03-29)
4771 - Added gnutls_certificate_set_params_function() and 
4772   gnutls_anon_set_params_function() that set the RSA or DH
4773   parameters using a callback.
4774 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4775   and gnutls_x509_privkey_cpy().
4776 - Corrected a compilation issue when opencdk was installed in a
4777   non standard directory.
4778 - Documented the changes need in multi-threaded application due
4779   to the new libgcrypt.
4781 * Version 1.0.8 (2004-02-28)
4782 - Corrected bug in mutual certificate authentication in SSL 3.0.
4784 * Version 1.0.7 (2004-02-25)
4785 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4786   hack).
4787 - Some updates in the documentation.
4789 * Version 1.0.6 (2004-02-12)
4790 * Backported things from the development branch (while maintaining
4791   backwards compatibility):
4792 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4793   If they are of highest priority then the abbreviated handshake
4794   is used.
4795 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4796   are no longer returned by the handshake function. Ciphersuites that
4797   require temporary parameters are removed when such parameters do not exist.
4798 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4799   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4800   to specify certificates for the handshake without storing them to the
4801   credentials structure.
4802 - Added support for generating and exporting DSA private keys.
4804 * Version 1.0.5 (2004-02-11)
4805 - Fixed a bug where 'server name' extension was always sent.
4806 * Backported things from the development branch:
4807 - Added CRL verification functionality to certtool.
4808 - Corrected the CRL distribution point extension handling.
4809 - Added PKCS #7 support to certtool utility.
4810 - Added support for reading and generating CRL distribution
4811   points extensions in certificates.
4812 - Added support for generating CRLs in the library and the
4813   certtool utility.
4814 - Added support for the Subject Key ID PKIX extension.
4815 - Added the gnutls_sign_algorithm type.
4817 * Version 1.0.4 (2004-01-04)
4818 - Changed handshake behaviour to send the lowest TLS version
4819   when an unsupported version was advertized. The current behaviour
4820   is to send the maximum version we support.
4821 - certtool no longer asks the password in unencrypted private
4822   keys.
4823 - The source is now compiled to use the reentrant libc functions.
4825 * Version 1.0.3 (2003-12-21)
4826 - Corrected bug in gnutls_bye() which made it return an error code
4827   of INVALID_REQUEST instead of success.
4828 - Corrected a bug in the GNUTLS_KEY key usage definitions.
4830 * Version 1.0.2 (2003-12-18)
4831 - Corrected a bug in the RSA key generation. This was
4832   generating unusable RSA keys.
4834 * Version 1.0.1 (2003-12-10)
4835 - Some minor fixes in the makefiles. They now include CFLAGS
4836   from libgcrypt or opencdk if installed in a non standard directory.
4837 - Fixed the SRP detection test in gnutls-cli-debug.
4838 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
4840 * Version 1.0.0 (2003-12-04)
4841 - Exported the static SRP group parameters.
4842 - Some fixes in the certificate authenticated SRP ciphersuites.
4843 - Improved the support for draft-ietf-tls-srp-05. The two-phase
4844   handshake is now fully supported without any interaction with
4845   the application layer (except for a callback).
4847 * Version 0.9.99 (2003-11-28)
4848 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
4849   and gnutls_server_name_get() prototypes.
4850 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
4851   and gnutls_x509_crt_verify_data().
4852 - Some fixes in the openpgp authentication.
4853 - Removed the Twofish cipher.
4855 * Version 0.9.98 (2003-11-16)
4856 - The openssl compatibility layer was moved to gnutls-openssl
4857   library instead of being included in the gnutls-extra library.
4858 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
4859 - Building with openpgp support is now mandatory.
4860 - gnutls4 compatibility header is no longer included by default in
4861   gnutls.h.
4862 - gnutls8 function usage yelds a deprecation warning in gcc3.
4863 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
4864   functions have a raw_flag parameter added.
4865 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
4866   functions which return the available OIDs.
4868 * Version 0.9.97 (2003-11-11)
4869 - The certtool utility can now generate PKCS #12 structures
4870   without specifying a certificate.
4871 - Added capability to read CRLs to certtool.
4872 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
4873   to properly set the required buffer size.
4874 - Corrected a bug in libgcrypt detection.
4876 * Version 0.9.96 (2003-11-09)
4877 - Some changes to allow compilation with mingw32.
4878 - Several code cleanups.
4880 * Version 0.9.95 (2003-11-02)
4881 - Improved the verification functions. Added new verification
4882   output flags and removed the unused and redundant ones.
4883 - Improved the OpenPGP key support.
4884 - The prime utility was removed, and its functionality was moved
4885   to certtool.
4887 * Version 0.9.94 (2003-10-30)
4888 - Added manpages for the included programs.
4889 - Documented and improved the certtool utility. 
4890 - Added PKCS #12 support to certtool utility.
4892 * Version 0.9.93 (2003-10-26)
4893 - Corrected some compilation issues.
4894 - Improved the certtool command line utility.
4896 * Version 0.9.92 (2003-10-25)
4897 - The RFC2818 hostname verification is now case insensitive.
4898 - Added support for generating X.509 certificates.
4899 - Added the certtool, a tool for generating X.509 certificates
4901 * Version 0.9.91 (2003-10-17)
4902 - Fixed a compilation issue in the openpgp authentication part.
4904 * Version 0.9.90 (2003-10-08)
4905 - Updated the openpgp key API (depends on the unreleased new
4906   opencdk).
4908 * Version 0.9.8 (2003-10-02)
4909 - Updated the SRP implementation to follow the latest draft
4910   (draft-ietf-tls-srp-05).
4911 - Improved the gnutls-cli behaviour in error handling,
4912   and added a check for the peer's hostname.
4913 - Use versioned symbols in the library (where available).
4914 - RIJNDAEL ciphersuites were renamed to AES.
4916 * Version 0.9.7 (2003-08-25)
4917 - The tex files are now included in the distribution.
4918 - The library can now decrypt PKCS #12 files encrypted with
4919   the RC2-40 cipher.
4920 - The missing rfc2818_hostname object is now included.
4921 - Several corrections and bug fixes in the library by 
4922   Arne Thomassen <arne@arne-thomassen.de>.
4923 - CR is now allowed in the base64 decoder.
4925 * Version 0.9.6 (2003-06-28)
4926 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
4927   functions which return a unique (per public key) ID. These can
4928   be used to check if the private key corresponds to a given certificate.
4929 - Corrections in the TLS layer openpgp certificate packet parser.
4930 - Corrected a bug in the record layer buffering, which affected
4931   the case where external pull function was used. Report and patch
4932   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
4933 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
4934   was freed.
4935 - SRP programs are now built by default.
4936 - Added API to read and write to PKCS #12 structures. Prototypes
4937   in gnutls/pkcs12.h.
4938 - The gnutls_transport_ptr type was changed to a pointer type (void*).
4940 * Version 0.9.5 (2003-04-06)
4941 - Several improvements in the PKCS #7 handling
4942 - Eliminated several hard coded constants in MPI parameters.
4944 * Version 0.9.4 (2003-03-28)
4945 - Corrected a parsing error in the Certificate request message.
4946 - Corrected behaviour when a certificate request message is received.
4947   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
4948   a no_certificate alert is sent instead.
4949 - Added functionality to generate PKCS #7 structures (with certificates).
4951 * Version 0.9.3 (2003-03-24)
4952 - Support for MD2 was dropped. 
4953 - Improved the error logging functions, by adding a level, and
4954   by allowing debugging messages just by increasing the level.
4955 - The diffie Hellman ciphersuites are now of higher priority than
4956   the plain RSA.
4957 - The RSA premaster secret version check can no longer be disabled.
4958 - Implemented the counter measure discussed in the paper "Attacking
4959   RSA-based Sessions in SSL/TLS", against the attack described in the
4960   same paper.
4961 - Added the functions: gnutls_handshake_get_last_in(), 
4962   gnutls_handshake_get_last_out().
4963 - The gnutls_certificate_set_rsa_params() was renamed to 
4964   gnutls_certificate_set_rsa_export_params().
4965 - Added the new functions: gnutls_certificate_set_x509_key()
4966   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
4967   gnutls_x509_crt_export(), gnutls_x509_crl_export().
4968 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
4969   RSA private keys.
4971 * Version 0.9.2 (2003-03-15)
4972 - Some corrections in the memory mapping code (file is unmapped after 
4973   it is read).
4974 - Added support for PKCS#10 certificate requests generation.
4976 * Version 0.9.1 (2003-03-12)
4977 - Corrected a bug in 64 bit architectures, which affected the
4978   serial number calculation in the record layer.
4979 - Added gnutls_certificate_free_keys() which deletes all the
4980   private keys and certificates from the credentials structure.
4981 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
4982   which caused some unexpected packet length errors. Report and patch
4983   by Ian Peters <itp@ximian.com>.
4984 - Added ability to generate RSA keys.
4985 - Increased the maximum parameter size in order to read some large keys
4986   by some CAs. Patch by Ian Peters <itp@ximian.com>.
4987 - Added an strnstr() function and the requirement in some functions to
4988   use null terminated PEM structures is no more.
4989 - Use mmap() if available to read files.
4990 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
4991   <r.kittinger@efkon.com>.
4993 * Version 0.9.0 (2003-03-03)
4994 - This version is not binary compatible with the previous ones.
4995 - The library notifies the application on empty and illegal SRP usernames, 
4996   so that proper notification (via an alert) is sent to the peer.
4997 - Added ability to send some messages back to the application using
4998   the gnutls_global_set_log_function().
4999 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5000   gnutls_malloc() to allocate the output parameters.
5001 - Added support for MD2 algorithm in certificate signature verification.
5002 - The RSA and DH parameter generation interface was changed. Added
5003   ability to import and export from and to PKCS3 structures. This 
5004   was needed to read parameters generated using the openssl dhparam tool.
5005 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5006   parameters are now included in the library. Also the credentials structure 
5007   can now hold only one temporary parameter of a kind.
5008 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5009   API, defined in gnutls/x509.h
5010 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5011   verification flags in the credentials structure. They will be used in the
5012   *verify_peers functions.
5013 - Added protection against the new TLS 1.0 record layer timing attack.
5014 - Added support for Certificate revocation lists. Functions defined
5015   in gnutls/x509.h
5016 - The only functions that were removed are:
5017   gnutls_x509_certificate_to_xml()
5018   gnutls_x509_extract_dn_string()
5019 - Ported to libtasn1 0.2.x
5021 * Version 0.8.1 (2003-01-22)
5022 - Improved the SRP support, to prevent attackers guessing the
5023   available usernames by brute force.
5024 - Improved the SRP detection in gnutls-cli-debug
5025 - Some fixes which now allow compilation.
5027 * Version 0.8.0 (2003-01-20)
5028 - Added gnutls_x509_extract_dn_string() which returns a 
5029   distinguished name in a single string.
5030 - Added gnutls_openpgp_extract_key_name_string() which returns
5031   an openpgp user ID in a single string.
5032 - Added gnutls_x509_extract_certificate_ca_status() which returns
5033   the CA status of the given certificate.
5034 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5035 - If libtasn1 is not present in the system, it is included in 
5036   the main gnutls library.
5037 - If liblzo is present in the system, then the included minilzo
5038   will not be used, and libgnutls-extra will depend on liblzo.
5039 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5040   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5041   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5043 * Version 0.6.0 (2002-12-08)
5044 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5045   to emulate the old 0.4.x API.
5046 - Example programs are now stored in doc/examples/
5047 - Several improvements and updates in the documentation.
5048 - Added the certificate authenticated SRP cipher suites.
5049 - gnutls_x509_extract_certificate_dn_string() was updated to return
5050   an RFC2253 conforming string.
5051 - Added the SRP related functions:
5052    gnutls_srp_verifier()
5053    gnutls_srp_base64_encode()
5054    gnutls_srp_base64_decode()
5055 - Added the function gnutls_srp_set_server_credentials_function()
5056   to allow retrieving SRP parameters from an external backend - other
5057   than password files.
5058 - Added the function gnutls_openpgp_set_recv_key_function()
5059   which can be used to set a callback, to get OpenPGP keys.
5060 - Exported the functions:
5061    gnutls_malloc()
5062    gnutls_free()
5063   which should be used by callback functions.
5064 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5065   and gnutls_pem_base64_decode_alloc(). In the default case
5066   were the gnutls library is used with malloc/realloc/free,
5067   these are binary compatible.
5069 * Version 0.5.11 (2002-11-05)
5070 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5071   faults at exit.
5072 - Example programs found in the documentation can now be generated by
5073   running "make examples" in doc/tex directory.
5074 - Added more descriptive error strings, to gnutls_strerror().
5075 - Documented error codes, and the function reference list is now sorted.
5076 - Optimized buffering code.
5077 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5078 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5079   case where the memory buffer provided is not long enough.
5080 - Depends on the new OpenCDK 0.3.2.
5082 * Version 0.5.10 (2002-10-13)
5083 - Updated documentation.
5084 - Added server name extension. This allows clients to specify the
5085   name of the server they connect to. Useful to HTTPS.
5086 - Several corrections in the code base, mostly in signed/unsigned,
5087   checkings.
5089 * Version 0.5.9 (2002-10-10)
5090 - Corrected some code which worked fine in gcc 3.2, but not with any
5091   other compiler.
5092 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5093   starttls implementations.
5094 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5095   the private key type, of a DER encoded key.
5096 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5097   certificate's distinguished name in a single string.
5098 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5099   functions, to avoid calling all the *_priority() functions if the defaults
5100   are acceptable.
5101 - Added int gnutls_x509_check_certificates_hostname() which check whether
5102   the given hostname matches the owner of the given X.509 certificate.
5104 * Version 0.5.8 (2002-09-25)
5105 - Updated documentation.
5106 - Added gnutls_record_get_direction() which replaces the obsolete
5107   gnutls_handshake_get_direction().
5108 - Added function to convert error codes to alert descriptions
5109 - Added LZO compression
5111 * Version 0.5.7 (2002-09-11)
5112 - Some fixes in the memory allocation functions (realloc).
5113 - Improved the string functions used in XML certificate generation.
5114 - Removed dependency on libgdbm.
5115 - Corrected bug in gnutls_dh_params_set() which affected
5116   gnutls_dh_params_deinit().
5117 - Corrected bug in session resuming code in server side.
5119 * Version 0.5.6 (2002-09-06)
5120 - Corrected bugs in SRP implementation, which prevented gnutls 
5121   to interoperate with other implementations. (interoperability testing
5122   was done by David Taylor)
5123 - Corrected bug in cert_type extension.
5124 - Corrected extension type checks which used an 8 bit extension size,
5125   instead of 16 bits.
5126 - Added versioning in the XML output of certificate functions.
5127 - Removed the X.509 test suite.
5129 * Version 0.5.5 (2002-09-03)
5130 - Updated the SRP implementation to the latest draft. The blowfish
5131   crypt implementation was removed, since the new draft does not allow
5132   other hash algorithms except for the srpsha. 
5133 - Renamed all the constructed types in order to have more consistent
5134   names. 
5135 - Improved the certificate and key read functions. Now they can read 
5136   the certificate and the private key from the same file.
5137 - Updated and corrected documentation.
5139 * Version 0.5.4 (2002-08-27)
5140 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5141 - gnutls_handshake_set_exportable_detection() was obsoleted.
5142 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5143 - Corrected bug in DHE key exchange
5144 - Added support for temporary RSA keys which are needed for the
5145   export cipher suites.
5146 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5148 * Version 0.5.3 (2002-08-23)
5149 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5150   code from the unstable branch.
5152 * Version 0.5.2 (2002-08-22)
5153 - Added an error code that is returned in clients which connect
5154   to export only servers. This must be enabled using the
5155   gnutls_handshake_set_exportable_detection() function.
5156 - Updated openssl compatibility layer.
5157 - Added gnutls_handshake_get_direction() function which returns
5158   the state of the handshake when interrupted.
5160 * Version 0.5.1 (2002-07-17)
5161 - Corrected the m4 macros which used <gnutls.h> instead of
5162   <gnutls/gnutls.h>
5163 - Documentation fixes
5164 - Added gnutls_transport_set_ptr2() function, which accepts two
5165   different pointers, to be used while receiving, and 
5166   while sending data.
5167 - Semantic changes in gnutls_record_set_max_size(). The requested
5168   size is now immediately enforced at the output buffers.
5169 - gnutls_global_init_extra() now fails if the library versions do
5170   not match.
5171 - Fixes in client and server example programs. Null encryption can
5172   be used in these programs, to assist in debuging.
5173 - Fixes in zlib compression code.
5175 * Version 0.5.0 (2002-07-06)
5176 - Added X.509 certificate tests in tests/ directory
5177 - Removed stubs for SRP and Anonymous authentication. They served
5178   no purpose since they are always included, unless it was requested
5179   not to do so.
5180 - Added gnutls_handshake_set_private_extensions() function. This
5181   function can be used to enable private (gnutls specific) cipher suites
5182   and compression algorithms.
5183 - Added check for C99 macro support by the compiler.
5184 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5185 - Added the new libtasn1 library.
5186 - Removed the gdbm backend. Applications are now responsible for the
5187   session resuming backend. The gnutls-serv application contains an
5188   simple example on how to use gdbm for resuming.
5189 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5190 - Added an OpenSSL compatible interface (with some limitations).
5191 - Added functions to convert DER encoded certificates to XML format.
5193 * Version 0.4.4 (2002-06-24)
5194 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5195   using keys of some specific size.
5197 * Version 0.4.3 (2002-05-23)
5198 - The gnutls-extra library now compiles fine, if the opencdk library is
5199   not present.
5200 - Several bug fixes.
5201 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5202   functions, if other than the defaults are to be used.
5203 - The default memory allocation functions are now the ones in libc.
5205 * Version 0.4.2 (2002-05-21)
5206 - Separated ASN.1 structures parser documentation and TLS library
5207   documentation.
5208 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5209   version check in RSA premaster secret.
5210 - Added gnutls_session_is_resumed() function, which reports if a session
5211   is a resumed one.
5212 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5213   assist in callback functions.
5214 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5215   random one.
5216 - Relicensed the library under the GNU Lesser General Public License
5217 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5219 * Version 0.4.1 (2002-04-07)
5220 - Now uses alloca() for temporary variables
5221 - Optimized RSA signing
5222 - Added functions to return the peer's certificate activation and
5223   expiration time.
5224 - Corrected time function's behaviour (the time value returned no longer
5225   relate to local timezone).
5227 * Version 0.4.0 (2002-04-01)
5228 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5229 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5230   gnutls_openpgp_extract_key_pk_algorithm().
5231 - Several optimizations in the Handshake protocol
5232 - Several optimizations in RSA algorithm
5233 - Unified the return values because of small buffers.
5235 * Version 0.3.92 (2002-03-23)
5236 - Updated documentation
5237 - Combined error codes of ASN.1 parser and gnutls
5238 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5239 - Added protection against CBC chosen plaintext attack (disabled by default)
5240 - Improved and optimized compression support
5242 * Version 0.3.91 (2002-03-03)
5243 - Added gnutls-cli-debug program
5244 - Corrections in session resumption
5245 - Rehandshake can now handle negotiation of different authentication
5246   type.
5247 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5248   now being installed.
5250 * Version 0.3.90 (2002-02-24)
5251 - Handshake messages are not kept in memory any more. Now we use 
5252   less memory during a handshake
5253 - Added support for certificates with DSA parameters
5254 - Added DHE_DSS cipher suites
5255 - Key exchange methods changed so they do not depend on the 
5256   certificate type. Added certificate type negotiation TLS extension.
5257 - Added openpgp key support (EXPERIMENTAL)
5258 - Improved Diffie Hellman key exchange support.
5259 - Bug fixes in the RSA key exchange.
5260 - Added check for the requested TLS extensions
5261 - TLS extensions now use a 16 bit type field.
5262 - Added a minimal string library to assist in ASN.1 parsing
5263 - Changes in ASN.1 parser to work with the new bison
5264 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5265   gnutls_x509_extract_subject_dns_name()
5266 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5267 - gnutls_srp_server_set_cred_file() can now be called multiple times
5269 * Version 0.3.5 (2002-01-25)
5270 - Corrected the RSA key exchange method, to avoid attacks against
5271   PKCS-1 formating.
5273 * Version 0.3.4 (2002-01-20)
5274 - Corrected bugs in DHE_RSA key exchange method
5276 * Version 0.3.3 (2002-01-19)
5277 - Added gnutls_x509pki_verify_certificate()
5278 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5279 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5280 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5281 - Corrected library versioning
5283 * Version 0.3.2 (2002-01-05)
5284 - Corrected bug which did not allow a client to accept multiple CA names
5285 - Added gnutls_fingerprint()
5286 - Added gnutls_x509pki_extract_certificate_serial()
5287 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5288 - Corrected behaviour in version advertizing
5289 - Updated documentation
5290 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5292 * Version 0.3.1 (2001-12-21)
5293 - Corrections in the configuration files
5294 - Fixes a bug in anonymous authentication
5296 * Version 0.3.0 (2001-12-17)
5297 - Corrected bug in new integer formatting (now we use the old format again)
5298 - Several corrections and usual cleanups
5300 * Version 0.2.91 (2001-12-10)
5301 - Fixes in MPI handling (fixes possible bug with signed integers)
5302 - Removed name indication extension
5303 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5304 - Optimizations in server certificate callback.
5305 - Fixes in anonymous authentication
5306 - Corrections in client ciphersuite selection
5308 * Version 0.2.90 (2001-12-07)
5309 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5310   the 'SOCKET cd' argument. This argument is set using the function
5311   gnutls_set_transport_ptr().
5312 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5313   a list containing peer's certificate and issuers DER encoded.
5314 - Updated X.509 certificate handling API
5315 - Added callback to select the server certificate
5316 - More consistent function naming (changes in several function names)
5317 - Buffer overflow checking in ASN.1 structures parser
5318 - Updated documentation
5320 * Version 0.2.11 (2001-11-16)
5321 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5322   is returned, then the caller should perform a handshake or send
5323   an alert to the peer.
5324 - Made receive buffer dynamic. Normally if no large chunks are received
5325   it occupies less space.
5326 - Added max_record_size extension
5327 - Bugfixes in session handling
5328 - Improved non blocking IO support in the Handshake Protocol
5329 - Usual bugfixes and cleanups
5330 - Documentation updated (includes ASN.1 documentation)
5332 * Version 0.2.10 (2001-11-05)
5333 - Corrected bugs and improved non blocking IO
5334 - Added hooks to use external database to store sessions
5335 - Usual cleanups
5337 * Version 0.2.9 (2001-10-27)
5338 - AUTH_INFO types and structures were moved to library internals
5339 - AUTH_FAILED is no longer returned in SRP authentication
5340   (any fatal error in SRP means auth failed)
5341 - Introduced GNUTLS_E_INTERRUPTED
5342 - Added support for non blocking IO
5343 - gnutls_recv() and gnutls_send() are now obsolete
5344 - Changed semantics of gnutls_rehandshake()
5346 * Version 0.2.4 (2001-10-12)
5347 - Better handling of X.509 certificate extensions
5348 - Added DHE_RSA ciphersuites
5349 - Updated the Name Indication (dnsname) extension
5350 - Improvements in Diffie Hellman primes handling
5352 * Version 0.2.3 (2001-09-19)
5353 - Memory optimizations in gnutls_recv()
5354 - Fixed several memory leaks
5355 - Added ability to specify callback for x509 client certificate selection
5356 - Better documentation
5358 * Version 0.2.2 (2001-08-21)
5359 - Several bugfixes (library and documentation)
5361 * Version 0.2.1 (2001-08-07)
5362 - SRP fixes
5364 * Version 0.2.0 (2001-08-07)
5365 - Partial support for X.509v3 Certificate extensions.
5366 - Added Internal memory handlers
5367 - Removed gnutls_x509_set_cn()
5368 - Added X.509 client authentication
5369 - Several bug fixes and protocol fixes
5371 * Version 0.1.9 (2001-07-30)
5372 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5373 - SRP is updated to conform to the newest draft.
5374 - Added support for DNSNAME extension.
5375 - Reentracy fixes in ASN.1 Parsing.
5376 - Optimizations in hash/hmac functions
5377 - (Error) message handling has changed
5378 - Better Protocol Version handling
5379 - Added X.509 Certificate Verification
5380 - gnutls_read() semantics are now closer to read(2) - added EOF
5381 - Documented some part of gnutls in doc/tex/ using Latex
5383 * Version 0.1.4 (2001-06-22)
5384 - Corrected (srp) base64 encoding.
5385 - Changed bcrypt algorithm to include username.
5386 - Added RSA Ciphersuites (no certificate checking).
5387 - Fixes in SSL 2.0 client hello parsing.
5388 - Added ASN.1 and DER parsers.
5389 - Bugfixes in session resuming
5390 - Updated Ciphersuite selection algorithm
5391 - Added internal representation of X.509 structures.
5392 - Added global state
5394 * Version 0.1.3 (2001-06-01)
5395 - Updated API (and the way it is documented - we use inline documentation)
5396 - Added function to access alert messages.
5397 - Added support for renegotiating parameters.
5398 - Better and Faster Resume Database handling.
5399 - Several bugfixes
5401 * Version 0.1.2 (2001-05-14)
5402 - Updated API
5403 - Fixes in extension handling
5405 * Version 0.1.1 (2001-05-13)
5406 - Added compatibility with Stanford's libsrp library
5408 * Version 0.1.0 (2001-05-09)
5409 - Added SSL 2.0 client hello support
5410 - GNUTLS is a gnu library
5411 - Added support for TLS extensions.
5412 - Added support for SRP
5414 * Version 0.0.7 (2001-01-11)
5415 - Added server side session resuming (using gdbm)
5416 - Added twofish algorithm
5418 * Version 0.0.6 (2000-12-20)
5419 - Added client side session resuming
5420 - Better documentation (check doc/API)
5421 - Better socket handling (gnutls can be used with select())
5422 - Some primitive support for non blocking IO and socket options has been added.
5424 * Version 0.0.5 (2000-12-07)
5425 - Added Compression (using ZLIB)
5426 - Added SSL 3.0 support
5428 ----------------------------------------------------------------------
5429 Copying and distribution of this file, with or without modification,
5430 are permitted in any medium without royalty provided the copyright
5431 notice and this notice are preserved.