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