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