Version 1.7.16.
[gnutls.git] / NEWS
blob548e3884122768128a70722a258a09bcf1044f2d
1 GNU TLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2004, 2005, 2006, 2007 Simon Josefsson
3 Copyright (C) 2000, 2001, 2002, 2003, 2004 Nikos Mavroyanopoulos
4 See the end for copying conditions.
6 * Version 1.7.16 (released 2007-08-07)
8 ** Fix sanity checks and return values in certificate selection.
9 In some cases, GnuTLS omitted to report suitable error codes when no
10 suitable certificate was found.
12 ** Fix gnutls-cli starttls EOF on Mac OS X.
13 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
15 ** Documentation fixes.
16 In particular, the section headings were modified for casing.  By
17 Ludovic Courtes <ludovic.courtes@laas.fr>.
19 ** Update gnulib files.
21 ** API and ABI modifications:
22 No changes since last version.
24 * Version 1.7.15 (released 2007-07-02)
26 ** Fix self-tests key-id under mingw32.
28 ** Test that the Guile header files are recent enough to work.
29 Before we just tested that the command line tool 'guile' was recent
30 enough, which may not be sufficient if you still have an old
31 libguile.h header installed.
33 ** Guile bindings are now installed under $prefix by default.
34 Use --without-guile-site-dir to install it under $pkgdatadir/site/
35 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
36 Use --with-guile-site-dir=/your/own/path to specify the path manually.
37 The default, --with-guile-site-dir, will install the Guile bindings
38 under $datadir/guile/site.  There is a new section 'Guile
39 Preparations' in the manual that discuss these issues.
41 ** Fix run-time library path ordering in linking the Guile bindings.
43 ** Improved manual on downloading, installing, getting help, bug reports etc.
44 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
46 ** Add Malay message translations.
47 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
49 ** API and ABI modifications:
50 No changes since last version.
52 * Version 1.7.14 (released 2007-06-26)
54 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
55 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
57 ** Fix memory leak during DSA signature verification.
58 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
60 ** Fix crash in gnutls-cli when TLS handshake fails.
61 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
62 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
63 <http://bugs.debian.org/429183>.
65 ** Minor OpenPGP fixes in stream_to_datum.
66 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
67 <ludovic.courtes@laas.fr>.
69 ** Fix off-by-one in TLS 1.2 handshake.
70 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
72 ** Minor Guile binding self-test cleanup.
73 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
75 ** Update gnulib files.
77 ** API and ABI modifications:
78 No changes since last version.
80 * Version 1.7.13 (released 2007-06-11)
82 ** OpenCDK copy updated to version 0.6.3.
84 ** Build fixes for GnuTLS Guile bindings.
85 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
87 ** Build fix for GTK-DOC manual.
89 ** Update gnulib files.
91 ** API and ABI modifications:
92 No changes since last version.
94 * Version 1.7.12 (released 2007-06-08)
96 ** Guile bindings for GnuTLS have been included.
97 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
98 new chapter 'Guile Bindings' in the manual.
100 ** Have PKCS8 parser return better error codes.
101 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
102 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
103 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
105 ** Fix mem leak for sessions with client authentication via certificates.
106 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
107 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
109 ** Fix mem leaks.
110 Reported by Dennis Vshivkov <walrus@amur.ru>, see
111 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
112 self-test tests/parse_ca.c to test regressions.
114 ** Fix build failures related to missing images in manual.
115 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
117 ** Update gnulib files.
119 ** API and ABI modifications:
120 No changes since last version.
122 * Version 1.7.11 (released 2007-05-26)
124 ** Include opencdk.h in the release.
125 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
127 ** API and ABI modifications:
128 No changes since last version.
130 * Version 1.7.10 (released 2007-05-25)
132 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
133 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
135 ** Update of gnulib files.
137 ** GnuTLS is now developed in GIT instead of CVS.
138 See <http://repo.or.cz/w/gnutls.git> for a public repository.
140 ** API and ABI modifications:
141 gnutls_x509_crt_get_raw_issuer_dn: ADD.
142 gnutls_x509_crt_get_raw_dn: ADD.
144 * Version 1.7.9 (released 2007-05-12)
146 ** X.509 certificates are preferred over OpenPGP keys.
147 This is a change in the semantics of gnutls_set_default_priority.
149 ** The included copy of OpenCDK has been updated to 0.6.1.
150 There has been some API changes in OpenCDK, and the GnuTLS layer have
151 been modified as well.  Note that while there are API/ABI incompatible
152 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
153 its API/ABI have not changed.  From this version on, GnuTLS requires
154 OpenCDK 0.6.0 or later.
156 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
158 ** Change certtool's default serial number from 0 to a time-based value.
160 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
161 Before, we remove the parameters field, which resulted in a slightly
162 different DER encoding which in turn caused signature verification
163 failures of GnuTLS-generated RSA certificates in some other
164 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
165 you read, this may or may not be correct, but our new behaviour appear
166 to be consistent with other widely used implementations.
168 ** Fix mem leaks in gnutls_x509_crt_print.
170 ** API and ABI modifications:
171 No changes since last version.
173 * Version 1.7.8 (released 2007-04-16)
175 ** Added examples for the authorization extension.
176 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
178 ** The examples only use gnutls_set_default_priority().
179 The exception is when DH_ANON is needed.
181 ** Improve gnutls_set_default_priority() priorities.
182 The new approach is for it to try and negotiate all secure and
183 standard mechanisms available.  Currently, DH_ANON ciphersuites and
184 LZO compressions are not enabled by default, because they are,
185 respectively, insecure and non-standardized.  Note that TLS 1.2 will
186 not be enabled by default in non-experimental release until it has
187 been approved by the IETF.
189 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
190 This means that to get DH_ANON and LZO compression, you'll need to
191 specify that manually using '--kx anon' or '--comp lzo'.
193 ** Minor fixes to the human display format of X.509 certificates.
195 ** New APIs to extract Distinguished Name's from X.509 certificates.
196 Based on patch from Howard Chu <hyc@symas.com>.
198 ** Improved library searching for opencdk.
199 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
200 The deprecated opencdk.m4 is no longer used.
202 ** New APIs to list supported algorithms in the library.
203 The APIs are gnutls_cipher_list, gnutls_mac_list,
204 gnutls_compression_list, gnutls_protocol_list,
205 gnutls_certificate_type_list, gnutls_kx_list, and
206 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
208 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
210 ** New configure option --disable-tls-authorization to disable tls-authz.
212 ** Fix prototype for `gnutls_psk_set_client_credentials'.
213 The last parameter was renamed from 'flags' to 'format' and the type
214 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
215 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
216 (Ludovic Courtès).
218 ** Fix allocation in gnutls_certificate_set_openpgp_key.
219 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
221 ** API and ABI modifications:
222 gnutls_x509_dn_t: ADD.
223 gnutls_x509_ava_st: ADD.
224 gnutls_x509_crt_get_subject,
225 gnutls_x509_crt_get_issuer: ADD.
226 gnutls_x509_dn_get_rdn_ava: ADD.
227 gnutls_cipher_list: ADD.
228 gnutls_mac_list: ADD.
229 gnutls_compression_list: ADD.
230 gnutls_protocol_list: ADD.
231 gnutls_certificate_type_list: ADD.
232 gnutls_kx_list: ADD.
233 gnutls_cipher_suite_info: ADD.
235 * Version 1.7.7 (released 2007-02-22)
237 ** Support for supplemental handshake messages and authorization data.
238 Supplemental data is described in RFC 4680 and the authorization
239 extensions in draft-housley-tls-authz-extns-07.
241 ** Support for authorization data in gnutls-cli and gnutls-serv.
242 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
244 ** Fix for gnutls_x509_crt_check_hostname.
245 Before it would have reported that the certificate matched a hostname
246 when it did not have any dNSName or any CN field.  Report and tiny
247 patch from "Richard W.M. Jones" <rjones@redhat.com>.
249 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
250 Tests regressions of the bug, and several other features.
252 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
253 Before there were no support for iPAddress SAN's during comparison.
255 ** New API to print information about CRL's.
256 The function is gnutls_x509_crl_print.
258 ** New API to extract signature value from CRL's.
259 The function is gnutls_x509_crl_get_signature.
261 ** Support for directoryName Subject Alternative Name's.
262 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
263 string in the provided buffer.
265 ** Internal improvements to certtool.
266 It uses gnutls_x509_crl_print to print CRL information.  It uses some
267 more gnulib modules to simplify error handling.
269 ** API and ABI modifications:
270 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
271 gnutls_supplemental_data_format_type_t: ADD.
272 gnutls_authz_data_format_type_t: ADD.
273 gnutls_supplemental_get_name: ADD.
274 gnutls_authz_recv_callback_func,
275 gnutls_authz_send_callback_func: ADD, callback prototypes.
276 gnutls_authz_enable: ADD.
277 gnutls_authz_send_x509_attr_cert,
278 gnutls_authz_send_saml_assertion,
279 gnutls_authz_send_x509_attr_cert_url,
280 gnutls_authz_send_saml_assertion_url: ADD.
281 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
282 gnutls_x509_crl_print: ADD.
283 gnutls_x509_crl_get_signature: ADD.
285 * Version 1.7.6 (released 2007-02-12)
287 ** Support for 'otherName' Subject Alternative Names.
288 The existing API gnutls_x509_crt_get_subject_alt_name may now return
289 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
290 To find out the otherName OID (necessary for proper parsing of the
291 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
292 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
293 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
294 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
296 ** Certtool can print otherName SAN values for certificates.
297 For known otherName OIDs (currently only id-on-xmppAddr as defined by
298 RFC 3920), it will also print the name.
300 ** Fix TLS 1.2 RSA signing in servers.
301 Before it used the old-style MD5+SHA1 signature, but the TLS
302 signatures should be normal PKCS#1 signatures.  FYI, we use and
303 require that DigestInfo parameters are present and NULL for TLS 1.2.
305 ** Add APIs to access X.509 extensions sequentially.
306 The existing APIs gnutls_x509_crt_get_extension_oid() and
307 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
308 inspect the extensions in the order defined by the certificate.
310 ** Add API to extract signature value from X.509 certificates.
311 The function is gnutls_x509_crt_get_signature.
313 ** Fix crash when generating proxy certificates in batch mode.
314 If you don't specify a proxy policy in batch mode, it will use
315 id-ppl-inheritALL.
317 ** Add API to print information about X.509 certificates.
318 The function is gnutls_x509_crt_print.
320 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
321 One consequence of this is that the output syntax has changed
322 slightly.  Some more fields are printed.
324 ** Doc fixes.
326 ** API and ABI modifications:
327 gnutls_x509_crt_print: ADD
328 gnutls_certificate_print_formats_t: ADD, new enum.
329 gnutls_x509_crt_get_signature: ADD.
330 gnutls_x509_crt_get_extension_data: ADD.
331 gnutls_x509_crt_get_extension_info: ADD.
332 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
333 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
334 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
336 * Version 1.7.5 (released 2007-02-06)
338 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
339 ** is set.
341 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
343 ** Fix --list output for gnutls-cli and gnutls-serv.
344 Mention TLS1.2, SHA512 etc.
346 ** Manual contains new section on setting up a test HTTP server.
347 A server set up following those descriptions are available online via
348 <http://www.gnutls.org/server.html>.
350 ** Update of gnulib files.
352 ** API and ABI modifications:
353 No changes since last version.
355 * Version 1.7.4 (released 2007-02-05)
357 ** Support for RSA signing using SHA-256/384/512.
358 A new self test "sha2" tries to build a long X.509 certificate chain
359 testing all new hashes.
361 ** The gnutls-serv tool now use static DH parameters if none are supplied.
363 ** Discuss proxy certificates in the manual.
365 ** Improve bibliographical citations in the manual.
367 ** Update of gnulib files.
369 ** Fix certtool template handling of pathLenConstraints.
370 It now defaults to -1 instead of 0, which causes the field to be
371 missing unless the template specify it.
373 ** API and ABI modifications:
374 GNUTLS_MAC_SHA256,
375 GNUTLS_MAC_SHA384,
376 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
377 GNUTLS_DIG_SHA256,
378 GNUTLS_DIG_SHA384,
379 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
380 GNUTLS_SIGN_RSA_SHA256,
381 GNUTLS_SIGN_RSA_SHA384,
382 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
384 * Version 1.7.3 (released 2007-02-01)
386 ** New option to certtool: --generate-proxy.
387 This will generate a Proxy Certificate from an end entity certificate.
388 Proxy Certificates are documented in RFC 3820.  You will need to
389 specify the proxy certificate's private key with --load-privkey, the
390 user certificate with --load-certificate and the private key used to
391 sign the new proxy certificate with --load-ca-privkey.  Certtool will
392 query for proxy path length and the policy language OID.  Currently
393 only OIDs that have an empty policy are supported (which includes the
394 two OIDs defined by RFC 3820).
396 ** Certtool --certificate-info now prints information for Proxy Certificates.
397 Before the proxy extension was just printed as DER encoded data.
399 ** New APIs to set proxy subject names and get/set proxy cert extension.
401 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
403 ** Added self-test to test for regressions of pathLenConstraint bug.
404 Incidentally, this also test (some) other regressions or changes in
405 the output from certtool --certificate-info.
407 ** When certtool generates CA certificates, pressing enter on the path
408 ** length constraint query will now remove the field.
409 Before it set the path length constraint to 0, which is a rather poor
410 default.
412 ** Certtool now print times in UTC when printing certificate/CRL info.
414 ** Add better fix to work around C++ compiler bug on Mac OS X.
415 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
417 ** Fix import of ASCII armored OpenPGP keys.
418 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
420 ** Update of gnulib files.
422 ** API and ABI modifications:
423 gnutls_x509_crt_set_proxy_dn: ADD.
424 gnutls_x509_crt_set_proxy: ADD.
425 gnutls_x509_crt_get_proxy: ADD.
427 * Version 1.7.2 (released 2007-01-14)
429 ** Certtool now print the value of the pathLenConstraints field for certs.
431 ** Certtool now query for path length constraints when generating CA certs.
432 For batch uses, the certtool configuration name is "path_len".
433 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
435 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
436 The new functions gnutls_x509_crt_get_basic_constraints and
437 gnutls_x509_crt_set_basic_constraints provide a superset of the
438 functionality in the old gnutls_x509_crt_get_ca_status and
439 gnutls_x509_crt_set_ca_status (respectively), but the old functions
440 will continue to be supported.
442 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
443 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
444 OpenCDK release with this patch will be made soon, which should bump
445 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
447 ** Certtool --to-p12 can now store more than one certificate in the blob.
448 Before it could only store one certificate, but now it will read and
449 store as many certificate there are from the --load-certificate file.
450 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
452 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
453 In particular, the OpenPGP function variables are no longer part of
454 the exported libgnutls interface, and no header files from
455 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
456 were never intended for non-internal purposes, and thus this does not
457 imply a change in the external API/ABI.
459 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
460 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
462 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
463 Before these parameters were set to make GnuTLS build under mingw32,
464 however, they appear to no longer be necessary.
466 ** A minor fix to the C++ library to make it build.
467 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
469 ** Update of gnulib files.
471 ** API and ABI modifications:
472 gnutls_x509_crt_get_basic_constraints: ADD.
473 gnutls_x509_crt_set_basic_constraints: ADD.
474 cdk_pubkey_to_sexp: ADD (in opencdk).
475 cdk_seckey_to_sexp: ADD (in opencdk).
477 * Version 1.7.1 (released 2006-12-28)
479 ** TLS 1.2 server side fix.
480 The Certificate Request sent did not contain the list of supported
481 hashes field, thus violating the protocol.  It will now contain an
482 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
484 ** TLS 1.2 DSA signature verification fix.
485 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
487 ** Fix the list of trusted CAs that server's send to clients.
488 Before, the list contained issuer DN's instead of subject DN's of the
489 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
491 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
492 Also added a self-test in tests/certificate_set_x509_crl.c to test the
493 function.  Reported by Max Kellermann <max@duempel.org>.
495 ** Encode UID fields in DN's as DirectoryString.
496 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
497 incorrect, it should have used DirectoryString.  Now it will use
498 DirectoryString for the UID field, but for backwards compatibility it
499 will also accept IA5String UID's.  Reported by Max Kellermann
500 <max@duempel.org>.
502 ** Improve out-of-sourcedir builds from CVS.
503 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
505 ** Bootstrap tools changed.
506 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
507 building GnuTLS from CVS.  Libtool 1.5.22 is used.
509 ** Fixed a syntax error in lib/gnutls.asn.
510 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
512 ** Added German translation of GnuTLS messages.
514 ** Update of gnulib files.
516 ** API and ABI modifications:
517 No changes since last version.
519 * Version 1.7.0 (released 2006-11-29)
521 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
522 The details is that the protocol priority set by
523 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
524 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
526 ** Preliminary support for TLS 1.2.
527 The client has been successfully tested against
528 https://www.mikestoolbox.org:4433/.
530 ** Anonself test now print a lot of debugging info, including TLS version.
532 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
534 ** Update of gnulib files.
536 ** API and ABI modifications:
537 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
539 *** Pulled up from stable 1.6.x branch:
541 ** Fix ./configure failure with non-GCC compilers.
542 This fixes the following error message:
543 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
544 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
546 * Version 1.6.1 (released 2006-12-28)
548 ** Fix the list of trusted CAs that server's send to clients.
549 Before, the list contained issuer DN's instead of subject DN's of the
550 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
552 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
553 Reported by Max Kellermann <max@duempel.org>.
555 ** Encode UID fields in DN's as DirectoryString.
556 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
557 incorrect, it should have used DirectoryString.  Now it will use
558 DirectoryString for the UID field, but for backwards compatibility it
559 will also accept IA5String UID's.  Reported by Max Kellermann
560 <max@duempel.org>.
562 ** Fix ./configure failure with non-GCC compilers.
563 This fixes the following error message:
564 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
565 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
567 ** API and ABI modifications:
568 No changes since last version.
570 * Version 1.6.0 (released 2006-11-17)
572 ** No changes since 1.5.5.
573 The major changes compared to the 1.4.x branch are:
575 *** A GnuTLS C++ library is part of the official distribution.
576 Currently there are no examples or documentation, but hopefully this
577 will change.  See gnutlsxx.h for the API.
579 *** Windows is a supported platform.
580 There are, however, two know bugs.  One is related to select() in
581 command line tools (not, nota bene, in the library), the other is a
582 problem with libgcrypt that causes delays.  Help is needed to resolve
583 those issues, so we feel we can't delay the release because of this.
585 *** New APIs for custom push/pull function error reporting.
586 The new APIs are gnutls_transport_set_errno and
587 gnutls_transport_set_global_errno.  See the release notes for version
588 1.5.4 for more information.
590 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
592 * Version 1.5.5 (released 2006-11-16)
594 ** Correctly bump shared library version after adding new APIs.
595 This was forgotten in the last release.
597 ** Fix unsigned vs signed problem in ex-x509-info.c example.
598 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
600 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
602 ** Update of gnulib files.
604 ** API and ABI modifications:
605 No changes since last version.
607 * Version 1.5.4 (released 2006-11-07)
609 ** New API functions to set errno in push/pull functions.
610 Under Windows, setting the errno variable in a push/pull replacement
611 may end up setting the wrong errno variable, and GnuTLS send/recv
612 functions become confused about the real errno returned from a failed
613 push/pull function.  Therefor, we have added two APIs to set the errno
614 variable used by GnuTLS.  The APIs can also help to keep things
615 thread-safe, by avoiding potentially global variables.  Typically,
616 instead of setting errno in your push/pull function, you will call one
617 of these functions.  It is recommended to use
618 gnutls_transport_set_errno, but if you don't have the session variable
619 easily accessible in the push/pull replacement function, you can use
620 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
621 <tim.kosse@filezilla-project.org>.
623 void gnutls_transport_set_errno (gnutls_session_t session, int err);
624 void gnutls_transport_set_global_errno (int err);
626 ** When calling `recv' or `send' Windows errors are handled properly.
627 The Windows recv/send functions doesn't use errno, and GnuTLS now use
628 WSAGetLastError to access the error condition instead.
630 ** Several OpenPGP API fixes.
631 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
632 important fix is to change the return value of
633 gnutls_openpgp_privkey_get_pk_algorithm and
634 gnutls_openpgp_key_get_pk_algorithm from 'int' to
635 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
636 compatible with 'int').
638 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
639 ** version, try to negotiate the highest version support by the GnuTLS server,
640 ** instead of the lowest.
641 Reported by <Pasi.Eronen@nokia.com>.
643 ** Replace old constructs with use of gnulib modules.
644 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
645 the code.  If the headers doesn't exist on the target system, gnulib
646 will make sure its replacement header files are used instead.
648 ** Fix SOVERSION computation for *.def files.
649 This fixes build errors similar to "No rule to make target
650 `libgnutls-`expr', needed by `all-am'." when building for Windows.
652 ** gnutls_check-version uses strverscmp from gnulib.
654 ** Update of gnulib files.
656 ** API and ABI modifications:
657 gnutls_transport_set_errno: ADD
658 gnutls_transport_set_global_errno: ADD
660 * Version 1.5.3 (released 2006-10-26)
662 ** Add new self-test of RSA-MD5 signature chains.
663 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
664 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
665 and is based on the work by Marc Stevens et al, see
666 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
668 ** Re-factor self tests.
670 ** The include copy of Libtasn1 is updated to version 0.3.7.
672 ** The included copy of OpenCDK is updated to version 0.5.11.
674 ** Fix the filename of the *.def file on Windows after library version bump.
676 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
677 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
678 gnulib modules.  Earlier we could only use the LGPL'ed module from
679 gnulib, because two gnulib directories in the same project didn't
680 work.
682 ** API and ABI modifications:
683 No changes since last version.
685 * Version 1.5.2 (released 2006-10-03)
687 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
688 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
689 shared library version than this version, so you'll have to remove
690 them and possibly relink your applications.  The reason for this is
691 that no API/ABI changes have been made since the 1.4.x branch, and
692 that incrementing the shared library version was a mistake.  Reported
693 by Andreas Metzler <ametzler@downhill.at.eu.org>.
695 ** Fix off-by-one error when computing length to malloc.
696 The code is used by gnutls_openpgp_add_keyring_file and
697 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
698 <agl@imperialviolet.org>.
700 ** Add version script for the GnuTLS C++ library.
701 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
703 ** Fix the C++ compiler detection logic.
704 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
706 ** Update of gnulib files.
708 ** API and ABI modifications:
709 No changes since last version.
711 * Version 1.5.1 (released 2006-09-21)
713 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
714 ** Crypto 06 rump session attack.
715 In particular, we check that the digestAlgorithm.parameters field is
716 missing or empty, to avoid that it can contain "garbage" that may be
717 used to alter the numeric properties of the signature.  See
718 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
719 not exactly the same as the problem we fix here).  Reported by Yutaka
720 OIWA <y.oiwa@aist.go.jp>.
722 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
723 up to date information.
725 ** Add self test to test for above flaw.
727 ** Fix gnutls-cli-debug regarding resume support detection.
728 Earlier, if the session-id from the server had a length of 0, it would
729 indicate the the server supports resumption, which isn't the case.
730 Reported by Kataja Kai <kai.kataja@op.fi>.
732 ** Fix building of examples on FreeBSD by including netinet/in.h.
733 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
735 ** Fix certtool bug that caused the private key to not be loaded when
736 generating a certificate with --load-request, which in turn triggered
737 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
738 by Sascha Ziemann <sascha.ziemann@secunet.com>.
740 ** gnutls-cli and gnutls-serv works on Windows.
741 The problem was the select() call that doesn't work on file
742 descriptors (stdin) on Windows.  We borrowed some code from plibc to
743 solve this.  It appears to be somewhat unreliable though.
745 ** Autoconf 2.60 is now used.
747 ** API and ABI modifications:
748 No changes since last version.
750 * Version 1.5.0 (released 2006-08-13)
752 ** Change SRP and Cert-Type extensions to match IANA registry.
754 ** Fixed bug in OpenPGP authentication handshake.
756 ** Improvements for building under MinGW.
757 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
758 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
759 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
760 at run-time from ws2_32.dll, and falls back on a simple replacement if
761 it is not available.  Builds the library with -mms-bitfields
762 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
763 create *.def files, which are installed.
765 ** The examples now (conditionally) include config.h and link to gnulib.
766 No other source changes were necessary, so the examples should
767 continue to be possible to use stand-alone without any autoconf or
768 gnulib stuff.
770 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
771 You may unconditionally disable it with --disable-cxx.  See
772 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
773 implementation.
775 ** Made command line tool '--version' behave according to GNU Standards.
776 This enables 'make distcheck' to succeed.
778 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
780 ** Make --without-included-libtasn1 work.
781 Reported by Daniel Black <dragonheart@gentoo.org>.
783 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
784 See http://www.gnu.org/software/gnutls/security.html regardging
785 GNUTLS-SA-2006-2 for more up to date information.  Reported by
786 satyakumar <satyam_kkd@hyd.hellosoft.com>.
788 ** API and ABI modifications:
789 No changes since last version.
791 * Version 1.4.5 (released 2006-11-06)
793 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
794 ** version, try to negotiate the highest version support by the GnuTLS server,
795 ** instead of the lowest.
796 Reported by <Pasi.Eronen@nokia.com>.
798 ** Fix typo in doc/examples/ex-serv-pgp.c.
799 Reported by Adam Langley" <agl@imperialviolet.org>.
801 ** API and ABI modifications:
802 No changes since last version.
804 * Version 1.4.4 (released 2006-09-12)
806 ** Relax the test that caught signatures that exploit the variant of
807 ** Bleichenbacher's Crypto 06 rump session attack on our
808 ** verification logic flaw.
809 In particular, we now permit the digestAlgorithm.parameters field to
810 be present but empty, whereas in 1.4.3 we actually checked that the
811 field was absent.
813 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
814 The messages are only printed in debug mode, which is not recommended
815 for normal use, and thus logging this situation cannot be abused as an
816 oracle in typical recommended situations.
818 ** API and ABI modifications:
819 No changes since last version.
821 * Version 1.4.3 (released 2006-09-08)
823 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
824 ** Crypto 06 rump session attack.
825 In particular, we check that the digestAlgorithm.parameters field is
826 empty, to avoid that it can contain "garbage" that may be used to
827 alter the numeric properties of the signature.  See
828 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
829 not exactly the same as the problem we fix here).  Reported by Yutaka
830 OIWA <y.oiwa@aist.go.jp>.
832 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
833 up to date information.
835 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
836 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
837 Reported by Werner Koch <wk@gnupg.org>.
839 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
840 up to date information.
842 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
844 ** API and ABI modifications:
845 No changes since last version.
847 * Version 1.4.2 (released 2006-08-12)
849 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
850 This can happen if you call gnutls_certificate_verify_peers2 and have
851 a certain mix of local CA certificates and the peer send special
852 certificates, that together trigger certain behaviour.  It is not
853 known at this point whether the crash can be triggered without the
854 special local CA certificate, and thus turn this into a remote crash
855 of clients that verify server certificates when they talk to a server
856 with the special server certificate.  See GNUTLS-SA-2006-2 on
857 http://www.gnu.org/software/gnutls/security.html for more up to date
858 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
860 ** Change SRP and Cert-Type extensions to match IANA registry.
862 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
864 ** Make --without-included-libtasn1 work.
865 Reported by Daniel Black <dragonheart@gentoo.org>.
867 ** API and ABI modifications:
868 No changes since last version.
870 * Version 1.4.1 (released 2006-06-14)
872 ** Replaced inactive ifdefs to enable openpgp support in test programs.
874 ** Fixed bug in OpenPGP authentication handshake.
876 ** Fixed typographical in man pages.
878 ** Build fixes of the manual.
880 ** Added Swedish translation.
882 ** API and ABI modifications:
883 No changes since last version.
885 * Version 1.4.0 (released 2006-05-15)
887 ** Remove GnuTLS 0.8.x compatibility functions.
889 ** The libgcrypt RNG is initialized in gnutls_global_init().
891 ** TLS/IA API changes from Emile van Bergen.
892 A dummy credential structure is not needed now, if you wish to use the
893 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
894 a session.
896 ** The self-tests are now run under valgrind, if it is installed.
898 ** Libtasn1 is updated to 0.3.4, and that version is now required.
900 ** The command line tools now use getaddrinfo and support IPv6.
902 ** API and ABI modifications:
903 _gnutls_x509_get_raw_crt_activation_time,
904 _gnutls_x509_get_raw_crt_expiration_time: Removed.
905 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
906 gnutls_ia_enable: Added.
908 * Version 1.3.5 (released 2006-03-08)
910 ** Error messages are now translated using GNU Gettext.
912 ** The function gnutls_x509_crt_to_xml now return an internal error.
913 This means that the code to convert X.509 certificates to XML format
914 does not work any more.  The reason is that the function called
915 libtasn1 internal functions.  It seems unclean for libtasn1 to export
916 the APIs needed here.  Instead it would be better to implement XML
917 support inside libtasn1 properly.  If you need this functionality
918 strongly, please consider looking into implementing this suggested
919 approach instead.  As a workaround, you may also modify lib/x509/xml.c
920 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
922 ** Libraries are now built with libtool's -no-undefined.
923 This helps producing libraries for Windows using mingw32.
925 ** Doc fixes to explain that gnutls_record_send can block.
927 ** Libtasn1 0.3.1 or later is now required.
928 The include copy has been updated too.
930 ** gnutls-cli can now recognize services and port numbers with the -p option.
932 ** API and ABI modifications:
933 No changes since last version.
935 * Version 1.3.4 (released 2006-02-09)
937 ** Fix read of out bounds bug in DER parser.
938 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
939 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
940 previous bug fix.  The included libtasn1 version in GnuTLS has been
941 updated.
943 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
944 longer invalidate a session if the underlying send fails, but it will 
945 prevent future writes. That is to allow reading the already received data.
946 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
948 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
949 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
950 more than one certificates were added. Report and patch by Max Kellermann.
952 ** Fix build problems of OpenCDK on AIX.
953 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
955 ** API and ABI modifications:
956 No changes since last version.
958 * Version 1.3.3 (released 2006-01-12)
960 ** New API to access the TLS master secret.
961 When possible, you should use the TLS PRF functions instead.
962 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
964 ** Improved handling when multiple libraries use GnuTLS at the same time.
965 Now gnutls_global_init() can be called multiple times, and
966 gnutls_global_deinit() will only deallocate the structure when it has
967 been called as many times as gnutls_global_init() was called.
969 ** Added a self test of TLS resume functionality.
971 ** Fix crash in TLS resume code, caused by TLS/IA changes.
973 ** Documentation fixes about thread unsafety, prompted by
974 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
975 In particular, gnutls_global_init() and gnutls_global_deinit() are not
976 thread safe.  Careful callers may want to protect the call using a
977 mutex.  The problem could also be ignored, which would cause a memory
978 leak under rare conditions when two threads invoke the function
979 roughly at the same time.
981 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
983 ** The code was indented again, including the external header files.
985 ** API and ABI modifications:
986 New functions to retrieve the master secret value:
987   gnutls_session_get_master_secret
989 Add a 'const' keyword to existing API:
990   gnutls_x509_crq_get_challenge_password
992 * Version 1.3.2 (released 2005-12-15)
994 ** GnuTLS now support TLS Inner application (TLS/IA).
995 This is per draft-funk-tls-inner-application-extension-01.  This
996 functionality is added to libgnutls-extra, so it is licensed under the
997 GNU General Public License.
999 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
1000 The PRF is used by some protocols building on TLS, such as EAP-PEAP
1001 and EAP-TTLS.  One function to access the raw PRF and one to access
1002 the PRF seeded with the client/server random fields are provided.
1003 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
1005 ** New APIs to acceess the client and server random fields in a session.
1006 These fields can be useful by protocols using TLS.  Note that these
1007 fields are typically used as input to the TLS PRF, and if this is your
1008 intended use, you should use the TLS PRF API that use the
1009 client/server random field directly.  Suggested by Jouni Malinen
1010 <jkmaline@cc.hut.fi>.
1012 ** Internal type cleanups.
1013 The uint8, uint16, uint32 types have been replaced by uint8_t,
1014 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
1015 correct types on platforms that lack them.  The uint type have been
1016 replaced by unsigned.
1018 ** API and ABI modifications:
1019 New functions to invoke the TLS Pseudo-Random-Function (PRF):
1020   gnutls_prf
1021   gnutls_prf_raw
1023 New functions to retrieve the session's client and server random values:
1024   gnutls_session_get_server_random
1025   gnutls_session_get_client_random
1027 New function, to perform TLS/IA handshake:
1028   gnutls_ia_handshake
1030 New function to decide whether to do a TLS/IA handshake:
1031   gnutls_ia_handshake_p
1033 New functions to allocate a TLS/IA credential:
1034   gnutls_ia_allocate_client_credentials
1035   gnutls_ia_free_client_credentials
1036   gnutls_ia_allocate_server_credentials
1037   gnutls_ia_free_server_credentials
1039 New functions to handle the AVP callback:
1040   gnutls_ia_set_client_avp_function
1041   gnutls_ia_set_client_avp_ptr
1042   gnutls_ia_get_client_avp_ptr
1043   gnutls_ia_set_server_avp_function
1044   gnutls_ia_set_server_avp_ptr
1045   gnutls_ia_get_server_avp_ptr
1047 New functions, to toggle TLS/IA application phases:
1048   gnutls_ia_require_inner_phase
1050 New function to mix session keys with inner secret:
1051   gnutls_ia_permute_inner_secret
1053 Low-level API (used internally by gnutls_ia_handshake):
1054   gnutls_ia_endphase_send
1055   gnutls_ia_send
1056   gnutls_ia_recv
1058 New functions that can be used after successful TLS/IA negotiation:
1059   gnutls_ia_generate_challenge
1060   gnutls_ia_extract_inner_secret
1062 Enum type with TLS/IA modes:
1063   gnutls_ia_mode_t
1065 Enum type with TLS/IA packet types:
1066   gnutls_ia_apptype_t
1068 Enum values for TLS/IA alerts:
1069   GNUTLS_A_INNER_APPLICATION_FAILURE
1070   GNUTLS_A_INNER_APPLICATION_VERIFICATION
1072 New error codes, to signal when an application phase has finished:
1073   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
1074   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
1076 New error code to signal TLS/IA verify failure:
1077   GNUTLS_E_IA_VERIFY_FAILED
1079 * Version 1.3.1 (released 2005-12-08)
1081 ** Support for DHE-PSK cipher suites has been added.
1082 This method offers perfect forward secrecy.
1084 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
1085 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
1087 ** Corrected a bug in certtool for 64 bit machines. Reported
1088 by Max Kellermann <max@duempel.org>.
1090 ** New function to set a X.509 private key and certificate pairs, and/or
1091 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
1092 <emile@e-advies.nl>.
1094 The integrity of the PKCS#12 file is protected through a password
1095 based MAC; public-key based signatures for integrity protection are
1096 not supported.  PKCS#12 bags may be encrypted using password derived
1097 symmetric keys, public-key based encryption is not supported.  The
1098 PKCS#8 keys may be encrypted using passwords.  The API use the same
1099 password for all operations.  We believe that any more flexibility
1100 create too much complexity that would hurt overall security, but may
1101 add more PKCS#12 related APIs if real-world experience indicate
1102 otherwise.
1104 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
1105 reported by Emile van Bergen <emile@e-advies.nl>.
1106 This will enable "certtool -k -8" to parse those keys.
1108 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
1109 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
1110 certtool would have encrypted the key using an empty password.
1112 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
1113 Earlier it would have prompted the user for it, even if --password was
1114 supplied.
1116 ** Added self test of PKCS#8 parsing.
1117 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
1118 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
1119 tests/pkcs8.
1121 ** API and ABI modifications:
1122 New function to set X.509 credentials from a PKCS#12 file:
1123   gnutls_certificate_set_x509_simple_pkcs12_file
1125 New gnutls_kx_algorithm_t enum type:
1126   GNUTLS_KX_DHE_PSK
1128 New API to return session data (basically same as gnutls_session_get_data):
1129   gnutls_session_get_data2
1131 New API to set PSK Diffie-Hellman parameters:
1132   gnutls_psk_set_server_dh_params
1134 * Version 1.3.0 (2005-11-15)
1136 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
1137 This add several new APIs, see below.  Read the updated manual for
1138 more information.  A new self test "pskself" has been added, that will
1139 test this functionality.
1141 ** The session resumption data are now system independent.
1143 ** The code has been re-indented to conform to the GNU coding style.
1145 ** Removed the RIPEMD ciphersuites.
1147 ** Added a discussion of the internals of gnutls in manual.
1149 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
1151 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
1153 ** Make sure config.h is included first in a few files, from Albert Chin.
1155 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
1157 ** Don't install SRP programs and man pages if --disable-srp-authentication,
1158 from Albert Chin.
1160 ** API and ABI modifications:
1161 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
1163 New gnutls_credentials_type_t credential type:
1164   GNUTLS_CRD_PSK
1166 New credential types:
1167   gnutls_psk_server_credentials_t
1168   gnutls_psk_client_credentials_t
1170 New functions to allocate PSK credentials:
1171   gnutls_psk_allocate_client_credentials
1172   gnutls_psk_free_client_credentials
1173   gnutls_psk_free_server_credentials
1174   gnutls_psk_allocate_server_credentials
1176 New enum type for PSK key flags:
1177   gnutls_psk_key_flags
1179 New function prototypes for credential callback:
1180   gnutls_psk_client_credentials_function
1181   gnutls_psk_server_credentials_function
1183 New function to set PSK username and key:
1184   gnutls_psk_set_client_credentials
1186 New function to set PSK passwd file:
1187   gnutls_psk_set_server_credentials_file
1189 New function to extract PSK user in server:
1190   gnutls_psk_server_get_username
1192 New functions to set PSK callback:
1193   gnutls_psk_set_server_credentials_function
1194   gnutls_psk_set_client_credentials_function
1196 Use size_t instead of int for output size parameter:
1197   gnutls_srp_base64_encode
1198   gnutls_srp_base64_decode
1200 * Version 1.2.11 (2006-05-11)
1201 - The function gnutls_x509_crt_to_xml is not supported any more, and
1202   return an internal error.  The reason is that the function called
1203   internal libtasn1 functions which are no longer exported from
1204   libtasn1.
1205 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
1206 - Updated gnulib compatibility files.
1207 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
1208   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
1209 - API and ABI modifications:
1210   No changes since last version.
1212 * Version 1.2.10 (2006-02-09)
1213 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
1214   <admin@gleg.net>, and debugging help from Protover SSL.
1215 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
1216   The included version has been updated too.
1217 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
1218   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
1219 - Corrected a bug in certtool for 64 bit machines. Reported
1220   by Max Kellermann <max@duempel.org>.
1221 - Corrected bugs in gnutls_certificate_set_x509_crl() and
1222   gnutls_certificate_set_x509_trust(), that caused memory corruption if
1223   more than one certificates were added. Report and patch by Max Kellermann.
1224 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
1225   longer invalidate a session if the underlying send fails, but it will 
1226   prevent future writes. That is to allow reading the already received data.
1227   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
1229 * Version 1.2.9 (2005-11-07)
1230 - Documentation was updated and improved.
1231 - RSA-MD2 is now supported for verifying digital signatures.
1232 - Due to cryptographic advances, verifying untrusted X.509
1233   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
1234   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
1235   applications that must remain interoperable, you can use the
1236   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
1237   flags when verifying certificates.  Naturally, this is not
1238   recommended default behaviour for applications.  To enable the
1239   broken algorithms, call gnutls_certificate_set_verify_flags with the
1240   proper flag, to change the verification mode used by
1241   gnutls_certificate_verify_peers2.
1242 - Make it possible to send empty data through gnutls_record_send,
1243   to align with the send(2) API.
1244 - Some changes in the certificate receiving part of handshake to prevent
1245   some possible errors with non-blocking servers.
1246 - Added numeric version symbols to permit simple CPP-based feature
1247   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
1248 - The (experimental) low-level crypto alternative to libgcrypt used
1249   earlier (Nettle) has been replaced with crypto code from gnulib.
1250   This leads to easier re-use of these components in other projects,
1251   leading to more review and simpler maintenance.  The new configure
1252   parameter --with-builtin-crypto replace the old --with-nettle, and
1253   must be used if you wish to enable this functionality.  See README
1254   under "Experimental" for more information.  Internally, GnuTLS has
1255   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
1256   API is similar to the old crypto/gc.h, because the gnulib code were
1257   based on GnuTLS's gc.h.
1258 - Fix compiler warning in the "anonself" self test.
1259 - API and ABI modifications:
1260 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
1261                              This doesn't reflect a change in behaviour,
1262                              so we don't break backwards compatibility.
1263 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
1264 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
1265 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
1266 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
1267                                   Use when calling
1268                                   gnutls_x509_crt_list_verify,
1269                                   gnutls_x509_crt_verify, or
1270                                   gnutls_certificate_set_verify_flags.
1271 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
1272                                 used when broken signature algorithms
1273                                 is used (currently RSA-MD2/MD5).
1274 LIBGNUTLS_VERSION_MAJOR,
1275 LIBGNUTLS_VERSION_MINOR,
1276 LIBGNUTLS_VERSION_PATCH,
1277 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
1278                           version number, can be used for feature existence
1279                           tests.
1281 * Version 1.2.8 (2005-10-07)
1282 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
1283 - Don't install the auxilliary libexamples library used by the
1284   examples in doc/examples/ on "make install", report and tiny patch
1285   from Thomas Klausner <tk@giga.or.at>.
1286 - If you pass a X.509 CA or PGP trust database to the command line
1287   tool, it will now abort the connection if the server certificate
1288   validation fails.  Use the parameter --insecure to continue even
1289   after certificate validation failures.  Inspired from discussion
1290   with Alexander Kotelnikov <sacha@myxomop.com>.
1291 - The test for socklen_t has been moved to gnulib.
1292 - Link failures for duplicate or missing "program_name" symbol has been fixed,
1293   patch from Martin Lambers <marlam@marlam.de>.
1294 - The command line tool and the examples no longer uses mmap or bzero,
1295   to make them more portable, patch from Martin Lambers
1296   <marlam@marlam.de>.
1297 - Made the PKCS #12 API handle null passwords. Based on patch by
1298   Anton Altaparmakov <aia21@cam.ac.uk>.
1299 - The GTK-DOC manual should build with current released tools.
1300   (But a copy of the output is included, so the tools are not required.)
1301 - The inet_ntop function is now used through gnulib.
1302 - API and ABI modifications:
1303   No changes since last version.
1305 * Version 1.2.7 (2005-09-09)
1306 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
1307 - Certtool now complains when reading out-of-range X.509 serial
1308   numbers, suggested by Fran <e_agf@yahoo.es>.
1309 - Certtool now uses the readline library (when available) when reading
1310   X.509 serial numbers.
1311 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
1312 - Fixed compile warning regarding socklen_t on Mingw32, reported by
1313   Martin Lambers <marlam@marlam.de>.
1314 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
1315 - Gnulib is now used for the core library, enabling future code cleanups.
1316 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
1317   suggested by Daniel Stenberg <daniel@haxx.se>.
1318 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
1319 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
1320 - Disable zlib support if zlib.h is not present.
1321 - A number of internal cleanups.
1322 - API and ABI modifications:
1323   No changes since last version.
1325 * Version 1.2.6 (2005-07-16)
1326 - MiniLZO updated to version 2.01 and moved to separate directory.
1327 - Collision between system LZO header files and MiniLZO header file
1328   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
1329 - Will now test for liblzo functionality in liblzo2 too, reported by
1330   Thomas Klausner <tk@giga.or.at>.
1331 - Minilibtasn1 is now 0.2.14 (no code changes).
1332 - Some code changes to avoid GTK-DOC warnings.
1333 - API and ABI modifications:
1334   No changes since last version.
1336 * Version 1.2.5 (2005-07-03)
1337 - More builddir != srcdir fixes, reported by Mike Castle
1338   <dalgoda@ix.netcom.com>.
1339 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
1340   reported by Adam Langley <alangley@gmail.com>.
1341 - Corrected some stuff in minilzo detection. Pointed out by 
1342   Sergey Lipnevich.
1343 - MiniLZO updated to version 2.00.
1344 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
1345 - API and ABI modifications:
1346   No changes since last version.
1348 * Version 1.2.4 (2005-05-28)
1349 - Corrected some bugs that could affect 64 bit systems.
1350 - Some corrections in the header files to include the prototype
1351   of memmem properly (affected 64 bit systems). Report and patch
1352   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
1353 - Introduced the --fix-key option to certtool, which can be used to
1354   regenerate the (optional) parameters in a private key. It should
1355   be used together with --key-info.
1356 - Corrected a bug in certificate chain verification that could lead
1357   to marking a trusted chain as non trusted, if the last certificate in
1358   the chain was a self signed one.
1359 - Gnulib portability files were updated.
1360 - License were updated to reflect new FSF address.
1361 - API and ABI modifications:
1362   No changes since last version.
1364 * Version 1.2.3 (2005-04-28)
1365 - Corrected bug in record packet parsing that could lead
1366   to a denial of service attack.
1367 - Corrected bug in RSA key export. Previously exported keys
1368   can be fixed using certtool. Use certtool -k <infile >outfile
1369 - API and ABI modifications:
1370     gnutls_x509_privkey_fix(): Add.
1372 * Version 1.2.2 (2005-04-25)
1373 - gnutls_error_to_alert() now considers
1374   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
1375 - Fixed error in session resuming that could cause a crash in a session.
1376 - Fixed pkcs12 friendly name and local key identifier decoding.
1377 - Internal cleanups, removed duplicate typedef/struct definitions,
1378   and made source code include external include file, to check
1379   function prototypes during compile time.
1380 - API and ABI modifications:
1381   No changes since last version.  At least not intentional, but due
1382   to the include header changes, there may be inadvertant changes,
1383   please let us know if you find any.
1385 * Version 1.2.1 (2005-04-04)
1386 - gnutls_bye() will no longer fail when RDWR is used and application
1387   data are available for reading.
1388 - Added more strict checks for the SRP parameters (g,n), when they
1389   are not in the included list.
1390 - Added warning to certtool when MD5 is being used for digital
1391   signatures.
1392 - Optimizations ("-O2 -finline-functions") are not enabled by default,
1393   instead the standard autoconf defaults are used.  Use `./configure
1394   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
1395 - Added the option --get-dh-params to certtool, in order to get the
1396   parameters included in the library primes and generators.
1397 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
1398   allow only trusted Version 1 CAs and introduced
1399   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
1400 - Nettle self tests now build properly, reported by Pierre
1401   <pierre42d@9online.fr>.
1402 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
1403   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
1404 - If the library has been compiled with features disabled, a warning is 
1405   issued during the compilation of any program.
1406 - API and ABI modifications:
1407     gnutls_x509_crt_list_import(): Add
1408     gnutls_x509_crq_get_attribute_by_oid(): Add.
1409     gnutls_x509_crq_set_attribute_by_oid(): Add
1410     gnutls_x509_crt_set_extension_by_oid(): Add.
1411     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
1412     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
1414 * Version 1.2.0 (2005-01-27)
1415 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
1416 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
1417   gnutls_x509_crl_sign2().
1418 - Fixed license header in source code files.
1420 * Version 1.1.23 (2005-01-18)
1421 - It is now possible to generate PKCS#12 structures without private
1422   keys using "certtool --to-p12", suggested by Fabian Fagerholm
1423   <fabbe@paniq.net>.
1424 - Certtool now prints information for the RSA and DSA parameters of
1425   certificates and private keys.
1426 - Corrected the write of CRL distribution points.
1427 - The certificate chain verification function now checks certificates
1428   in the reverse order to minimize the spent resources.
1429 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
1430 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
1431   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
1432   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
1433   required, instead of the string length.  That is, the value has been
1434   incremented by 1 to account for the terminating zero. Reported by
1435   Martin Lambers <marlam@web.de>.
1436 - Debug output shouldn't crash on platforms that doesn't handle NULL
1437   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
1438 - Sync included copy of libtasn1 with version 0.2.13.
1439 - Client X.509 authenticated connections via gnutls-cli should now work again.
1441 * Version 1.1.22 (2004-11-04)
1442 - Replace GNU LD version script with Libtool -export-symbols-regex,
1443   from Joe Orton <joe@manyfish.co.uk>.
1444 - Documentation improvements.
1445 - Code indented using 'indent -i4 -kr'.
1446 - The API manual is included in Devhelp format.  (Was in last release too,
1447   but the NEWS entry was forgotten.)
1448 - The OpenSSL compatibility code now use the internal crypto interface.
1449 - Added simple self test of OpenSSL compatibility library.
1450 - Internally, libtool convenience libraries are used.
1451 - Cleanups to configure.ac.
1453 * Version 1.1.21 (2004-10-27)
1454 - Print DN of certificates with unknown characters in them, but in hexform
1455   only.
1456 - Added second precision to the X.509 parsing and generation functions.
1457 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
1458   actual OID.
1459 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
1460   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
1461 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
1462   <stephane.loeuillet@tiscali.fr>.
1463 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
1464   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
1465 - Add self test of PKCS#12 functionality in "certtool", based on test
1466   vectors from Joe Orton <joe@manyfish.co.uk>.
1467 - Fix library order in libgnutls*-config --libs output, to permit
1468   static linking, reported by Yoann Vandoorselaere
1469   <yoann@prelude-ids.org>.
1471 * Version 1.1.20 (2004-10-12)
1472 - Fix compile problem in gl/getpass.c on some systems.
1474 * Version 1.1.19 (2004-10-07)
1475 - Fix memory leak in gnutls_certificate_verify_peers and
1476   gnutls_certificate_free_credentials, report and patch by Simon
1477   Posnjak <simon.posnjak@cetrtapot.si>.
1478 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
1479   a key and no certificate to PKCS#12.
1480 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
1481   <gp@familiehaase.de>.
1482 - Fixes faulty getpass implementation in libextra/opencdk/, reported
1483   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
1484 - Uses memmem instead of strnstr in lib/.
1485 - Using more GNULib portability files, although not yet inside lib/.
1486 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
1487   Nikos deprecated gnutls_certificate_verify_peers in favor of
1488   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
1489 - Improvements to the manual.
1490 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
1491 - Known bug: the library require snprintf.  This has not yet been
1492   fixed, but will be handled via GNULib later on.
1494 * Version 1.1.18 (2004-08-24)
1495 - Corrected handling of certificate with dates after year 2038.
1496 - Corrected DER decoder which could incorrectly treat input as BER and fail.
1497 - Correct certtool --smime-to-p7 end of line character handling.
1498 - Added example client and server for anonymous authentication.
1499 - Added self test that tests anonymous TLS client and server.
1500 - Added self tests of Nettle and generic crypto layer.
1501 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
1502   Online version at <http://www.gnu.org/software/gnutls/reference/>.
1503 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
1504 - Man pages for API functions are included.
1506 * Version 1.1.17 (2004-08-18)
1507 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
1508   reported by Robey Pointer <robey@danger.com>.
1509 - Generic crypto interface for secret key ciphers, hashes and randomness added.
1510   See section "Experimental" within section "COMPILATION ISSUES" in README.
1511 - Removed length limit on passwords read by 'certtool'.
1512 - Documentation fixes.
1514 * Version 1.1.16 (2004-08-15)
1515 - Fix missing gnulib linker parameter when building certtool.
1516 - Add gnulib module 'progname', needed by module 'error'.
1517 - Improve building with srcdir != objdir.
1519 * Version 1.1.15 (2004-08-15)
1520 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
1521   PKCS #7 format.
1522 - Ported to Mac OS X / Darwin.
1523 - Ported to FreeBSD.
1525 * Version 1.1.14 (2004-08-09)
1526 - Documentation converted to Texinfo format.
1527 - Bug fix of test suite.
1528 - Configure now print build information, used by Autobuild.
1530 * Version 1.1.13 (2004-08-05)
1531 - Added simple self test suite.
1533 * Version 1.1.12 (2004-08-02)
1534 - Updated the SRP authentication to conform to the
1535   latest (yet unreleased) draft. Unfortunately this breaks
1536   compatibility with previous versions.
1537 - Changed the makefiles to be more portable.
1538 - SRP ciphersuites were moved to the gnutls library.
1539 - Added some default limits in the verification of certificate
1540   chains, to avoid denial of service attacks. Also added 
1541   gnutls_certificate_set_verify_limits() to override them.
1542   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
1543 - Added gnutls_certificate_verify_peers2().
1545 * Version 1.1.11 (2004-07-16)
1546 - Added the '_t' suffix to all exported symbols.
1547 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
1548   <mak@greenhills.co.uk>.
1549 - Corrected a bug in certificate verification. Pointed out by
1550   Yoann Vandoorselaere <yoann@prelude-ids.org>
1551 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
1552   verification functions.
1553 - The ephemeral DH and RSA parameters are no longer stored in the
1554   session resume DB.
1555 - Do not free the SRP (prime and generator) parameters obtained from the 
1556   callback if they are the static ones defined in extra.h
1557 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
1559 * Version 1.1.10 (2004-06-12)
1560 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
1561 - Corrected bug in TLS renegotiation.
1562 - Corrected bug in OpenPGP key loading using a callback.
1563 - gnutls-srpcrypt was renamed to srptool
1564 - Allow handshake requests by the client.
1565 - Automatically disable certificate types that do not have corresponding
1566   certificates.
1567 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
1568 - Opencdk library is being included if not found.
1569 - certtool can now add ip address SAN extension.
1570 - certtool has now support for more X.520 DN attribute types.
1571 - Better handling of EOF in gnutls_record_recv().
1572 - _gnutls_deinit() is no longer used. Sessions are not
1573   automatically removed any more, on abnormal termination.
1574 - Corrected session resuming in SRP ciphersuites.
1575 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
1576 - Added new functions to allow access to the ephemeral
1577   Diffie Hellman parameters.
1578 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
1579   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
1580 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
1581   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
1582   RSA-EXPORT key exchange.
1583 - Some fixes in the session resuming code.
1584 - Added gnutls_openpgp_keyring_check_id().
1586 * Version 1.1.9 (2004-04-14)
1587 - Added support for authority key identifier and the extended key usage
1588   X.509 extension fields. The certtoool was updated to support them.
1589 - The RC2 cipher is no more included. The one in libgcrypt is now used.
1590 - Added batch support to certtool. Now it can use templates.
1592 * Version 1.1.8 (2004-04-07)
1593 - Implemented all the tests for the SRP group parameters in
1594   client side. This may lead to incompatibility with very
1595   old gnutls servers.
1596 - Corrected bug in RSA parameters handling which could cause
1597   unexpected crashes.
1598 - Optimized the copying of rsa_params.
1600 * Version 1.1.7 (2004-03-29)
1601 - Added gnutls_certificate_set_params_function() and 
1602   gnutls_anon_set_params_function() that set the RSA or DH
1603   parameters using a callback.
1604 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
1605   and gnutls_x509_privkey_cpy().
1606 - Corrected a compilation issue when opencdk was installed in a
1607   non standard directory.
1608 - Deprecated: gnutls_srp_server_set_select_function(), 
1609   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
1611 * Version 1.1.6 (2004-02-24)
1612 - Several bug fixes, by Arne Thomassen.
1613 - Fixed a bug where 'server name' extension was always sent.
1615 * Version 1.1.5 (2004-01-06)
1616 - Added the gnutls_sign_algorithm type.
1618 * Version 1.1.4 (2004-01-04)
1619 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
1620   If they are of highest priority then the abbreviated handshake
1621   is used.
1622 - Removed all references of missing files.
1623 - Changed handshake behaviour to send the lowest TLS version
1624   when an unsupported version was advertized. The current behaviour
1625   is to send the maximum version we support.
1626 - Corrected problem printing the DC attributes in a DN.
1628 * Version 1.1.3 (2003-12-30)
1629 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
1630   hack).
1632 * Version 1.1.2 (2003-12-28)
1633 - Added CRL verification functionality to certtool.
1634 - Corrected the CRL distribution point extension handling.
1636 * Version 1.1.1 (2003-12-26)
1637 - Added PKCS #7 support to certtool utility.
1638 - Added support for reading and generating CRL distribution
1639   points extensions in certificates.
1640 - Added support for generating CRLs in the library and the
1641   certtool utility.
1642 - Added support for the Subject Key ID PKIX extension.
1644 * Version 1.1.0 (2003-12-21)
1645 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
1646   are no longer returned by the handshake function. Ciphersuites that
1647   require temporary parameters are removed when such parameters do not exist.
1648 - Added the callbacks gnutls_certificate_client_retrieve_function() and
1649   gnutls_certificate_server_retrieve_function(), to allow a client or a server
1650   to specify certificates for the handshake without storing them to the
1651   credentials structure.
1652 - Added support for generating and exporting DSA private keys.
1653 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
1654   certificate's key usage.
1655 - Added gnutls_openpgp_key_get_key_usage().
1657 * Version 1.0.25 (2005-04-27)
1658 - Corrected bug in record packet parsing that could lead
1659   to a denial of service attack.
1660 - Corrected bug in RSA key export.
1662 * Version 1.0.24 (2005-01-18)
1663 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
1665 * Version 1.0.23 (2004-11-13)
1666 - Replace GNU LD version script with Libtool -export-symbols-regex,
1667   from Joe Orton <joe@manyfish.co.uk>.
1668 - Copy libtasn1 has been updated to version 0.2.11.
1669 - Corrected the write of CRL distribution points.
1670 - It is now possible to generate PKCS#12 structures without private
1671   keys using "certtool --to-p12", suggested by Fabian Fagerholm
1672   <fabbe@paniq.net>.
1674 * Version 1.0.22 (2004-10-28)
1675 - Print DN of certificates with unknown characters in them, but in hexform
1676   only.
1677 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
1678   actual OID.
1679 - Added second precision to the X.509 parsing functions.
1680 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
1681   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
1682 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
1683   <stephane.loeuillet@tiscali.fr>.
1684 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
1685   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
1686 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
1687 - Fix library order in libgnutls*-config --libs output, to permit
1688   static linking, reported by Yoann Vandoorselaere
1689   <yoann@prelude-ids.org>.
1691 * Version 1.0.21 (2004-10-07)
1692 - Fix memory leak in gnutls_certificate_verify_peers and
1693   gnutls_certificate_free_credentials, report and patch by Simon
1694   Posnjak <simon.posnjak@cetrtapot.si>.
1695 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
1696   a key and no certificate to PKCS#12.
1697 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
1698   <gp@familiehaase.de>.
1699 - Avoid redefining getpass if system already has it, reported by
1700   Yoann Vandoorselaere <yoann@prelude-ids.org>.
1701 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
1702 - Known bug: the library require snprintf.
1704 * Version 1.0.20 (2004-08-18)
1705 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
1706   reported by Robey Pointer <robey@danger.com>.
1708 * Version 1.0.19 (2004-08-09)
1709 - Bug fix of test suite.
1711 * Version 1.0.18 (2004-08-05)
1712 - Added simple self test suite.
1714 * Version 1.0.17 (2004-08-02)
1715 - Updated the SRP authentication to conform to the
1716   latest (yet unreleased) draft. Unfortunately this breaks
1717   compatibility with previous versions.
1718 - Changed the makefiles to be more portable.
1719 - Added some default limits in the verification of certificate
1720   chains, to avoid denial of service attacks. Also added 
1721   gnutls_certificate_set_verify_limits() to override them.
1722   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
1723 - Added gnutls_certificate_verify_peers2().
1725 * Version 1.0.16 (2004-07-10)
1726 - Do not free the SRP (prime and generator) parameters obtained from the 
1727   callback if they are the static ones defined in extra.h.
1728 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
1729 - Some fixes in the makefiles.
1731 * Version 1.0.15 (2004-06-29)
1732 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
1733   <mak@greenhills.co.uk>.
1734 - Corrected a bug in certificate verification. Pointed out by
1735   Yoann Vandoorselaere <yoann@prelude-ids.org>.
1737 * Version 1.0.14 (2004-06-12)
1738 - Automatically disable certificate types that do not have corresponding
1739   certificates.
1740 - Updates in the documentation.
1741 - certtool can now add ip address SAN extension.
1742 - certtool has now support for more X.520 DN attribute types.
1743 - Opencdk library is being included if not found.
1744 - Added gnutls_openpgp_keyring_check_id().
1745 - Corrected a serious bug in the included libtasn1 library.
1746 - Corrected session resuming in SRP ciphersuites.
1747 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
1748 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
1749   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
1750 - Some fixes in the session resuming code.
1752 * Version 1.0.13 (2004-04-29)
1753 - Some complilation fixes.
1754 - Added the --xml parameter to the certtool utility.
1756 * Version 1.0.12 (2004-04-23)
1757 - Corrected bug in OpenPGP key loading using a callback.
1758 - Renamed gnutls-srpcrypt to srptool
1759 - Allow handshake requests by the client.
1760 * Things backported from the development branch:
1761 - Added support for authority key identifier and the extended key usage
1762   X.509 extension fields. The certtoool was updated to support them.
1763 - Added batch support to certtool. Now it can use templates.
1764 - The RC2 cipher is no more included. The one in libgcrypt is now used.
1766 * Version 1.0.11 (2004-04-17)
1767 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
1768 - Corrected bug in TLS renegotiation.
1770 * Version 1.0.10 (2004-04-03)
1771 - Corrected bug in RSA parameters handling which could cause
1772   unexpected crashes.
1773 - Corrected bug in SSL 3.0 authentication.
1775 * Version 1.0.9 (2004-03-29)
1776 - Added gnutls_certificate_set_params_function() and 
1777   gnutls_anon_set_params_function() that set the RSA or DH
1778   parameters using a callback.
1779 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
1780   and gnutls_x509_privkey_cpy().
1781 - Corrected a compilation issue when opencdk was installed in a
1782   non standard directory.
1783 - Documented the changes need in multi-threaded application due
1784   to the new libgcrypt.
1786 * Version 1.0.8 (2004-02-28)
1787 - Corrected bug in mutual certificate authentication in SSL 3.0.
1789 * Version 1.0.7 (2004-02-25)
1790 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
1791   hack).
1792 - Some updates in the documentation.
1794 * Version 1.0.6 (2004-02-12)
1795 * Backported things from the development branch (while maintaining
1796   backwards compatibility):
1797 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
1798   If they are of highest priority then the abbreviated handshake
1799   is used.
1800 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
1801   are no longer returned by the handshake function. Ciphersuites that
1802   require temporary parameters are removed when such parameters do not exist.
1803 - Added the callbacks gnutls_certificate_client_retrieve_function() and
1804   gnutls_certificate_server_retrieve_function(), to allow a client or a server
1805   to specify certificates for the handshake without storing them to the
1806   credentials structure.
1807 - Added support for generating and exporting DSA private keys.
1809 * Version 1.0.5 (2004-02-11)
1810 - Fixed a bug where 'server name' extension was always sent.
1811 * Backported things from the development branch:
1812 - Added CRL verification functionality to certtool.
1813 - Corrected the CRL distribution point extension handling.
1814 - Added PKCS #7 support to certtool utility.
1815 - Added support for reading and generating CRL distribution
1816   points extensions in certificates.
1817 - Added support for generating CRLs in the library and the
1818   certtool utility.
1819 - Added support for the Subject Key ID PKIX extension.
1820 - Added the gnutls_sign_algorithm type.
1822 * Version 1.0.4 (2004-01-04)
1823 - Changed handshake behaviour to send the lowest TLS version
1824   when an unsupported version was advertized. The current behaviour
1825   is to send the maximum version we support.
1826 - certtool no longer asks the password in unencrypted private
1827   keys.
1828 - The source is now compiled to use the reentrant libc functions.
1830 * Version 1.0.3 (2003-12-21)
1831 - Corrected bug in gnutls_bye() which made it return an error code
1832   of INVALID_REQUEST instead of success.
1833 - Corrected a bug in the GNUTLS_KEY key usage definitions.
1835 * Version 1.0.2 (2003-12-18)
1836 - Corrected a bug in the RSA key generation. This was
1837   generating unusable RSA keys.
1839 * Version 1.0.1 (2003-12-10)
1840 - Some minor fixes in the makefiles. They now include CFLAGS
1841   from libgcrypt or opencdk if installed in a non standard directory.
1842 - Fixed the SRP detection test in gnutls-cli-debug.
1843 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
1845 * Version 1.0.0 (2003-12-04)
1846 - Exported the static SRP group parameters.
1847 - Some fixes in the certificate authenticated SRP ciphersuites.
1848 - Improved the support for draft-ietf-tls-srp-05. The two-phase
1849   handshake is now fully supported without any interaction with
1850   the application layer (except for a callback).
1852 * Version 0.9.99 (2003-11-28)
1853 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
1854   and gnutls_server_name_get() prototypes.
1855 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
1856   and gnutls_x509_crt_verify_data().
1857 - Some fixes in the openpgp authentication.
1858 - Removed the Twofish cipher.
1860 * Version 0.9.98 (2003-11-16)
1861 - The openssl compatibility layer was moved to gnutls-openssl
1862   library instead of being included in the gnutls-extra library.
1863 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
1864 - Building with openpgp support is now mandatory.
1865 - gnutls4 compatibility header is no longer included by default in
1866   gnutls.h.
1867 - gnutls8 function usage yelds a deprecation warning in gcc3.
1868 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
1869   functions have a raw_flag parameter added.
1870 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
1871   functions which return the available OIDs.
1873 * Version 0.9.97 (2003-11-11)
1874 - The certtool utility can now generate PKCS #12 structures
1875   without specifying a certificate.
1876 - Added capability to read CRLs to certtool.
1877 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
1878   to properly set the required buffer size.
1879 - Corrected a bug in libgcrypt detection.
1881 * Version 0.9.96 (2003-11-09)
1882 - Some changes to allow compilation with mingw32.
1883 - Several code cleanups.
1885 * Version 0.9.95 (2003-11-02)
1886 - Improved the verification functions. Added new verification
1887   output flags and removed the unused and redundant ones.
1888 - Improved the OpenPGP key support.
1889 - The prime utility was removed, and its functionality was moved
1890   to certtool.
1892 * Version 0.9.94 (2003-10-30)
1893 - Added manpages for the included programs.
1894 - Documented and improved the certtool utility. 
1895 - Added PKCS #12 support to certtool utility.
1897 * Version 0.9.93 (2003-10-26)
1898 - Corrected some compilation issues.
1899 - Improved the certtool command line utility.
1901 * Version 0.9.92 (2003-10-25)
1902 - The RFC2818 hostname verification is now case insensitive.
1903 - Added support for generating X.509 certificates.
1904 - Added the certtool, a tool for generating X.509 certificates
1906 * Version 0.9.91 (2003-10-17)
1907 - Fixed a compilation issue in the openpgp authentication part.
1909 * Version 0.9.90 (2003-10-08)
1910 - Updated the openpgp key API (depends on the unreleased new
1911   opencdk).
1913 * Version 0.9.8 (2003-10-02)
1914 - Updated the SRP implementation to follow the latest draft
1915   (draft-ietf-tls-srp-05).
1916 - Improved the gnutls-cli behaviour in error handling,
1917   and added a check for the peer's hostname.
1918 - Use versioned symbols in the library (where available).
1919 - RIJNDAEL ciphersuites were renamed to AES.
1921 * Version 0.9.7 (2003-08-25)
1922 - The tex files are now included in the distribution.
1923 - The library can now decrypt PKCS #12 files encrypted with
1924   the RC2-40 cipher.
1925 - The missing rfc2818_hostname object is now included.
1926 - Several corrections and bug fixes in the library by 
1927   Arne Thomassen <arne@arne-thomassen.de>.
1928 - CR is now allowed in the base64 decoder.
1930 * Version 0.9.6 (2003-06-28)
1931 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
1932   functions which return a unique (per public key) ID. These can
1933   be used to check if the private key corresponds to a given certificate.
1934 - Corrections in the TLS layer openpgp certificate packet parser.
1935 - Corrected a bug in the record layer buffering, which affected
1936   the case where external pull function was used. Report and patch
1937   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
1938 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
1939   was freed.
1940 - SRP programs are now built by default.
1941 - Added API to read and write to PKCS #12 structures. Prototypes
1942   in gnutls/pkcs12.h.
1943 - The gnutls_transport_ptr type was changed to a pointer type (void*).
1945 * Version 0.9.5 (2003-04-06)
1946 - Several improvements in the PKCS #7 handling
1947 - Eliminated several hard coded constants in MPI parameters.
1949 * Version 0.9.4 (2003-03-28)
1950 - Corrected a parsing error in the Certificate request message.
1951 - Corrected behaviour when a certificate request message is received.
1952   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
1953   a no_certificate alert is sent instead.
1954 - Added functionality to generate PKCS #7 structures (with certificates).
1956 * Version 0.9.3 (2003-03-24)
1957 - Support for MD2 was dropped. 
1958 - Improved the error logging functions, by adding a level, and
1959   by allowing debugging messages just by increasing the level.
1960 - The diffie Hellman ciphersuites are now of higher priority than
1961   the plain RSA.
1962 - The RSA premaster secret version check can no longer be disabled.
1963 - Implemented the counter measure discussed in the paper "Attacking
1964   RSA-based Sessions in SSL/TLS", against the attack described in the
1965   same paper.
1966 - Added the functions: gnutls_handshake_get_last_in(), 
1967   gnutls_handshake_get_last_out().
1968 - The gnutls_certificate_set_rsa_params() was renamed to 
1969   gnutls_certificate_set_rsa_export_params().
1970 - Added the new functions: gnutls_certificate_set_x509_key()
1971   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
1972   gnutls_x509_crt_export(), gnutls_x509_crl_export().
1973 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
1974   RSA private keys.
1976 * Version 0.9.2 (2003-03-15)
1977 - Some corrections in the memory mapping code (file is unmapped after 
1978   it is read).
1979 - Added support for PKCS#10 certificate requests generation.
1981 * Version 0.9.1 (2003-03-12)
1982 - Corrected a bug in 64 bit architectures, which affected the
1983   serial number calculation in the record layer.
1984 - Added gnutls_certificate_free_keys() which deletes all the
1985   private keys and certificates from the credentials structure.
1986 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
1987   which caused some unexpected packet length errors. Report and patch
1988   by Ian Peters <itp@ximian.com>.
1989 - Added ability to generate RSA keys.
1990 - Increased the maximum parameter size in order to read some large keys
1991   by some CAs. Patch by Ian Peters <itp@ximian.com>.
1992 - Added an strnstr() function and the requirement in some functions to
1993   use null terminated PEM structures is no more.
1994 - Use mmap() if available to read files.
1995 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
1996   <r.kittinger@efkon.com>.
1998 * Version 0.9.0 (2003-03-03)
1999 - This version is not binary compatible with the previous ones.
2000 - The library notifies the application on empty and illegal SRP usernames, 
2001   so that proper notification (via an alert) is sent to the peer.
2002 - Added ability to send some messages back to the application using
2003   the gnutls_global_set_log_function().
2004 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
2005   gnutls_malloc() to allocate the output parameters.
2006 - Added support for MD2 algorithm in certificate signature verification.
2007 - The RSA and DH parameter generation interface was changed. Added
2008   ability to import and export from and to PKCS3 structures. This 
2009   was needed to read parameters generated using the openssl dhparam tool.
2010 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
2011   parameters are now included in the library. Also the credentials structure 
2012   can now hold only one temporary parameter of a kind.
2013 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
2014   API, defined in gnutls/x509.h
2015 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
2016   verification flags in the credentials structure. They will be used in the
2017   *verify_peers functions.
2018 - Added protection against the new TLS 1.0 record layer timing attack.
2019 - Added support for Certificate revocation lists. Functions defined
2020   in gnutls/x509.h
2021 - The only functions that were removed are:
2022   gnutls_x509_certificate_to_xml()
2023   gnutls_x509_extract_dn_string()
2024 - Ported to libtasn1 0.2.x
2026 * Version 0.8.1 (2003-01-22)
2027 - Improved the SRP support, to prevent attackers guessing the
2028   available usernames by brute force.
2029 - Improved the SRP detection in gnutls-cli-debug
2030 - Some fixes which now allow compilation.
2032 * Version 0.8.0 (2003-01-20)
2033 - Added gnutls_x509_extract_dn_string() which returns a 
2034   distinguished name in a single string.
2035 - Added gnutls_openpgp_extract_key_name_string() which returns
2036   an openpgp user ID in a single string.
2037 - Added gnutls_x509_extract_certificate_ca_status() which returns
2038   the CA status of the given certificate.
2039 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
2040 - If libtasn1 is not present in the system, it is included in 
2041   the main gnutls library.
2042 - If liblzo is present in the system, then the included minilzo
2043   will not be used, and libgnutls-extra will depend on liblzo.
2044 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
2045   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
2046   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
2048 * Version 0.6.0 (2002-12-08)
2049 - Added "gnutls/compat4.h" header. This is included in gnutls.h
2050   to emulate the old 0.4.x API.
2051 - Example programs are now stored in doc/examples/
2052 - Several improvements and updates in the documentation.
2053 - Added the certificate authenticated SRP cipher suites.
2054 - gnutls_x509_extract_certificate_dn_string() was updated to return
2055   an RFC2253 conforming string.
2056 - Added the SRP related functions:
2057    gnutls_srp_verifier()
2058    gnutls_srp_base64_encode()
2059    gnutls_srp_base64_decode()
2060 - Added the function gnutls_srp_set_server_credentials_function()
2061   to allow retrieving SRP parameters from an external backend - other
2062   than password files.
2063 - Added the function gnutls_openpgp_set_recv_key_function()
2064   which can be used to set a callback, to get OpenPGP keys.
2065 - Exported the functions:
2066    gnutls_malloc()
2067    gnutls_free()
2068   which should be used by callback functions.
2069 - Changed the semantics of gnutls_pem_base64_encode_alloc()
2070   and gnutls_pem_base64_decode_alloc(). In the default case
2071   were the gnutls library is used with malloc/realloc/free,
2072   these are binary compatible.
2074 * Version 0.5.11 (2002-11-05)
2075 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
2076   faults at exit.
2077 - Example programs found in the documentation can now be generated by
2078   running "make examples" in doc/tex directory.
2079 - Added more descriptive error strings, to gnutls_strerror().
2080 - Documented error codes, and the function reference list is now sorted.
2081 - Optimized buffering code.
2082 - gnutls_x509_extract_certificate_dn_string() was rewritten.
2083 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
2084   case where the memory buffer provided is not long enough.
2085 - Depends on the new OpenCDK 0.3.2.
2087 * Version 0.5.10 (2002-10-13)
2088 - Updated documentation.
2089 - Added server name extension. This allows clients to specify the
2090   name of the server they connect to. Useful to HTTPS.
2091 - Several corrections in the code base, mostly in signed/unsigned,
2092   checkings.
2094 * Version 0.5.9 (2002-10-10)
2095 - Corrected some code which worked fine in gcc 3.2, but not with any
2096   other compiler.
2097 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
2098   starttls implementations.
2099 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
2100   the private key type, of a DER encoded key.
2101 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
2102   certificate's distinguished name in a single string.
2103 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
2104   functions, to avoid calling all the *_priority() functions if the defaults
2105   are acceptable.
2106 - Added int gnutls_x509_check_certificates_hostname() which check whether
2107   the given hostname matches the owner of the given X.509 certificate.
2109 * Version 0.5.8 (2002-09-25)
2110 - Updated documentation.
2111 - Added gnutls_record_get_direction() which replaces the obsolete
2112   gnutls_handshake_get_direction().
2113 - Added function to convert error codes to alert descriptions
2114 - Added LZO compression
2116 * Version 0.5.7 (2002-09-11)
2117 - Some fixes in the memory allocation functions (realloc).
2118 - Improved the string functions used in XML certificate generation.
2119 - Removed dependency on libgdbm.
2120 - Corrected bug in gnutls_dh_params_set() which affected
2121   gnutls_dh_params_deinit().
2122 - Corrected bug in session resuming code in server side.
2124 * Version 0.5.6 (2002-09-06)
2125 - Corrected bugs in SRP implementation, which prevented gnutls 
2126   to interoperate with other implementations. (interoperability testing
2127   was done by David Taylor)
2128 - Corrected bug in cert_type extension.
2129 - Corrected extension type checks which used an 8 bit extension size,
2130   instead of 16 bits.
2131 - Added versioning in the XML output of certificate functions.
2132 - Removed the X.509 test suite.
2134 * Version 0.5.5 (2002-09-03)
2135 - Updated the SRP implementation to the latest draft. The blowfish
2136   crypt implementation was removed, since the new draft does not allow
2137   other hash algorithms except for the srpsha. 
2138 - Renamed all the constructed types in order to have more consistent
2139   names. 
2140 - Improved the certificate and key read functions. Now they can read 
2141   the certificate and the private key from the same file.
2142 - Updated and corrected documentation.
2144 * Version 0.5.4 (2002-08-27)
2145 - Fixes in TLS 1.0 PRF and SSL3 random functions.
2146 - gnutls_handshake_set_exportable_detection() was obsoleted.
2147 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
2148 - Corrected bug in DHE key exchange
2149 - Added support for temporary RSA keys which are needed for the
2150   export cipher suites.
2151 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
2153 * Version 0.5.3 (2002-08-23)
2154 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
2155   code from the unstable branch.
2157 * Version 0.5.2 (2002-08-22)
2158 - Added an error code that is returned in clients which connect
2159   to export only servers. This must be enabled using the
2160   gnutls_handshake_set_exportable_detection() function.
2161 - Updated openssl compatibility layer.
2162 - Added gnutls_handshake_get_direction() function which returns
2163   the state of the handshake when interrupted.
2165 * Version 0.5.1 (2002-07-17)
2166 - Corrected the m4 macros which used <gnutls.h> instead of
2167   <gnutls/gnutls.h>
2168 - Documentation fixes
2169 - Added gnutls_transport_set_ptr2() function, which accepts two
2170   different pointers, to be used while receiving, and 
2171   while sending data.
2172 - Semantic changes in gnutls_record_set_max_size(). The requested
2173   size is now immediately enforced at the output buffers.
2174 - gnutls_global_init_extra() now fails if the library versions do
2175   not match.
2176 - Fixes in client and server example programs. Null encryption can
2177   be used in these programs, to assist in debuging.
2178 - Fixes in zlib compression code.
2180 * Version 0.5.0 (2002-07-06)
2181 - Added X.509 certificate tests in tests/ directory
2182 - Removed stubs for SRP and Anonymous authentication. They served
2183   no purpose since they are always included, unless it was requested
2184   not to do so.
2185 - Added gnutls_handshake_set_private_extensions() function. This
2186   function can be used to enable private (gnutls specific) cipher suites
2187   and compression algorithms.
2188 - Added check for C99 macro support by the compiler.
2189 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
2190 - Added the new libtasn1 library.
2191 - Removed the gdbm backend. Applications are now responsible for the
2192   session resuming backend. The gnutls-serv application contains an
2193   simple example on how to use gdbm for resuming.
2194 - Headers for the gnutls library are now installed in $(includedir)/gnutls
2195 - Added an OpenSSL compatible interface (with some limitations).
2196 - Added functions to convert DER encoded certificates to XML format.
2198 * Version 0.4.4 (2002-06-24)
2199 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
2200   using keys of some specific size.
2202 * Version 0.4.3 (2002-05-23)
2203 - The gnutls-extra library now compiles fine, if the opencdk library is
2204   not present.
2205 - Several bug fixes.
2206 - Added gnutls_global_set_mem_func() function, to set the memory allocation
2207   functions, if other than the defaults are to be used.
2208 - The default memory allocation functions are now the ones in libc.
2210 * Version 0.4.2 (2002-05-21)
2211 - Separated ASN.1 structures parser documentation and TLS library
2212   documentation.
2213 - Added gnutls_handshake_set_rsa_pms() function, which disables the
2214   version check in RSA premaster secret.
2215 - Added gnutls_session_is_resumed() function, which reports if a session
2216   is a resumed one.
2217 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
2218   assist in callback functions.
2219 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
2220   random one.
2221 - Relicensed the library under the GNU Lesser General Public License
2222 - Added gnutls-extra library which contains the GPL covered code of gnutls.
2224 * Version 0.4.1 (2002-04-07)
2225 - Now uses alloca() for temporary variables
2226 - Optimized RSA signing
2227 - Added functions to return the peer's certificate activation and
2228   expiration time.
2229 - Corrected time function's behaviour (the time value returned no longer
2230   relate to local timezone).
2232 * Version 0.4.0 (2002-04-01)
2233 - Added support for RFC2630 (PKCS7) X.509 certificate sets
2234 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
2235   gnutls_openpgp_extract_key_pk_algorithm().
2236 - Several optimizations in the Handshake protocol
2237 - Several optimizations in RSA algorithm
2238 - Unified the return values because of small buffers.
2240 * Version 0.3.92 (2002-03-23)
2241 - Updated documentation
2242 - Combined error codes of ASN.1 parser and gnutls
2243 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
2244 - Added protection against CBC chosen plaintext attack (disabled by default)
2245 - Improved and optimized compression support
2247 * Version 0.3.91 (2002-03-03)
2248 - Added gnutls-cli-debug program
2249 - Corrections in session resumption
2250 - Rehandshake can now handle negotiation of different authentication
2251   type.
2252 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
2253   now being installed.
2255 * Version 0.3.90 (2002-02-24)
2256 - Handshake messages are not kept in memory any more. Now we use 
2257   less memory during a handshake
2258 - Added support for certificates with DSA parameters
2259 - Added DHE_DSS cipher suites
2260 - Key exchange methods changed so they do not depend on the 
2261   certificate type. Added certificate type negotiation TLS extension.
2262 - Added openpgp key support (EXPERIMENTAL)
2263 - Improved Diffie Hellman key exchange support.
2264 - Bug fixes in the RSA key exchange.
2265 - Added check for the requested TLS extensions
2266 - TLS extensions now use a 16 bit type field.
2267 - Added a minimal string library to assist in ASN.1 parsing
2268 - Changes in ASN.1 parser to work with the new bison
2269 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
2270   gnutls_x509_extract_subject_dns_name()
2271 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
2272 - gnutls_srp_server_set_cred_file() can now be called multiple times
2274 * Version 0.3.5 (2002-01-25)
2275 - Corrected the RSA key exchange method, to avoid attacks against
2276   PKCS-1 formating.
2278 * Version 0.3.4 (2002-01-20)
2279 - Corrected bugs in DHE_RSA key exchange method
2281 * Version 0.3.3 (2002-01-19)
2282 - Added gnutls_x509pki_verify_certificate()
2283 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
2284 - Bug fixes in srpcrypt (based on patch by Marc Huber)
2285 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
2286 - Corrected library versioning
2288 * Version 0.3.2 (2002-01-05)
2289 - Corrected bug which did not allow a client to accept multiple CA names
2290 - Added gnutls_fingerprint()
2291 - Added gnutls_x509pki_extract_certificate_serial()
2292 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
2293 - Corrected behaviour in version advertizing
2294 - Updated documentation
2295 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
2297 * Version 0.3.1 (2001-12-21)
2298 - Corrections in the configuration files
2299 - Fixes a bug in anonymous authentication
2301 * Version 0.3.0 (2001-12-17)
2302 - Corrected bug in new integer formatting (now we use the old format again)
2303 - Several corrections and usual cleanups
2305 * Version 0.2.91 (2001-12-10)
2306 - Fixes in MPI handling (fixes possible bug with signed integers)
2307 - Removed name indication extension
2308 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
2309 - Optimizations in server certificate callback.
2310 - Fixes in anonymous authentication
2311 - Corrections in client ciphersuite selection
2313 * Version 0.2.90 (2001-12-07)
2314 - gnutls_handshake(), gnutls_read() etc. functions no longer require
2315   the 'SOCKET cd' argument. This argument is set using the function
2316   gnutls_set_transport_ptr().
2317 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
2318   a list containing peer's certificate and issuers DER encoded.
2319 - Updated X.509 certificate handling API
2320 - Added callback to select the server certificate
2321 - More consistent function naming (changes in several function names)
2322 - Buffer overflow checking in ASN.1 structures parser
2323 - Updated documentation
2325 * Version 0.2.11 (2001-11-16)
2326 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
2327   is returned, then the caller should perform a handshake or send
2328   an alert to the peer.
2329 - Made receive buffer dynamic. Normally if no large chunks are received
2330   it occupies less space.
2331 - Added max_record_size extension
2332 - Bugfixes in session handling
2333 - Improved non blocking IO support in the Handshake Protocol
2334 - Usual bugfixes and cleanups
2335 - Documentation updated (includes ASN.1 documentation)
2337 * Version 0.2.10 (2001-11-05)
2338 - Corrected bugs and improved non blocking IO
2339 - Added hooks to use external database to store sessions
2340 - Usual cleanups
2342 * Version 0.2.9 (2001-10-27)
2343 - AUTH_INFO types and structures were moved to library internals
2344 - AUTH_FAILED is no longer returned in SRP authentication
2345   (any fatal error in SRP means auth failed)
2346 - Introduced GNUTLS_E_INTERRUPTED
2347 - Added support for non blocking IO
2348 - gnutls_recv() and gnutls_send() are now obsolete
2349 - Changed semantics of gnutls_rehandshake()
2351 * Version 0.2.4 (2001-10-12)
2352 - Better handling of X.509 certificate extensions
2353 - Added DHE_RSA ciphersuites
2354 - Updated the Name Indication (dnsname) extension
2355 - Improvements in Diffie Hellman primes handling
2357 * Version 0.2.3 (2001-09-19)
2358 - Memory optimizations in gnutls_recv()
2359 - Fixed several memory leaks
2360 - Added ability to specify callback for x509 client certificate selection
2361 - Better documentation
2363 * Version 0.2.2 (2001-08-21)
2364 - Several bugfixes (library and documentation)
2366 * Version 0.2.1 (2001-08-07)
2367 - SRP fixes
2369 * Version 0.2.0 (2001-08-07)
2370 - Partial support for X.509v3 Certificate extensions.
2371 - Added Internal memory handlers
2372 - Removed gnutls_x509_set_cn()
2373 - Added X.509 client authentication
2374 - Several bug fixes and protocol fixes
2376 * Version 0.1.9 (2001-07-30)
2377 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
2378 - SRP is updated to conform to the newest draft.
2379 - Added support for DNSNAME extension.
2380 - Reentracy fixes in ASN.1 Parsing.
2381 - Optimizations in hash/hmac functions
2382 - (Error) message handling has changed
2383 - Better Protocol Version handling
2384 - Added X.509 Certificate Verification
2385 - gnutls_read() semantics are now closer to read(2) - added EOF
2386 - Documented some part of gnutls in doc/tex/ using Latex
2388 * Version 0.1.4 (2001-06-22)
2389 - Corrected (srp) base64 encoding.
2390 - Changed bcrypt algorithm to include username.
2391 - Added RSA Ciphersuites (no certificate checking).
2392 - Fixes in SSL 2.0 client hello parsing.
2393 - Added ASN.1 and DER parsers.
2394 - Bugfixes in session resuming
2395 - Updated Ciphersuite selection algorithm
2396 - Added internal representation of X.509 structures.
2397 - Added global state
2399 * Version 0.1.3 (2001-06-01)
2400 - Updated API (and the way it is documented - we use inline documentation)
2401 - Added function to access alert messages.
2402 - Added support for renegotiating parameters.
2403 - Better and Faster Resume Database handling.
2404 - Several bugfixes
2406 * Version 0.1.2 (2001-05-14)
2407 - Updated API
2408 - Fixes in extension handling
2410 * Version 0.1.1 (2001-05-13)
2411 - Added compatibility with Stanford's libsrp library
2413 * Version 0.1.0 (2001-05-09)
2414 - Added SSL 2.0 client hello support
2415 - GNUTLS is a gnu library
2416 - Added support for TLS extensions.
2417 - Added support for SRP
2419 * Version 0.0.7 (2001-01-11)
2420 - Added server side session resuming (using gdbm)
2421 - Added twofish algorithm
2423 * Version 0.0.6 (2000-12-20)
2424 - Added client side session resuming
2425 - Better documentation (check doc/API)
2426 - Better socket handling (gnutls can be used with select())
2427 - Some primitive support for non blocking IO and socket options has been added.
2429 * Version 0.0.5 (2000-12-07)
2430 - Added Compression (using ZLIB)
2431 - Added SSL 3.0 support
2433 ----------------------------------------------------------------------
2434 Copying and distribution of this file, with or without modification,
2435 are permitted in any medium without royalty provided the copyright
2436 notice and this notice are preserved.