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