Update gnulib files.
[gnutls.git] / NEWS
blob0ef4afe1a94fa5879c9b6fc71a907ad98cb52c3e
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.7 (unreleased)
8 ** libgnutls: TLS 1.2 server mode fixes.
9 Now interoperates against Opera.  Contributed by Daiki Ueno.
11 ** guile: Compatibility with guile 2.x.
12 By Ludovic Courtes <ludovic.courtes@laas.fr>.
14 ** API and ABI modifications:
15 No changes since last version.
17 * Version 2.9.6 (released 2009-09-22)
19 ** libgnutls: Enable Camellia ciphers by default.
21 ** API and ABI modifications:
22 No changes since last version.
24 * Version 2.9.5 (released 2009-09-10)
26 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
27 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
28 gnutls_x509_crt_get_issuer_alt_name, and
29 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
30 Hards <bradh@frogmouth.net>.
32 ** API and ABI modifications:
33 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
34 gnutls_x509_crt_get_issuer_alt_name: ADDED.
35 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
37 * Version 2.9.4 (released 2009-09-03)
39 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
40 The new supported ciphersuites are AES-128/256 in CBC mode with
41 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
42 SHA-256 is now the preferred default MAC (however it is only used with
43 TLS 1.2).
45 ** libgnutls: Make OpenPGP hostname checking work again.
46 The patch to resolve the X.509 CN/SAN issue accidentally broken
47 OpenPGP hostname comparison.
49 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
50 Reported by Howard Chu <hyc@symas.com> in
51 <https://savannah.gnu.org/support/?106975>.
53 ** Fix use of deprecated types internally.
54 Use of deprecated types in GnuTLS from now on will lead to a compile
55 error, to prevent this from happening again.
57 ** API and ABI modifications:
58 No changes since last version.
60 * Version 2.9.3 (released 2009-08-19)
62 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
63 The new APIs are gnutls_session_ticket_enable_client,
64 gnutls_session_ticket_enable_server, and
65 gnutls_session_ticket_key_generate.
67 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
69 ** API and ABI modifications:
70 gnutls_session_ticket_key_generate: ADDED.
71 gnutls_session_ticket_enable_client: ADDED.
72 gnutls_session_ticket_enable_server: ADDED.
74 * Version 2.9.2 (released 2009-08-14)
76 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
77 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
78 into 1) not printing the entire CN/SAN field value when printing a
79 certificate and 2) cause incorrect positive matches when matching a
80 hostname against a certificate.  Some CAs apparently have poor
81 checking of CN/SAN values and issue these (arguable invalid)
82 certificates.  Combined, this can be used by attackers to become a
83 MITM on server-authenticated TLS sessions.  The problem is mitigated
84 since attackers needs to get one certificate per site they want to
85 attack, and the attacker reveals his tracks by applying for a
86 certificate at the CA.  It does not apply to client authenticated TLS
87 sessions.  Research presented independently by Dan Kaminsky and Moxie
88 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
89 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
91 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
92 The function may fail incorrectly when an earlier certificate was
93 imported to the same gnutls_x509_crt_t structure.
95 ** minitasn1: Internal copy updated to libtasn1 v2.3.
97 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
98 Before it always returned false.  Reported by Peter Hendrickson
99 <pdh@wiredyne.com> in
100 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
102 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
103 The error resulted in truncated strings when printing unknown OIDs in
104 X.509 certificate DNs.  Reported by Tim Kosse
105 <tim.kosse@filezilla-project.org> in
106 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
108 ** libgnutls: Fix PKCS#12 decryption from password.
109 The encryption key derived from the password was incorrect for (on
110 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
111 Tomas" <tomas.kukosa@siemens-enterprise.com> in
112 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
114 ** libgnutls: Return correct bit lengths of some MPIs.
115 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
116 gnutls_dh_get_peers_public_bits.  Before the reported value was
117 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
118 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
120 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
121 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
122 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
124 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
126 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
127 Before we required that the runtime library used the same (or more
128 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
129 that the runtime usage is above the minimum required.  Reported by
130 Marco d'Itri <md@linux.it> via Andreas Metzler
131 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
133 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
135 ** tests: Improved test vectors in self-test pkcs12_s2k.
137 ** tests: Added new self-test dn2 to detect off-by-one size error.
139 ** tests: Fix failure in "chainverify" because a certificate have expired.
141 ** API and ABI modifications:
142 No changes since last version.
144 * Version 2.9.1 (released 2009-06-08)
146 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
147 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
148 <http://bugs.gentoo.org/272388>.
150 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
152 ** Reduce stack usage for some CRQ functions.
154 ** Doc fixes for CRQ functions.
156 ** API and ABI modifications:
157 No changes since last version.
159 * Version 2.9.0 (released 2009-05-28)
161 ** Doc fixes.
163 ** API and ABI modifications:
164 No changes since last version.
166 * Version 2.8.3 (released 2009-08-13)
168 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
169 Code intended to be removed would lead to an read-out-bound error in
170 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
171 code have been allocated for the vulnerability: [CVE-2009-2730].
173 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
174 The function may fail incorrectly when an earlier certificate was
175 imported to the same gnutls_x509_crt_t structure.
177 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
179 ** tests: Made self-test mini-eagain take less time.
181 ** doc: Typo fixes.
183 ** API and ABI modifications:
184 No changes since last version.
186 * Version 2.8.2 (released 2009-08-10)
188 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
189 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
190 into 1) not printing the entire CN/SAN field value when printing a
191 certificate and 2) cause incorrect positive matches when matching a
192 hostname against a certificate.  Some CAs apparently have poor
193 checking of CN/SAN values and issue these (arguable invalid)
194 certificates.  Combined, this can be used by attackers to become a
195 MITM on server-authenticated TLS sessions.  The problem is mitigated
196 since attackers needs to get one certificate per site they want to
197 attack, and the attacker reveals his tracks by applying for a
198 certificate at the CA.  It does not apply to client authenticated TLS
199 sessions.  Research presented independently by Dan Kaminsky and Moxie
200 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
201 for providing one part of the patch.  [GNUTLS-SA-2009-4].
203 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
204 Before it always returned false.  Reported by Peter Hendrickson
205 <pdh@wiredyne.com> in
206 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
208 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
209 The error resulted in truncated strings when printing unknown OIDs in
210 X.509 certificate DNs.  Reported by Tim Kosse
211 <tim.kosse@filezilla-project.org> in
212 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
214 ** libgnutls: Return correct bit lengths of some MPIs.
215 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
216 gnutls_dh_get_peers_public_bits.  Before the reported value was
217 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
218 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
220 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
221 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
222 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
224 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
226 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
227 Before we required that the runtime library used the same (or more
228 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
229 that the runtime usage is above the minimum required.  Reported by
230 Marco d'Itri <md@linux.it> via Andreas Metzler
231 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
233 ** minitasn1: Internal copy updated to libtasn1 v2.3.
235 ** tests: Fix failure in "chainverify" because a certificate have expired.
237 ** API and ABI modifications:
238 No changes since last version.
240 * Version 2.8.1 (released 2009-06-10)
242 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
243 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
244 <http://bugs.gentoo.org/272388>.
246 ** libgnutls: Fix PKCS#12 decryption from password.
247 The encryption key derived from the password was incorrect for (on
248 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
249 Tomas" <tomas.kukosa@siemens-enterprise.com> in
250 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
252 ** API and ABI modifications:
253 No changes since last version.
255 * Version 2.8.0 (released 2009-05-27)
257 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
259 ** Major changes compared to the v2.4 branch:
261 *** lib: Linker version scripts reduces number of exported symbols.
263 *** lib: Limit exported symbols on systems without LD linker scripts.
265 *** libgnutls: Fix namespace issue with version symbols.
267 *** libgnutls: Add functions to verify a hash against a certificate.
268 gnutls_x509_crt_verify_hash: ADDED
269 gnutls_x509_crt_get_verify_algorithm: ADDED
271 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
273 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
275 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
277 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
279 *** gnutls-serv: No longer disable MAC padding by default.
281 *** gnutls-cli: Certificate information output format changed.
283 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
284 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
286 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
288 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
290 *** libgnutls: gnutls_handshake when sending client hello during a
291 rehandshake, will not offer a version number larger than the current.
293 *** libgnutls: New interface to get key id for certificate requests.
294 gnutls_x509_crq_get_key_id: ADDED.
296 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
298 *** certtool: --verify-chain now prints results of using library verification.
300 *** libgnutls: Libgcrypt initialization changed.
302 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
304 *** gnutls-cli: Return non-zero exit code on error conditions.
306 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
308 *** certtool: allow setting arbitrary key purpose object identifiers.
310 *** libgnutls: Change detection of when to use a linker version script.
311 Use --enable-ld-version-script or --disable-ld-version-script to
312 override auto-detection logic.
314 *** Fix warnings and build GnuTLS with more warnings enabled.
316 *** New API to set X.509 credentials from PKCS#12 memory structure.
317 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
319 *** Old libgnutls.m4 and libgnutls-config scripts removed.
320 Please use pkg-config instead.
322 *** libgnutls: Added functions to handle CRL extensions.
323 gnutls_x509_crl_get_authority_key_id: ADDED
324 gnutls_x509_crl_get_number: ADDED
325 gnutls_x509_crl_get_extension_oid: ADDED
326 gnutls_x509_crl_get_extension_info: ADDED
327 gnutls_x509_crl_get_extension_data: ADDED
328 gnutls_x509_crl_set_authority_key_id: ADDED
329 gnutls_x509_crl_set_number: ADDED
331 *** libgnutls: Added functions to handle X.509 extensions in Certificate
332 Requests.
333 gnutls_x509_crq_get_key_rsa_raw: ADDED
334 gnutls_x509_crq_get_attribute_info: ADDED
335 gnutls_x509_crq_get_attribute_data: ADDED
336 gnutls_x509_crq_get_extension_info: ADDED
337 gnutls_x509_crq_get_extension_data: ADDED
338 gnutls_x509_crq_get_key_usage: ADDED
339 gnutls_x509_crq_get_basic_constraints: ADDED
340 gnutls_x509_crq_get_subject_alt_name: ADDED
341 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
342 gnutls_x509_crq_get_extension_by_oid: ADDED
343 gnutls_x509_crq_set_subject_alt_name: ADDED
344 gnutls_x509_crq_set_basic_constraints: ADDED
345 gnutls_x509_crq_set_key_usage: ADDED
346 gnutls_x509_crq_get_key_purpose_oid: ADDED
347 gnutls_x509_crq_set_key_purpose_oid: ADDED
348 gnutls_x509_crq_print: ADDED
349 gnutls_x509_crt_set_crq_extensions: ADDED
351 *** certtool: Print and set CRL and CRQ extensions.
353 *** minitasn1: Internal copy updated to libtasn1 v2.1.
355 *** examples: Now released into the public domain.
357 *** The Texinfo and GTK-DOC manuals were improved.
359 *** Several self-tests were added and others improved.
361 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
362 No offically supported interfaces have been modified or removed.  The
363 library should be completely backwards compatible on both the source
364 and binary level.
366 The shared library no longer exports some symbols that have never been
367 officially supported, i.e., not mentioned in any of the header files.
368 The symbols are:
370   _gnutls*
371   gnutls_asn1_tab
372   
373 Normally when symbols are removed, the shared library version has to
374 be incremented.  This leads to a significant cost for everyone using
375 the library.  Because none of the above symbols have ever been
376 intended for use by well-behaved applications, we decided that the it
377 would be better for those applications to pay the price rather than
378 incurring problems on the majority of applications.
380 If it turns out that applications have been using unofficial
381 interfaces, we will need to release a follow-on release on the v2.8
382 branch to exports additional interfaces.  However, initial testing
383 suggests that few if any applications have been using any of the
384 internal symbols.
386 Although not a new change compared to 2.6.x, we'd like to remind you
387 interfaces have been modified so that X.509 chain verification now
388 also checks activation/expiration times on certificates.  The affected
389 functions are:
391 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
392 gnutls_certificate_verify_peers: Likewise.
393 gnutls_certificate_verify_peers2: Likewise.
394 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
395 GNUTLS_CERT_EXPIRED: ADDED.
396 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
398 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
399 we gave our rationale for it in earlier release notes.
401 The following symbols have been added to the library:
403 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
404 gnutls_x509_crl_get_authority_key_id: ADDED
405 gnutls_x509_crl_get_extension_data: ADDED
406 gnutls_x509_crl_get_extension_info: ADDED
407 gnutls_x509_crl_get_extension_oid: ADDED
408 gnutls_x509_crl_get_number: ADDED
409 gnutls_x509_crl_set_authority_key_id: ADDED
410 gnutls_x509_crl_set_number: ADDED
411 gnutls_x509_crq_get_attribute_data: ADDED
412 gnutls_x509_crq_get_attribute_info: ADDED
413 gnutls_x509_crq_get_basic_constraints: ADDED
414 gnutls_x509_crq_get_extension_by_oid: ADDED
415 gnutls_x509_crq_get_extension_data: ADDED
416 gnutls_x509_crq_get_extension_info: ADDED
417 gnutls_x509_crq_get_key_id: ADDED.
418 gnutls_x509_crq_get_key_purpose_oid: ADDED
419 gnutls_x509_crq_get_key_rsa_raw: ADDED
420 gnutls_x509_crq_get_key_usage: ADDED
421 gnutls_x509_crq_get_subject_alt_name: ADDED
422 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
423 gnutls_x509_crq_print: ADDED
424 gnutls_x509_crq_set_basic_constraints: ADDED
425 gnutls_x509_crq_set_key_purpose_oid: ADDED
426 gnutls_x509_crq_set_key_usage: ADDED
427 gnutls_x509_crq_set_subject_alt_name: ADDED
428 gnutls_x509_crt_get_verify_algorithm: ADDED
429 gnutls_x509_crt_set_crq_extensions: ADDED
430 gnutls_x509_crt_verify_hash: ADDED
432 The following interfaces have been added to the header files:
434 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
435 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
436 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
437 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
438 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
439 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
441 The following interfaces have been deprecated:
443 LIBGNUTLS_VERSION: DEPRECATED.
444 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
445 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
446 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
447 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
448 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
450 * Version 2.7.14 (released 2009-05-26)
452 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
453 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
454 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
455 deprecated.
457 ** Doc: Several typo fixes in documentation.
458 Reported by Peter Hendrickson <pdh@wiredyne.com>.
460 ** API and ABI modifications:
461 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
462 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
464 * Version 2.7.13 (released 2009-05-25)
466 ** libgnutls: Fix version of some exported symbols in the shared library.
467 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
468 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
470 ** tests: Handle recently expired certificates in chainverify self-test.
471 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
472 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
474 ** API and ABI modifications:
475 No changes since last version.
477 * Version 2.7.12 (released 2009-05-20)
479 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
481 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
482 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
483 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
485 ** Fix build failures.
486 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
487 G. Christensen" <tgc@jupiterrise.com> in
488 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
490 ** minitasn1: Internal copy updated to libtasn1 v2.2.
491 GnuTLS should work fine with libtasn1 v1.x and that is still
492 supported.
494 ** API and ABI modifications:
495 No changes since last version.
497 * Version 2.7.11 (released 2009-05-18)
499 ** minitasn1: Fix build failure when using internal libtasn1.
500 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
501 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
503 ** libgnutls: Fix build failure with --disable-cxx.
504 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
505 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
507 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
508 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
509 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
511 ** Building with many warning flags now requires --enable-gcc-warnings.
512 This avoids crying wolf for normal compiles.
514 ** API and ABI modifications:
515 No changes since last version.
517 * Version 2.7.10 (released 2009-05-13)
519 ** examples: Now released into the public domain.
520 This makes the license of the example code compatible with more
521 licenses, including the (L)GPL.
523 ** minitasn1: Internal copy updated to libtasn1 v2.1.
524 GnuTLS should work fine with libtasn1 v1.x and that is still
525 supported.
527 ** libgnutls: Fix crash in signature verification
528 The fix for the CVE-2009-1415 problem wasn't merged completely.
530 ** doc: Fixes for GTK-DOC output.
532 ** API and ABI modifications:
533 No changes since last version.
535 * Version 2.7.9 (released 2009-05-11)
537 ** doc: Fix strings in man page of gnutls_priority_init.
539 ** doc: Fix tables of error codes and supported algorithms.
541 ** Fix build failure when cross-compiled using MinGW.
543 ** Fix build failure when LZO is enabled.
544 Reported by Arfrever Frehtes Taifersar Arahesis
545 <arfrever.fta@gmail.com> in
546 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
548 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
549 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
550 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
552 ** Fix warnings in self-tests.
554 ** API and ABI modifications:
555 No changes since last version.
557 * Version 2.7.8 (released 2009-05-03)
559 ** libgnutls: Fix DSA key generation.
560 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
562 ** libgnutls: Check expiration/activation time on untrusted certificates.
563 Merged from stable branch.  Reported by Romain Francoise
564 <romain@orebokech.com>.  This changes the semantics of
565 gnutls_x509_crt_list_verify, which in turn is used by
566 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
567 We add two new gnutls_certificate_status_t codes for reporting the new
568 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
569 We also add a new gnutls_certificate_verify_flags flag,
570 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
571 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
573 ** lib: Linker version scripts reduces number of exported symbols.
574 The linker version script now lists all exported ABIs explicitly, to
575 avoid accidentally exporting unintended functions.  Compared to
576 before, most symbols beginning with _gnutls* are no longer exported.
577 These functions have never been intended for use by applications, and
578 there were no prototypes for these function in the public header
579 files.  Thus we believe it is possible to do this without incrementing
580 the library ABI version which normally has to be done when removing an
581 interface.
583 ** lib: Limit exported symbols on systems without LD linker scripts.
584 Before all symbols were exported.  Now we limit the exported symbols
585 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
586 _gnutls*.  This is a superset of the actual supported ABI, but still
587 an improvement compared to before.  This is implemented using Libtool
588 -export-symbols-regex.  It is more portable than linker version
589 scripts.
591 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
592 This should have been done in the last release.
594 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
595 Reported by Peter Hendrickson <pdh@wiredyne.com> in
596 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
598 ** doc: Improved sections for the info manual.
599 We now follow the advice given by the texinfo manual on which
600 directory categories to use.  In particular, libgnutls moved from the
601 'GNU Libraries' section to the 'Software libraries' and the command
602 line tools moved from 'Network Applications' to 'System
603 Administration'.
605 ** API and ABI modifications:
606 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
607 gnutls_certificate_verify_peers: Likewise.
608 gnutls_certificate_verify_peers2: Likewise.
609 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
610 GNUTLS_CERT_EXPIRED: ADDED.
611 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
613 * Version 2.7.7 (released 2009-04-20)
615 ** libgnutls: Applied patch by Cedric Bail to add functions
616 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
618 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
619 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
620 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
622 ** minitasn1: Internal copy updated to libtasn1 v1.8.
623 GnuTLS is also internally ready to be used with libtasn1 v2.0.
625 ** doc: Fix build failure of errcodes/printlist.
626 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
627 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
629 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
630 It is currently only used by the core library.  This will enable a new
631 domain 'gnutls' for translations of the command line tools.
633 ** Corrected possible memory corruption on signature verification failure. 
634 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
636 ** API and ABI modifications:
637 gnutls_x509_crt_verify_hash: ADDED
638 gnutls_x509_crt_get_verify_algorithm: ADDED
640 * Version 2.7.6 (released 2009-02-27)
642 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
643 This applies both to generating certificates and certificate requests.
645 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
647 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
648 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
649 be used for chain verification.
651 ** gnutls-serv: No longer disable MAC padding by default.
652 Use --priority NORMAL:%COMPAT to disable MAC padding again.
654 ** gnutls-cli: Certificate information output format changed.
655 The tool now uses libgnutls' functions to print certificate
656 information.  This avoids code duplication.
658 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
659 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
660 They can be used to override the default certificate chain validation
661 behaviour.
663 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
664 specify the client hello message record version. Used to overcome buggy 
665 TLS servers. Report by Martin von Gagern.
667 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
669 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
671 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
673 ** API and ABI modifications:
674 No changes since last version.
676 * Version 2.7.5 (released 2009-02-06)
678 ** libgnutls: Accept chains where intermediary certs are trusted.
679 Before GnuTLS needed to validate the entire chain back to a
680 self-signed certificate.  GnuTLS will now stop looking when it has
681 found an intermediary trusted certificate.  The new behaviour is
682 useful when chains, for example, contains a top-level CA, an
683 intermediary CA signed using RSA-MD5, and an end-entity certificate.
684 To avoid chain validation errors due to the RSA-MD5 cert, you can
685 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
686 The signature on trusted certificates are not checked, so the chain
687 has a chance to validate correctly.  Reported by "Douglas E. Engert"
688 <deengert@anl.gov> in
689 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
691 ** libgnutls: result_size in gnutls_hex_encode now holds
692 the size of the result. Report by John Brooks <special@dereferenced.net>.
694 ** libgnutls: gnutls_handshake when sending client hello during a
695 rehandshake, will not offer a version number larger than the current.
696 Reported by Tristan Hill <stan@saticed.me.uk>.
698 ** libgnutls: Permit V1 Certificate Authorities properly.
699 Before they were mistakenly rejected even though
700 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
701 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
702 "Douglas E. Engert" <deengert@anl.gov> in
703 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
705 ** API and ABI modifications:
706 No changes since last version.
708 * Version 2.7.4 (released 2009-01-07)
710 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
711 This is a bugfix -- the previous attempt to do this from internal x509
712 certificate verification procedures did not return the correct value
713 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
714 <dkg@fifthhorseman.net> in
715 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
716 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
717 Gillmor <dkg@fifthhorseman.net>.
719 ** libgnutls: New interface to get key id for certificate requests.
720 Patch from David Marín Carreño <davefx@gmail.com> in
721 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
723 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
725 ** certtool: --verify-chain now prints results of using library verification.
726 Earlier, certtool --verify-chain used its own validation algorithm
727 which wasn't guaranteed to give the same result as the libgnutls
728 internal validation algorithm.  Now this command print a new final
729 line with header 'Chain verification output:' that contains the result
730 from using the internal verification algorithm on the same chain.
732 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
734 ** API and ABI modifications:
735 gnutls_x509_crq_get_key_id: ADDED.
737 * Version 2.7.3 (released 2008-12-10)
739 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
740 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
741 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
742 Andreas Metzler <ametzler@downhill.at.eu.org> in
743 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
745 ** libgnutls: Libgcrypt initialization changed.
746 If libgcrypt has not already been initialized, GnuTLS will now
747 initialize libgcrypt with disabled secure memory.  Initialize
748 libgcrypt explicitly in your application if you want to enable secure
749 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
750 allocation functions, which doesn't use secure memory, so there is no
751 real change in behaviour.
753 ** libgnutls: Fix memory leak in PSK authentication.
754 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
755 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
757 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
759 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
760 It needs to be invoked before libgcrypt is initialized.
762 ** gnutls-cli: Return non-zero exit code on error conditions.
764 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
766 ** tests: Added chainverify self-test that tests X.509 chain verifications.
768 ** API and ABI modifications:
769 No changes since last version.
771 * Version 2.7.2 (released 2008-11-18)
773 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
774 The flaw makes it possible for man in the middle attackers (i.e.,
775 active attackers) to assume any name and trick GNU TLS clients into
776 trusting that name.  Thanks for report and analysis from Martin von
777 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
779 Any updates with more details about this vulnerability will be added
780 to <http://www.gnu.org/software/gnutls/security.html>
782 ** libgnutls: Fix namespace issue with version symbols.
783 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
784 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
785 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
786 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
787 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
788 work but are deprecated.
790 ** certtool: allow setting arbitrary key purpose object identifiers.
792 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
794 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
795 Reported by Kevin Quick <quick@sparq.org> in
796 <https://savannah.gnu.org/support/index.php?106454>.
798 ** libgnutls-extra: Make building with LZO compression work again.
799 Build failure reported by Arfrever Frehtes Taifersar Arahesis
800 <arfrever.fta@gmail.com> in
801 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
803 ** libgnutls: Change detection of when to use a linker version script.
804 Use --enable-ld-version-script or --disable-ld-version-script to
805 override auto-detection logic.
807 ** doc: Change license on the manual to GFDLv1.3+.
809 ** doc: GTK-DOC fixes for new splitted configuration system.
811 ** doc: Texinfo stylesheet uses white background.
813 ** tests: Add cve-2008-4989.c self-test.
814 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
815 follow-on problem with crashes on length 1 certificate chains.
817 ** gnulib: Deprecated modules removed.
818 Modules include memchr and memcmp.
820 ** Fix warnings and build GnuTLS with more warnings enabled.
822 ** minitasn1: Internal copy updated to libtasn1 v1.7.
824 ** API and ABI modifications:
825 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
826 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
827 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
828 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
829 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
830 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
831 LIBGNUTLS_VERSION: DEPRECATED.
832 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
833 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
834 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
835 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
837 * Version 2.7.1 (released 2008-10-31)
839 ** certtool: print a PKCS #8 key even if it is not encrypted.
841 ** Old libgnutls.m4 and libgnutls-config scripts removed.
842 Please use pkg-config instead.
844 ** Configuration system modified.
845 There is now a configure script in lib/ and libextra/ as well, because
846 gnulib works better with a config.h per gnulib directory.
848 ** API and ABI modifications:
849 No changes since last version.
851 * Version 2.7.0 (released 2008-10-16)
853 ** libgnutls: Added functions to handle CRL extensions.
855 ** libgnutls: Added functions to handle X.509 extensions in Certificate
856 Requests.
858 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
859 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
861 ** certtool: Print and set CRL and CRQ extensions.
863 ** libgnutls-extra: Protect internal symbols with static.
864 Fixes problem when linking certtool statically.  Tiny patch from Aaron
865 Ucko <ucko@ncbi.nlm.nih.gov>.
867 ** libgnutls-openssl: fix out of bounds access.
868 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
869 from Thomas Viehmann <tv@beamnet.de>.
871 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
873 ** tests: Make tests compile when using internal libtasn1.
874 Patch by ludo@gnu.org (Ludovic Courtès).
876 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
877 We now require a libgcrypt that has Camellia constants declared in
878 gcrypt.h, which means v1.3.0 or later.
880 ** API and ABI modifications:
881 gnutls_x509_crl_get_authority_key_id: ADDED
882 gnutls_x509_crl_get_number: ADDED
883 gnutls_x509_crl_get_extension_oid: ADDED
884 gnutls_x509_crl_get_extension_info: ADDED
885 gnutls_x509_crl_get_extension_data: ADDED
886 gnutls_x509_crl_set_authority_key_id: ADDED
887 gnutls_x509_crl_set_number: ADDED
888 gnutls_x509_crq_get_key_rsa_raw: ADDED
889 gnutls_x509_crq_get_attribute_info: ADDED
890 gnutls_x509_crq_get_attribute_data: ADDED
891 gnutls_x509_crq_get_extension_info: ADDED
892 gnutls_x509_crq_get_extension_data: ADDED
893 gnutls_x509_crq_get_key_usage: ADDED
894 gnutls_x509_crq_get_basic_constraints: ADDED
895 gnutls_x509_crq_get_subject_alt_name: ADDED
896 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
897 gnutls_x509_crq_get_extension_by_oid: ADDED
898 gnutls_x509_crq_set_subject_alt_name: ADDED
899 gnutls_x509_crq_set_basic_constraints: ADDED
900 gnutls_x509_crq_set_key_usage: ADDED
901 gnutls_x509_crq_get_key_purpose_oid: ADDED
902 gnutls_x509_crq_set_key_purpose_oid: ADDED
903 gnutls_x509_crq_print: ADDED
904 gnutls_x509_crt_set_crq_extensions: ADDED
906 * Version 2.6.6 (released 2009-04-30)
908 ** libgnutls: Corrected double free on signature verification failure.
909 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
910 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
912 ** libgnutls: Fix DSA key generation.
913 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
914 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
915 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
917 ** libgnutls: Check expiration/activation time on untrusted certificates.
918 Reported by Romain Francoise <romain@orebokech.com>.  Before the
919 library did not check activation/expiration times on certificates, and
920 was documented as not doing so.  We have realized that many
921 applications that use libgnutls, including gnutls-cli, fail to perform
922 proper checks.  Implementing similar logic in all applications leads
923 to code duplication.  Hence, we decided to check whether the current
924 time (as reported by the time function) is within the
925 activation/expiration period of certificates when verifying untrusted
926 certificates.
928 This changes the semantics of gnutls_x509_crt_list_verify, which in
929 turn is used by gnutls_certificate_verify_peers and
930 gnutls_certificate_verify_peers2.  We add two new
931 gnutls_certificate_status_t codes for reporting the new error
932 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
933 add a new gnutls_certificate_verify_flags flag,
934 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
935 behaviour.
937 More details about the vulnerabilities will be posted at
938 <http://www.gnu.org/software/gnutls/security.html>.
940 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
941 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
942 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
944 ** tests: Fix linking of tests/openpgp/keyring self-test.
945 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
947 ** API and ABI modifications:
948 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
949 gnutls_certificate_verify_peers: Likewise.
950 gnutls_certificate_verify_peers2: Likewise.
951 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
952 GNUTLS_CERT_EXPIRED: ADDED.
953 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
955 * Version 2.6.5 (released 2009-04-11)
957 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
958 specify the client hello message record version. Used to overcome buggy
959 TLS servers. Report by Martin von Gagern.
961 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
962 Libtasn1 0.3.4 or later is required.  This is to align with the
963 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
965 ** API and ABI modifications:
966 No changes since last version.
968 * Version 2.6.4 (released 2009-02-06)
970 ** libgnutls: Accept chains where intermediary certs are trusted.
971 Before GnuTLS needed to validate the entire chain back to a
972 self-signed certificate.  GnuTLS will now stop looking when it has
973 found an intermediary trusted certificate.  The new behaviour is
974 useful when chains, for example, contains a top-level CA, an
975 intermediary CA signed using RSA-MD5, and an end-entity certificate.
976 To avoid chain validation errors due to the RSA-MD5 cert, you can
977 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
978 The signature on trusted certificates are not checked, so the chain
979 has a chance to validate correctly.  Reported by "Douglas E. Engert"
980 <deengert@anl.gov> in
981 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
983 ** libgnutls: result_size in gnutls_hex_encode now holds
984 the size of the result. Report by John Brooks <special@dereferenced.net>.
986 ** libgnutls: gnutls_handshake when sending client hello during a
987 rehandshake, will not offer a version number larger than the current.
988 Reported by Tristan Hill <stan@saticed.me.uk>.
990 ** libgnutls: Permit V1 Certificate Authorities properly.
991 Before they were mistakenly rejected even though
992 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
993 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
994 "Douglas E. Engert" <deengert@anl.gov> in
995 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
997 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
998 This is a bugfix -- the previous attempt to do this from internal x509
999 certificate verification procedures did not return the correct value
1000 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1001 <dkg@fifthhorseman.net> in
1002 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1003 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1004 Gillmor <dkg@fifthhorseman.net>.
1006 ** libgnutls: Fix compile error with Sun CC.
1007 Reported by Jeff Cai <jeff.cai@sun.com> in
1008 <https://savannah.gnu.org/support/?106549>.
1010 ** API and ABI modifications:
1011 No changes since last version.
1013 * Version 2.6.3 (released 2008-12-12)
1015 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1016 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1017 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1018 Andreas Metzler <ametzler@downhill.at.eu.org> in
1019 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1021 ** libgnutls: Fix memory leak in PSK authentication.
1022 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1023 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1025 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1026 It needs to be invoked before libgcrypt is initialized.
1028 ** gnutls-cli: Return non-zero exit code on error conditions.
1030 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1032 ** API and ABI modifications:
1033 No changes since last version.
1035 * Version 2.6.2 (released 2008-11-12)
1037 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1038 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1039 problem for certificate chains that contained just one self-signed
1040 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1041 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1043 ** API and ABI modifications:
1044 No changes since last version.
1046 * Version 2.6.1 (released 2008-11-10)
1048 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1049 The flaw makes it possible for man in the middle attackers (i.e.,
1050 active attackers) to assume any name and trick GNU TLS clients into
1051 trusting that name.  Thanks for report and analysis from Martin von
1052 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1054 Any updates with more details about this vulnerability will be added
1055 to <http://www.gnu.org/software/gnutls/security.html>
1057 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1058 Reported by Kevin Quick <quick@sparq.org> in
1059 <https://savannah.gnu.org/support/index.php?106454>.
1061 ** libgnutls-extra: Protect internal symbols with static.
1062 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1063 Ucko <ucko@ncbi.nlm.nih.gov>.
1065 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1066 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1067 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1069 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1071 ** tests: Make tests compile when using internal libtasn1.
1072 Patch by ludo@gnu.org (Ludovic Courtès).
1074 ** API and ABI modifications:
1075 No changes since last version.
1077 * Version 2.6.0 (released 2008-10-06)
1079 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1081 ** libgnutls-openssl: fix out of bounds access.
1082 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1083 from Thomas Viehmann <tv@beamnet.de>.
1085 ** certtool: Use inet_pton for parsing IPv6 addresses.
1087 ** Major changes compared to the v2.4 branch:
1089 *** Added API to replace and update the crypto backend.
1091 *** certtool: can add several subject alternative names via template file.
1093 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1095 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1096 either set or append alternative names. It can also handle binary structures
1097 such as IP addresses.
1099 *** libgnutls: New function to set minimum acceptable SRP bits.
1100 The function is gnutls_srp_set_prime_bits.
1102 *** libgnutls: Add interface to deal with public key and signature algorithms.
1103 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1104 gnutls_sign_list, and gnutls_sign_get_id.
1106 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1107 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1109 *** libgnutls: New API to get a string corresponding to a error symbol.
1110 The function is gnutls_strerror_name.
1112 *** libgnutls: New API to set the public parameters in a certificate request
1113 *** from a private key.
1114 The function is gnutls_x509_crq_set_key_rsa_raw.
1116 *** libgnutls: New API to set a callback to extract TLS Finished data.
1117 The function to register is gnutls_session_set_finished_function and
1118 it takes a callback of the gnutls_finished_callback_func type.
1120 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1122 *** libgnutls: New interface to register a new TLS extension handler.
1123 The new function gnutls_ext_register can be used to register handlers
1124 for specific TLS extension types.  The callback functions have the new
1125 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1126 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1127 well.
1129 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1130 The function is gnutls_register_md5_handler.  When libgcrypt is in
1131 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1132 the PRF.
1134 *** API/ABI changes in GnuTLS 2.6
1135 No functions have been removed or modified.  The library should be
1136 fully backwards compatible on both the source and binary level.
1138 A new header file <gnutls/crypto.h> have been added.  It contains
1139 definitions related to replacing the internal crypto functionality.
1140 All definitions and the header itself is experimental but supported.
1142 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1143 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1144 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1146 The following functions have been added to libgnutls:
1148 GNUTLS_MASTER_SIZE
1149 GNUTLS_RANDOM_SIZE
1150 gnutls_crypto_bigint_register2
1151 gnutls_crypto_cipher_register2
1152 gnutls_crypto_digest_register2
1153 gnutls_crypto_mac_register2
1154 gnutls_crypto_pk_register2
1155 gnutls_crypto_rnd_register2
1156 gnutls_crypto_single_cipher_register2
1157 gnutls_crypto_single_digest_register2
1158 gnutls_crypto_single_mac_register2
1159 gnutls_ext_register
1160 gnutls_pk_get_id
1161 gnutls_pk_get_name
1162 gnutls_pk_list
1163 gnutls_session_set_finished_function
1164 gnutls_sign_get_id
1165 gnutls_sign_get_name
1166 gnutls_sign_list
1167 gnutls_srp_set_prime_bits:
1168 gnutls_strerror_name
1169 gnutls_x509_crq_set_key_rsa_raw
1170 gnutls_x509_crt_set_crl_dist_points2
1171 gnutls_x509_crt_set_subject_alt_name
1173 The following functions have been added to libgnutls-extra:
1175 gnutls_register_md5_handler
1177 ** API and ABI modifications:
1178 No changes since last version.
1180 * Version 2.5.9 (released 2008-09-29)
1182 ** libgnutls: Fix several memory leaks.
1183 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1185 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1186 Report and patch by Jonathan Manktelow.
1188 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1189 The parameters are now allocated in the structure itself.
1191 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1193 ** tests: Scripts now use EXEEXT properly.
1194 Modern libtool doesn't create wrapper script, so the self tests need
1195 to invoke certtool.exe under MinGW32+Wine.
1197 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1198 Automake warnings are now also enabled.
1200 ** API and ABI modifications:
1201 gnutls_pk_params_st: MODIFIED
1203 * Version 2.5.8 (released 2008-09-21)
1205 ** certtool: updated so it can add several subject alternative names using
1206 the template file.
1208 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1209 either set or append alternative names. It can also handle binary structures
1210 such as IP addresses.
1212 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1214 ** libgnutls: New function to set minimum acceptable SRP bits.
1215 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1216 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1218 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1219 Also fix overflows in calls to those functions.  Reported by Werner
1220 Koch <wk@gnupg.org>.
1222 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1223 The function is gnutls_register_md5_handler.  When libgcrypt is in
1224 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1225 the PRF.
1227 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1229 ** Indent code.
1231 ** API and ABI modifications:
1232 gnutls_srp_set_prime_bits: ADDED
1233 gnutls_register_md5_handler: ADDED
1234 gnutls_x509_crt_set_crl_dist_points2: ADDED
1235 gnutls_x509_crt_set_subject_alt_name: ADDED
1237 * Version 2.5.7 (released 2008-09-16)
1239 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1240 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1242 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1244 ** libgnutls: Fix libgnutls shared library version.
1245 It wasn't properly incremented after adding symbols in the last
1246 release.
1248 ** manual: Now mention supported public key and public key signing algorithms.
1250 ** tests/openssl: initialize gnutls before use.
1252 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1254 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1256 ** API and ABI modifications:
1257 gnutls_sign_get_name: ADDED
1258 gnutls_pk_get_name: ADDED
1260 * Version 2.5.6 (released 2008-09-08)
1262 ** libgnutls: Add interface to deal with public key and signature algorithms.
1263 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1264 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1265 Varshavchik <mrsam@courier-mta.com>.
1267 ** libgnutls: Refactor and clean up some code.
1269 ** libgnutls: Fix compile error with Sun CC.
1271 ** gnutls-cli: Improve --list output to include public key and signature algs.
1273 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1274 Use standard --version to get license info.
1276 ** gnutls-cli.1: Document all new parameters.
1277 Thanks to James Westby <jw+debian@jameswestby.net>.
1279 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1280 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1282 ** API and ABI modifications:
1283 gnutls_pk_list: ADDED
1284 gnutls_pk_get_id: ADDED
1285 gnutls_sign_list: ADDED
1286 gnutls_sign_get_id: ADDED
1288 * Version 2.5.5 (released 2008-08-29)
1290 ** libgnutls: New API to get a string corresponding to a error symbol.
1291 The function is gnutls_strerror_name.
1293 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1294 Reported by "jth.net ApS" <info@jth.net>.
1296 ** libgnutls: Fix segmentation fault when generating private keys.
1297 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1299 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1300 The code has not worked since v0.9.0 and apparently nobody has missed
1301 it, so we decided to remove the code rather than fix it.  If you have
1302 old certificate chains stored in PKCS#7 format, you can convert them
1303 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1304 by Christian Grothoff <christian@grothoff.org>.
1306 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1307 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1309 ** libgnutls: Fix many warnings.
1311 ** Included copy of libtasn1 is upgraded to version 1.5.
1313 ** Add French translation, thanks to Nicolas Provost.
1315 ** API and ABI modifications:
1316 gnutls_strerror_name: ADDED
1318 * Version 2.5.4 (released 2008-08-19)
1320 ** Fix secure memory initialization of libgcrypt.
1321 Reported by Joe Orton <joe@manyfish.co.uk> in
1322 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1324 ** Doc fixes.
1325 Reference to NIST SP 800-57 in the manual on key size recommendations.
1326 Added 'Since:' tags to new APIs for gtk-doc.
1328 ** API and ABI modifications:
1329 No changes since last version.
1331 * Version 2.5.3 (released 2008-08-14)
1333 ** libgnutls: New API to set the public parameters in a certificate request
1334 ** from a private key.
1335 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1336 discussion with "Zach C." <fxchip@gmail.com>.
1338 ** libgnutls: New API to set a callback to extract TLS Finished data.
1339 The function to register is gnutls_session_set_finished_function and
1340 it takes a callback of the gnutls_finished_callback_func type.
1342 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1343 Reported in <https://savannah.gnu.org/support/?106453>.
1345 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1346 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1347 names are mapped to the new names in compat.h.  These mappings will
1348 likely be removed more quickly than other mappings in that file due to
1349 the namespace violation.
1351 ** libgnutlsxx: Make it build when SRP is disabled.
1353 ** doc: Add doxygen files in doc/doxygen/.
1355 ** API and ABI modifications:
1356 gnutls_x509_crq_set_key_rsa_raw: ADDED
1357 gnutls_session_set_finished_function: ADDED
1358 gnutls_finished_callback_func: ADDED
1359 GNUTLS_MASTER_SIZE: ADDED
1360 GNUTLS_RANDOM_SIZE: ADDED
1361 TLS_MASTER_SIZE: DEPRECATED
1362 TLS_RANDOM_SIZE: DEPRECATED
1364 * Version 2.5.2 (released 2008-07-08)
1366 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1367 The prime and generator was swapped.
1369 ** libgnutls: New interface to register a new TLS extension handler.
1370 The new function gnutls_ext_register can be used to register handlers
1371 for specific TLS extension types.  The callback functions have the new
1372 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1373 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1374 well.
1376 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1377 This was made possible by using the new gnutls_ext_register interface.
1378 The TLS/IA functionality has only been supported through the
1379 libgnutls-extra library, so it makes sense for the code to belong
1380 there too.
1382 ** API and ABI modifications:
1383 gnutls_ext_recv_func: ADDED
1384 gnutls_ext_send_func: ADDED
1385 gnutls_ext_parse_type_t: ADDED
1386 gnutls_ext_register: ADDED
1388 * Version 2.5.1 (released 2008-07-02)
1390 ** Indent code.
1392 ** API and ABI modifications:
1393 No changes since last version.
1395 * Version 2.5.0 (released 2008-07-02)
1397 ** Port fixes from v2.4.1 release, see below.
1399 ** Added API to replace and update the crypto backend.
1400 The header gnutls/crypto.h is now officially supported, and declares
1401 the symbols below.
1403 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1405 ** Update gnulib and translations.
1406 The gnulib gc crypto code has been removed since it was never finished
1407 and is no longer even used.  An internal non-libgcrypt crypto
1408 implementation may be added in the future, but we'll decide that later
1411 ** API and ABI modifications:
1412 gnutls_crypto_bigint_register2: ADDED.
1413 gnutls_crypto_cipher_register2: ADDED.
1414 gnutls_crypto_digest_register2: ADDED.
1415 gnutls_crypto_mac_register2: ADDED.
1416 gnutls_crypto_pk_register2: ADDED.
1417 gnutls_crypto_rnd_register2: ADDED.
1418 gnutls_crypto_single_cipher_register2: ADDED.
1419 gnutls_crypto_single_digest_register2: ADDED.
1420 gnutls_crypto_single_mac_register2: ADDED.
1422 * Version 2.4.3 (released 2009-02-06)
1424 ** libgnutls: Accept chains where intermediary certs are trusted.
1425 Before GnuTLS needed to validate the entire chain back to a
1426 self-signed certificate.  GnuTLS will now stop looking when it has
1427 found an intermediary trusted certificate.  The new behaviour is
1428 useful when chains, for example, contains a top-level CA, an
1429 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1430 To avoid chain validation errors due to the RSA-MD5 cert, you can
1431 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1432 The signature on trusted certificates are not checked, so the chain
1433 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1434 <deengert@anl.gov> in
1435 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1437 ** libgnutls: Permit V1 Certificate Authorities properly.
1438 Before they were mistakenly rejected even though
1439 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1440 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1441 "Douglas E. Engert" <deengert@anl.gov> in
1442 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1444 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1445 This is a bugfix -- the previous attempt to do this from internal x509
1446 certificate verification procedures did not return the correct value
1447 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1448 <dkg@fifthhorseman.net> in
1449 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1450 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1451 Gillmor <dkg@fifthhorseman.net>.
1453 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1454 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1455 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1456 Andreas Metzler <ametzler@downhill.at.eu.org> in
1457 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1459 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1460 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1461 problem for certificate chains that contained just one self-signed
1462 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1463 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1465 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1466 The flaw makes it possible for man in the middle attackers (i.e.,
1467 active attackers) to assume any name and trick GNU TLS clients into
1468 trusting that name.  Thanks for report and analysis from Martin von
1469 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1471 Any updates with more details about this vulnerability will be added
1472 to <http://www.gnu.org/software/gnutls/security.html>
1474 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1475 Report and patch by Jonathan Manktelow.
1477 ** libgnutls: Avoid use of non-thread safe strerror.
1479 ** API and ABI modifications:
1480 No changes since last version.
1482 * Version 2.4.2 (released 2008-09-15)
1484 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1486 ** libgnutls: Corrected memory leak in X.509 functions.
1487 Thanks to Colin Leroy <colin@colino.net>.
1489 ** libgnutls: Fix compile error with Sun CC.
1491 ** gnutls-cli.1: Document all new parameters.
1492 Thanks to James Westby <jw+debian@jameswestby.net>.
1494 ** tests/openssl: initialize gnutls before use.
1495 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1496 <ludovic.courtes@laas.fr>.
1498 ** doc/: Fix texinfo markup for old texinfo versions.
1500 ** Included copy of libtasn1 is upgraded to version 1.5.
1502 ** API and ABI modifications:
1503 No changes since last version.
1505 * Version 2.4.1 (released 2008-06-30)
1507 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1508 If the gnutls_handshake function is called for a normal session, which
1509 can happen for re-handshakes, the library would crash because it tried
1510 to hash some data using a libgcrypt handle that had been deallocated.
1511 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1512 with more details about this vulnerability will be added to
1513 <http://www.gnu.org/software/gnutls/security.html>
1515 ** libgnutls: Fix memory leaks when doing a re-handshake.
1516 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1517 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1519 ** Fix compiler warnings.
1520 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1521 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1523 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1524 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1525 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1527 ** srptool: Fix a problem where --verify check does not succeed.
1528 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1529 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1531 ** API and ABI modifications:
1532 No changes since last version.
1534 * Version 2.4.0 (released 2008-06-19)
1536 ** Major changes compared to the v2.2 branch:
1538 *** The OpenPGP sub-system has been improved and now supports subkeys.
1540 *** The PSK sub-system has been improved and now supports password
1541 *** derivation and PSK identity hints.
1542 The password derivation algorithms support is documented in
1543 draft-ietf-netconf-tls-02.txt.
1545 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1546 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1547 The old parameters will continue to work for some time.
1549 *** Certtool now confirm passwords and changes permissions of private key files.
1551 *** The default handshake size limit has been increased to 48kb.
1552 It appears as if some valid handshakes are large due to sending many
1553 CA certificates.  (The earlier limit was 16kb.)
1555 *** LZO compression is now disabled by default.
1556 The main reason is that LZO compression in TLS is not standardized,
1557 but license compatiblity issues with minilzo triggered us to make this
1558 decision now.
1560 *** Improvements for cross-compilation to Windows and OpenWRT.
1562 *** The look of the GTK-DOC manual has been improved.
1563 Major developer visible changes compared to the v2.2 branch:
1565 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1567 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1568 *** elements from the certificate credentials structure.
1569 Thanks to Joe Orton.
1571 *** New APIs to improve working with username/passwords and PSK.
1573 *** Names of constants to affect certificate printing changed.
1574 The constants are used for OpenPGP too, which the names didn't
1575 reflect, so the following name change has been made:
1577             Old name                         New name
1578      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
1579      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
1580      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
1582 The old names will be mapped to the new names for some time.
1584 *** The function gnutls_openpgp_privkey_get_id has been renamed to
1585 *** gnutls_openpgp_privkey_get_key_id.
1586 A compatibility mapping exists to avoid breaking API backwards
1587 compatibility.
1589 *** Replaced all uses of alloca with malloc and free.
1591 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
1592 We have been unable to find a documented rationale for this practice.
1594 *** Of course, many smaller fixes have been made, see the ChangeLog file.
1596 *** API/ABI changes in GnuTLS 2.4
1597 All OpenPGP related functions have been moved from libgnutls-extra to
1598 libgnutls, and several new functions have been added (see below).
1599 Before making the release, we discussed whether moving functions from
1600 libgnutls-extra to libgnutls would require us to increment the ABI
1601 version, but the general opinion was that this would not be required.
1602 All older functions continue to work the same.  We are open to the
1603 possibility that this decision will lead to problem on some platform,
1604 and if it turns out that the Right Thing should have been to increment
1605 the shared library version, we would need to release an update within
1606 the 2.4.x branch that increments the shared library version.
1608 This release adds the following functions:
1610   gnutls_psk_client_get_hint
1611   gnutls_psk_set_server_credentials_hint
1612   gnutls_psk_netconf_derive_key
1614     Used to get/set the PSK identity hint, and derive PSK keys from
1615     passwords a'la netconf.
1617   gnutls_x509_dn_deinit
1618   gnutls_x509_dn_export
1619   gnutls_x509_dn_import
1620   gnutls_x509_dn_init
1622     Used to handle X.509 Certificate DN's directly.
1624   gnutls_hex2bin
1626     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
1627     secrets.
1629   gnutls_certificate_get_x509_cas
1630   gnutls_certificate_get_x509_crls
1631   gnutls_certificate_get_openpgp_keyring
1633     Functions for direct access to credential elements.
1635   gnutls_openpgp_crt_get_auth_subkey
1636   gnutls_openpgp_crt_get_key_id
1637   gnutls_openpgp_crt_get_pk_dsa_raw
1638   gnutls_openpgp_crt_get_pk_rsa_raw
1639   gnutls_openpgp_crt_get_preferred_key_id
1640   gnutls_openpgp_crt_get_revoked_status
1641   gnutls_openpgp_crt_get_subkey_count
1642   gnutls_openpgp_crt_get_subkey_creation_time
1643   gnutls_openpgp_crt_get_subkey_expiration_time
1644   gnutls_openpgp_crt_get_subkey_fingerprint
1645   gnutls_openpgp_crt_get_subkey_id
1646   gnutls_openpgp_crt_get_subkey_idx
1647   gnutls_openpgp_crt_get_subkey_pk_algorithm
1648   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
1649   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
1650   gnutls_openpgp_crt_get_subkey_revoked_status
1651   gnutls_openpgp_crt_get_subkey_usage
1652   gnutls_openpgp_crt_print
1653   gnutls_openpgp_crt_set_preferred_key_id
1654   gnutls_openpgp_keyring_get_crt
1655   gnutls_openpgp_keyring_get_crt_count
1656   gnutls_openpgp_privkey_export
1657   gnutls_openpgp_privkey_export_dsa_raw
1658   gnutls_openpgp_privkey_export_rsa_raw
1659   gnutls_openpgp_privkey_export_subkey_dsa_raw
1660   gnutls_openpgp_privkey_export_subkey_rsa_raw
1661   gnutls_openpgp_privkey_get_fingerprint
1662   gnutls_openpgp_privkey_get_key_id
1663   gnutls_openpgp_privkey_get_pk_algorithm
1664   gnutls_openpgp_privkey_get_preferred_key_id
1665   gnutls_openpgp_privkey_get_revoked_status
1666   gnutls_openpgp_privkey_get_subkey_count
1667   gnutls_openpgp_privkey_get_subkey_creation_time
1668   gnutls_openpgp_privkey_get_subkey_expiration_time
1669   gnutls_openpgp_privkey_get_subkey_fingerprint
1670   gnutls_openpgp_privkey_get_subkey_id
1671   gnutls_openpgp_privkey_get_subkey_idx
1672   gnutls_openpgp_privkey_get_subkey_pk_algorithm
1673   gnutls_openpgp_privkey_get_subkey_revoked_status
1674   gnutls_openpgp_privkey_set_preferred_key_id
1676     New OpenPGP related functions.
1678     The function gnutls_openpgp_crt_get_key_id is the same as the old
1679     from gnutls_openpgp_crt_get_id, see above.
1681 The release also adds a new header file 'gnutls/crypto.h', however it
1682 is currently not used.
1684 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
1685 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1687 ** API and ABI modifications:
1688 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
1689 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
1691 * Version 2.3.15 (released 2008-06-15)
1693 ** Disable the openpgp-certs self-tests.
1694 It results in failure under Wine and doesn't work on Debian buildds.
1696 ** API and ABI modifications:
1697 No changes since last version.
1699 * Version 2.3.14 (released 2008-06-11)
1701 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
1702 An OpenPGP certificate is now only considered verified if all the user
1703 IDs are verified.
1705 ** Examples: Make C++ example compile.
1706 Earlier it may have failed with an unresolved reference to strlen.
1708 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
1709 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1711 ** API and ABI modifications:
1712 No changes since last version.
1714 * Version 2.3.13 (released 2008-06-07)
1716 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
1718 ** doc/: Add psktool to info index.  Some minor cleanups.
1720 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
1722 ** tests/: Added libgcrypt.supp which can be used with valgrind.
1723 The file suppresses the known libgcrypt memory leaks, so they aren't
1724 printed when you run valgrind on the gnutls self-tests.  Use it as
1725 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
1726 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
1727 ~/.valgrindrc file.
1729 ** tests/: Reduce amount of debugging output by default.
1730 Use --verbose for each test to get the full output.
1732 ** tests/: Fix memory leaks in several self-tests.
1733 None of the self tests should be leaking memory when running valgrind
1734 or similar tools.  (Known exceptions are dhepskself, pskself, and
1735 set_pkcs12_cred, which appear likely to be due to memory leaks in the
1736 library.)
1738 ** API and ABI modifications:
1739 No changes since last version.
1741 * Version 2.3.12 (released 2008-06-04)
1743 ** Merge gnutls_with_netconf branch.
1745 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
1746 The function is gnutls_psk_client_get_hint.
1748 *** libgnutls [PSK]: New API to set PSK identity hint in server.
1749 The function is gnutls_psk_set_server_credentials_hint.
1751 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
1752 In the client, the message is parsed and the application can use
1753 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
1754 message is sent if the application has specified a PSK identity hint
1755 using gnutls_psk_set_server_credentials_hint.
1757 *** libgnutls [PSK]: Support Netconf PSK key derivation.
1758 The function gnutls_psk_netconf_derive_key supports the PSK key
1759 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
1760 test netconf-psk.c.
1762 *** psktool: Support new --netconf-hint to generate PSK key from password.
1763 Uses the Netconf algorithm to derive PSK key from password.
1765 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
1767 *** gnutls-cli: Always support PSK modes, through a callback.
1768 The callback will derive a PSK key using Netconf algorithm.  It will
1769 print the PSK identity hint to help the user.
1771 *** New PSK example client and server.
1772 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
1774 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
1775 The code didn't work properly on platforms where 'char' is unsigned,
1776 when you set version 0.  Reported by Laurence Withers
1777 <l@lwithers.me.uk> in
1778 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
1780 ** libgnutls-openssl: added RAND_pseudo_bytes API.
1781 Patch from Robert Millan <rmh@aybabtu.com>.
1783 ** API and ABI modifications:
1784 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
1785 gnutls_psk_client_get_hint: ADDED.
1786 gnutls_psk_set_server_credentials_hint: ADDED.
1787 gnutls_psk_netconf_derive_key: ADDED
1789 * Version 2.3.11 (released 2008-05-20)
1791 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
1792 The flaw would result in incorrectly terminated sessions with the
1793 error "Decryption has failed" when the server sends a small packet
1794 (typically when the session is closed).  Reported by Andreas Metzler
1795 <ametzler@downhill.at.eu.org> in
1796 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
1798 ** Don't use gnulib headers when building C++ library.
1799 Fixes builds under Windows.
1801 ** Make umask a requirement.
1802 We don't know of any system that lacks it, even GNU CoreUtils use it
1803 unconditionally.
1805 ** Update gnulib files.
1806 Fixes a problem where it pulled in a replacement for memcmp under
1807 MinGW, which caused the C++ example to fail to build.
1809 ** API and ABI modifications:
1810 No changes since last version.
1812 * Version 2.3.10 (released 2008-05-19)
1814 ** Added wide wildcard hostname matching.
1815 Tiny patch by Jean-Philippe Garcia Ballester.
1817 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
1818 Thanks to CERT-FI for finding the bugs and providing detailed reports,
1819 which allowed the bugs to be reproduced and fixed easily.  Patches
1820 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
1821 with more details about these vulnerabilities will be added to
1822 <http://www.gnu.org/software/gnutls/security.html>
1824 *** [GNUTLS-SA-2008-1-1]
1825 *** libgnutls: Fix crash when sending invalid server name.
1826 The crash can be triggered remotely before authentication, which can
1827 lead to a Daniel of Service attack to disable the server.  The bug
1828 cause gnutls to store more session resumption data than what was
1829 allocated for, thus overwriting unallocated memory.
1831 *** [GNUTLS-SA-2008-1-2]
1832 *** libgnutls: Fix crash when sending repeated client hellos.
1833 The crash can be triggered remotely before authentication, which can
1834 lead to a Daniel of Service attack to disable the server.  The bug
1835 triggers a null-pointer dereference.
1837 *** [GNUTLS-SA-2008-1-3]
1838 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
1839 The crash can be triggered remotely before authentication, which can
1840 lead to a Daniel of Service attack to disable the server.  The bug
1841 cause gnutls to read memory beyond the end of the received record.
1843 ** libgnutlsxx: Updated API according to patches from Eduardo 
1844 Villanueva Che (discussion at
1845 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
1847 ** Use umask to restrict permissions to owner before creating a file.
1849 ** API and ABI modifications:
1850 No changes since last version.
1852 * Version 2.3.9 (released 2008-05-16)
1854 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
1855 Based on report and tiny patches from
1856 <jared.jennings.ctr@eglin.af.mil>, see
1857 <https://savannah.gnu.org/support/index.php?106342>.
1859 ** libgnutls: Translation fixes.
1861 ** gnutls-cli: Fix so that PSK authentication works.
1862 Also improve manual to give example for gnutls-cli PSK authentication.
1864 ** certtool: Encrypting a private key now require a confirmed password.
1865 Before './certtool -k -8' would merely ask for a password once.
1866 Reported by Daniel 'NebuchadnezzaR' Dehennin
1867 <nebuchadnezzar@asgardr.info> see
1868 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
1870 ** certtool: When writing private keys to files, change permissions of file.
1871 Now the file which the private key is saved to is chmod'ed 0600.
1872 Reported by martin f krafft <madduck@debian.org> see
1873 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
1875 ** guile: Fix -fgnu89-inline test.
1877 ** Removed --enable-profile-mode.
1878 The code linked gnutls with the libfc project (Function Check) which
1879 appears to have been stalled since around 2002.
1881 ** Clean up header file checks by ./configure.
1883 ** Update of gnulib files.
1885 ** API and ABI modifications:
1886 No changes since last version.
1888 * Version 2.3.8 (released 2008-04-29)
1890 ** libgnutls: Increase default handshake packet size limit to 48kb.
1891 The old limit was 16kb and some servers send huge list of trusted CAs,
1892 thus running into the limit.  FYI, applications can further increase
1893 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
1894 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
1895 <marc@mclemente.net> for reporting and providing test servers.
1897 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
1898 Returned when the handshake data size is too large.  Before
1899 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
1900 error situations.
1902 ** libgnutls: Hide definitions in crypto.h.
1903 We have decided that the APIs defined in crypto.h are not stable
1904 enough for v2.4, so don't use any of those functions.
1906 ** gnutls-cli: exit when hostname doesn't match certificate.
1907 Use --insecure to avoid hostname comparison.
1909 ** certtool: --inder and --outder replaced by --inraw and --outraw.
1910 The reason is to align terminology with OpenPGP, which doesn't use
1911 DER.  The old parameters will continue to work for some time.
1913 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
1915 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
1917 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
1918 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
1919 vasprintf symbol from the libgcrypt library which caused problems.
1921 ** Update of gnulib files.
1923 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
1925 ** API and ABI modifications:
1926 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
1928 * Version 2.3.7 (released 2008-04-21)
1930 ** opencdk now properly sets the key usage bits into openpgp keys.
1932 ** gnutls-cli: Fix crash on TLS handshake failures.
1933 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
1934 This is similar to <http://bugs.debian.org/429183>.
1936 ** certtool: with --generate-request and newly generated keys, print the key.
1938 ** Build fixes for MinGW.
1939 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
1940 with -lws2_32 when needed.  Use ASCII only isprint() when printing
1941 X.509 certificate information, to avoid non-ASCII but printable
1942 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
1943 reports.
1945 ** Update internal copy of libtasn1 to version 1.4.
1947 ** API and ABI modifications:
1948 No changes since last version.
1950 * Version 2.3.6 (released 2008-04-17)
1952 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
1953 ** Improve documentation for gnutls_x509_crq_sign2.
1954 Based on report from "John Brooks" <aspecialj@gmail.com> in
1955 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
1957 ** tests/pathlen: run diff without parameters to improve portability.
1958 Based on HPUX build hints in
1959 <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>.
1961 ** Don't use %e specifier with strftime, it doesn't work under Windows.
1962 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1963 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
1965 ** Remove all uses of gnutls_alloca/gnutls_afree.
1966 Use normal gnutls_malloc instead.  One reason is increased portability
1967 to Windows, the other is that several of the uses may be unsafe
1968 because the size of data allocated could be large.  Reported by
1969 Massimo Gaspari <massimo.gaspari@alice.it> in
1970 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
1972 ** Build Guile code with -fgnu89-inline only when supported.
1973 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
1974 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
1976 ** Several GTK-DOC related fixes.
1978 ** Clean up OpenCDK related code.
1979 GnuTLS now requires its internal OpenCDK code rather than the external
1980 GPL library OpenCDK.  Unfortunately, we don't have resources to
1981 maintain an external library (help welcome).
1983 ** API and ABI modifications:
1984 No changes since last version.
1986 * Version 2.3.5 (released 2008-04-14)
1988 ** Build fix for MinGW and --disable-shared.
1989 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1990 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
1992 ** Document how to generate CRLs.
1993 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
1995 ** Documented the --priority option to gnutls-cli and gnutls-serv.
1997 ** Several minor fixes in the OpenPGP interface.
1998 Thanks to Daniel Kahn Gillmor.
2000 ** Fix fopen file descriptor leak in PSK server code.
2001 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2002 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2004 ** Translations files not stored directly in git to avoid merge conflicts.
2006 ** New APIs to let applications replace the RNG used.
2007 Update all RNG callers in the code to use the new interface.
2009 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2011 ** Update gnulib files.
2013 ** API and ABI modifications:
2014 gnutls_crypto_rnd_register: ADDED
2015 gnutls_rnd_level_t: ADDED
2016 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2017 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2018 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2019 gnutls_crypto_rnd_st: ADDED
2020 GNUTLS_DIG_SHA224: ADDED
2021 GNUTLS_SIGN_RSA_SHA224: ADDED
2022 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2024 * Version 2.3.4 (released 2008-03-19)
2026 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2027 They weren't renamed in the public header file.
2029 ** Added functions to register a cipher/mac/digest. This allows to 
2030 override the included ones.
2032 ** Fix a bunch of compiler warnings.
2034 ** API and ABI modifications:
2035 gnutls_crypto_cipher_st: ADDED
2036 gnutls_crypto_mac_st: ADDED
2037 gnutls_crypto_digest_st: ADDED
2038 gnutls_crypto_cipher_register: ADDED
2039 gnutls_crypto_mac_register: ADDED
2040 gnutls_crypto_digest_register: ADDED
2041 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2043 * Version 2.3.3 (released 2008-03-10)
2045 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2046 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2048 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2049 We could not find any modern justification for enabling these flags by
2050 default.  If you know of some platform that needs one of the flags to
2051 work properly, please let us know.  (Actually introduced in v2.3.0 but
2052 not documented until now.)
2054 ** Importing many CA certificates are now considerably faster.
2055 This affect gnutls_certificate_set_x509_trust_mem,
2056 gnutls_certificate_set_x509_trust, and
2057 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2058 from O(2*n^2) to O(n).  When adding 206 files containing 408
2059 certificates, using gnutls_certificate_set_x509_trust_file, the time
2060 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2061 to trigger the problem.  See also
2062 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2064 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2065 ** to be explicit that it takes zero terminated data.
2067 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2069 ** Documentation fixes for the GTK-DOC manual.
2071 ** Fix compilation error related to __FUNCTION__ on some systems.
2072 Reported by Tim Mooney, see
2073 <https://savannah.gnu.org/support/?106267>.
2075 ** Updated translations.
2077 ** Update gnulib files.
2079 ** API and ABI modifications:
2080 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2081                 and char* instead of void* for output buffer.
2083 * Version 2.3.2 (released 2008-02-26)
2085 ** Fix srcdir!=objdir failure in openpgpself test.
2087 ** Improved API documentation output from GTK-DOC.
2089 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2091 ** Renamed gnutls_certificate_export_x509_cas and friends.
2092 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2094 ** Internal header files cleanup.
2096 ** API and ABI modifications:
2097 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2098 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2099 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2100 gnutls_x509_dn_export: ADDED
2102 * Version 2.3.1 (released 2008-02-21)
2104 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2105 The included copy of OpenCDK has been stripped down and re-licensed
2106 under the LGPL.
2108 ** Cipher priority string handling now handle strings that starts with NULL.
2109 Thanks to Laurence Withers <l@lwithers.me.uk>.
2111 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2113 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2114 by Daniel Stenberg.
2116 ** Increased the default certificate verification chain limits and allowed
2117 for checks without limitation.
2119 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2120 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2121 strings and return the proper size.
2123 ** Add section 'On Record Padding' to the manual.
2124 This collects all problems related to record padding with
2125 Nokia/Sony-Ericsson phones that we know about.
2127 ** Several improvements in the OpenPGP authentication.
2128 Now subkeys can be used for authentication, according to
2129 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2131 ** certtool can print information on OpenPGP certificates and keys.
2133 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2134 Patch by Joe Orton.
2136 ** Added gnutls_certificate_export_x509_cas and other functions to
2137 export elements from the certificate credentials structure.  Based on
2138 suggestion from Joe Orton.
2140 ** Doc fixes.
2141 Clarify that srp_base64 is not the same as normal base64.
2143 ** Fix non-portable use of brace expansion in makefiles.
2145 ** API and ABI modifications:
2146 gnutls_certificate_export_x509_cas: ADDED
2147 gnutls_certificate_export_x509_crls: ADDED
2148 gnutls_certificate_export_openpgp_keyring: ADDED
2149 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2150 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2151 gnutls_openpgp_crt_get_revoked_status: ADDED
2152 gnutls_openpgp_crt_get_subkey_count: ADDED
2153 gnutls_openpgp_crt_get_subkey_idx: ADDED
2154 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2155 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2156 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2157 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2158 gnutls_openpgp_crt_get_subkey_id: ADDED
2159 gnutls_openpgp_crt_get_subkey_usage: ADDED
2160 gnutls_openpgp_privkey_get_fingerprint: ADDED
2161 gnutls_openpgp_privkey_get_key_id: ADDED
2162 gnutls_openpgp_privkey_get_subkey_count: ADDED
2163 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2164 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2165 gnutls_openpgp_privkey_get_revoked_status: ADDED
2166 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2167 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2168 gnutls_openpgp_privkey_get_subkey_id: ADDED
2169 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2170 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2171 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2172 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2173 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2174 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2175 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2176 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2177 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2178 gnutls_openpgp_privkey_export: ADDED
2179 gnutls_certificate_set_openpgp_key_file2: ADDED
2180 gnutls_certificate_set_openpgp_key_mem2: ADDED
2181 gnutls_x509_dn_init: ADDED
2182 gnutls_x509_dn_import: ADDED
2183 gnutls_x509_dn_deinit: ADDED
2184 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2185 gnutls_hex2bin: ADDED
2186 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2187 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2188 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2189                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2191 * Version 2.3.0 (released 2008-01-08)
2193 ** LZO compression is now disabled by default.
2194 The reason is that LZO compression is not standardized in TLS.  If you
2195 wish to experiment with it, you will have to supply --with-lzo when
2196 invoking ./configure.  The internal copy of minilzo is no longer
2197 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2198 your system to have --with-lzo to be effective.
2200 ** More than one server name field is now sent to the server properly.
2201 Thanks to mark.phillips@virgin.net.
2203 ** Fixes the post_client_hello_function(). The extensions are now parsed
2204 in a callback friendly way.
2206 ** Fix for certificate selection in servers with certificate callbacks.
2208 ** Updated translations.
2210 ** Update gnulib files.
2212 ** API and ABI modifications:
2213 No changes since last version.
2215 * Version 2.2.5 (released 2008-05-19)
2217 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2218 The flaw would result in incorrectly terminated sessions with the
2219 error "Decryption has failed" when the server sends a small packet
2220 (typically when the session is closed).  Reported by Andreas Metzler
2221 <ametzler@downhill.at.eu.org> in
2222 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2224 ** API and ABI modifications:
2225 No changes since last version.
2227 * Version 2.2.4 (released 2008-05-19)
2229 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2230 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2231 which allowed the bugs to be reproduced and fixed easily.  Patches
2232 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2233 with more details about these vulnerabilities will be added to
2234 <http://www.gnu.org/software/gnutls/security.html>
2236 *** [GNUTLS-SA-2008-1-1]
2237 *** libgnutls: Fix crash when sending invalid server name.
2238 The crash can be triggered remotely before authentication, which can
2239 lead to a Daniel of Service attack to disable the server.  The bug
2240 cause gnutls to store more session resumption data than what was
2241 allocated for, thus overwriting unallocated memory.
2243 *** [GNUTLS-SA-2008-1-2]
2244 *** libgnutls: Fix crash when sending repeated client hellos.
2245 The crash can be triggered remotely before authentication, which can
2246 lead to a Daniel of Service attack to disable the server.  The bug
2247 triggers a null-pointer dereference.
2249 *** [GNUTLS-SA-2008-1-3]
2250 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2251 The crash can be triggered remotely before authentication, which can
2252 lead to a Daniel of Service attack to disable the server.  The bug
2253 cause gnutls to read memory beyond the end of the received record.
2255 ** API and ABI modifications:
2256 No changes since last version.
2258 * Version 2.2.3 (released 2008-05-06)
2260 ** Increase default handshake packet size limit to 48kb.
2261 The old limit was 16kb and some servers send huge list of trusted CAs,
2262 thus running into the limit.  FYI, applications can further increase
2263 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2264 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2265 <marc@mclemente.net> for reporting and providing test servers.
2267 ** Fix compilation error related to __FUNCTION__ on some systems.
2268 Reported by Tim Mooney, see
2269 <https://savannah.gnu.org/support/?106267>.
2271 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2273 ** Fix fopen file descriptor leak in PSK server code.
2274 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2275 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2277 ** Build Guile code with -fgnu89-inline only when supported.
2278 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2279 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2281 ** Make Camellia encryption work.
2282 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2283 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2285 ** API and ABI modifications:
2286 No changes since last version.
2288 * Version 2.2.2 (released 2008-02-21)
2290 ** Cipher priority string handling now handle strings that starts with NULL.
2291 Thanks to Laurence Withers <l@lwithers.me.uk>.
2293 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2294 by Daniel Stenberg.
2296 ** Increased the default certificate verification chain limits and allowed
2297 for checks without limitation.
2299 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2300 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2301 strings and return the proper size.
2303 ** API and ABI modifications:
2304 No changes since last version.
2306 * Version 2.2.1 (released 2008-01-17)
2308 ** Prevent linking libextra against previously installed libgnutls.
2309 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2310 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2312 ** Fixes the post_client_hello_function(). The extensions are now parsed
2313 in a callback friendly way.
2315 ** Fix for certificate selection in servers with certificate callbacks.
2317 ** API and ABI modifications:
2318 No changes since last version.
2320 * Version 2.2.0 (released 2007-12-14)
2322 ** Update internal copy of libtasn1 to version 1.2.
2324 ** Certtool --verify-chain now handle inputs larger than 64kb.
2325 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2326 recent versions of libgcrypt.  The problem was that Wine with the
2327 libgcrypt RNG generates huge amounts of debugging output.
2329 ** Translation updates.
2330 Added Dutch translation.  Updated Polish and Swedish translation.
2332 ** Major changes compared to the v2.0 branch:
2334 *** SRP support aligned with newly published RFC 5054.
2336 *** OpenPGP support aligned with newly published RFC 5081.
2338 *** Support for DSA2 keys.
2340 *** Support for Camellia cipher.
2342 *** Support for Opaque PRF Input extension.
2344 *** PKCS#8 parser now handle DSA keys.
2346 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2347 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2348 versions, such as 2.01 which is included with GnuTLS, is available
2349 under GPLv2 or later.  If this incompatibility causes problems, we
2350 recommend you to disable LZO using --without-lzo.  LZO compression is
2351 not a standard TLS compression algorithm, so the impact should be
2352 minimal.
2354 *** Functions for disabling record protocol padding.
2355 Works around bugs on Nokia/Ericsson phones.
2357 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2358 Priorities like "COMPAT" also enables other work arounds, such as
2359 disabling padding.
2361 *** Other minor improvements and bug fixes.
2363 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2364 To adapt to changes in the TLS extension specifications for OpenPGP
2365 and SRP, the GnuTLS API had to be modified.  This means breaking the
2366 API and ABI backwards compatibility.  That is something we try to
2367 avoid unless it is necessary.  We decided to also remove the already
2368 deprecated stub functions for X.509 to XML conversion and TLS
2369 authorization (see below) when we had the opportunity.
2371 Generally, most applications does not need to be modified.  Just
2372 re-compile them against the latest GnuTLS release, and it should work
2373 fine.
2375 Applications that use the OpenPGP or SRP features needs to be
2376 modified.  Below is a list of the modified APIs and discussion of what
2377 the minimal things you need to modify in your application to make it
2378 work with GnuTLS 2.2.
2380 Note that GnuTLS 2.2 also introduces new APIs -- such as
2381 gnutls_set_priority() that is superior to
2382 gnutls_set_default_priority() -- that you may want to start using.
2383 However, using those new APIs is not required to use GnuTLS 2.2 since
2384 the old functions continue are still supported.  This text only
2385 discuss what you minimally have to modify.
2387 *** XML related changes
2388 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2389 deprecated and only returned an error code since GnuTLS version
2390 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2391 functionality.  We don't know of any other library to convert X.509
2392 certificates into XML format, but we decided (long ago) that GnuTLS
2393 isn't the right place for this kind of functionality.  If you want
2394 help to find some other library to use here, please explain and
2395 discuss your use case on help-gnutls@gnu.org.
2397 *** TLS Authorization related changes
2398 Everything related to TLS authorizations have been removed, they were
2399 only stub functions that returned an error code:
2401  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2402  gnutls_authz_data_format_type_t
2403  gnutls_authz_recv_callback_func
2404  gnutls_authz_send_callback_func
2405  gnutls_authz_enable
2406  gnutls_authz_send_x509_attr_cert
2407  gnutls_authz_send_saml_assertion
2408  gnutls_authz_send_x509_attr_cert_url
2409  gnutls_authz_send_saml_assertion_url
2411 *** SRP related changes
2412 The callback gnutls_srp_client_credentials_function has a new
2413 prototype, and its semantic has changed.  You need to rewrite the
2414 callback, see the updated function documentation and SRP example code
2415 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2416 information.
2418 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2419 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2420 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2421 used.  There are #define's to map the old names to the new.  You may
2422 run into problems if you have a switch-case with cases for both SRP
2423 alerts, since they are now mapped to the same value.  The solution is
2424 to drop the SRP alerts from such switch cases, as they are now
2425 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2427 *** OpenPGP related changes
2428 The function `gnutls_certificate_set_openpgp_keyserver' have been
2429 removed.  There is no replacement functionality inside GnuTLS.  If you
2430 need keyserver functionality, consider using the GnuPG tools.
2432 All functions, types, and error codes related to OpenPGP trustdb
2433 format have been removed.  The trustdb format is a non-standard
2434 GnuPG-specific format, and we recommend you to use key rings instead.
2435 The following have been removed:
2437  gnutls_certificate_set_openpgp_trustdb
2438  gnutls_openpgp_trustdb_init
2439  gnutls_openpgp_trustdb_deinit
2440  gnutls_openpgp_trustdb_import
2441  gnutls_openpgp_key_verify_trustdb
2442  gnutls_openpgp_trustdb_t
2443  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2445 The following functions has an added parameter of the (new) type
2446 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2447 (binary or base64).  The functions are:
2448  gnutls_certificate_set_openpgp_key_file
2449  gnutls_certificate_set_openpgp_key_mem
2450  gnutls_certificate_set_openpgp_keyring_mem
2451  gnutls_certificate_set_openpgp_keyring_file
2453 To improve terminology and align with the X.509 interface, some
2454 functions have been renamed.  Compatibility mappings exists.  The old
2455 and new names of the affected functions and types are:
2457         Old name                                New name
2458  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2459  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2460  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2461  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2462  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2463  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2464  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2465  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2466  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2467  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2468  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2469  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2470  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2471  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2472  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2473  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2474  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2475  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2476  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2478 ** API and ABI modifications:
2479 No changes since last version.
2481 * Version 2.1.8 (released 2007-12-10)
2483 ** The GPL version has been changed from version 2 to version 3.
2484 This affects the self-tests, command-line tools, the libgnutls-extra
2485 library, the relevant guile parts, and the build environment.
2487 ** Added gnutls_x509_crt_get_subject_alt_name2().
2489 ** Corrected a segfault when setting an empty gnutls_priority_t
2490 at gnutls_priority_set().
2492 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2493 Fixes a problem with spurious -L/usr/lib additions.
2495 ** API and ABI modifications:
2496 gnutls_x509_crt_get_subject_alt_name2: ADD.
2498 * Version 2.1.7 (released 2007-11-29)
2500 ** PKCS #8 parser can now encode/decode DSA keys.
2502 ** Updated gnutls_set_default_priority2() now renamed to
2503 gnutls_priority_set() and gnutls_priority_set_direct() which
2504 accept a string to indicate preferences of ciphersuite parameters.
2506 ** gnutls-cli and gnutls-serv now have a --priority option to set
2507 the priority string.
2509 ** The gnutls_*_convert_priority() functions were deprecated by
2510 the gnutls_priority_set() and gnutls_priority_set_direct().
2512 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2514 ** API and ABI modifications:
2515 gnutls_priority_init: ADD.
2516 gnutls_priority_deinit: ADD.
2517 gnutls_priority_set: ADD.
2518 gnutls_priority_set_direct: ADD.
2519 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2520 gnutls_mac_convert_priority: REMOVED
2521 gnutls_compression_convert_priority: REMOVED
2522 gnutls_protocol_convert_priority: REMOVED
2523 gnutls_kx_convert_priority: REMOVED
2524 gnutls_cipher_convert_priority: REMOVED
2525 gnutls_certificate_type_convert_priority: REMOVED
2526 gnutls_set_default_priority: UNDEPRECATED
2527 gnutls_set_default_priority_export: UNDEPRECATED
2529 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2530 GNUTLS_CIPHER_UNKNOWN: ADD.
2531 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2532 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2533 GNUTLS_KX_UNKNOWN: ADD.
2534 GNUTLS_COMP_UNKNOWN: ADD.
2535 GNUTLS_CRT_UNKNOWN: ADD.
2536 gnutls_mac_get_id: ADD.
2537 gnutls_compression_get_id: ADD.
2538 gnutls_cipher_get_id: ADD.
2539 gnutls_kx_get_id: ADD.
2540 gnutls_protocol_get_id: ADD.
2541 gnutls_certificate_type_get_id: ADD.
2542 gnutls_handshake_post_client_hello_func: ADD.
2543 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2545 * Version 2.1.6 (released 2007-11-15)
2547 ** Corrected bug in decompression of expanded compression data.
2549 ** Added the --to-p8 option to certtool to convert private keys
2550 to PKCS #8 keys.
2552 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2554 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2555 private keys.
2557 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2558 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2559 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2560 documented.  This caused some problems (e.g., debian #450854).  To
2561 avoid backwards compatibility problems, this release revert this
2562 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2563 done in GnuTLS 2.0.x and earlier, and add a new error code
2564 GNUTLS_E_UNKNOWN_ALGORITHM.
2566 ** Fixes several gtk-doc warnings.
2568 ** API and ABI modifications:
2569 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2570 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2571 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2573 * Version 2.1.5 (released 2007-11-01)
2575 ** Fix PKCS#3 parameter export problem.
2577 ** Improve certtool queries, they now print the default value.
2579 ** Fix ABI version.
2581 ** Update gnulib files.
2583 ** API and ABI modifications:
2584 No changes since last version.
2586 * Version 2.1.4 (released 2007-10-27)
2588 ** Added the --v1 option to certtool, to allow generating X.509
2589 version 1 certificates. 
2591 ** certtool: Add option --disable-quick-random to enable the old behaviour
2592 of using /dev/random to generate keys.
2594 ** Added priority functions that accept strings.
2596 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
2597 priorities preferences.
2599 ** Added gnutls_record_disable_padding() to allow servers talking to 
2600 buggy clients that complain if the TLS 1.0 record protocol padding is
2601 used.
2603 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2604 all supported compatibility options (like disabling padding).
2606 ** The gnutls_certificate_set_openpgp_* functions were modified to include
2607 the format. This makes the interface consistent with the x509 functions.
2609 ** Internal copy of OpenCDK upgraded to version 0.6.5.
2611 ** Update gnulib files.
2613 ** API and ABI modifications:
2614 gnutls_certificate_set_openpgp_key_mem: MODIFIED
2615 gnutls_certificate_set_openpgp_key_file: MODIFIED
2616 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
2617 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
2618 gnutls_set_default_priority: DEPRECATED
2619 gnutls_set_default_priority_export: DEPRECATED
2620 gnutls_set_default_priority2: ADDED
2621 gnutls_session_enable_compatibility_mode: ADDED
2622 gnutls_record_disable_padding: ADDED
2623 gnutls_mac_convert_priority: ADDED
2624 gnutls_compression_convert_priority: ADDED
2625 gnutls_protocol_convert_priority: ADDED
2626 gnutls_kx_convert_priority: ADDED
2627 gnutls_cipher_convert_priority: ADDED
2628 gnutls_certificate_type_convert_priority: ADDED
2629 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
2630 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
2631 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
2632 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
2633 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
2634 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
2635 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
2636 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
2637 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
2638 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
2639 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
2640 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
2641 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
2642 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
2643 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
2644 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
2645 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
2646 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
2648 * Version 2.1.3 (released 2007-10-17)
2650 ** TLS authorization support removed.
2651 This technique may be patented in the future, and it is not of crucial
2652 importance for the Internet community.  After deliberation we have
2653 concluded that the best thing we can do in this situation is to
2654 encourage society not to adopt this technique.  We have decided to
2655 lead the way with our own actions.
2657 ** Re-enabled the 256 bit ciphers in the default priorities.
2659 ** Corrected bugs in openpgp key verification using a keyring (both in
2660 gnutls and opencdk)
2662 ** API and ABI modifications:
2663 gnutls_certificate_set_openpgp_keyserver: REMOVED
2664 gnutls_authz_data_format_type_t,
2665 gnutls_authz_recv_callback_func,
2666 gnutls_authz_send_callback_func,
2667 gnutls_authz_enable,
2668 gnutls_authz_send_x509_attr_cert,
2669 gnutls_authz_send_saml_assertion,
2670 gnutls_authz_send_x509_attr_cert_url,
2671 gnutls_authz_send_saml_assertion_url: REMOVED.
2672 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2673     gnutls_supplemental_data_format_type_t enum type becomes empty.
2675 * Version 2.1.2 (released 2007-10-14)
2677 ** Removed all the trustdb code from openpgp authentication.
2678 We now use only the well-specified keyrings.
2680 ** The 256 bit ciphers are not enabled in the default priorities.
2682 ** Added support for DSA2 using libgcrypt 1.3.0.
2684 ** certtool: Fixed data corruption when using --outder.
2686 ** Removed all the xml related stubs and functions.
2688 ** Added capability to set a callback after the client hello is received
2689 by the server in order to adjust parameters before the handshake.
2691 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
2693 ** Corrected bug which did not allow a server to run without supporting
2694 certificates.
2696 ** Updated the DN parser which now prints wrongly decoded values as hex
2697 strings.
2699 ** certtool: Add option --quick-random.
2700 For generating low security test credentials.
2702 ** API and ABI modifications:
2703 gnutls_x509_crt_to_xml: REMOVED
2704 gnutls_openpgp_key_to_xml: REMOVED
2705 gnutls_openpgp_key_verify_trustdb: REMOVED
2706 gnutls_openpgp_trustdb_init: REMOVED
2707 gnutls_openpgp_trustdb_deinit: REMOVED
2708 gnutls_openpgp_trustdb_import: REMOVED
2709 gnutls_certificate_set_openpgp_trustdb: REMOVED
2710 gnutls_srp_client_credentials_function: CHANGED
2711 gnutls_handshake_set_post_client_hello_function: ADDED
2712 gnutls_mac_get_key_size: ADDED
2713 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
2714 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
2715 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
2717 * Version 2.1.1 (released 2007-09-24)
2719 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
2720 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
2721 compiled with Camellia support.  See the libgcrypt documentation on
2722 how to enable it.  Unconditionally disable it using the configure
2723 option --disable-camellia.  Fixes #1.
2725 ** Properly document in the NEWS file the API change in the last release.
2727 ** API and ABI modifications:
2728 No changes since last version.
2730 * Version 2.1.0 (released 2007-09-20)
2732 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
2733 The support is disabled by default.  Since no value has been allocated
2734 by the IANA for this extension yet, you will need to provide one
2735 yourself by invoking './configure --enable-opaque-prf-input=42'.
2736 Fixes #2.
2738 ** Example code: Fix compilation flaw under MinGW.
2740 ** API and ABI modifications:
2741 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
2742 gnutls_oprfi_enable_client: ADD, new function.
2743 gnutls_oprfi_enable_server: ADD, new function.
2745 * Version 2.0.4 (released 2007-11-16)
2747 ** Corrected bug in decompression of expanded compression data.           
2749 ** API and ABI modifications:
2750 No changes since last version.
2752 * Version 2.0.3 (released 2007-11-10)
2754 ** This version backports several fixes from the 2.1.x branch.
2756 ** Fixed PKCS #3 parameter export.
2758 ** Added gnutls_record_disable_padding() to allow servers talking to
2759 buggy clients that complain if the TLS 1.0 record protocol padding is
2760 used.
2762 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2763 all supported compatibility options (like disabling padding).
2765 ** Corrected bug which did not allow a server to run without supporting
2766 certificates.
2768 ** API and ABI modifications:
2769 gnutls_session_enable_compatibility_mode: ADDED
2770 gnutls_record_disable_padding: ADDED
2772 * Version 2.0.2 (released 2007-10-17)
2774 ** TLS authorization support removed.
2775 This technique may be patented in the future, and it is not of crucial
2776 importance for the Internet community.  After deliberation we have
2777 concluded that the best thing we can do in this situation is to
2778 encourage society not to adopt this technique.  We have decided to
2779 lead the way with our own actions.
2781 ** certtool: Fixed data corruption when using --outder.
2783 ** Fix configure-time Guile detection.
2785 ** API and ABI modifications:
2786 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2787     gnutls_supplemental_data_format_type_t enum type becomes empty.
2789 * Version 2.0.1 (released 2007-09-20)
2791 ** New directory doc/credentials/ with test credentials.
2792 This collects the test credentials from the web page and from src/.
2793 The script gnutls-http-serv has also been moved to that directory.
2795 ** Update SRP extension type and cipher suite with official IANA values.
2796 This breaks backwards compatibility with SRP in older versions of
2797 GnuTLS, but this is intentional to speed up the adoption of the
2798 official values.  The old values we used were incorrect.
2800 ** Guile: Fix `x509-certificate-dn-oid'
2802 ** API and ABI modifications:
2803 No changes since last version.
2805 * Version 2.0.0 (released 2007-09-04)
2807 ** Included copy of Libtasn1 upgraded to version 1.1.
2809 ** Disable building of some examples if anonymous ciphers are disabled.
2811 ** Don't build examples for disabled features.
2813 ** API and ABI modifications:
2814 No changes since last version.
2816 * Version 1.7.19 (released 2007-08-27)
2818 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
2819 This solves connection problems in mutt, see
2820 <http://bugs.debian.org/439640>.
2822 ** Update gnulib files.
2823 In particular, the getpass module -- with its dependencies on getline,
2824 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
2825 library) directory to the gl/ directory (only used by the command line
2826 tools).  The reason is that getpass is now only used by the
2827 command-line tools, and reducing the number of gnulib modules linked
2828 to the core library helps portability and reduces size.
2830 ** Fix warnings.
2832 ** Disable building of PGP examples if PGP is disabled.
2834 ** Included copy of OpenCDK upgraded to version 0.6.4.
2836 ** API and ABI modifications:
2837 No changes since last version.
2839 * Version 1.7.18 (released 2007-08-16)
2841 ** Install images for the info manual.
2842 This has a side effect of renaming the images.  See
2843 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
2844 discussions on the approach chosen.
2846 ** Fix pointer mix to variables of different size.
2847 Patch extracted from
2848 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
2850 ** Fix warnings during build.
2851 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
2853 ** API and ABI modifications:
2854 No changes since last version.
2856 * Version 1.7.17 (released 2007-08-15)
2858 ** New functions to perform external signing.
2859 Set the signing callback function (of the gnutls_sign_func prototype)
2860 using the gnutls_sign_callback_set function.  In the callback, you may
2861 find the new functions gnutls_x509_privkey_sign_hash and
2862 gnutls_openpgp_privkey_sign_hash useful.  A new function
2863 gnutls_sign_callback_get is also added, to retrieve the function
2864 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
2865 comments and testing.
2867 ** New self test of client and server authenticated X.509 TLS sessions.
2868 See tests/x509self.c and tests/x509signself.c.  The latter also tests
2869 the new external signing callback interface.
2871 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
2872 These two actually describe the outer limits of a range of error codes
2873 reserved to the application.  All of the errors are treated as fatal
2874 by the library (it has to since it doesn't know the semantics of the
2875 error codes).  This can be useful in callbacks, to signal some
2876 application-specific error condition, which will usually eventually
2877 cause some gnutls API to return the same error code as the callback,
2878 which then can be inspected by the application.  Note that error codes
2879 are negative.
2881 ** gnutls_set_default_priority now disable TLS 1.2 by default.
2882 The RFC is not released yet, and we're approaching a major release so
2883 let's not enable it just yet.
2885 ** Fix namespace so that gnutls_*_t is used consistently.
2886 Before, many places in the GnuTLS code used the old deprecated type
2887 names without the '_t' suffix.
2889 ** Build fixes for Guile code.
2890 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
2892 ** More documentation fixes.
2893 In particular, the section headings were modified for casing.  By
2894 Ludovic Courtes <ludovic.courtes@laas.fr>.
2896 ** Updated Polish and Swedish translations.
2897 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
2898 <po@danielnylander.se>.
2900 ** API and ABI modifications:
2901 gnutls_sign_func: ADD, new type for sign callback.
2902 gnutls_sign_callback_set: ADD, new function to set sign callback.
2903 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
2904 gnutls_x509_privkey_sign_hash,
2905 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
2906 GNUTLS_E_APPLICATION_ERROR_MIN,
2907 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
2909 * Version 1.7.16 (released 2007-08-07)
2911 ** Fix sanity checks and return values in certificate selection.
2912 In some cases, GnuTLS omitted to report suitable error codes when no
2913 suitable certificate was found.
2915 ** Fix gnutls-cli starttls EOF on Mac OS X.
2916 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
2918 ** Documentation fixes.
2919 In particular, the section headings were modified for casing.  By
2920 Ludovic Courtes <ludovic.courtes@laas.fr>.
2922 ** Update gnulib files.
2924 ** API and ABI modifications:
2925 No changes since last version.
2927 * Version 1.7.15 (released 2007-07-02)
2929 ** Fix self-tests key-id under mingw32.
2931 ** Test that the Guile header files are recent enough to work.
2932 Before we just tested that the command line tool 'guile' was recent
2933 enough, which may not be sufficient if you still have an old
2934 libguile.h header installed.
2936 ** Guile bindings are now installed under $prefix by default.
2937 Use --without-guile-site-dir to install it under $pkgdatadir/site/
2938 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
2939 Use --with-guile-site-dir=/your/own/path to specify the path manually.
2940 The default, --with-guile-site-dir, will install the Guile bindings
2941 under $datadir/guile/site.  There is a new section 'Guile
2942 Preparations' in the manual that discuss these issues.
2944 ** Fix run-time library path ordering in linking the Guile bindings.
2946 ** Improved manual on downloading, installing, getting help, bug reports etc.
2947 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
2949 ** Add Malay message translations.
2950 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
2952 ** API and ABI modifications:
2953 No changes since last version.
2955 * Version 1.7.14 (released 2007-06-26)
2957 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
2958 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
2960 ** Fix memory leak during DSA signature verification.
2961 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
2963 ** Fix crash in gnutls-cli when TLS handshake fails.
2964 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
2965 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
2966 <http://bugs.debian.org/429183>.
2968 ** Minor OpenPGP fixes in stream_to_datum.
2969 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
2970 <ludovic.courtes@laas.fr>.
2972 ** Fix off-by-one in TLS 1.2 handshake.
2973 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
2975 ** Minor Guile binding self-test cleanup.
2976 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
2978 ** Update gnulib files.
2980 ** API and ABI modifications:
2981 No changes since last version.
2983 * Version 1.7.13 (released 2007-06-11)
2985 ** OpenCDK copy updated to version 0.6.3.
2987 ** Build fixes for GnuTLS Guile bindings.
2988 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
2990 ** Build fix for GTK-DOC manual.
2992 ** Update gnulib files.
2994 ** API and ABI modifications:
2995 No changes since last version.
2997 * Version 1.7.12 (released 2007-06-08)
2999 ** Guile bindings for GnuTLS have been included.
3000 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3001 new chapter 'Guile Bindings' in the manual.
3003 ** Have PKCS8 parser return better error codes.
3004 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3005 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3006 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3008 ** Fix mem leak for sessions with client authentication via certificates.
3009 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3010 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3012 ** Fix mem leaks.
3013 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3014 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3015 self-test tests/parse_ca.c to test regressions.
3017 ** Fix build failures related to missing images in manual.
3018 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3020 ** Update gnulib files.
3022 ** API and ABI modifications:
3023 No changes since last version.
3025 * Version 1.7.11 (released 2007-05-26)
3027 ** Include opencdk.h in the release.
3028 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3030 ** API and ABI modifications:
3031 No changes since last version.
3033 * Version 1.7.10 (released 2007-05-25)
3035 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3036 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3038 ** Update of gnulib files.
3040 ** GnuTLS is now developed in GIT instead of CVS.
3041 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3043 ** API and ABI modifications:
3044 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3045 gnutls_x509_crt_get_raw_dn: ADD.
3047 * Version 1.7.9 (released 2007-05-12)
3049 ** X.509 certificates are preferred over OpenPGP keys.
3050 This is a change in the semantics of gnutls_set_default_priority.
3052 ** The included copy of OpenCDK has been updated to 0.6.1.
3053 There has been some API changes in OpenCDK, and the GnuTLS layer have
3054 been modified as well.  Note that while there are API/ABI incompatible
3055 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3056 its API/ABI have not changed.  From this version on, GnuTLS requires
3057 OpenCDK 0.6.0 or later.
3059 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3061 ** Change certtool's default serial number from 0 to a time-based value.
3063 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3064 Before, we remove the parameters field, which resulted in a slightly
3065 different DER encoding which in turn caused signature verification
3066 failures of GnuTLS-generated RSA certificates in some other
3067 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3068 you read, this may or may not be correct, but our new behaviour appear
3069 to be consistent with other widely used implementations.
3071 ** Fix mem leaks in gnutls_x509_crt_print.
3073 ** API and ABI modifications:
3074 No changes since last version.
3076 * Version 1.7.8 (released 2007-04-16)
3078 ** Added examples for the authorization extension.
3079 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3081 ** The examples only use gnutls_set_default_priority().
3082 The exception is when DH_ANON is needed.
3084 ** Improve gnutls_set_default_priority() priorities.
3085 The new approach is for it to try and negotiate all secure and
3086 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3087 LZO compressions are not enabled by default, because they are,
3088 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3089 not be enabled by default in non-experimental release until it has
3090 been approved by the IETF.
3092 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3093 This means that to get DH_ANON and LZO compression, you'll need to
3094 specify that manually using '--kx anon' or '--comp lzo'.
3096 ** Minor fixes to the human display format of X.509 certificates.
3098 ** New APIs to extract Distinguished Name's from X.509 certificates.
3099 Based on patch from Howard Chu <hyc@symas.com>.
3101 ** Improved library searching for opencdk.
3102 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3103 The deprecated opencdk.m4 is no longer used.
3105 ** New APIs to list supported algorithms in the library.
3106 The APIs are gnutls_cipher_list, gnutls_mac_list,
3107 gnutls_compression_list, gnutls_protocol_list,
3108 gnutls_certificate_type_list, gnutls_kx_list, and
3109 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3111 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3113 ** New configure option --disable-tls-authorization to disable tls-authz.
3115 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3116 The last parameter was renamed from 'flags' to 'format' and the type
3117 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3118 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3119 (Ludovic Courtès).
3121 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3122 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3124 ** API and ABI modifications:
3125 gnutls_x509_dn_t: ADD.
3126 gnutls_x509_ava_st: ADD.
3127 gnutls_x509_crt_get_subject,
3128 gnutls_x509_crt_get_issuer: ADD.
3129 gnutls_x509_dn_get_rdn_ava: ADD.
3130 gnutls_cipher_list: ADD.
3131 gnutls_mac_list: ADD.
3132 gnutls_compression_list: ADD.
3133 gnutls_protocol_list: ADD.
3134 gnutls_certificate_type_list: ADD.
3135 gnutls_kx_list: ADD.
3136 gnutls_cipher_suite_info: ADD.
3138 * Version 1.7.7 (released 2007-02-22)
3140 ** Support for supplemental handshake messages and authorization data.
3141 Supplemental data is described in RFC 4680 and the authorization
3142 extensions in draft-housley-tls-authz-extns-07.
3144 ** Support for authorization data in gnutls-cli and gnutls-serv.
3145 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3147 ** Fix for gnutls_x509_crt_check_hostname.
3148 Before it would have reported that the certificate matched a hostname
3149 when it did not have any dNSName or any CN field.  Report and tiny
3150 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3152 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3153 Tests regressions of the bug, and several other features.
3155 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3156 Before there were no support for iPAddress SAN's during comparison.
3158 ** New API to print information about CRL's.
3159 The function is gnutls_x509_crl_print.
3161 ** New API to extract signature value from CRL's.
3162 The function is gnutls_x509_crl_get_signature.
3164 ** Support for directoryName Subject Alternative Name's.
3165 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3166 string in the provided buffer.
3168 ** Internal improvements to certtool.
3169 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3170 more gnulib modules to simplify error handling.
3172 ** API and ABI modifications:
3173 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3174 gnutls_supplemental_data_format_type_t: ADD.
3175 gnutls_authz_data_format_type_t: ADD.
3176 gnutls_supplemental_get_name: ADD.
3177 gnutls_authz_recv_callback_func,
3178 gnutls_authz_send_callback_func: ADD, callback prototypes.
3179 gnutls_authz_enable: ADD.
3180 gnutls_authz_send_x509_attr_cert,
3181 gnutls_authz_send_saml_assertion,
3182 gnutls_authz_send_x509_attr_cert_url,
3183 gnutls_authz_send_saml_assertion_url: ADD.
3184 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3185 gnutls_x509_crl_print: ADD.
3186 gnutls_x509_crl_get_signature: ADD.
3188 * Version 1.7.6 (released 2007-02-12)
3190 ** Support for 'otherName' Subject Alternative Names.
3191 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3192 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3193 To find out the otherName OID (necessary for proper parsing of the
3194 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3195 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3196 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3197 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3199 ** Certtool can print otherName SAN values for certificates.
3200 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3201 RFC 3920), it will also print the name.
3203 ** Fix TLS 1.2 RSA signing in servers.
3204 Before it used the old-style MD5+SHA1 signature, but the TLS
3205 signatures should be normal PKCS#1 signatures.  FYI, we use and
3206 require that DigestInfo parameters are present and NULL for TLS 1.2.
3208 ** Add APIs to access X.509 extensions sequentially.
3209 The existing APIs gnutls_x509_crt_get_extension_oid() and
3210 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3211 inspect the extensions in the order defined by the certificate.
3213 ** Add API to extract signature value from X.509 certificates.
3214 The function is gnutls_x509_crt_get_signature.
3216 ** Fix crash when generating proxy certificates in batch mode.
3217 If you don't specify a proxy policy in batch mode, it will use
3218 id-ppl-inheritALL.
3220 ** Add API to print information about X.509 certificates.
3221 The function is gnutls_x509_crt_print.
3223 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3224 One consequence of this is that the output syntax has changed
3225 slightly.  Some more fields are printed.
3227 ** Doc fixes.
3229 ** API and ABI modifications:
3230 gnutls_x509_crt_print: ADD
3231 gnutls_certificate_print_formats_t: ADD, new enum.
3232 gnutls_x509_crt_get_signature: ADD.
3233 gnutls_x509_crt_get_extension_data: ADD.
3234 gnutls_x509_crt_get_extension_info: ADD.
3235 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3236 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3237 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3239 * Version 1.7.5 (released 2007-02-06)
3241 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3242 ** is set.
3244 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3246 ** Fix --list output for gnutls-cli and gnutls-serv.
3247 Mention TLS1.2, SHA512 etc.
3249 ** Manual contains new section on setting up a test HTTP server.
3250 A server set up following those descriptions are available online via
3251 <http://www.gnutls.org/server.html>.
3253 ** Update of gnulib files.
3255 ** API and ABI modifications:
3256 No changes since last version.
3258 * Version 1.7.4 (released 2007-02-05)
3260 ** Support for RSA signing using SHA-256/384/512.
3261 A new self test "sha2" tries to build a long X.509 certificate chain
3262 testing all new hashes.
3264 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3266 ** Discuss proxy certificates in the manual.
3268 ** Improve bibliographical citations in the manual.
3270 ** Update of gnulib files.
3272 ** Fix certtool template handling of pathLenConstraints.
3273 It now defaults to -1 instead of 0, which causes the field to be
3274 missing unless the template specify it.
3276 ** API and ABI modifications:
3277 GNUTLS_MAC_SHA256,
3278 GNUTLS_MAC_SHA384,
3279 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3280 GNUTLS_DIG_SHA256,
3281 GNUTLS_DIG_SHA384,
3282 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3283 GNUTLS_SIGN_RSA_SHA256,
3284 GNUTLS_SIGN_RSA_SHA384,
3285 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3287 * Version 1.7.3 (released 2007-02-01)
3289 ** New option to certtool: --generate-proxy.
3290 This will generate a Proxy Certificate from an end entity certificate.
3291 Proxy Certificates are documented in RFC 3820.  You will need to
3292 specify the proxy certificate's private key with --load-privkey, the
3293 user certificate with --load-certificate and the private key used to
3294 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3295 query for proxy path length and the policy language OID.  Currently
3296 only OIDs that have an empty policy are supported (which includes the
3297 two OIDs defined by RFC 3820).
3299 ** Certtool --certificate-info now prints information for Proxy Certificates.
3300 Before the proxy extension was just printed as DER encoded data.
3302 ** New APIs to set proxy subject names and get/set proxy cert extension.
3304 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3306 ** Added self-test to test for regressions of pathLenConstraint bug.
3307 Incidentally, this also test (some) other regressions or changes in
3308 the output from certtool --certificate-info.
3310 ** When certtool generates CA certificates, pressing enter on the path
3311 ** length constraint query will now remove the field.
3312 Before it set the path length constraint to 0, which is a rather poor
3313 default.
3315 ** Certtool now print times in UTC when printing certificate/CRL info.
3317 ** Add better fix to work around C++ compiler bug on Mac OS X.
3318 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3320 ** Fix import of ASCII armored OpenPGP keys.
3321 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3323 ** Update of gnulib files.
3325 ** API and ABI modifications:
3326 gnutls_x509_crt_set_proxy_dn: ADD.
3327 gnutls_x509_crt_set_proxy: ADD.
3328 gnutls_x509_crt_get_proxy: ADD.
3330 * Version 1.7.2 (released 2007-01-14)
3332 ** Certtool now print the value of the pathLenConstraints field for certs.
3334 ** Certtool now query for path length constraints when generating CA certs.
3335 For batch uses, the certtool configuration name is "path_len".
3336 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3338 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3339 The new functions gnutls_x509_crt_get_basic_constraints and
3340 gnutls_x509_crt_set_basic_constraints provide a superset of the
3341 functionality in the old gnutls_x509_crt_get_ca_status and
3342 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3343 will continue to be supported.
3345 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3346 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3347 OpenCDK release with this patch will be made soon, which should bump
3348 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3350 ** Certtool --to-p12 can now store more than one certificate in the blob.
3351 Before it could only store one certificate, but now it will read and
3352 store as many certificate there are from the --load-certificate file.
3353 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3355 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3356 In particular, the OpenPGP function variables are no longer part of
3357 the exported libgnutls interface, and no header files from
3358 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3359 were never intended for non-internal purposes, and thus this does not
3360 imply a change in the external API/ABI.
3362 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3363 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3365 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3366 Before these parameters were set to make GnuTLS build under mingw32,
3367 however, they appear to no longer be necessary.
3369 ** A minor fix to the C++ library to make it build.
3370 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3372 ** Update of gnulib files.
3374 ** API and ABI modifications:
3375 gnutls_x509_crt_get_basic_constraints: ADD.
3376 gnutls_x509_crt_set_basic_constraints: ADD.
3377 cdk_pubkey_to_sexp: ADD (in opencdk).
3378 cdk_seckey_to_sexp: ADD (in opencdk).
3380 * Version 1.7.1 (released 2006-12-28)
3382 ** TLS 1.2 server side fix.
3383 The Certificate Request sent did not contain the list of supported
3384 hashes field, thus violating the protocol.  It will now contain an
3385 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3387 ** TLS 1.2 DSA signature verification fix.
3388 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3390 ** Fix the list of trusted CAs that server's send to clients.
3391 Before, the list contained issuer DN's instead of subject DN's of the
3392 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3394 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3395 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3396 function.  Reported by Max Kellermann <max@duempel.org>.
3398 ** Encode UID fields in DN's as DirectoryString.
3399 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3400 incorrect, it should have used DirectoryString.  Now it will use
3401 DirectoryString for the UID field, but for backwards compatibility it
3402 will also accept IA5String UID's.  Reported by Max Kellermann
3403 <max@duempel.org>.
3405 ** Improve out-of-sourcedir builds from CVS.
3406 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3408 ** Bootstrap tools changed.
3409 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3410 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3412 ** Fixed a syntax error in lib/gnutls.asn.
3413 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3415 ** Added German translation of GnuTLS messages.
3417 ** Update of gnulib files.
3419 ** API and ABI modifications:
3420 No changes since last version.
3422 * Version 1.7.0 (released 2006-11-29)
3424 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3425 The details is that the protocol priority set by
3426 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3427 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3429 ** Preliminary support for TLS 1.2.
3430 The client has been successfully tested against
3431 https://www.mikestoolbox.org:4433/.
3433 ** Anonself test now print a lot of debugging info, including TLS version.
3435 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3437 ** Update of gnulib files.
3439 ** API and ABI modifications:
3440 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3442 *** Pulled up from stable 1.6.x branch:
3444 ** Fix ./configure failure with non-GCC compilers.
3445 This fixes the following error message:
3446 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3447 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3449 * Version 1.6.3 (released 2007-05-26)
3451 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3452 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3453 from the 1.7.x branch, see
3454 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3456 ** Have PKCS8 parser return better error codes.
3457 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3458 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3459 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3461 ** Fix mem leak for sessions with client authentication via certificates.
3462 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3463 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3465 ** Fix building of 'tlsia' self test.
3466 Earlier some gcc are known to build tlsia linking to
3467 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3468 the build directory, even though command line parameters look OK.
3469 Changing order of some parameters fixes it.
3471 ** API and ABI modifications:
3472 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3473 gnutls_x509_crt_get_raw_dn: ADD.
3475 * Version 1.6.2 (released 2007-04-18)
3477 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3478 Before, we remove the parameters field, which resulted in a slightly
3479 different DER encoding which in turn caused signature verification
3480 failures of GnuTLS-generated RSA certificates in some other
3481 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3482 you read, this may or may not be correct, but our new behaviour appear
3483 to be consistent with other widely used implementations.
3485 ** Regenerate the PKIX ASN.1 syntax tree.
3486 For some reason, after changing the ASN.1 type of ldap-UID in the last
3487 release, the generated C file built from the ASN.1 schema was not
3488 refreshed.  This can cause problems when reading/writing UID
3489 components inside X.500 Distinguished Names.  Reported by devel
3490 <dev001@pas-world.com>.
3492 ** Updated translations.
3494 ** API and ABI modifications:
3495 No changes since last version.
3497 * Version 1.6.1 (released 2006-12-28)
3499 ** Fix the list of trusted CAs that server's send to clients.
3500 Before, the list contained issuer DN's instead of subject DN's of the
3501 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3503 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3504 Reported by Max Kellermann <max@duempel.org>.
3506 ** Encode UID fields in DN's as DirectoryString.
3507 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3508 incorrect, it should have used DirectoryString.  Now it will use
3509 DirectoryString for the UID field, but for backwards compatibility it
3510 will also accept IA5String UID's.  Reported by Max Kellermann
3511 <max@duempel.org>.
3513 ** Fix ./configure failure with non-GCC compilers.
3514 This fixes the following error message:
3515 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3516 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3518 ** API and ABI modifications:
3519 No changes since last version.
3521 * Version 1.6.0 (released 2006-11-17)
3523 ** No changes since 1.5.5.
3524 The major changes compared to the 1.4.x branch are:
3526 *** A GnuTLS C++ library is part of the official distribution.
3527 Currently there are no examples or documentation, but hopefully this
3528 will change.  See gnutlsxx.h for the API.
3530 *** Windows is a supported platform.
3531 There are, however, two know bugs.  One is related to select() in
3532 command line tools (not, nota bene, in the library), the other is a
3533 problem with libgcrypt that causes delays.  Help is needed to resolve
3534 those issues, so we feel we can't delay the release because of this.
3536 *** New APIs for custom push/pull function error reporting.
3537 The new APIs are gnutls_transport_set_errno and
3538 gnutls_transport_set_global_errno.  See the release notes for version
3539 1.5.4 for more information.
3541 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3543 * Version 1.5.5 (released 2006-11-16)
3545 ** Correctly bump shared library version after adding new APIs.
3546 This was forgotten in the last release.
3548 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3549 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3551 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3553 ** Update of gnulib files.
3555 ** API and ABI modifications:
3556 No changes since last version.
3558 * Version 1.5.4 (released 2006-11-07)
3560 ** New API functions to set errno in push/pull functions.
3561 Under Windows, setting the errno variable in a push/pull replacement
3562 may end up setting the wrong errno variable, and GnuTLS send/recv
3563 functions become confused about the real errno returned from a failed
3564 push/pull function.  Therefor, we have added two APIs to set the errno
3565 variable used by GnuTLS.  The APIs can also help to keep things
3566 thread-safe, by avoiding potentially global variables.  Typically,
3567 instead of setting errno in your push/pull function, you will call one
3568 of these functions.  It is recommended to use
3569 gnutls_transport_set_errno, but if you don't have the session variable
3570 easily accessible in the push/pull replacement function, you can use
3571 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3572 <tim.kosse@filezilla-project.org>.
3574 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3575 void gnutls_transport_set_global_errno (int err);
3577 ** When calling `recv' or `send' Windows errors are handled properly.
3578 The Windows recv/send functions doesn't use errno, and GnuTLS now use
3579 WSAGetLastError to access the error condition instead.
3581 ** Several OpenPGP API fixes.
3582 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
3583 important fix is to change the return value of
3584 gnutls_openpgp_privkey_get_pk_algorithm and
3585 gnutls_openpgp_key_get_pk_algorithm from 'int' to
3586 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
3587 compatible with 'int').
3589 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3590 ** version, try to negotiate the highest version support by the GnuTLS server,
3591 ** instead of the lowest.
3592 Reported by <Pasi.Eronen@nokia.com>.
3594 ** Replace old constructs with use of gnulib modules.
3595 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
3596 the code.  If the headers doesn't exist on the target system, gnulib
3597 will make sure its replacement header files are used instead.
3599 ** Fix SOVERSION computation for *.def files.
3600 This fixes build errors similar to "No rule to make target
3601 `libgnutls-`expr', needed by `all-am'." when building for Windows.
3603 ** gnutls_check-version uses strverscmp from gnulib.
3605 ** Update of gnulib files.
3607 ** API and ABI modifications:
3608 gnutls_transport_set_errno: ADD
3609 gnutls_transport_set_global_errno: ADD
3611 * Version 1.5.3 (released 2006-10-26)
3613 ** Add new self-test of RSA-MD5 signature chains.
3614 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
3615 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
3616 and is based on the work by Marc Stevens et al, see
3617 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
3619 ** Re-factor self tests.
3621 ** The include copy of Libtasn1 is updated to version 0.3.7.
3623 ** The included copy of OpenCDK is updated to version 0.5.11.
3625 ** Fix the filename of the *.def file on Windows after library version bump.
3627 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
3628 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
3629 gnulib modules.  Earlier we could only use the LGPL'ed module from
3630 gnulib, because two gnulib directories in the same project didn't
3631 work.
3633 ** API and ABI modifications:
3634 No changes since last version.
3636 * Version 1.5.2 (released 2006-10-03)
3638 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
3639 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
3640 shared library version than this version, so you'll have to remove
3641 them and possibly relink your applications.  The reason for this is
3642 that no API/ABI changes have been made since the 1.4.x branch, and
3643 that incrementing the shared library version was a mistake.  Reported
3644 by Andreas Metzler <ametzler@downhill.at.eu.org>.
3646 ** Fix off-by-one error when computing length to malloc.
3647 The code is used by gnutls_openpgp_add_keyring_file and
3648 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
3649 <agl@imperialviolet.org>.
3651 ** Add version script for the GnuTLS C++ library.
3652 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3654 ** Fix the C++ compiler detection logic.
3655 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3657 ** Update of gnulib files.
3659 ** API and ABI modifications:
3660 No changes since last version.
3662 * Version 1.5.1 (released 2006-09-21)
3664 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3665 ** Crypto 06 rump session attack.
3666 In particular, we check that the digestAlgorithm.parameters field is
3667 missing or empty, to avoid that it can contain "garbage" that may be
3668 used to alter the numeric properties of the signature.  See
3669 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3670 not exactly the same as the problem we fix here).  Reported by Yutaka
3671 OIWA <y.oiwa@aist.go.jp>.
3673 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3674 up to date information.
3676 ** Add self test to test for above flaw.
3678 ** Fix gnutls-cli-debug regarding resume support detection.
3679 Earlier, if the session-id from the server had a length of 0, it would
3680 indicate that the server supports resumption, which isn't the case.
3681 Reported by Kataja Kai <kai.kataja@op.fi>.
3683 ** Fix building of examples on FreeBSD by including netinet/in.h.
3684 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3686 ** Fix certtool bug that caused the private key to not be loaded when
3687 generating a certificate with --load-request, which in turn triggered
3688 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
3689 by Sascha Ziemann <sascha.ziemann@secunet.com>.
3691 ** gnutls-cli and gnutls-serv works on Windows.
3692 The problem was the select() call that doesn't work on file
3693 descriptors (stdin) on Windows.  We borrowed some code from plibc to
3694 solve this.  It appears to be somewhat unreliable though.
3696 ** Autoconf 2.60 is now used.
3698 ** API and ABI modifications:
3699 No changes since last version.
3701 * Version 1.5.0 (released 2006-08-13)
3703 ** Change SRP and Cert-Type extensions to match IANA registry.
3705 ** Fixed bug in OpenPGP authentication handshake.
3707 ** Improvements for building under MinGW.
3708 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
3709 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
3710 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
3711 at run-time from ws2_32.dll, and falls back on a simple replacement if
3712 it is not available.  Builds the library with -mms-bitfields
3713 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
3714 create *.def files, which are installed.
3716 ** The examples now (conditionally) include config.h and link to gnulib.
3717 No other source changes were necessary, so the examples should
3718 continue to be possible to use stand-alone without any autoconf or
3719 gnulib stuff.
3721 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
3722 You may unconditionally disable it with --disable-cxx.  See
3723 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
3724 implementation.
3726 ** Made command line tool '--version' behave according to GNU Standards.
3727 This enables 'make distcheck' to succeed.
3729 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3731 ** Make --without-included-libtasn1 work.
3732 Reported by Daniel Black <dragonheart@gentoo.org>.
3734 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3735 See http://www.gnu.org/software/gnutls/security.html regardging
3736 GNUTLS-SA-2006-2 for more up to date information.  Reported by
3737 satyakumar <satyam_kkd@hyd.hellosoft.com>.
3739 ** API and ABI modifications:
3740 No changes since last version.
3742 * Version 1.4.5 (released 2006-11-06)
3744 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3745 ** version, try to negotiate the highest version support by the GnuTLS server,
3746 ** instead of the lowest.
3747 Reported by <Pasi.Eronen@nokia.com>.
3749 ** Fix typo in doc/examples/ex-serv-pgp.c.
3750 Reported by Adam Langley" <agl@imperialviolet.org>.
3752 ** API and ABI modifications:
3753 No changes since last version.
3755 * Version 1.4.4 (released 2006-09-12)
3757 ** Relax the test that caught signatures that exploit the variant of
3758 ** Bleichenbacher's Crypto 06 rump session attack on our
3759 ** verification logic flaw.
3760 In particular, we now permit the digestAlgorithm.parameters field to
3761 be present but empty, whereas in 1.4.3 we actually checked that the
3762 field was absent.
3764 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
3765 The messages are only printed in debug mode, which is not recommended
3766 for normal use, and thus logging this situation cannot be abused as an
3767 oracle in typical recommended situations.
3769 ** API and ABI modifications:
3770 No changes since last version.
3772 * Version 1.4.3 (released 2006-09-08)
3774 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3775 ** Crypto 06 rump session attack.
3776 In particular, we check that the digestAlgorithm.parameters field is
3777 empty, to avoid that it can contain "garbage" that may be used to
3778 alter the numeric properties of the signature.  See
3779 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3780 not exactly the same as the problem we fix here).  Reported by Yutaka
3781 OIWA <y.oiwa@aist.go.jp>.
3783 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3784 up to date information.
3786 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
3787 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
3788 Reported by Werner Koch <wk@gnupg.org>.
3790 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
3791 up to date information.
3793 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
3795 ** API and ABI modifications:
3796 No changes since last version.
3798 * Version 1.4.2 (released 2006-08-12)
3800 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3801 This can happen if you call gnutls_certificate_verify_peers2 and have
3802 a certain mix of local CA certificates and the peer send special
3803 certificates, that together trigger certain behaviour.  It is not
3804 known at this point whether the crash can be triggered without the
3805 special local CA certificate, and thus turn this into a remote crash
3806 of clients that verify server certificates when they talk to a server
3807 with the special server certificate.  See GNUTLS-SA-2006-2 on
3808 http://www.gnu.org/software/gnutls/security.html for more up to date
3809 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
3811 ** Change SRP and Cert-Type extensions to match IANA registry.
3813 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3815 ** Make --without-included-libtasn1 work.
3816 Reported by Daniel Black <dragonheart@gentoo.org>.
3818 ** API and ABI modifications:
3819 No changes since last version.
3821 * Version 1.4.1 (released 2006-06-14)
3823 ** Replaced inactive ifdefs to enable openpgp support in test programs.
3825 ** Fixed bug in OpenPGP authentication handshake.
3827 ** Fixed typographical in man pages.
3829 ** Build fixes of the manual.
3831 ** Added Swedish translation.
3833 ** API and ABI modifications:
3834 No changes since last version.
3836 * Version 1.4.0 (released 2006-05-15)
3838 ** Remove GnuTLS 0.8.x compatibility functions.
3840 ** The libgcrypt RNG is initialized in gnutls_global_init().
3842 ** TLS/IA API changes from Emile van Bergen.
3843 A dummy credential structure is not needed now, if you wish to use the
3844 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
3845 a session.
3847 ** The self-tests are now run under valgrind, if it is installed.
3849 ** Libtasn1 is updated to 0.3.4, and that version is now required.
3851 ** The command line tools now use getaddrinfo and support IPv6.
3853 ** API and ABI modifications:
3854 _gnutls_x509_get_raw_crt_activation_time,
3855 _gnutls_x509_get_raw_crt_expiration_time: Removed.
3856 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
3857 gnutls_ia_enable: Added.
3859 * Version 1.3.5 (released 2006-03-08)
3861 ** Error messages are now translated using GNU Gettext.
3863 ** The function gnutls_x509_crt_to_xml now return an internal error.
3864 This means that the code to convert X.509 certificates to XML format
3865 does not work any more.  The reason is that the function called
3866 libtasn1 internal functions.  It seems unclean for libtasn1 to export
3867 the APIs needed here.  Instead it would be better to implement XML
3868 support inside libtasn1 properly.  If you need this functionality
3869 strongly, please consider looking into implementing this suggested
3870 approach instead.  As a workaround, you may also modify lib/x509/xml.c
3871 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
3873 ** Libraries are now built with libtool's -no-undefined.
3874 This helps producing libraries for Windows using mingw32.
3876 ** Doc fixes to explain that gnutls_record_send can block.
3878 ** Libtasn1 0.3.1 or later is now required.
3879 The include copy has been updated too.
3881 ** gnutls-cli can now recognize services and port numbers with the -p option.
3883 ** API and ABI modifications:
3884 No changes since last version.
3886 * Version 1.3.4 (released 2006-02-09)
3888 ** Fix read of out bounds bug in DER parser.
3889 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
3890 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
3891 previous bug fix.  The included libtasn1 version in GnuTLS has been
3892 updated.
3894 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
3895 longer invalidate a session if the underlying send fails, but it will 
3896 prevent future writes. That is to allow reading the already received data.
3897 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
3899 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
3900 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
3901 more than one certificates were added. Report and patch by Max Kellermann.
3903 ** Fix build problems of OpenCDK on AIX.
3904 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
3906 ** API and ABI modifications:
3907 No changes since last version.
3909 * Version 1.3.3 (released 2006-01-12)
3911 ** New API to access the TLS master secret.
3912 When possible, you should use the TLS PRF functions instead.
3913 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
3915 ** Improved handling when multiple libraries use GnuTLS at the same time.
3916 Now gnutls_global_init() can be called multiple times, and
3917 gnutls_global_deinit() will only deallocate the structure when it has
3918 been called as many times as gnutls_global_init() was called.
3920 ** Added a self test of TLS resume functionality.
3922 ** Fix crash in TLS resume code, caused by TLS/IA changes.
3924 ** Documentation fixes about thread unsafety, prompted by
3925 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
3926 In particular, gnutls_global_init() and gnutls_global_deinit() are not
3927 thread safe.  Careful callers may want to protect the call using a
3928 mutex.  The problem could also be ignored, which would cause a memory
3929 leak under rare conditions when two threads invoke the function
3930 roughly at the same time.
3932 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
3934 ** The code was indented again, including the external header files.
3936 ** API and ABI modifications:
3937 New functions to retrieve the master secret value:
3938   gnutls_session_get_master_secret
3940 Add a 'const' keyword to existing API:
3941   gnutls_x509_crq_get_challenge_password
3943 * Version 1.3.2 (released 2005-12-15)
3945 ** GnuTLS now support TLS Inner application (TLS/IA).
3946 This is per draft-funk-tls-inner-application-extension-01.  This
3947 functionality is added to libgnutls-extra, so it is licensed under the
3948 GNU General Public License.
3950 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
3951 The PRF is used by some protocols building on TLS, such as EAP-PEAP
3952 and EAP-TTLS.  One function to access the raw PRF and one to access
3953 the PRF seeded with the client/server random fields are provided.
3954 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
3956 ** New APIs to acceess the client and server random fields in a session.
3957 These fields can be useful by protocols using TLS.  Note that these
3958 fields are typically used as input to the TLS PRF, and if this is your
3959 intended use, you should use the TLS PRF API that use the
3960 client/server random field directly.  Suggested by Jouni Malinen
3961 <jkmaline@cc.hut.fi>.
3963 ** Internal type cleanups.
3964 The uint8, uint16, uint32 types have been replaced by uint8_t,
3965 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
3966 correct types on platforms that lack them.  The uint type have been
3967 replaced by unsigned.
3969 ** API and ABI modifications:
3970 New functions to invoke the TLS Pseudo-Random-Function (PRF):
3971   gnutls_prf
3972   gnutls_prf_raw
3974 New functions to retrieve the session's client and server random values:
3975   gnutls_session_get_server_random
3976   gnutls_session_get_client_random
3978 New function, to perform TLS/IA handshake:
3979   gnutls_ia_handshake
3981 New function to decide whether to do a TLS/IA handshake:
3982   gnutls_ia_handshake_p
3984 New functions to allocate a TLS/IA credential:
3985   gnutls_ia_allocate_client_credentials
3986   gnutls_ia_free_client_credentials
3987   gnutls_ia_allocate_server_credentials
3988   gnutls_ia_free_server_credentials
3990 New functions to handle the AVP callback:
3991   gnutls_ia_set_client_avp_function
3992   gnutls_ia_set_client_avp_ptr
3993   gnutls_ia_get_client_avp_ptr
3994   gnutls_ia_set_server_avp_function
3995   gnutls_ia_set_server_avp_ptr
3996   gnutls_ia_get_server_avp_ptr
3998 New functions, to toggle TLS/IA application phases:
3999   gnutls_ia_require_inner_phase
4001 New function to mix session keys with inner secret:
4002   gnutls_ia_permute_inner_secret
4004 Low-level API (used internally by gnutls_ia_handshake):
4005   gnutls_ia_endphase_send
4006   gnutls_ia_send
4007   gnutls_ia_recv
4009 New functions that can be used after successful TLS/IA negotiation:
4010   gnutls_ia_generate_challenge
4011   gnutls_ia_extract_inner_secret
4013 Enum type with TLS/IA modes:
4014   gnutls_ia_mode_t
4016 Enum type with TLS/IA packet types:
4017   gnutls_ia_apptype_t
4019 Enum values for TLS/IA alerts:
4020   GNUTLS_A_INNER_APPLICATION_FAILURE
4021   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4023 New error codes, to signal when an application phase has finished:
4024   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4025   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4027 New error code to signal TLS/IA verify failure:
4028   GNUTLS_E_IA_VERIFY_FAILED
4030 * Version 1.3.1 (released 2005-12-08)
4032 ** Support for DHE-PSK cipher suites has been added.
4033 This method offers perfect forward secrecy.
4035 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4036 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4038 ** Corrected a bug in certtool for 64 bit machines. Reported
4039 by Max Kellermann <max@duempel.org>.
4041 ** New function to set a X.509 private key and certificate pairs, and/or
4042 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4043 <emile@e-advies.nl>.
4045 The integrity of the PKCS#12 file is protected through a password
4046 based MAC; public-key based signatures for integrity protection are
4047 not supported.  PKCS#12 bags may be encrypted using password derived
4048 symmetric keys, public-key based encryption is not supported.  The
4049 PKCS#8 keys may be encrypted using passwords.  The API use the same
4050 password for all operations.  We believe that any more flexibility
4051 create too much complexity that would hurt overall security, but may
4052 add more PKCS#12 related APIs if real-world experience indicate
4053 otherwise.
4055 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4056 reported by Emile van Bergen <emile@e-advies.nl>.
4057 This will enable "certtool -k -8" to parse those keys.
4059 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4060 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4061 certtool would have encrypted the key using an empty password.
4063 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4064 Earlier it would have prompted the user for it, even if --password was
4065 supplied.
4067 ** Added self test of PKCS#8 parsing.
4068 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4069 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4070 tests/pkcs8.
4072 ** API and ABI modifications:
4073 New function to set X.509 credentials from a PKCS#12 file:
4074   gnutls_certificate_set_x509_simple_pkcs12_file
4076 New gnutls_kx_algorithm_t enum type:
4077   GNUTLS_KX_DHE_PSK
4079 New API to return session data (basically same as gnutls_session_get_data):
4080   gnutls_session_get_data2
4082 New API to set PSK Diffie-Hellman parameters:
4083   gnutls_psk_set_server_dh_params
4085 * Version 1.3.0 (2005-11-15)
4087 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4088 This add several new APIs, see below.  Read the updated manual for
4089 more information.  A new self test "pskself" has been added, that will
4090 test this functionality.
4092 ** The session resumption data are now system independent.
4094 ** The code has been re-indented to conform to the GNU coding style.
4096 ** Removed the RIPEMD ciphersuites.
4098 ** Added a discussion of the internals of gnutls in manual.
4100 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4102 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4104 ** Make sure config.h is included first in a few files, from Albert Chin.
4106 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4108 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4109 from Albert Chin.
4111 ** API and ABI modifications:
4112 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4114 New gnutls_credentials_type_t credential type:
4115   GNUTLS_CRD_PSK
4117 New credential types:
4118   gnutls_psk_server_credentials_t
4119   gnutls_psk_client_credentials_t
4121 New functions to allocate PSK credentials:
4122   gnutls_psk_allocate_client_credentials
4123   gnutls_psk_free_client_credentials
4124   gnutls_psk_free_server_credentials
4125   gnutls_psk_allocate_server_credentials
4127 New enum type for PSK key flags:
4128   gnutls_psk_key_flags
4130 New function prototypes for credential callback:
4131   gnutls_psk_client_credentials_function
4132   gnutls_psk_server_credentials_function
4134 New function to set PSK username and key:
4135   gnutls_psk_set_client_credentials
4137 New function to set PSK passwd file:
4138   gnutls_psk_set_server_credentials_file
4140 New function to extract PSK user in server:
4141   gnutls_psk_server_get_username
4143 New functions to set PSK callback:
4144   gnutls_psk_set_server_credentials_function
4145   gnutls_psk_set_client_credentials_function
4147 Use size_t instead of int for output size parameter:
4148   gnutls_srp_base64_encode
4149   gnutls_srp_base64_decode
4151 * Version 1.2.11 (2006-05-11)
4152 - The function gnutls_x509_crt_to_xml is not supported any more, and
4153   return an internal error.  The reason is that the function called
4154   internal libtasn1 functions which are no longer exported from
4155   libtasn1.
4156 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4157 - Updated gnulib compatibility files.
4158 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4159   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4160 - API and ABI modifications:
4161   No changes since last version.
4163 * Version 1.2.10 (2006-02-09)
4164 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4165   <admin@gleg.net>, and debugging help from Protover SSL.
4166 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4167   The included version has been updated too.
4168 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4169   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4170 - Corrected a bug in certtool for 64 bit machines. Reported
4171   by Max Kellermann <max@duempel.org>.
4172 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4173   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4174   more than one certificates were added. Report and patch by Max Kellermann.
4175 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4176   longer invalidate a session if the underlying send fails, but it will 
4177   prevent future writes. That is to allow reading the already received data.
4178   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4180 * Version 1.2.9 (2005-11-07)
4181 - Documentation was updated and improved.
4182 - RSA-MD2 is now supported for verifying digital signatures.
4183 - Due to cryptographic advances, verifying untrusted X.509
4184   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4185   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4186   applications that must remain interoperable, you can use the
4187   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4188   flags when verifying certificates.  Naturally, this is not
4189   recommended default behaviour for applications.  To enable the
4190   broken algorithms, call gnutls_certificate_set_verify_flags with the
4191   proper flag, to change the verification mode used by
4192   gnutls_certificate_verify_peers2.
4193 - Make it possible to send empty data through gnutls_record_send,
4194   to align with the send(2) API.
4195 - Some changes in the certificate receiving part of handshake to prevent
4196   some possible errors with non-blocking servers.
4197 - Added numeric version symbols to permit simple CPP-based feature
4198   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4199 - The (experimental) low-level crypto alternative to libgcrypt used
4200   earlier (Nettle) has been replaced with crypto code from gnulib.
4201   This leads to easier re-use of these components in other projects,
4202   leading to more review and simpler maintenance.  The new configure
4203   parameter --with-builtin-crypto replace the old --with-nettle, and
4204   must be used if you wish to enable this functionality.  See README
4205   under "Experimental" for more information.  Internally, GnuTLS has
4206   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4207   API is similar to the old crypto/gc.h, because the gnulib code were
4208   based on GnuTLS's gc.h.
4209 - Fix compiler warning in the "anonself" self test.
4210 - API and ABI modifications:
4211 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4212                              This doesn't reflect a change in behaviour,
4213                              so we don't break backwards compatibility.
4214 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4215 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4216 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4217 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4218                                   Use when calling
4219                                   gnutls_x509_crt_list_verify,
4220                                   gnutls_x509_crt_verify, or
4221                                   gnutls_certificate_set_verify_flags.
4222 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4223                                 used when broken signature algorithms
4224                                 is used (currently RSA-MD2/MD5).
4225 LIBGNUTLS_VERSION_MAJOR,
4226 LIBGNUTLS_VERSION_MINOR,
4227 LIBGNUTLS_VERSION_PATCH,
4228 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4229                           version number, can be used for feature existence
4230                           tests.
4232 * Version 1.2.8 (2005-10-07)
4233 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4234 - Don't install the auxilliary libexamples library used by the
4235   examples in doc/examples/ on "make install", report and tiny patch
4236   from Thomas Klausner <tk@giga.or.at>.
4237 - If you pass a X.509 CA or PGP trust database to the command line
4238   tool, it will now abort the connection if the server certificate
4239   validation fails.  Use the parameter --insecure to continue even
4240   after certificate validation failures.  Inspired from discussion
4241   with Alexander Kotelnikov <sacha@myxomop.com>.
4242 - The test for socklen_t has been moved to gnulib.
4243 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4244   patch from Martin Lambers <marlam@marlam.de>.
4245 - The command line tool and the examples no longer uses mmap or bzero,
4246   to make them more portable, patch from Martin Lambers
4247   <marlam@marlam.de>.
4248 - Made the PKCS #12 API handle null passwords. Based on patch by
4249   Anton Altaparmakov <aia21@cam.ac.uk>.
4250 - The GTK-DOC manual should build with current released tools.
4251   (But a copy of the output is included, so the tools are not required.)
4252 - The inet_ntop function is now used through gnulib.
4253 - API and ABI modifications:
4254   No changes since last version.
4256 * Version 1.2.7 (2005-09-09)
4257 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
4258 - Certtool now complains when reading out-of-range X.509 serial
4259   numbers, suggested by Fran <e_agf@yahoo.es>.
4260 - Certtool now uses the readline library (when available) when reading
4261   X.509 serial numbers.
4262 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4263 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4264   Martin Lambers <marlam@marlam.de>.
4265 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4266 - Gnulib is now used for the core library, enabling future code cleanups.
4267 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4268   suggested by Daniel Stenberg <daniel@haxx.se>.
4269 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4270 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4271 - Disable zlib support if zlib.h is not present.
4272 - A number of internal cleanups.
4273 - API and ABI modifications:
4274   No changes since last version.
4276 * Version 1.2.6 (2005-07-16)
4277 - MiniLZO updated to version 2.01 and moved to separate directory.
4278 - Collision between system LZO header files and MiniLZO header file
4279   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4280 - Will now test for liblzo functionality in liblzo2 too, reported by
4281   Thomas Klausner <tk@giga.or.at>.
4282 - Minilibtasn1 is now 0.2.14 (no code changes).
4283 - Some code changes to avoid GTK-DOC warnings.
4284 - API and ABI modifications:
4285   No changes since last version.
4287 * Version 1.2.5 (2005-07-03)
4288 - More builddir != srcdir fixes, reported by Mike Castle
4289   <dalgoda@ix.netcom.com>.
4290 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4291   reported by Adam Langley <alangley@gmail.com>.
4292 - Corrected some stuff in minilzo detection. Pointed out by 
4293   Sergey Lipnevich.
4294 - MiniLZO updated to version 2.00.
4295 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4296 - API and ABI modifications:
4297   No changes since last version.
4299 * Version 1.2.4 (2005-05-28)
4300 - Corrected some bugs that could affect 64 bit systems.
4301 - Some corrections in the header files to include the prototype
4302   of memmem properly (affected 64 bit systems). Report and patch
4303   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4304 - Introduced the --fix-key option to certtool, which can be used to
4305   regenerate the (optional) parameters in a private key. It should
4306   be used together with --key-info.
4307 - Corrected a bug in certificate chain verification that could lead
4308   to marking a trusted chain as non trusted, if the last certificate in
4309   the chain was a self signed one.
4310 - Gnulib portability files were updated.
4311 - License were updated to reflect new FSF address.
4312 - API and ABI modifications:
4313   No changes since last version.
4315 * Version 1.2.3 (2005-04-28)
4316 - Corrected bug in record packet parsing that could lead
4317   to a denial of service attack.
4318 - Corrected bug in RSA key export. Previously exported keys
4319   can be fixed using certtool. Use certtool -k <infile >outfile
4320 - API and ABI modifications:
4321     gnutls_x509_privkey_fix(): Add.
4323 * Version 1.2.2 (2005-04-25)
4324 - gnutls_error_to_alert() now considers
4325   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4326 - Fixed error in session resuming that could cause a crash in a session.
4327 - Fixed pkcs12 friendly name and local key identifier decoding.
4328 - Internal cleanups, removed duplicate typedef/struct definitions,
4329   and made source code include external include file, to check
4330   function prototypes during compile time.
4331 - API and ABI modifications:
4332   No changes since last version.  At least not intentional, but due
4333   to the include header changes, there may be inadvertant changes,
4334   please let us know if you find any.
4336 * Version 1.2.1 (2005-04-04)
4337 - gnutls_bye() will no longer fail when RDWR is used and application
4338   data are available for reading.
4339 - Added more strict checks for the SRP parameters (g,n), when they
4340   are not in the included list.
4341 - Added warning to certtool when MD5 is being used for digital
4342   signatures.
4343 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4344   instead the standard autoconf defaults are used.  Use `./configure
4345   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4346 - Added the option --get-dh-params to certtool, in order to get the
4347   parameters included in the library primes and generators.
4348 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4349   allow only trusted Version 1 CAs and introduced
4350   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4351 - Nettle self tests now build properly, reported by Pierre
4352   <pierre42d@9online.fr>.
4353 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4354   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4355 - If the library has been compiled with features disabled, a warning is 
4356   issued during the compilation of any program.
4357 - API and ABI modifications:
4358     gnutls_x509_crt_list_import(): Add
4359     gnutls_x509_crq_get_attribute_by_oid(): Add.
4360     gnutls_x509_crq_set_attribute_by_oid(): Add
4361     gnutls_x509_crt_set_extension_by_oid(): Add.
4362     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4363     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4365 * Version 1.2.0 (2005-01-27)
4366 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4367 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4368   gnutls_x509_crl_sign2().
4369 - Fixed license header in source code files.
4371 * Version 1.1.23 (2005-01-18)
4372 - It is now possible to generate PKCS#12 structures without private
4373   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4374   <fabbe@paniq.net>.
4375 - Certtool now prints information for the RSA and DSA parameters of
4376   certificates and private keys.
4377 - Corrected the write of CRL distribution points.
4378 - The certificate chain verification function now checks certificates
4379   in the reverse order to minimize the spent resources.
4380 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4381 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4382   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4383   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4384   required, instead of the string length.  That is, the value has been
4385   incremented by 1 to account for the terminating zero. Reported by
4386   Martin Lambers <marlam@web.de>.
4387 - Debug output shouldn't crash on platforms that doesn't handle NULL
4388   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4389 - Sync included copy of libtasn1 with version 0.2.13.
4390 - Client X.509 authenticated connections via gnutls-cli should now work again.
4392 * Version 1.1.22 (2004-11-04)
4393 - Replace GNU LD version script with Libtool -export-symbols-regex,
4394   from Joe Orton <joe@manyfish.co.uk>.
4395 - Documentation improvements.
4396 - Code indented using 'indent -i4 -kr'.
4397 - The API manual is included in Devhelp format.  (Was in last release too,
4398   but the NEWS entry was forgotten.)
4399 - The OpenSSL compatibility code now use the internal crypto interface.
4400 - Added simple self test of OpenSSL compatibility library.
4401 - Internally, libtool convenience libraries are used.
4402 - Cleanups to configure.ac.
4404 * Version 1.1.21 (2004-10-27)
4405 - Print DN of certificates with unknown characters in them, but in hexform
4406   only.
4407 - Added second precision to the X.509 parsing and generation functions.
4408 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4409   actual OID.
4410 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4411   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4412 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4413   <stephane.loeuillet@tiscali.fr>.
4414 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4415   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4416 - Add self test of PKCS#12 functionality in "certtool", based on test
4417   vectors from Joe Orton <joe@manyfish.co.uk>.
4418 - Fix library order in libgnutls*-config --libs output, to permit
4419   static linking, reported by Yoann Vandoorselaere
4420   <yoann@prelude-ids.org>.
4422 * Version 1.1.20 (2004-10-12)
4423 - Fix compile problem in gl/getpass.c on some systems.
4425 * Version 1.1.19 (2004-10-07)
4426 - Fix memory leak in gnutls_certificate_verify_peers and
4427   gnutls_certificate_free_credentials, report and patch by Simon
4428   Posnjak <simon.posnjak@cetrtapot.si>.
4429 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4430   a key and no certificate to PKCS#12.
4431 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4432   <gp@familiehaase.de>.
4433 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4434   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4435 - Uses memmem instead of strnstr in lib/.
4436 - Using more GNULib portability files, although not yet inside lib/.
4437 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4438   Nikos deprecated gnutls_certificate_verify_peers in favor of
4439   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4440 - Improvements to the manual.
4441 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4442 - Known bug: the library require snprintf.  This has not yet been
4443   fixed, but will be handled via GNULib later on.
4445 * Version 1.1.18 (2004-08-24)
4446 - Corrected handling of certificate with dates after year 2038.
4447 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4448 - Correct certtool --smime-to-p7 end of line character handling.
4449 - Added example client and server for anonymous authentication.
4450 - Added self test that tests anonymous TLS client and server.
4451 - Added self tests of Nettle and generic crypto layer.
4452 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4453   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4454 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4455 - Man pages for API functions are included.
4457 * Version 1.1.17 (2004-08-18)
4458 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4459   reported by Robey Pointer <robey@danger.com>.
4460 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4461   See section "Experimental" within section "COMPILATION ISSUES" in README.
4462 - Removed length limit on passwords read by 'certtool'.
4463 - Documentation fixes.
4465 * Version 1.1.16 (2004-08-15)
4466 - Fix missing gnulib linker parameter when building certtool.
4467 - Add gnulib module 'progname', needed by module 'error'.
4468 - Improve building with srcdir != objdir.
4470 * Version 1.1.15 (2004-08-15)
4471 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4472   PKCS #7 format.
4473 - Ported to Mac OS X / Darwin.
4474 - Ported to FreeBSD.
4476 * Version 1.1.14 (2004-08-09)
4477 - Documentation converted to Texinfo format.
4478 - Bug fix of test suite.
4479 - Configure now print build information, used by Autobuild.
4481 * Version 1.1.13 (2004-08-05)
4482 - Added simple self test suite.
4484 * Version 1.1.12 (2004-08-02)
4485 - Updated the SRP authentication to conform to the
4486   latest (yet unreleased) draft. Unfortunately this breaks
4487   compatibility with previous versions.
4488 - Changed the makefiles to be more portable.
4489 - SRP ciphersuites were moved to the gnutls library.
4490 - Added some default limits in the verification of certificate
4491   chains, to avoid denial of service attacks. Also added 
4492   gnutls_certificate_set_verify_limits() to override them.
4493   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4494 - Added gnutls_certificate_verify_peers2().
4496 * Version 1.1.11 (2004-07-16)
4497 - Added the '_t' suffix to all exported symbols.
4498 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4499   <mak@greenhills.co.uk>.
4500 - Corrected a bug in certificate verification. Pointed out by
4501   Yoann Vandoorselaere <yoann@prelude-ids.org>
4502 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4503   verification functions.
4504 - The ephemeral DH and RSA parameters are no longer stored in the
4505   session resume DB.
4506 - Do not free the SRP (prime and generator) parameters obtained from the 
4507   callback if they are the static ones defined in extra.h
4508 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4510 * Version 1.1.10 (2004-06-12)
4511 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4512 - Corrected bug in TLS renegotiation.
4513 - Corrected bug in OpenPGP key loading using a callback.
4514 - gnutls-srpcrypt was renamed to srptool
4515 - Allow handshake requests by the client.
4516 - Automatically disable certificate types that do not have corresponding
4517   certificates.
4518 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4519 - Opencdk library is being included if not found.
4520 - certtool can now add ip address SAN extension.
4521 - certtool has now support for more X.520 DN attribute types.
4522 - Better handling of EOF in gnutls_record_recv().
4523 - _gnutls_deinit() is no longer used. Sessions are not
4524   automatically removed any more, on abnormal termination.
4525 - Corrected session resuming in SRP ciphersuites.
4526 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4527 - Added new functions to allow access to the ephemeral
4528   Diffie Hellman parameters.
4529 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4530   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4531 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4532   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4533   RSA-EXPORT key exchange.
4534 - Some fixes in the session resuming code.
4535 - Added gnutls_openpgp_keyring_check_id().
4537 * Version 1.1.9 (2004-04-14)
4538 - Added support for authority key identifier and the extended key usage
4539   X.509 extension fields. The certtoool was updated to support them.
4540 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4541 - Added batch support to certtool. Now it can use templates.
4543 * Version 1.1.8 (2004-04-07)
4544 - Implemented all the tests for the SRP group parameters in
4545   client side. This may lead to incompatibility with very
4546   old gnutls servers.
4547 - Corrected bug in RSA parameters handling which could cause
4548   unexpected crashes.
4549 - Optimized the copying of rsa_params.
4551 * Version 1.1.7 (2004-03-29)
4552 - Added gnutls_certificate_set_params_function() and 
4553   gnutls_anon_set_params_function() that set the RSA or DH
4554   parameters using a callback.
4555 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4556   and gnutls_x509_privkey_cpy().
4557 - Corrected a compilation issue when opencdk was installed in a
4558   non standard directory.
4559 - Deprecated: gnutls_srp_server_set_select_function(), 
4560   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4562 * Version 1.1.6 (2004-02-24)
4563 - Several bug fixes, by Arne Thomassen.
4564 - Fixed a bug where 'server name' extension was always sent.
4566 * Version 1.1.5 (2004-01-06)
4567 - Added the gnutls_sign_algorithm type.
4569 * Version 1.1.4 (2004-01-04)
4570 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4571   If they are of highest priority then the abbreviated handshake
4572   is used.
4573 - Removed all references of missing files.
4574 - Changed handshake behaviour to send the lowest TLS version
4575   when an unsupported version was advertized. The current behaviour
4576   is to send the maximum version we support.
4577 - Corrected problem printing the DC attributes in a DN.
4579 * Version 1.1.3 (2003-12-30)
4580 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4581   hack).
4583 * Version 1.1.2 (2003-12-28)
4584 - Added CRL verification functionality to certtool.
4585 - Corrected the CRL distribution point extension handling.
4587 * Version 1.1.1 (2003-12-26)
4588 - Added PKCS #7 support to certtool utility.
4589 - Added support for reading and generating CRL distribution
4590   points extensions in certificates.
4591 - Added support for generating CRLs in the library and the
4592   certtool utility.
4593 - Added support for the Subject Key ID PKIX extension.
4595 * Version 1.1.0 (2003-12-21)
4596 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4597   are no longer returned by the handshake function. Ciphersuites that
4598   require temporary parameters are removed when such parameters do not exist.
4599 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4600   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4601   to specify certificates for the handshake without storing them to the
4602   credentials structure.
4603 - Added support for generating and exporting DSA private keys.
4604 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
4605   certificate's key usage.
4606 - Added gnutls_openpgp_key_get_key_usage().
4608 * Version 1.0.25 (2005-04-27)
4609 - Corrected bug in record packet parsing that could lead
4610   to a denial of service attack.
4611 - Corrected bug in RSA key export.
4613 * Version 1.0.24 (2005-01-18)
4614 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4616 * Version 1.0.23 (2004-11-13)
4617 - Replace GNU LD version script with Libtool -export-symbols-regex,
4618   from Joe Orton <joe@manyfish.co.uk>.
4619 - Copy libtasn1 has been updated to version 0.2.11.
4620 - Corrected the write of CRL distribution points.
4621 - It is now possible to generate PKCS#12 structures without private
4622   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4623   <fabbe@paniq.net>.
4625 * Version 1.0.22 (2004-10-28)
4626 - Print DN of certificates with unknown characters in them, but in hexform
4627   only.
4628 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4629   actual OID.
4630 - Added second precision to the X.509 parsing functions.
4631 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4632   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4633 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4634   <stephane.loeuillet@tiscali.fr>.
4635 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4636   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4637 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
4638 - Fix library order in libgnutls*-config --libs output, to permit
4639   static linking, reported by Yoann Vandoorselaere
4640   <yoann@prelude-ids.org>.
4642 * Version 1.0.21 (2004-10-07)
4643 - Fix memory leak in gnutls_certificate_verify_peers and
4644   gnutls_certificate_free_credentials, report and patch by Simon
4645   Posnjak <simon.posnjak@cetrtapot.si>.
4646 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4647   a key and no certificate to PKCS#12.
4648 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4649   <gp@familiehaase.de>.
4650 - Avoid redefining getpass if system already has it, reported by
4651   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4652 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4653 - Known bug: the library require snprintf.
4655 * Version 1.0.20 (2004-08-18)
4656 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4657   reported by Robey Pointer <robey@danger.com>.
4659 * Version 1.0.19 (2004-08-09)
4660 - Bug fix of test suite.
4662 * Version 1.0.18 (2004-08-05)
4663 - Added simple self test suite.
4665 * Version 1.0.17 (2004-08-02)
4666 - Updated the SRP authentication to conform to the
4667   latest (yet unreleased) draft. Unfortunately this breaks
4668   compatibility with previous versions.
4669 - Changed the makefiles to be more portable.
4670 - Added some default limits in the verification of certificate
4671   chains, to avoid denial of service attacks. Also added 
4672   gnutls_certificate_set_verify_limits() to override them.
4673   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4674 - Added gnutls_certificate_verify_peers2().
4676 * Version 1.0.16 (2004-07-10)
4677 - Do not free the SRP (prime and generator) parameters obtained from the 
4678   callback if they are the static ones defined in extra.h.
4679 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4680 - Some fixes in the makefiles.
4682 * Version 1.0.15 (2004-06-29)
4683 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4684   <mak@greenhills.co.uk>.
4685 - Corrected a bug in certificate verification. Pointed out by
4686   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4688 * Version 1.0.14 (2004-06-12)
4689 - Automatically disable certificate types that do not have corresponding
4690   certificates.
4691 - Updates in the documentation.
4692 - certtool can now add ip address SAN extension.
4693 - certtool has now support for more X.520 DN attribute types.
4694 - Opencdk library is being included if not found.
4695 - Added gnutls_openpgp_keyring_check_id().
4696 - Corrected a serious bug in the included libtasn1 library.
4697 - Corrected session resuming in SRP ciphersuites.
4698 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4699 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4700   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4701 - Some fixes in the session resuming code.
4703 * Version 1.0.13 (2004-04-29)
4704 - Some complilation fixes.
4705 - Added the --xml parameter to the certtool utility.
4707 * Version 1.0.12 (2004-04-23)
4708 - Corrected bug in OpenPGP key loading using a callback.
4709 - Renamed gnutls-srpcrypt to srptool
4710 - Allow handshake requests by the client.
4711 * Things backported from the development branch:
4712 - Added support for authority key identifier and the extended key usage
4713   X.509 extension fields. The certtoool was updated to support them.
4714 - Added batch support to certtool. Now it can use templates.
4715 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4717 * Version 1.0.11 (2004-04-17)
4718 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4719 - Corrected bug in TLS renegotiation.
4721 * Version 1.0.10 (2004-04-03)
4722 - Corrected bug in RSA parameters handling which could cause
4723   unexpected crashes.
4724 - Corrected bug in SSL 3.0 authentication.
4726 * Version 1.0.9 (2004-03-29)
4727 - Added gnutls_certificate_set_params_function() and 
4728   gnutls_anon_set_params_function() that set the RSA or DH
4729   parameters using a callback.
4730 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4731   and gnutls_x509_privkey_cpy().
4732 - Corrected a compilation issue when opencdk was installed in a
4733   non standard directory.
4734 - Documented the changes need in multi-threaded application due
4735   to the new libgcrypt.
4737 * Version 1.0.8 (2004-02-28)
4738 - Corrected bug in mutual certificate authentication in SSL 3.0.
4740 * Version 1.0.7 (2004-02-25)
4741 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4742   hack).
4743 - Some updates in the documentation.
4745 * Version 1.0.6 (2004-02-12)
4746 * Backported things from the development branch (while maintaining
4747   backwards compatibility):
4748 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4749   If they are of highest priority then the abbreviated handshake
4750   is used.
4751 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4752   are no longer returned by the handshake function. Ciphersuites that
4753   require temporary parameters are removed when such parameters do not exist.
4754 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4755   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4756   to specify certificates for the handshake without storing them to the
4757   credentials structure.
4758 - Added support for generating and exporting DSA private keys.
4760 * Version 1.0.5 (2004-02-11)
4761 - Fixed a bug where 'server name' extension was always sent.
4762 * Backported things from the development branch:
4763 - Added CRL verification functionality to certtool.
4764 - Corrected the CRL distribution point extension handling.
4765 - Added PKCS #7 support to certtool utility.
4766 - Added support for reading and generating CRL distribution
4767   points extensions in certificates.
4768 - Added support for generating CRLs in the library and the
4769   certtool utility.
4770 - Added support for the Subject Key ID PKIX extension.
4771 - Added the gnutls_sign_algorithm type.
4773 * Version 1.0.4 (2004-01-04)
4774 - Changed handshake behaviour to send the lowest TLS version
4775   when an unsupported version was advertized. The current behaviour
4776   is to send the maximum version we support.
4777 - certtool no longer asks the password in unencrypted private
4778   keys.
4779 - The source is now compiled to use the reentrant libc functions.
4781 * Version 1.0.3 (2003-12-21)
4782 - Corrected bug in gnutls_bye() which made it return an error code
4783   of INVALID_REQUEST instead of success.
4784 - Corrected a bug in the GNUTLS_KEY key usage definitions.
4786 * Version 1.0.2 (2003-12-18)
4787 - Corrected a bug in the RSA key generation. This was
4788   generating unusable RSA keys.
4790 * Version 1.0.1 (2003-12-10)
4791 - Some minor fixes in the makefiles. They now include CFLAGS
4792   from libgcrypt or opencdk if installed in a non standard directory.
4793 - Fixed the SRP detection test in gnutls-cli-debug.
4794 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
4796 * Version 1.0.0 (2003-12-04)
4797 - Exported the static SRP group parameters.
4798 - Some fixes in the certificate authenticated SRP ciphersuites.
4799 - Improved the support for draft-ietf-tls-srp-05. The two-phase
4800   handshake is now fully supported without any interaction with
4801   the application layer (except for a callback).
4803 * Version 0.9.99 (2003-11-28)
4804 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
4805   and gnutls_server_name_get() prototypes.
4806 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
4807   and gnutls_x509_crt_verify_data().
4808 - Some fixes in the openpgp authentication.
4809 - Removed the Twofish cipher.
4811 * Version 0.9.98 (2003-11-16)
4812 - The openssl compatibility layer was moved to gnutls-openssl
4813   library instead of being included in the gnutls-extra library.
4814 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
4815 - Building with openpgp support is now mandatory.
4816 - gnutls4 compatibility header is no longer included by default in
4817   gnutls.h.
4818 - gnutls8 function usage yelds a deprecation warning in gcc3.
4819 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
4820   functions have a raw_flag parameter added.
4821 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
4822   functions which return the available OIDs.
4824 * Version 0.9.97 (2003-11-11)
4825 - The certtool utility can now generate PKCS #12 structures
4826   without specifying a certificate.
4827 - Added capability to read CRLs to certtool.
4828 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
4829   to properly set the required buffer size.
4830 - Corrected a bug in libgcrypt detection.
4832 * Version 0.9.96 (2003-11-09)
4833 - Some changes to allow compilation with mingw32.
4834 - Several code cleanups.
4836 * Version 0.9.95 (2003-11-02)
4837 - Improved the verification functions. Added new verification
4838   output flags and removed the unused and redundant ones.
4839 - Improved the OpenPGP key support.
4840 - The prime utility was removed, and its functionality was moved
4841   to certtool.
4843 * Version 0.9.94 (2003-10-30)
4844 - Added manpages for the included programs.
4845 - Documented and improved the certtool utility. 
4846 - Added PKCS #12 support to certtool utility.
4848 * Version 0.9.93 (2003-10-26)
4849 - Corrected some compilation issues.
4850 - Improved the certtool command line utility.
4852 * Version 0.9.92 (2003-10-25)
4853 - The RFC2818 hostname verification is now case insensitive.
4854 - Added support for generating X.509 certificates.
4855 - Added the certtool, a tool for generating X.509 certificates
4857 * Version 0.9.91 (2003-10-17)
4858 - Fixed a compilation issue in the openpgp authentication part.
4860 * Version 0.9.90 (2003-10-08)
4861 - Updated the openpgp key API (depends on the unreleased new
4862   opencdk).
4864 * Version 0.9.8 (2003-10-02)
4865 - Updated the SRP implementation to follow the latest draft
4866   (draft-ietf-tls-srp-05).
4867 - Improved the gnutls-cli behaviour in error handling,
4868   and added a check for the peer's hostname.
4869 - Use versioned symbols in the library (where available).
4870 - RIJNDAEL ciphersuites were renamed to AES.
4872 * Version 0.9.7 (2003-08-25)
4873 - The tex files are now included in the distribution.
4874 - The library can now decrypt PKCS #12 files encrypted with
4875   the RC2-40 cipher.
4876 - The missing rfc2818_hostname object is now included.
4877 - Several corrections and bug fixes in the library by 
4878   Arne Thomassen <arne@arne-thomassen.de>.
4879 - CR is now allowed in the base64 decoder.
4881 * Version 0.9.6 (2003-06-28)
4882 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
4883   functions which return a unique (per public key) ID. These can
4884   be used to check if the private key corresponds to a given certificate.
4885 - Corrections in the TLS layer openpgp certificate packet parser.
4886 - Corrected a bug in the record layer buffering, which affected
4887   the case where external pull function was used. Report and patch
4888   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
4889 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
4890   was freed.
4891 - SRP programs are now built by default.
4892 - Added API to read and write to PKCS #12 structures. Prototypes
4893   in gnutls/pkcs12.h.
4894 - The gnutls_transport_ptr type was changed to a pointer type (void*).
4896 * Version 0.9.5 (2003-04-06)
4897 - Several improvements in the PKCS #7 handling
4898 - Eliminated several hard coded constants in MPI parameters.
4900 * Version 0.9.4 (2003-03-28)
4901 - Corrected a parsing error in the Certificate request message.
4902 - Corrected behaviour when a certificate request message is received.
4903   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
4904   a no_certificate alert is sent instead.
4905 - Added functionality to generate PKCS #7 structures (with certificates).
4907 * Version 0.9.3 (2003-03-24)
4908 - Support for MD2 was dropped. 
4909 - Improved the error logging functions, by adding a level, and
4910   by allowing debugging messages just by increasing the level.
4911 - The diffie Hellman ciphersuites are now of higher priority than
4912   the plain RSA.
4913 - The RSA premaster secret version check can no longer be disabled.
4914 - Implemented the counter measure discussed in the paper "Attacking
4915   RSA-based Sessions in SSL/TLS", against the attack described in the
4916   same paper.
4917 - Added the functions: gnutls_handshake_get_last_in(), 
4918   gnutls_handshake_get_last_out().
4919 - The gnutls_certificate_set_rsa_params() was renamed to 
4920   gnutls_certificate_set_rsa_export_params().
4921 - Added the new functions: gnutls_certificate_set_x509_key()
4922   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
4923   gnutls_x509_crt_export(), gnutls_x509_crl_export().
4924 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
4925   RSA private keys.
4927 * Version 0.9.2 (2003-03-15)
4928 - Some corrections in the memory mapping code (file is unmapped after 
4929   it is read).
4930 - Added support for PKCS#10 certificate requests generation.
4932 * Version 0.9.1 (2003-03-12)
4933 - Corrected a bug in 64 bit architectures, which affected the
4934   serial number calculation in the record layer.
4935 - Added gnutls_certificate_free_keys() which deletes all the
4936   private keys and certificates from the credentials structure.
4937 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
4938   which caused some unexpected packet length errors. Report and patch
4939   by Ian Peters <itp@ximian.com>.
4940 - Added ability to generate RSA keys.
4941 - Increased the maximum parameter size in order to read some large keys
4942   by some CAs. Patch by Ian Peters <itp@ximian.com>.
4943 - Added an strnstr() function and the requirement in some functions to
4944   use null terminated PEM structures is no more.
4945 - Use mmap() if available to read files.
4946 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
4947   <r.kittinger@efkon.com>.
4949 * Version 0.9.0 (2003-03-03)
4950 - This version is not binary compatible with the previous ones.
4951 - The library notifies the application on empty and illegal SRP usernames, 
4952   so that proper notification (via an alert) is sent to the peer.
4953 - Added ability to send some messages back to the application using
4954   the gnutls_global_set_log_function().
4955 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
4956   gnutls_malloc() to allocate the output parameters.
4957 - Added support for MD2 algorithm in certificate signature verification.
4958 - The RSA and DH parameter generation interface was changed. Added
4959   ability to import and export from and to PKCS3 structures. This 
4960   was needed to read parameters generated using the openssl dhparam tool.
4961 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
4962   parameters are now included in the library. Also the credentials structure 
4963   can now hold only one temporary parameter of a kind.
4964 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
4965   API, defined in gnutls/x509.h
4966 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
4967   verification flags in the credentials structure. They will be used in the
4968   *verify_peers functions.
4969 - Added protection against the new TLS 1.0 record layer timing attack.
4970 - Added support for Certificate revocation lists. Functions defined
4971   in gnutls/x509.h
4972 - The only functions that were removed are:
4973   gnutls_x509_certificate_to_xml()
4974   gnutls_x509_extract_dn_string()
4975 - Ported to libtasn1 0.2.x
4977 * Version 0.8.1 (2003-01-22)
4978 - Improved the SRP support, to prevent attackers guessing the
4979   available usernames by brute force.
4980 - Improved the SRP detection in gnutls-cli-debug
4981 - Some fixes which now allow compilation.
4983 * Version 0.8.0 (2003-01-20)
4984 - Added gnutls_x509_extract_dn_string() which returns a 
4985   distinguished name in a single string.
4986 - Added gnutls_openpgp_extract_key_name_string() which returns
4987   an openpgp user ID in a single string.
4988 - Added gnutls_x509_extract_certificate_ca_status() which returns
4989   the CA status of the given certificate.
4990 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
4991 - If libtasn1 is not present in the system, it is included in 
4992   the main gnutls library.
4993 - If liblzo is present in the system, then the included minilzo
4994   will not be used, and libgnutls-extra will depend on liblzo.
4995 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
4996   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
4997   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
4999 * Version 0.6.0 (2002-12-08)
5000 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5001   to emulate the old 0.4.x API.
5002 - Example programs are now stored in doc/examples/
5003 - Several improvements and updates in the documentation.
5004 - Added the certificate authenticated SRP cipher suites.
5005 - gnutls_x509_extract_certificate_dn_string() was updated to return
5006   an RFC2253 conforming string.
5007 - Added the SRP related functions:
5008    gnutls_srp_verifier()
5009    gnutls_srp_base64_encode()
5010    gnutls_srp_base64_decode()
5011 - Added the function gnutls_srp_set_server_credentials_function()
5012   to allow retrieving SRP parameters from an external backend - other
5013   than password files.
5014 - Added the function gnutls_openpgp_set_recv_key_function()
5015   which can be used to set a callback, to get OpenPGP keys.
5016 - Exported the functions:
5017    gnutls_malloc()
5018    gnutls_free()
5019   which should be used by callback functions.
5020 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5021   and gnutls_pem_base64_decode_alloc(). In the default case
5022   were the gnutls library is used with malloc/realloc/free,
5023   these are binary compatible.
5025 * Version 0.5.11 (2002-11-05)
5026 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5027   faults at exit.
5028 - Example programs found in the documentation can now be generated by
5029   running "make examples" in doc/tex directory.
5030 - Added more descriptive error strings, to gnutls_strerror().
5031 - Documented error codes, and the function reference list is now sorted.
5032 - Optimized buffering code.
5033 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5034 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5035   case where the memory buffer provided is not long enough.
5036 - Depends on the new OpenCDK 0.3.2.
5038 * Version 0.5.10 (2002-10-13)
5039 - Updated documentation.
5040 - Added server name extension. This allows clients to specify the
5041   name of the server they connect to. Useful to HTTPS.
5042 - Several corrections in the code base, mostly in signed/unsigned,
5043   checkings.
5045 * Version 0.5.9 (2002-10-10)
5046 - Corrected some code which worked fine in gcc 3.2, but not with any
5047   other compiler.
5048 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5049   starttls implementations.
5050 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5051   the private key type, of a DER encoded key.
5052 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5053   certificate's distinguished name in a single string.
5054 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5055   functions, to avoid calling all the *_priority() functions if the defaults
5056   are acceptable.
5057 - Added int gnutls_x509_check_certificates_hostname() which check whether
5058   the given hostname matches the owner of the given X.509 certificate.
5060 * Version 0.5.8 (2002-09-25)
5061 - Updated documentation.
5062 - Added gnutls_record_get_direction() which replaces the obsolete
5063   gnutls_handshake_get_direction().
5064 - Added function to convert error codes to alert descriptions
5065 - Added LZO compression
5067 * Version 0.5.7 (2002-09-11)
5068 - Some fixes in the memory allocation functions (realloc).
5069 - Improved the string functions used in XML certificate generation.
5070 - Removed dependency on libgdbm.
5071 - Corrected bug in gnutls_dh_params_set() which affected
5072   gnutls_dh_params_deinit().
5073 - Corrected bug in session resuming code in server side.
5075 * Version 0.5.6 (2002-09-06)
5076 - Corrected bugs in SRP implementation, which prevented gnutls 
5077   to interoperate with other implementations. (interoperability testing
5078   was done by David Taylor)
5079 - Corrected bug in cert_type extension.
5080 - Corrected extension type checks which used an 8 bit extension size,
5081   instead of 16 bits.
5082 - Added versioning in the XML output of certificate functions.
5083 - Removed the X.509 test suite.
5085 * Version 0.5.5 (2002-09-03)
5086 - Updated the SRP implementation to the latest draft. The blowfish
5087   crypt implementation was removed, since the new draft does not allow
5088   other hash algorithms except for the srpsha. 
5089 - Renamed all the constructed types in order to have more consistent
5090   names. 
5091 - Improved the certificate and key read functions. Now they can read 
5092   the certificate and the private key from the same file.
5093 - Updated and corrected documentation.
5095 * Version 0.5.4 (2002-08-27)
5096 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5097 - gnutls_handshake_set_exportable_detection() was obsoleted.
5098 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5099 - Corrected bug in DHE key exchange
5100 - Added support for temporary RSA keys which are needed for the
5101   export cipher suites.
5102 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5104 * Version 0.5.3 (2002-08-23)
5105 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5106   code from the unstable branch.
5108 * Version 0.5.2 (2002-08-22)
5109 - Added an error code that is returned in clients which connect
5110   to export only servers. This must be enabled using the
5111   gnutls_handshake_set_exportable_detection() function.
5112 - Updated openssl compatibility layer.
5113 - Added gnutls_handshake_get_direction() function which returns
5114   the state of the handshake when interrupted.
5116 * Version 0.5.1 (2002-07-17)
5117 - Corrected the m4 macros which used <gnutls.h> instead of
5118   <gnutls/gnutls.h>
5119 - Documentation fixes
5120 - Added gnutls_transport_set_ptr2() function, which accepts two
5121   different pointers, to be used while receiving, and 
5122   while sending data.
5123 - Semantic changes in gnutls_record_set_max_size(). The requested
5124   size is now immediately enforced at the output buffers.
5125 - gnutls_global_init_extra() now fails if the library versions do
5126   not match.
5127 - Fixes in client and server example programs. Null encryption can
5128   be used in these programs, to assist in debuging.
5129 - Fixes in zlib compression code.
5131 * Version 0.5.0 (2002-07-06)
5132 - Added X.509 certificate tests in tests/ directory
5133 - Removed stubs for SRP and Anonymous authentication. They served
5134   no purpose since they are always included, unless it was requested
5135   not to do so.
5136 - Added gnutls_handshake_set_private_extensions() function. This
5137   function can be used to enable private (gnutls specific) cipher suites
5138   and compression algorithms.
5139 - Added check for C99 macro support by the compiler.
5140 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5141 - Added the new libtasn1 library.
5142 - Removed the gdbm backend. Applications are now responsible for the
5143   session resuming backend. The gnutls-serv application contains an
5144   simple example on how to use gdbm for resuming.
5145 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5146 - Added an OpenSSL compatible interface (with some limitations).
5147 - Added functions to convert DER encoded certificates to XML format.
5149 * Version 0.4.4 (2002-06-24)
5150 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5151   using keys of some specific size.
5153 * Version 0.4.3 (2002-05-23)
5154 - The gnutls-extra library now compiles fine, if the opencdk library is
5155   not present.
5156 - Several bug fixes.
5157 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5158   functions, if other than the defaults are to be used.
5159 - The default memory allocation functions are now the ones in libc.
5161 * Version 0.4.2 (2002-05-21)
5162 - Separated ASN.1 structures parser documentation and TLS library
5163   documentation.
5164 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5165   version check in RSA premaster secret.
5166 - Added gnutls_session_is_resumed() function, which reports if a session
5167   is a resumed one.
5168 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5169   assist in callback functions.
5170 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5171   random one.
5172 - Relicensed the library under the GNU Lesser General Public License
5173 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5175 * Version 0.4.1 (2002-04-07)
5176 - Now uses alloca() for temporary variables
5177 - Optimized RSA signing
5178 - Added functions to return the peer's certificate activation and
5179   expiration time.
5180 - Corrected time function's behaviour (the time value returned no longer
5181   relate to local timezone).
5183 * Version 0.4.0 (2002-04-01)
5184 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5185 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5186   gnutls_openpgp_extract_key_pk_algorithm().
5187 - Several optimizations in the Handshake protocol
5188 - Several optimizations in RSA algorithm
5189 - Unified the return values because of small buffers.
5191 * Version 0.3.92 (2002-03-23)
5192 - Updated documentation
5193 - Combined error codes of ASN.1 parser and gnutls
5194 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5195 - Added protection against CBC chosen plaintext attack (disabled by default)
5196 - Improved and optimized compression support
5198 * Version 0.3.91 (2002-03-03)
5199 - Added gnutls-cli-debug program
5200 - Corrections in session resumption
5201 - Rehandshake can now handle negotiation of different authentication
5202   type.
5203 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5204   now being installed.
5206 * Version 0.3.90 (2002-02-24)
5207 - Handshake messages are not kept in memory any more. Now we use 
5208   less memory during a handshake
5209 - Added support for certificates with DSA parameters
5210 - Added DHE_DSS cipher suites
5211 - Key exchange methods changed so they do not depend on the 
5212   certificate type. Added certificate type negotiation TLS extension.
5213 - Added openpgp key support (EXPERIMENTAL)
5214 - Improved Diffie Hellman key exchange support.
5215 - Bug fixes in the RSA key exchange.
5216 - Added check for the requested TLS extensions
5217 - TLS extensions now use a 16 bit type field.
5218 - Added a minimal string library to assist in ASN.1 parsing
5219 - Changes in ASN.1 parser to work with the new bison
5220 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5221   gnutls_x509_extract_subject_dns_name()
5222 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5223 - gnutls_srp_server_set_cred_file() can now be called multiple times
5225 * Version 0.3.5 (2002-01-25)
5226 - Corrected the RSA key exchange method, to avoid attacks against
5227   PKCS-1 formating.
5229 * Version 0.3.4 (2002-01-20)
5230 - Corrected bugs in DHE_RSA key exchange method
5232 * Version 0.3.3 (2002-01-19)
5233 - Added gnutls_x509pki_verify_certificate()
5234 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5235 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5236 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5237 - Corrected library versioning
5239 * Version 0.3.2 (2002-01-05)
5240 - Corrected bug which did not allow a client to accept multiple CA names
5241 - Added gnutls_fingerprint()
5242 - Added gnutls_x509pki_extract_certificate_serial()
5243 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5244 - Corrected behaviour in version advertizing
5245 - Updated documentation
5246 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5248 * Version 0.3.1 (2001-12-21)
5249 - Corrections in the configuration files
5250 - Fixes a bug in anonymous authentication
5252 * Version 0.3.0 (2001-12-17)
5253 - Corrected bug in new integer formatting (now we use the old format again)
5254 - Several corrections and usual cleanups
5256 * Version 0.2.91 (2001-12-10)
5257 - Fixes in MPI handling (fixes possible bug with signed integers)
5258 - Removed name indication extension
5259 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5260 - Optimizations in server certificate callback.
5261 - Fixes in anonymous authentication
5262 - Corrections in client ciphersuite selection
5264 * Version 0.2.90 (2001-12-07)
5265 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5266   the 'SOCKET cd' argument. This argument is set using the function
5267   gnutls_set_transport_ptr().
5268 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5269   a list containing peer's certificate and issuers DER encoded.
5270 - Updated X.509 certificate handling API
5271 - Added callback to select the server certificate
5272 - More consistent function naming (changes in several function names)
5273 - Buffer overflow checking in ASN.1 structures parser
5274 - Updated documentation
5276 * Version 0.2.11 (2001-11-16)
5277 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5278   is returned, then the caller should perform a handshake or send
5279   an alert to the peer.
5280 - Made receive buffer dynamic. Normally if no large chunks are received
5281   it occupies less space.
5282 - Added max_record_size extension
5283 - Bugfixes in session handling
5284 - Improved non blocking IO support in the Handshake Protocol
5285 - Usual bugfixes and cleanups
5286 - Documentation updated (includes ASN.1 documentation)
5288 * Version 0.2.10 (2001-11-05)
5289 - Corrected bugs and improved non blocking IO
5290 - Added hooks to use external database to store sessions
5291 - Usual cleanups
5293 * Version 0.2.9 (2001-10-27)
5294 - AUTH_INFO types and structures were moved to library internals
5295 - AUTH_FAILED is no longer returned in SRP authentication
5296   (any fatal error in SRP means auth failed)
5297 - Introduced GNUTLS_E_INTERRUPTED
5298 - Added support for non blocking IO
5299 - gnutls_recv() and gnutls_send() are now obsolete
5300 - Changed semantics of gnutls_rehandshake()
5302 * Version 0.2.4 (2001-10-12)
5303 - Better handling of X.509 certificate extensions
5304 - Added DHE_RSA ciphersuites
5305 - Updated the Name Indication (dnsname) extension
5306 - Improvements in Diffie Hellman primes handling
5308 * Version 0.2.3 (2001-09-19)
5309 - Memory optimizations in gnutls_recv()
5310 - Fixed several memory leaks
5311 - Added ability to specify callback for x509 client certificate selection
5312 - Better documentation
5314 * Version 0.2.2 (2001-08-21)
5315 - Several bugfixes (library and documentation)
5317 * Version 0.2.1 (2001-08-07)
5318 - SRP fixes
5320 * Version 0.2.0 (2001-08-07)
5321 - Partial support for X.509v3 Certificate extensions.
5322 - Added Internal memory handlers
5323 - Removed gnutls_x509_set_cn()
5324 - Added X.509 client authentication
5325 - Several bug fixes and protocol fixes
5327 * Version 0.1.9 (2001-07-30)
5328 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5329 - SRP is updated to conform to the newest draft.
5330 - Added support for DNSNAME extension.
5331 - Reentracy fixes in ASN.1 Parsing.
5332 - Optimizations in hash/hmac functions
5333 - (Error) message handling has changed
5334 - Better Protocol Version handling
5335 - Added X.509 Certificate Verification
5336 - gnutls_read() semantics are now closer to read(2) - added EOF
5337 - Documented some part of gnutls in doc/tex/ using Latex
5339 * Version 0.1.4 (2001-06-22)
5340 - Corrected (srp) base64 encoding.
5341 - Changed bcrypt algorithm to include username.
5342 - Added RSA Ciphersuites (no certificate checking).
5343 - Fixes in SSL 2.0 client hello parsing.
5344 - Added ASN.1 and DER parsers.
5345 - Bugfixes in session resuming
5346 - Updated Ciphersuite selection algorithm
5347 - Added internal representation of X.509 structures.
5348 - Added global state
5350 * Version 0.1.3 (2001-06-01)
5351 - Updated API (and the way it is documented - we use inline documentation)
5352 - Added function to access alert messages.
5353 - Added support for renegotiating parameters.
5354 - Better and Faster Resume Database handling.
5355 - Several bugfixes
5357 * Version 0.1.2 (2001-05-14)
5358 - Updated API
5359 - Fixes in extension handling
5361 * Version 0.1.1 (2001-05-13)
5362 - Added compatibility with Stanford's libsrp library
5364 * Version 0.1.0 (2001-05-09)
5365 - Added SSL 2.0 client hello support
5366 - GNUTLS is a gnu library
5367 - Added support for TLS extensions.
5368 - Added support for SRP
5370 * Version 0.0.7 (2001-01-11)
5371 - Added server side session resuming (using gdbm)
5372 - Added twofish algorithm
5374 * Version 0.0.6 (2000-12-20)
5375 - Added client side session resuming
5376 - Better documentation (check doc/API)
5377 - Better socket handling (gnutls can be used with select())
5378 - Some primitive support for non blocking IO and socket options has been added.
5380 * Version 0.0.5 (2000-12-07)
5381 - Added Compression (using ZLIB)
5382 - Added SSL 3.0 support
5384 ----------------------------------------------------------------------
5385 Copying and distribution of this file, with or without modification,
5386 are permitted in any medium without royalty provided the copyright
5387 notice and this notice are preserved.