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