1 GNU TLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2004, 2005, 2006, 2007, 2008 Simon Josefsson
3 Copyright (C) 2000, 2001, 2002, 2003, 2004 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 2.3.11 (unreleased)
8 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
9 The flaw would result in incorrectly terminated sessions with the
10 error "Decryption has failed" when the server sends a small packet
11 (typically when the session is closed). Reported by Andreas Metzler
12 <ametzler@downhill.at.eu.org> in
13 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
15 ** Don't use gnulib headers when building C++ library.
16 Fixes builds under Windows.
18 ** Make umask a requirement.
19 We don't know of any system that lacks it, even GNU CoreUtils use it
22 ** Update gnulib files.
23 Fixes a problem where it pulled in a replacement for memcmp under
24 MinGW, which caused the C++ example to fail to build.
26 ** API and ABI modifications:
27 No changes since last version.
29 * Version 2.3.10 (released 2008-05-19)
31 ** Added wide wildcard hostname matching.
32 Tiny patch by Jean-Philippe Garcia Ballester.
34 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
35 Thanks to CERT-FI for finding the bugs and providing detailed reports,
36 which allowed the bugs to be reproduced and fixed easily. Patches
37 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
38 with more details about these vulnerabilities will be added to
39 <http://www.gnu.org/software/gnutls/security.html>
41 *** [GNUTLS-SA-2008-1-1]
42 *** libgnutls: Fix crash when sending invalid server name.
43 The crash can be triggered remotely before authentication, which can
44 lead to a Daniel of Service attack to disable the server. The bug
45 cause gnutls to store more session resumption data than what was
46 allocated for, thus overwriting unallocated memory.
48 *** [GNUTLS-SA-2008-1-2]
49 *** libgnutls: Fix crash when sending repeated client hellos.
50 The crash can be triggered remotely before authentication, which can
51 lead to a Daniel of Service attack to disable the server. The bug
52 triggers a null-pointer dereference.
54 *** [GNUTLS-SA-2008-1-3]
55 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
56 The crash can be triggered remotely before authentication, which can
57 lead to a Daniel of Service attack to disable the server. The bug
58 cause gnutls to read memory beyond the end of the received record.
60 ** libgnutlsxx: Updated API according to patches from Eduardo
61 Villanueva Che (discussion at
62 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
64 ** Use umask to restrict permissions to owner before creating a file.
66 ** API and ABI modifications:
67 No changes since last version.
69 * Version 2.3.9 (released 2008-05-16)
71 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
72 Based on report and tiny patches from
73 <jared.jennings.ctr@eglin.af.mil>, see
74 <https://savannah.gnu.org/support/index.php?106342>.
76 ** libgnutls: Translation fixes.
78 ** gnutls-cli: Fix so that PSK authentication works.
79 Also improve manual to give example for gnutls-cli PSK authentication.
81 ** certtool: Encrypting a private key now require a confirmed password.
82 Before './certtool -k -8' would merely ask for a password once.
83 Reported by Daniel 'NebuchadnezzaR' Dehennin
84 <nebuchadnezzar@asgardr.info> see
85 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
87 ** certtool: When writing private keys to files, change permissions of file.
88 Now the file which the private key is saved to is chmod'ed 0600.
89 Reported by martin f krafft <madduck@debian.org> see
90 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
92 ** guile: Fix -fgnu89-inline test.
94 ** Removed --enable-profile-mode.
95 The code linked gnutls with the libfc project (Function Check) which
96 appears to have been stalled since around 2002.
98 ** Clean up header file checks by ./configure.
100 ** Update of gnulib files.
102 ** API and ABI modifications:
103 No changes since last version.
105 * Version 2.3.8 (released 2008-04-29)
107 ** libgnutls: Increase default handshake packet size limit to 48kb.
108 The old limit was 16kb and some servers send huge list of trusted CAs,
109 thus running into the limit. FYI, applications can further increase
110 this limit using gnutls_handshake_set_max_packet_length. Thanks to
111 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
112 <marc@mclemente.net> for reporting and providing test servers.
114 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
115 Returned when the handshake data size is too large. Before
116 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
119 ** libgnutls: Hide definitions in crypto.h.
120 We have decided that the APIs defined in crypto.h are not stable
121 enough for v2.4, so don't use any of those functions.
123 ** gnutls-cli: exit when hostname doesn't match certificate.
124 Use --insecure to avoid hostname comparison.
126 ** certtool: --inder and --outder replaced by --inraw and --outraw.
127 The reason is to align terminology with OpenPGP, which doesn't use
128 DER. The old parameters will continue to work for some time.
130 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
132 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
134 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
135 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
136 vasprintf symbol from the libgcrypt library which caused problems.
138 ** Update of gnulib files.
140 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
142 ** API and ABI modifications:
143 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
145 * Version 2.3.7 (released 2008-04-21)
147 ** opencdk now properly sets the key usage bits into openpgp keys.
149 ** gnutls-cli: Fix crash on TLS handshake failures.
150 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
151 This is similar to <http://bugs.debian.org/429183>.
153 ** certtool: with --generate-request and newly generated keys, print the key.
155 ** Build fixes for MinGW.
156 Missing rpl_fseeko symbol in lib/opencdk/. Better checks for linking
157 with -lws2_32 when needed. Use ASCII only isprint() when printing
158 X.509 certificate information, to avoid non-ASCII but printable
159 characters. Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
162 ** Update internal copy of libtasn1 to version 1.4.
164 ** API and ABI modifications:
165 No changes since last version.
167 * Version 2.3.6 (released 2008-04-17)
169 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
170 ** Improve documentation for gnutls_x509_crq_sign2.
171 Based on report from "John Brooks" <aspecialj@gmail.com> in
172 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
174 ** tests/pathlen: run diff without parameters to improve portability.
175 Based on HPUX build hints in
176 <http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/gnutls-2.3.4/gnutls-2.3.4-src-11.11.tar.gz+gnutls-2.3.4/HPUX.Install+text>.
178 ** Don't use %e specifier with strftime, it doesn't work under Windows.
179 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
180 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
182 ** Remove all uses of gnutls_alloca/gnutls_afree.
183 Use normal gnutls_malloc instead. One reason is increased portability
184 to Windows, the other is that several of the uses may be unsafe
185 because the size of data allocated could be large. Reported by
186 Massimo Gaspari <massimo.gaspari@alice.it> in
187 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
189 ** Build Guile code with -fgnu89-inline only when supported.
190 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
191 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
193 ** Several GTK-DOC related fixes.
195 ** Clean up OpenCDK related code.
196 GnuTLS now requires its internal OpenCDK code rather than the external
197 GPL library OpenCDK. Unfortunately, we don't have resources to
198 maintain an external library (help welcome).
200 ** API and ABI modifications:
201 No changes since last version.
203 * Version 2.3.5 (released 2008-04-14)
205 ** Build fix for MinGW and --disable-shared.
206 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
207 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
209 ** Document how to generate CRLs.
210 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
212 ** Documented the --priority option to gnutls-cli and gnutls-serv.
214 ** Several minor fixes in the OpenPGP interface.
215 Thanks to Daniel Kahn Gillmor.
217 ** Fix fopen file descriptor leak in PSK server code.
218 Thanks to Laurence Withers <l@lwithers.me.uk>, see
219 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
221 ** Translations files not stored directly in git to avoid merge conflicts.
223 ** New APIs to let applications replace the RNG used.
224 Update all RNG callers in the code to use the new interface.
226 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
228 ** Update gnulib files.
230 ** API and ABI modifications:
231 gnutls_crypto_rnd_register: ADDED
232 gnutls_rnd_level_t: ADDED
233 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
234 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
235 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
236 gnutls_crypto_rnd_st: ADDED
237 GNUTLS_DIG_SHA224: ADDED
238 GNUTLS_SIGN_RSA_SHA224: ADDED
239 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
241 * Version 2.3.4 (released 2008-03-19)
243 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
244 They weren't renamed in the public header file.
246 ** Added functions to register a cipher/mac/digest. This allows to
247 override the included ones.
249 ** Fix a bunch of compiler warnings.
251 ** API and ABI modifications:
252 gnutls_crypto_cipher_st: ADDED
253 gnutls_crypto_mac_st: ADDED
254 gnutls_crypto_digest_st: ADDED
255 gnutls_crypto_cipher_register: ADDED
256 gnutls_crypto_mac_register: ADDED
257 gnutls_crypto_digest_register: ADDED
258 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
260 * Version 2.3.3 (released 2008-03-10)
262 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
263 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
265 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
266 We could not find any modern justification for enabling these flags by
267 default. If you know of some platform that needs one of the flags to
268 work properly, please let us know. (Actually introduced in v2.3.0 but
269 not documented until now.)
271 ** Importing many CA certificates are now considerably faster.
272 This affect gnutls_certificate_set_x509_trust_mem,
273 gnutls_certificate_set_x509_trust, and
274 gnutls_certificate_set_x509_trust_file. The complexity was reduced
275 from O(2*n^2) to O(n). When adding 206 files containing 408
276 certificates, using gnutls_certificate_set_x509_trust_file, the time
277 dropped from 40 seconds to 0.3 seconds. Thanks to Edgar Fuß for code
278 to trigger the problem. See also
279 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
281 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
282 ** to be explicit that it takes zero terminated data.
284 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
286 ** Documentation fixes for the GTK-DOC manual.
288 ** Fix compilation error related to __FUNCTION__ on some systems.
289 Reported by Tim Mooney, see
290 <https://savannah.gnu.org/support/?106267>.
292 ** Updated translations.
294 ** Update gnulib files.
296 ** API and ABI modifications:
297 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
298 and char* instead of void* for output buffer.
300 * Version 2.3.2 (released 2008-02-26)
302 ** Fix srcdir!=objdir failure in openpgpself test.
304 ** Improved API documentation output from GTK-DOC.
306 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
308 ** Renamed gnutls_certificate_export_x509_cas and friends.
309 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
311 ** Internal header files cleanup.
313 ** API and ABI modifications:
314 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
315 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
316 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
317 gnutls_x509_dn_export: ADDED
319 * Version 2.3.1 (released 2008-02-21)
321 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
322 The included copy of OpenCDK has been stripped down and re-licensed
325 ** Cipher priority string handling now handle strings that starts with NULL.
326 Thanks to Laurence Withers <l@lwithers.me.uk>.
328 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
330 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
333 ** Increased the default certificate verification chain limits and allowed
334 for checks without limitation.
336 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
337 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
338 strings and return the proper size.
340 ** Add section 'On Record Padding' to the manual.
341 This collects all problems related to record padding with
342 Nokia/Sony-Ericsson phones that we know about.
344 ** Several improvements in the OpenPGP authentication.
345 Now subkeys can be used for authentication, according to
346 draft-mavrogiannopoulos-rfc5081bis-00.txt.
348 ** certtool can print information on OpenPGP certificates and keys.
350 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
353 ** Added gnutls_certificate_export_x509_cas and other functions to
354 export elements from the certificate credentials structure. Based on
355 suggestion from Joe Orton.
358 Clarify that srp_base64 is not the same as normal base64.
360 ** Fix non-portable use of brace expansion in makefiles.
362 ** API and ABI modifications:
363 gnutls_certificate_export_x509_cas: ADDED
364 gnutls_certificate_export_x509_crls: ADDED
365 gnutls_certificate_export_openpgp_keyring: ADDED
366 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
367 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
368 gnutls_openpgp_crt_get_revoked_status: ADDED
369 gnutls_openpgp_crt_get_subkey_count: ADDED
370 gnutls_openpgp_crt_get_subkey_idx: ADDED
371 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
372 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
373 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
374 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
375 gnutls_openpgp_crt_get_subkey_id: ADDED
376 gnutls_openpgp_crt_get_subkey_usage: ADDED
377 gnutls_openpgp_privkey_get_fingerprint: ADDED
378 gnutls_openpgp_privkey_get_key_id: ADDED
379 gnutls_openpgp_privkey_get_subkey_count: ADDED
380 gnutls_openpgp_privkey_get_subkey_idx: ADDED
381 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
382 gnutls_openpgp_privkey_get_revoked_status: ADDED
383 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
384 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
385 gnutls_openpgp_privkey_get_subkey_id: ADDED
386 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
387 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
388 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
389 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
390 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
391 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
392 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
393 gnutls_openpgp_privkey_export_dsa_raw: ADDED
394 gnutls_openpgp_privkey_export_rsa_raw: ADDED
395 gnutls_openpgp_privkey_export: ADDED
396 gnutls_certificate_set_openpgp_key_file2: ADDED
397 gnutls_certificate_set_openpgp_key_mem2: ADDED
398 gnutls_x509_dn_init: ADDED
399 gnutls_x509_dn_import: ADDED
400 gnutls_x509_dn_deinit: ADDED
401 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
402 gnutls_hex2bin: ADDED
403 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
404 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
405 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
406 old GNUTLS_X509_CRT_UNSIGNED_FULL.
408 * Version 2.3.0 (released 2008-01-08)
410 ** LZO compression is now disabled by default.
411 The reason is that LZO compression is not standardized in TLS. If you
412 wish to experiment with it, you will have to supply --with-lzo when
413 invoking ./configure. The internal copy of minilzo is no longer
414 included with GnuTLS, so you will need to install liblzo or liblzo2 on
415 your system to have --with-lzo to be effective.
417 ** More than one server name field is now sent to the server properly.
418 Thanks to mark.phillips@virgin.net.
420 ** Fixes the post_client_hello_function(). The extensions are now parsed
421 in a callback friendly way.
423 ** Fix for certificate selection in servers with certificate callbacks.
425 ** Updated translations.
427 ** Update gnulib files.
429 ** API and ABI modifications:
430 No changes since last version.
432 * Version 2.2.2 (released 2008-02-21)
434 ** Cipher priority string handling now handle strings that starts with NULL.
435 Thanks to Laurence Withers <l@lwithers.me.uk>.
437 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
440 ** Increased the default certificate verification chain limits and allowed
441 for checks without limitation.
443 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
444 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
445 strings and return the proper size.
447 ** API and ABI modifications:
448 No changes since last version.
450 * Version 2.2.1 (released 2008-01-17)
452 ** Prevent linking libextra against previously installed libgnutls.
453 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
454 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
456 ** Fixes the post_client_hello_function(). The extensions are now parsed
457 in a callback friendly way.
459 ** Fix for certificate selection in servers with certificate callbacks.
461 ** API and ABI modifications:
462 No changes since last version.
464 * Version 2.2.0 (released 2007-12-14)
466 ** Update internal copy of libtasn1 to version 1.2.
468 ** Certtool --verify-chain now handle inputs larger than 64kb.
469 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
470 recent versions of libgcrypt. The problem was that Wine with the
471 libgcrypt RNG generates huge amounts of debugging output.
473 ** Translation updates.
474 Added Dutch translation. Updated Polish and Swedish translation.
476 ** Major changes compared to the v2.0 branch:
478 *** SRP support aligned with newly published RFC 5054.
480 *** OpenPGP support aligned with newly published RFC 5081.
482 *** Support for DSA2 keys.
484 *** Support for Camellia cipher.
486 *** Support for Opaque PRF Input extension.
488 *** PKCS#8 parser now handle DSA keys.
490 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
491 Notice that liblzo2 2.02 is licensed under GPLv2 only. Earlier
492 versions, such as 2.01 which is included with GnuTLS, is available
493 under GPLv2 or later. If this incompatibility causes problems, we
494 recommend you to disable LZO using --without-lzo. LZO compression is
495 not a standard TLS compression algorithm, so the impact should be
498 *** Functions for disabling record protocol padding.
499 Works around bugs on Nokia/Ericsson phones.
501 *** New functions gnutls_priority_set() for setting cipher priorities easily.
502 Priorities like "COMPAT" also enables other work arounds, such as
505 *** Other minor improvements and bug fixes.
507 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
508 To adapt to changes in the TLS extension specifications for OpenPGP
509 and SRP, the GnuTLS API had to be modified. This means breaking the
510 API and ABI backwards compatibility. That is something we try to
511 avoid unless it is necessary. We decided to also remove the already
512 deprecated stub functions for X.509 to XML conversion and TLS
513 authorization (see below) when we had the opportunity.
515 Generally, most applications does not need to be modified. Just
516 re-compile them against the latest GnuTLS release, and it should work
519 Applications that use the OpenPGP or SRP features needs to be
520 modified. Below is a list of the modified APIs and discussion of what
521 the minimal things you need to modify in your application to make it
522 work with GnuTLS 2.2.
524 Note that GnuTLS 2.2 also introduces new APIs -- such as
525 gnutls_set_priority() that is superior to
526 gnutls_set_default_priority() -- that you may want to start using.
527 However, using those new APIs is not required to use GnuTLS 2.2 since
528 the old functions continue are still supported. This text only
529 discuss what you minimally have to modify.
531 *** XML related changes
532 The function `gnutls_x509_crt_to_xml' has been removed. It has been
533 deprecated and only returned an error code since GnuTLS version
534 1.2.11. Nobody has complained, so users doesn't seem to miss the
535 functionality. We don't know of any other library to convert X.509
536 certificates into XML format, but we decided (long ago) that GnuTLS
537 isn't the right place for this kind of functionality. If you want
538 help to find some other library to use here, please explain and
539 discuss your use case on help-gnutls@gnu.org.
541 *** TLS Authorization related changes
542 Everything related to TLS authorizations have been removed, they were
543 only stub functions that returned an error code:
545 GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
546 gnutls_authz_data_format_type_t
547 gnutls_authz_recv_callback_func
548 gnutls_authz_send_callback_func
550 gnutls_authz_send_x509_attr_cert
551 gnutls_authz_send_saml_assertion
552 gnutls_authz_send_x509_attr_cert_url
553 gnutls_authz_send_saml_assertion_url
555 *** SRP related changes
556 The callback gnutls_srp_client_credentials_function has a new
557 prototype, and its semantic has changed. You need to rewrite the
558 callback, see the updated function documentation and SRP example code
559 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
562 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
563 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
564 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
565 used. There are #define's to map the old names to the new. You may
566 run into problems if you have a switch-case with cases for both SRP
567 alerts, since they are now mapped to the same value. The solution is
568 to drop the SRP alerts from such switch cases, as they are now
569 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
571 *** OpenPGP related changes
572 The function `gnutls_certificate_set_openpgp_keyserver' have been
573 removed. There is no replacement functionality inside GnuTLS. If you
574 need keyserver functionality, consider using the GnuPG tools.
576 All functions, types, and error codes related to OpenPGP trustdb
577 format have been removed. The trustdb format is a non-standard
578 GnuPG-specific format, and we recommend you to use key rings instead.
579 The following have been removed:
581 gnutls_certificate_set_openpgp_trustdb
582 gnutls_openpgp_trustdb_init
583 gnutls_openpgp_trustdb_deinit
584 gnutls_openpgp_trustdb_import
585 gnutls_openpgp_key_verify_trustdb
586 gnutls_openpgp_trustdb_t
587 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
589 The following functions has an added parameter of the (new) type
590 `gnutls_openpgp_crt_fmt_t'. The type specify the format of the data
591 (binary or base64). The functions are:
592 gnutls_certificate_set_openpgp_key_file
593 gnutls_certificate_set_openpgp_key_mem
594 gnutls_certificate_set_openpgp_keyring_mem
595 gnutls_certificate_set_openpgp_keyring_file
597 To improve terminology and align with the X.509 interface, some
598 functions have been renamed. Compatibility mappings exists. The old
599 and new names of the affected functions and types are:
602 gnutls_openpgp_key_t gnutls_openpgp_crt_t
603 gnutls_openpgp_key_fmt_t gnutls_openpgp_crt_fmt_t
604 gnutls_openpgp_key_status_t gnutls_openpgp_crt_status_t
605 GNUTLS_OPENPGP_KEY GNUTLS_OPENPGP_CERT
606 GNUTLS_OPENPGP_KEY_FINGERPRINT GNUTLS_OPENPGP_CERT_FINGERPRINT
607 gnutls_openpgp_key_init gnutls_openpgp_crt_init
608 gnutls_openpgp_key_deinit gnutls_openpgp_crt_deinit
609 gnutls_openpgp_key_import gnutls_openpgp_crt_import
610 gnutls_openpgp_key_export gnutls_openpgp_crt_export
611 gnutls_openpgp_key_get_key_usage gnutls_openpgp_crt_get_key_usage
612 gnutls_openpgp_key_get_fingerprint gnutls_openpgp_crt_get_fingerprint
613 gnutls_openpgp_key_get_pk_algorithm gnutls_openpgp_crt_get_pk_algorithm
614 gnutls_openpgp_key_get_name gnutls_openpgp_crt_get_name
615 gnutls_openpgp_key_get_version gnutls_openpgp_crt_get_version
616 gnutls_openpgp_key_get_creation_time gnutls_openpgp_crt_get_creation_time
617 gnutls_openpgp_key_get_expiration_time gnutls_openpgp_crt_get_expiration_time
618 gnutls_openpgp_key_get_id gnutls_openpgp_crt_get_id
619 gnutls_openpgp_key_check_hostname gnutls_openpgp_crt_check_hostname
620 gnutls_openpgp_send_key gnutls_openpgp_send_cert
622 ** API and ABI modifications:
623 No changes since last version.
625 * Version 2.1.8 (released 2007-12-10)
627 ** The GPL version has been changed from version 2 to version 3.
628 This affects the self-tests, command-line tools, the libgnutls-extra
629 library, the relevant guile parts, and the build environment.
631 ** Added gnutls_x509_crt_get_subject_alt_name2().
633 ** Corrected a segfault when setting an empty gnutls_priority_t
634 at gnutls_priority_set().
636 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
637 Fixes a problem with spurious -L/usr/lib additions.
639 ** API and ABI modifications:
640 gnutls_x509_crt_get_subject_alt_name2: ADD.
642 * Version 2.1.7 (released 2007-11-29)
644 ** PKCS #8 parser can now encode/decode DSA keys.
646 ** Updated gnutls_set_default_priority2() now renamed to
647 gnutls_priority_set() and gnutls_priority_set_direct() which
648 accept a string to indicate preferences of ciphersuite parameters.
650 ** gnutls-cli and gnutls-serv now have a --priority option to set
653 ** The gnutls_*_convert_priority() functions were deprecated by
654 the gnutls_priority_set() and gnutls_priority_set_direct().
656 ** Internal copy of OpenCDK upgraded to version 0.6.6.
658 ** API and ABI modifications:
659 gnutls_priority_init: ADD.
660 gnutls_priority_deinit: ADD.
661 gnutls_priority_set: ADD.
662 gnutls_priority_set_direct: ADD.
663 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
664 gnutls_mac_convert_priority: REMOVED
665 gnutls_compression_convert_priority: REMOVED
666 gnutls_protocol_convert_priority: REMOVED
667 gnutls_kx_convert_priority: REMOVED
668 gnutls_cipher_convert_priority: REMOVED
669 gnutls_certificate_type_convert_priority: REMOVED
670 gnutls_set_default_priority: UNDEPRECATED
671 gnutls_set_default_priority_export: UNDEPRECATED
673 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
674 GNUTLS_CIPHER_UNKNOWN: ADD.
675 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
676 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
677 GNUTLS_KX_UNKNOWN: ADD.
678 GNUTLS_COMP_UNKNOWN: ADD.
679 GNUTLS_CRT_UNKNOWN: ADD.
680 gnutls_mac_get_id: ADD.
681 gnutls_compression_get_id: ADD.
682 gnutls_cipher_get_id: ADD.
683 gnutls_kx_get_id: ADD.
684 gnutls_protocol_get_id: ADD.
685 gnutls_certificate_type_get_id: ADD.
686 gnutls_handshake_post_client_hello_func: ADD.
687 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
689 * Version 2.1.6 (released 2007-11-15)
691 ** Corrected bug in decompression of expanded compression data.
693 ** Added the --to-p8 option to certtool to convert private keys
696 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
698 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
701 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
702 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
703 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
704 documented. This caused some problems (e.g., debian #450854). To
705 avoid backwards compatibility problems, this release revert this
706 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
707 done in GnuTLS 2.0.x and earlier, and add a new error code
708 GNUTLS_E_UNKNOWN_ALGORITHM.
710 ** Fixes several gtk-doc warnings.
712 ** API and ABI modifications:
713 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
714 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
715 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
717 * Version 2.1.5 (released 2007-11-01)
719 ** Fix PKCS#3 parameter export problem.
721 ** Improve certtool queries, they now print the default value.
725 ** Update gnulib files.
727 ** API and ABI modifications:
728 No changes since last version.
730 * Version 2.1.4 (released 2007-10-27)
732 ** Added the --v1 option to certtool, to allow generating X.509
733 version 1 certificates.
735 ** certtool: Add option --disable-quick-random to enable the old behaviour
736 of using /dev/random to generate keys.
738 ** Added priority functions that accept strings.
740 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
741 priorities preferences.
743 ** Added gnutls_record_disable_padding() to allow servers talking to
744 buggy clients that complain if the TLS 1.0 record protocol padding is
747 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
748 all supported compatibility options (like disabling padding).
750 ** The gnutls_certificate_set_openpgp_* functions were modified to include
751 the format. This makes the interface consistent with the x509 functions.
753 ** Internal copy of OpenCDK upgraded to version 0.6.5.
755 ** Update gnulib files.
757 ** API and ABI modifications:
758 gnutls_certificate_set_openpgp_key_mem: MODIFIED
759 gnutls_certificate_set_openpgp_key_file: MODIFIED
760 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
761 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
762 gnutls_set_default_priority: DEPRECATED
763 gnutls_set_default_priority_export: DEPRECATED
764 gnutls_set_default_priority2: ADDED
765 gnutls_session_enable_compatibility_mode: ADDED
766 gnutls_record_disable_padding: ADDED
767 gnutls_mac_convert_priority: ADDED
768 gnutls_compression_convert_priority: ADDED
769 gnutls_protocol_convert_priority: ADDED
770 gnutls_kx_convert_priority: ADDED
771 gnutls_cipher_convert_priority: ADDED
772 gnutls_certificate_type_convert_priority: ADDED
773 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
774 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
775 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
776 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
777 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
778 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
779 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
780 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
781 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
782 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
783 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
784 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
785 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
786 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
787 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
788 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
789 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
790 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
792 * Version 2.1.3 (released 2007-10-17)
794 ** TLS authorization support removed.
795 This technique may be patented in the future, and it is not of crucial
796 importance for the Internet community. After deliberation we have
797 concluded that the best thing we can do in this situation is to
798 encourage society not to adopt this technique. We have decided to
799 lead the way with our own actions.
801 ** Re-enabled the 256 bit ciphers in the default priorities.
803 ** Corrected bugs in openpgp key verification using a keyring (both in
806 ** API and ABI modifications:
807 gnutls_certificate_set_openpgp_keyserver: REMOVED
808 gnutls_authz_data_format_type_t,
809 gnutls_authz_recv_callback_func,
810 gnutls_authz_send_callback_func,
812 gnutls_authz_send_x509_attr_cert,
813 gnutls_authz_send_saml_assertion,
814 gnutls_authz_send_x509_attr_cert_url,
815 gnutls_authz_send_saml_assertion_url: REMOVED.
816 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
817 gnutls_supplemental_data_format_type_t enum type becomes empty.
819 * Version 2.1.2 (released 2007-10-14)
821 ** Removed all the trustdb code from openpgp authentication.
822 We now use only the well-specified keyrings.
824 ** The 256 bit ciphers are not enabled in the default priorities.
826 ** Added support for DSA2 using libgcrypt 1.3.0.
828 ** certtool: Fixed data corruption when using --outder.
830 ** Removed all the xml related stubs and functions.
832 ** Added capability to set a callback after the client hello is received
833 by the server in order to adjust parameters before the handshake.
835 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
837 ** Corrected bug which did not allow a server to run without supporting
840 ** Updated the DN parser which now prints wrongly decoded values as hex
843 ** certtool: Add option --quick-random.
844 For generating low security test credentials.
846 ** API and ABI modifications:
847 gnutls_x509_crt_to_xml: REMOVED
848 gnutls_openpgp_key_to_xml: REMOVED
849 gnutls_openpgp_key_verify_trustdb: REMOVED
850 gnutls_openpgp_trustdb_init: REMOVED
851 gnutls_openpgp_trustdb_deinit: REMOVED
852 gnutls_openpgp_trustdb_import: REMOVED
853 gnutls_certificate_set_openpgp_trustdb: REMOVED
854 gnutls_srp_client_credentials_function: CHANGED
855 gnutls_handshake_set_post_client_hello_function: ADDED
856 gnutls_mac_get_key_size: ADDED
857 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
858 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
859 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
861 * Version 2.1.1 (released 2007-09-24)
863 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
864 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
865 compiled with Camellia support. See the libgcrypt documentation on
866 how to enable it. Unconditionally disable it using the configure
867 option --disable-camellia. Fixes #1.
869 ** Properly document in the NEWS file the API change in the last release.
871 ** API and ABI modifications:
872 No changes since last version.
874 * Version 2.1.0 (released 2007-09-20)
876 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
877 The support is disabled by default. Since no value has been allocated
878 by the IANA for this extension yet, you will need to provide one
879 yourself by invoking './configure --enable-opaque-prf-input=42'.
882 ** Example code: Fix compilation flaw under MinGW.
884 ** API and ABI modifications:
885 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
886 gnutls_oprfi_enable_client: ADD, new function.
887 gnutls_oprfi_enable_server: ADD, new function.
889 * Version 2.0.4 (released 2007-11-16)
891 ** Corrected bug in decompression of expanded compression data.
893 ** API and ABI modifications:
894 No changes since last version.
896 * Version 2.0.3 (released 2007-11-10)
898 ** This version backports several fixes from the 2.1.x branch.
900 ** Fixed PKCS #3 parameter export.
902 ** Added gnutls_record_disable_padding() to allow servers talking to
903 buggy clients that complain if the TLS 1.0 record protocol padding is
906 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
907 all supported compatibility options (like disabling padding).
909 ** Corrected bug which did not allow a server to run without supporting
912 ** API and ABI modifications:
913 gnutls_session_enable_compatibility_mode: ADDED
914 gnutls_record_disable_padding: ADDED
916 * Version 2.0.2 (released 2007-10-17)
918 ** TLS authorization support removed.
919 This technique may be patented in the future, and it is not of crucial
920 importance for the Internet community. After deliberation we have
921 concluded that the best thing we can do in this situation is to
922 encourage society not to adopt this technique. We have decided to
923 lead the way with our own actions.
925 ** certtool: Fixed data corruption when using --outder.
927 ** Fix configure-time Guile detection.
929 ** API and ABI modifications:
930 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
931 gnutls_supplemental_data_format_type_t enum type becomes empty.
933 * Version 2.0.1 (released 2007-09-20)
935 ** New directory doc/credentials/ with test credentials.
936 This collects the test credentials from the web page and from src/.
937 The script gnutls-http-serv has also been moved to that directory.
939 ** Update SRP extension type and cipher suite with official IANA values.
940 This breaks backwards compatibility with SRP in older versions of
941 GnuTLS, but this is intentional to speed up the adoption of the
942 official values. The old values we used were incorrect.
944 ** Guile: Fix `x509-certificate-dn-oid'
946 ** API and ABI modifications:
947 No changes since last version.
949 * Version 2.0.0 (released 2007-09-04)
951 ** Included copy of Libtasn1 upgraded to version 1.1.
953 ** Disable building of some examples if anonymous ciphers are disabled.
955 ** Don't build examples for disabled features.
957 ** API and ABI modifications:
958 No changes since last version.
960 * Version 1.7.19 (released 2007-08-27)
962 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
963 This solves connection problems in mutt, see
964 <http://bugs.debian.org/439640>.
966 ** Update gnulib files.
967 In particular, the getpass module -- with its dependencies on getline,
968 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
969 library) directory to the gl/ directory (only used by the command line
970 tools). The reason is that getpass is now only used by the
971 command-line tools, and reducing the number of gnulib modules linked
972 to the core library helps portability and reduces size.
976 ** Disable building of PGP examples if PGP is disabled.
978 ** Included copy of OpenCDK upgraded to version 0.6.4.
980 ** API and ABI modifications:
981 No changes since last version.
983 * Version 1.7.18 (released 2007-08-16)
985 ** Install images for the info manual.
986 This has a side effect of renaming the images. See
987 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
988 discussions on the approach chosen.
990 ** Fix pointer mix to variables of different size.
992 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
994 ** Fix warnings during build.
995 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
997 ** API and ABI modifications:
998 No changes since last version.
1000 * Version 1.7.17 (released 2007-08-15)
1002 ** New functions to perform external signing.
1003 Set the signing callback function (of the gnutls_sign_func prototype)
1004 using the gnutls_sign_callback_set function. In the callback, you may
1005 find the new functions gnutls_x509_privkey_sign_hash and
1006 gnutls_openpgp_privkey_sign_hash useful. A new function
1007 gnutls_sign_callback_get is also added, to retrieve the function
1008 pointer. Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
1009 comments and testing.
1011 ** New self test of client and server authenticated X.509 TLS sessions.
1012 See tests/x509self.c and tests/x509signself.c. The latter also tests
1013 the new external signing callback interface.
1015 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
1016 These two actually describe the outer limits of a range of error codes
1017 reserved to the application. All of the errors are treated as fatal
1018 by the library (it has to since it doesn't know the semantics of the
1019 error codes). This can be useful in callbacks, to signal some
1020 application-specific error condition, which will usually eventually
1021 cause some gnutls API to return the same error code as the callback,
1022 which then can be inspected by the application. Note that error codes
1025 ** gnutls_set_default_priority now disable TLS 1.2 by default.
1026 The RFC is not released yet, and we're approaching a major release so
1027 let's not enable it just yet.
1029 ** Fix namespace so that gnutls_*_t is used consistently.
1030 Before, many places in the GnuTLS code used the old deprecated type
1031 names without the '_t' suffix.
1033 ** Build fixes for Guile code.
1034 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
1036 ** More documentation fixes.
1037 In particular, the section headings were modified for casing. By
1038 Ludovic Courtes <ludovic.courtes@laas.fr>.
1040 ** Updated Polish and Swedish translations.
1041 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
1042 <po@danielnylander.se>.
1044 ** API and ABI modifications:
1045 gnutls_sign_func: ADD, new type for sign callback.
1046 gnutls_sign_callback_set: ADD, new function to set sign callback.
1047 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
1048 gnutls_x509_privkey_sign_hash,
1049 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
1050 GNUTLS_E_APPLICATION_ERROR_MIN,
1051 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
1053 * Version 1.7.16 (released 2007-08-07)
1055 ** Fix sanity checks and return values in certificate selection.
1056 In some cases, GnuTLS omitted to report suitable error codes when no
1057 suitable certificate was found.
1059 ** Fix gnutls-cli starttls EOF on Mac OS X.
1060 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
1062 ** Documentation fixes.
1063 In particular, the section headings were modified for casing. By
1064 Ludovic Courtes <ludovic.courtes@laas.fr>.
1066 ** Update gnulib files.
1068 ** API and ABI modifications:
1069 No changes since last version.
1071 * Version 1.7.15 (released 2007-07-02)
1073 ** Fix self-tests key-id under mingw32.
1075 ** Test that the Guile header files are recent enough to work.
1076 Before we just tested that the command line tool 'guile' was recent
1077 enough, which may not be sufficient if you still have an old
1078 libguile.h header installed.
1080 ** Guile bindings are now installed under $prefix by default.
1081 Use --without-guile-site-dir to install it under $pkgdatadir/site/
1082 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
1083 Use --with-guile-site-dir=/your/own/path to specify the path manually.
1084 The default, --with-guile-site-dir, will install the Guile bindings
1085 under $datadir/guile/site. There is a new section 'Guile
1086 Preparations' in the manual that discuss these issues.
1088 ** Fix run-time library path ordering in linking the Guile bindings.
1090 ** Improved manual on downloading, installing, getting help, bug reports etc.
1091 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
1093 ** Add Malay message translations.
1094 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
1096 ** API and ABI modifications:
1097 No changes since last version.
1099 * Version 1.7.14 (released 2007-06-26)
1101 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
1102 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1104 ** Fix memory leak during DSA signature verification.
1105 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1107 ** Fix crash in gnutls-cli when TLS handshake fails.
1108 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
1109 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
1110 <http://bugs.debian.org/429183>.
1112 ** Minor OpenPGP fixes in stream_to_datum.
1113 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
1114 <ludovic.courtes@laas.fr>.
1116 ** Fix off-by-one in TLS 1.2 handshake.
1117 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1119 ** Minor Guile binding self-test cleanup.
1120 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1122 ** Update gnulib files.
1124 ** API and ABI modifications:
1125 No changes since last version.
1127 * Version 1.7.13 (released 2007-06-11)
1129 ** OpenCDK copy updated to version 0.6.3.
1131 ** Build fixes for GnuTLS Guile bindings.
1132 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1134 ** Build fix for GTK-DOC manual.
1136 ** Update gnulib files.
1138 ** API and ABI modifications:
1139 No changes since last version.
1141 * Version 1.7.12 (released 2007-06-08)
1143 ** Guile bindings for GnuTLS have been included.
1144 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>. There is a
1145 new chapter 'Guile Bindings' in the manual.
1147 ** Have PKCS8 parser return better error codes.
1148 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
1149 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
1150 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
1152 ** Fix mem leak for sessions with client authentication via certificates.
1153 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
1154 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
1157 Reported by Dennis Vshivkov <walrus@amur.ru>, see
1158 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>. Added
1159 self-test tests/parse_ca.c to test regressions.
1161 ** Fix build failures related to missing images in manual.
1162 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1164 ** Update gnulib files.
1166 ** API and ABI modifications:
1167 No changes since last version.
1169 * Version 1.7.11 (released 2007-05-26)
1171 ** Include opencdk.h in the release.
1172 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
1174 ** API and ABI modifications:
1175 No changes since last version.
1177 * Version 1.7.10 (released 2007-05-25)
1179 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
1180 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
1182 ** Update of gnulib files.
1184 ** GnuTLS is now developed in GIT instead of CVS.
1185 See <http://repo.or.cz/w/gnutls.git> for a public repository.
1187 ** API and ABI modifications:
1188 gnutls_x509_crt_get_raw_issuer_dn: ADD.
1189 gnutls_x509_crt_get_raw_dn: ADD.
1191 * Version 1.7.9 (released 2007-05-12)
1193 ** X.509 certificates are preferred over OpenPGP keys.
1194 This is a change in the semantics of gnutls_set_default_priority.
1196 ** The included copy of OpenCDK has been updated to 0.6.1.
1197 There has been some API changes in OpenCDK, and the GnuTLS layer have
1198 been modified as well. Note that while there are API/ABI incompatible
1199 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
1200 its API/ABI have not changed. From this version on, GnuTLS requires
1201 OpenCDK 0.6.0 or later.
1203 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
1205 ** Change certtool's default serial number from 0 to a time-based value.
1207 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
1208 Before, we remove the parameters field, which resulted in a slightly
1209 different DER encoding which in turn caused signature verification
1210 failures of GnuTLS-generated RSA certificates in some other
1211 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
1212 you read, this may or may not be correct, but our new behaviour appear
1213 to be consistent with other widely used implementations.
1215 ** Fix mem leaks in gnutls_x509_crt_print.
1217 ** API and ABI modifications:
1218 No changes since last version.
1220 * Version 1.7.8 (released 2007-04-16)
1222 ** Added examples for the authorization extension.
1223 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
1225 ** The examples only use gnutls_set_default_priority().
1226 The exception is when DH_ANON is needed.
1228 ** Improve gnutls_set_default_priority() priorities.
1229 The new approach is for it to try and negotiate all secure and
1230 standard mechanisms available. Currently, DH_ANON ciphersuites and
1231 LZO compressions are not enabled by default, because they are,
1232 respectively, insecure and non-standardized. Note that TLS 1.2 will
1233 not be enabled by default in non-experimental release until it has
1234 been approved by the IETF.
1236 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
1237 This means that to get DH_ANON and LZO compression, you'll need to
1238 specify that manually using '--kx anon' or '--comp lzo'.
1240 ** Minor fixes to the human display format of X.509 certificates.
1242 ** New APIs to extract Distinguished Name's from X.509 certificates.
1243 Based on patch from Howard Chu <hyc@symas.com>.
1245 ** Improved library searching for opencdk.
1246 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
1247 The deprecated opencdk.m4 is no longer used.
1249 ** New APIs to list supported algorithms in the library.
1250 The APIs are gnutls_cipher_list, gnutls_mac_list,
1251 gnutls_compression_list, gnutls_protocol_list,
1252 gnutls_certificate_type_list, gnutls_kx_list, and
1253 gnutls_cipher_suite_info. Suggested by Howard Chu <hyc@symas.com>.
1255 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
1257 ** New configure option --disable-tls-authorization to disable tls-authz.
1259 ** Fix prototype for `gnutls_psk_set_client_credentials'.
1260 The last parameter was renamed from 'flags' to 'format' and the type
1261 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
1262 which shouldn't cause any ABI changes. Reported by ludo@chbouib.org
1265 ** Fix allocation in gnutls_certificate_set_openpgp_key.
1266 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
1268 ** API and ABI modifications:
1269 gnutls_x509_dn_t: ADD.
1270 gnutls_x509_ava_st: ADD.
1271 gnutls_x509_crt_get_subject,
1272 gnutls_x509_crt_get_issuer: ADD.
1273 gnutls_x509_dn_get_rdn_ava: ADD.
1274 gnutls_cipher_list: ADD.
1275 gnutls_mac_list: ADD.
1276 gnutls_compression_list: ADD.
1277 gnutls_protocol_list: ADD.
1278 gnutls_certificate_type_list: ADD.
1279 gnutls_kx_list: ADD.
1280 gnutls_cipher_suite_info: ADD.
1282 * Version 1.7.7 (released 2007-02-22)
1284 ** Support for supplemental handshake messages and authorization data.
1285 Supplemental data is described in RFC 4680 and the authorization
1286 extensions in draft-housley-tls-authz-extns-07.
1288 ** Support for authorization data in gnutls-cli and gnutls-serv.
1289 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
1291 ** Fix for gnutls_x509_crt_check_hostname.
1292 Before it would have reported that the certificate matched a hostname
1293 when it did not have any dNSName or any CN field. Report and tiny
1294 patch from "Richard W.M. Jones" <rjones@redhat.com>.
1296 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
1297 Tests regressions of the bug, and several other features.
1299 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
1300 Before there were no support for iPAddress SAN's during comparison.
1302 ** New API to print information about CRL's.
1303 The function is gnutls_x509_crl_print.
1305 ** New API to extract signature value from CRL's.
1306 The function is gnutls_x509_crl_get_signature.
1308 ** Support for directoryName Subject Alternative Name's.
1309 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
1310 string in the provided buffer.
1312 ** Internal improvements to certtool.
1313 It uses gnutls_x509_crl_print to print CRL information. It uses some
1314 more gnulib modules to simplify error handling.
1316 ** API and ABI modifications:
1317 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
1318 gnutls_supplemental_data_format_type_t: ADD.
1319 gnutls_authz_data_format_type_t: ADD.
1320 gnutls_supplemental_get_name: ADD.
1321 gnutls_authz_recv_callback_func,
1322 gnutls_authz_send_callback_func: ADD, callback prototypes.
1323 gnutls_authz_enable: ADD.
1324 gnutls_authz_send_x509_attr_cert,
1325 gnutls_authz_send_saml_assertion,
1326 gnutls_authz_send_x509_attr_cert_url,
1327 gnutls_authz_send_saml_assertion_url: ADD.
1328 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
1329 gnutls_x509_crl_print: ADD.
1330 gnutls_x509_crl_get_signature: ADD.
1332 * Version 1.7.6 (released 2007-02-12)
1334 ** Support for 'otherName' Subject Alternative Names.
1335 The existing API gnutls_x509_crt_get_subject_alt_name may now return
1336 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
1337 To find out the otherName OID (necessary for proper parsing of the
1338 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
1339 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
1340 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
1341 simplify OID matching. Suggested by Matthias Wimmer <m@tthias.eu>.
1343 ** Certtool can print otherName SAN values for certificates.
1344 For known otherName OIDs (currently only id-on-xmppAddr as defined by
1345 RFC 3920), it will also print the name.
1347 ** Fix TLS 1.2 RSA signing in servers.
1348 Before it used the old-style MD5+SHA1 signature, but the TLS
1349 signatures should be normal PKCS#1 signatures. FYI, we use and
1350 require that DigestInfo parameters are present and NULL for TLS 1.2.
1352 ** Add APIs to access X.509 extensions sequentially.
1353 The existing APIs gnutls_x509_crt_get_extension_oid() and
1354 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
1355 inspect the extensions in the order defined by the certificate.
1357 ** Add API to extract signature value from X.509 certificates.
1358 The function is gnutls_x509_crt_get_signature.
1360 ** Fix crash when generating proxy certificates in batch mode.
1361 If you don't specify a proxy policy in batch mode, it will use
1364 ** Add API to print information about X.509 certificates.
1365 The function is gnutls_x509_crt_print.
1367 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
1368 One consequence of this is that the output syntax has changed
1369 slightly. Some more fields are printed.
1373 ** API and ABI modifications:
1374 gnutls_x509_crt_print: ADD
1375 gnutls_certificate_print_formats_t: ADD, new enum.
1376 gnutls_x509_crt_get_signature: ADD.
1377 gnutls_x509_crt_get_extension_data: ADD.
1378 gnutls_x509_crt_get_extension_info: ADD.
1379 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
1380 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
1381 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
1383 * Version 1.7.5 (released 2007-02-06)
1385 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
1388 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
1390 ** Fix --list output for gnutls-cli and gnutls-serv.
1391 Mention TLS1.2, SHA512 etc.
1393 ** Manual contains new section on setting up a test HTTP server.
1394 A server set up following those descriptions are available online via
1395 <http://www.gnutls.org/server.html>.
1397 ** Update of gnulib files.
1399 ** API and ABI modifications:
1400 No changes since last version.
1402 * Version 1.7.4 (released 2007-02-05)
1404 ** Support for RSA signing using SHA-256/384/512.
1405 A new self test "sha2" tries to build a long X.509 certificate chain
1406 testing all new hashes.
1408 ** The gnutls-serv tool now use static DH parameters if none are supplied.
1410 ** Discuss proxy certificates in the manual.
1412 ** Improve bibliographical citations in the manual.
1414 ** Update of gnulib files.
1416 ** Fix certtool template handling of pathLenConstraints.
1417 It now defaults to -1 instead of 0, which causes the field to be
1418 missing unless the template specify it.
1420 ** API and ABI modifications:
1423 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
1426 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
1427 GNUTLS_SIGN_RSA_SHA256,
1428 GNUTLS_SIGN_RSA_SHA384,
1429 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
1431 * Version 1.7.3 (released 2007-02-01)
1433 ** New option to certtool: --generate-proxy.
1434 This will generate a Proxy Certificate from an end entity certificate.
1435 Proxy Certificates are documented in RFC 3820. You will need to
1436 specify the proxy certificate's private key with --load-privkey, the
1437 user certificate with --load-certificate and the private key used to
1438 sign the new proxy certificate with --load-ca-privkey. Certtool will
1439 query for proxy path length and the policy language OID. Currently
1440 only OIDs that have an empty policy are supported (which includes the
1441 two OIDs defined by RFC 3820).
1443 ** Certtool --certificate-info now prints information for Proxy Certificates.
1444 Before the proxy extension was just printed as DER encoded data.
1446 ** New APIs to set proxy subject names and get/set proxy cert extension.
1448 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
1450 ** Added self-test to test for regressions of pathLenConstraint bug.
1451 Incidentally, this also test (some) other regressions or changes in
1452 the output from certtool --certificate-info.
1454 ** When certtool generates CA certificates, pressing enter on the path
1455 ** length constraint query will now remove the field.
1456 Before it set the path length constraint to 0, which is a rather poor
1459 ** Certtool now print times in UTC when printing certificate/CRL info.
1461 ** Add better fix to work around C++ compiler bug on Mac OS X.
1462 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
1464 ** Fix import of ASCII armored OpenPGP keys.
1465 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
1467 ** Update of gnulib files.
1469 ** API and ABI modifications:
1470 gnutls_x509_crt_set_proxy_dn: ADD.
1471 gnutls_x509_crt_set_proxy: ADD.
1472 gnutls_x509_crt_get_proxy: ADD.
1474 * Version 1.7.2 (released 2007-01-14)
1476 ** Certtool now print the value of the pathLenConstraints field for certs.
1478 ** Certtool now query for path length constraints when generating CA certs.
1479 For batch uses, the certtool configuration name is "path_len".
1480 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
1482 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
1483 The new functions gnutls_x509_crt_get_basic_constraints and
1484 gnutls_x509_crt_set_basic_constraints provide a superset of the
1485 functionality in the old gnutls_x509_crt_get_ca_status and
1486 gnutls_x509_crt_set_ca_status (respectively), but the old functions
1487 will continue to be supported.
1489 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
1490 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp. A proper
1491 OpenCDK release with this patch will be made soon, which should bump
1492 the OpenCDK version number. Patch by Mario Lenz <mario.lenz@gmx.net>.
1494 ** Certtool --to-p12 can now store more than one certificate in the blob.
1495 Before it could only store one certificate, but now it will read and
1496 store as many certificate there are from the --load-certificate file.
1497 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
1499 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
1500 In particular, the OpenPGP function variables are no longer part of
1501 the exported libgnutls interface, and no header files from
1502 libgnutls-extra (GPL) are needed by libgnutls (LGPL). The variables
1503 were never intended for non-internal purposes, and thus this does not
1504 imply a change in the external API/ABI.
1506 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
1507 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1509 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
1510 Before these parameters were set to make GnuTLS build under mingw32,
1511 however, they appear to no longer be necessary.
1513 ** A minor fix to the C++ library to make it build.
1514 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
1516 ** Update of gnulib files.
1518 ** API and ABI modifications:
1519 gnutls_x509_crt_get_basic_constraints: ADD.
1520 gnutls_x509_crt_set_basic_constraints: ADD.
1521 cdk_pubkey_to_sexp: ADD (in opencdk).
1522 cdk_seckey_to_sexp: ADD (in opencdk).
1524 * Version 1.7.1 (released 2006-12-28)
1526 ** TLS 1.2 server side fix.
1527 The Certificate Request sent did not contain the list of supported
1528 hashes field, thus violating the protocol. It will now contain an
1529 empty list. Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1531 ** TLS 1.2 DSA signature verification fix.
1532 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1534 ** Fix the list of trusted CAs that server's send to clients.
1535 Before, the list contained issuer DN's instead of subject DN's of the
1536 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
1538 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
1539 Also added a self-test in tests/certificate_set_x509_crl.c to test the
1540 function. Reported by Max Kellermann <max@duempel.org>.
1542 ** Encode UID fields in DN's as DirectoryString.
1543 Before GnuTLS encoded and parsed UID fields as IA5String. This was
1544 incorrect, it should have used DirectoryString. Now it will use
1545 DirectoryString for the UID field, but for backwards compatibility it
1546 will also accept IA5String UID's. Reported by Max Kellermann
1549 ** Improve out-of-sourcedir builds from CVS.
1550 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1552 ** Bootstrap tools changed.
1553 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
1554 building GnuTLS from CVS. Libtool 1.5.22 is used.
1556 ** Fixed a syntax error in lib/gnutls.asn.
1557 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
1559 ** Added German translation of GnuTLS messages.
1561 ** Update of gnulib files.
1563 ** API and ABI modifications:
1564 No changes since last version.
1566 * Version 1.7.0 (released 2006-11-29)
1568 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
1569 The details is that the protocol priority set by
1570 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
1571 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
1573 ** Preliminary support for TLS 1.2.
1574 The client has been successfully tested against
1575 https://www.mikestoolbox.org:4433/.
1577 ** Anonself test now print a lot of debugging info, including TLS version.
1579 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
1581 ** Update of gnulib files.
1583 ** API and ABI modifications:
1584 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
1586 *** Pulled up from stable 1.6.x branch:
1588 ** Fix ./configure failure with non-GCC compilers.
1589 This fixes the following error message:
1590 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
1591 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
1593 * Version 1.6.3 (released 2007-05-26)
1595 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
1596 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>. Backported
1597 from the 1.7.x branch, see
1598 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
1600 ** Have PKCS8 parser return better error codes.
1601 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
1602 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
1603 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
1605 ** Fix mem leak for sessions with client authentication via certificates.
1606 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
1607 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
1609 ** Fix building of 'tlsia' self test.
1610 Earlier some gcc are known to build tlsia linking to
1611 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
1612 the build directory, even though command line parameters look OK.
1613 Changing order of some parameters fixes it.
1615 ** API and ABI modifications:
1616 gnutls_x509_crt_get_raw_issuer_dn: ADD.
1617 gnutls_x509_crt_get_raw_dn: ADD.
1619 * Version 1.6.2 (released 2007-04-18)
1621 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
1622 Before, we remove the parameters field, which resulted in a slightly
1623 different DER encoding which in turn caused signature verification
1624 failures of GnuTLS-generated RSA certificates in some other
1625 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
1626 you read, this may or may not be correct, but our new behaviour appear
1627 to be consistent with other widely used implementations.
1629 ** Regenerate the PKIX ASN.1 syntax tree.
1630 For some reason, after changing the ASN.1 type of ldap-UID in the last
1631 release, the generated C file built from the ASN.1 schema was not
1632 refreshed. This can cause problems when reading/writing UID
1633 components inside X.500 Distinguished Names. Reported by devel
1634 <dev001@pas-world.com>.
1636 ** Updated translations.
1638 ** API and ABI modifications:
1639 No changes since last version.
1641 * Version 1.6.1 (released 2006-12-28)
1643 ** Fix the list of trusted CAs that server's send to clients.
1644 Before, the list contained issuer DN's instead of subject DN's of the
1645 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
1647 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
1648 Reported by Max Kellermann <max@duempel.org>.
1650 ** Encode UID fields in DN's as DirectoryString.
1651 Before GnuTLS encoded and parsed UID fields as IA5String. This was
1652 incorrect, it should have used DirectoryString. Now it will use
1653 DirectoryString for the UID field, but for backwards compatibility it
1654 will also accept IA5String UID's. Reported by Max Kellermann
1657 ** Fix ./configure failure with non-GCC compilers.
1658 This fixes the following error message:
1659 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
1660 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
1662 ** API and ABI modifications:
1663 No changes since last version.
1665 * Version 1.6.0 (released 2006-11-17)
1667 ** No changes since 1.5.5.
1668 The major changes compared to the 1.4.x branch are:
1670 *** A GnuTLS C++ library is part of the official distribution.
1671 Currently there are no examples or documentation, but hopefully this
1672 will change. See gnutlsxx.h for the API.
1674 *** Windows is a supported platform.
1675 There are, however, two know bugs. One is related to select() in
1676 command line tools (not, nota bene, in the library), the other is a
1677 problem with libgcrypt that causes delays. Help is needed to resolve
1678 those issues, so we feel we can't delay the release because of this.
1680 *** New APIs for custom push/pull function error reporting.
1681 The new APIs are gnutls_transport_set_errno and
1682 gnutls_transport_set_global_errno. See the release notes for version
1683 1.5.4 for more information.
1685 *** Self tests are run under valgrind, if available. See --disable-valgrind.
1687 * Version 1.5.5 (released 2006-11-16)
1689 ** Correctly bump shared library version after adding new APIs.
1690 This was forgotten in the last release.
1692 ** Fix unsigned vs signed problem in ex-x509-info.c example.
1693 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
1695 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
1697 ** Update of gnulib files.
1699 ** API and ABI modifications:
1700 No changes since last version.
1702 * Version 1.5.4 (released 2006-11-07)
1704 ** New API functions to set errno in push/pull functions.
1705 Under Windows, setting the errno variable in a push/pull replacement
1706 may end up setting the wrong errno variable, and GnuTLS send/recv
1707 functions become confused about the real errno returned from a failed
1708 push/pull function. Therefor, we have added two APIs to set the errno
1709 variable used by GnuTLS. The APIs can also help to keep things
1710 thread-safe, by avoiding potentially global variables. Typically,
1711 instead of setting errno in your push/pull function, you will call one
1712 of these functions. It is recommended to use
1713 gnutls_transport_set_errno, but if you don't have the session variable
1714 easily accessible in the push/pull replacement function, you can use
1715 gnutls_transport_set_global_errno. Suggested by Tim Kosse
1716 <tim.kosse@filezilla-project.org>.
1718 void gnutls_transport_set_errno (gnutls_session_t session, int err);
1719 void gnutls_transport_set_global_errno (int err);
1721 ** When calling `recv' or `send' Windows errors are handled properly.
1722 The Windows recv/send functions doesn't use errno, and GnuTLS now use
1723 WSAGetLastError to access the error condition instead.
1725 ** Several OpenPGP API fixes.
1726 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès). The most
1727 important fix is to change the return value of
1728 gnutls_openpgp_privkey_get_pk_algorithm and
1729 gnutls_openpgp_key_get_pk_algorithm from 'int' to
1730 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
1731 compatible with 'int').
1733 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
1734 ** version, try to negotiate the highest version support by the GnuTLS server,
1735 ** instead of the lowest.
1736 Reported by <Pasi.Eronen@nokia.com>.
1738 ** Replace old constructs with use of gnulib modules.
1739 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
1740 the code. If the headers doesn't exist on the target system, gnulib
1741 will make sure its replacement header files are used instead.
1743 ** Fix SOVERSION computation for *.def files.
1744 This fixes build errors similar to "No rule to make target
1745 `libgnutls-`expr', needed by `all-am'." when building for Windows.
1747 ** gnutls_check-version uses strverscmp from gnulib.
1749 ** Update of gnulib files.
1751 ** API and ABI modifications:
1752 gnutls_transport_set_errno: ADD
1753 gnutls_transport_set_global_errno: ADD
1755 * Version 1.5.3 (released 2006-10-26)
1757 ** Add new self-test of RSA-MD5 signature chains.
1758 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
1759 when verifying X.509 chains. The code is in tests/rsa-md5-collision/
1760 and is based on the work by Marc Stevens et al, see
1761 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
1763 ** Re-factor self tests.
1765 ** The include copy of Libtasn1 is updated to version 0.3.7.
1767 ** The included copy of OpenCDK is updated to version 0.5.11.
1769 ** Fix the filename of the *.def file on Windows after library version bump.
1771 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
1772 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
1773 gnulib modules. Earlier we could only use the LGPL'ed module from
1774 gnulib, because two gnulib directories in the same project didn't
1777 ** API and ABI modifications:
1778 No changes since last version.
1780 * Version 1.5.2 (released 2006-10-03)
1782 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
1783 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
1784 shared library version than this version, so you'll have to remove
1785 them and possibly relink your applications. The reason for this is
1786 that no API/ABI changes have been made since the 1.4.x branch, and
1787 that incrementing the shared library version was a mistake. Reported
1788 by Andreas Metzler <ametzler@downhill.at.eu.org>.
1790 ** Fix off-by-one error when computing length to malloc.
1791 The code is used by gnutls_openpgp_add_keyring_file and
1792 gnutls_openpgp_add_keyring_mem. Reported by "Adam Langley"
1793 <agl@imperialviolet.org>.
1795 ** Add version script for the GnuTLS C++ library.
1796 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1798 ** Fix the C++ compiler detection logic.
1799 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1801 ** Update of gnulib files.
1803 ** API and ABI modifications:
1804 No changes since last version.
1806 * Version 1.5.1 (released 2006-09-21)
1808 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
1809 ** Crypto 06 rump session attack.
1810 In particular, we check that the digestAlgorithm.parameters field is
1811 missing or empty, to avoid that it can contain "garbage" that may be
1812 used to alter the numeric properties of the signature. See
1813 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
1814 not exactly the same as the problem we fix here). Reported by Yutaka
1815 OIWA <y.oiwa@aist.go.jp>.
1817 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
1818 up to date information.
1820 ** Add self test to test for above flaw.
1822 ** Fix gnutls-cli-debug regarding resume support detection.
1823 Earlier, if the session-id from the server had a length of 0, it would
1824 indicate the the server supports resumption, which isn't the case.
1825 Reported by Kataja Kai <kai.kataja@op.fi>.
1827 ** Fix building of examples on FreeBSD by including netinet/in.h.
1828 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
1830 ** Fix certtool bug that caused the private key to not be loaded when
1831 generating a certificate with --load-request, which in turn triggered
1832 another unrelated bug in gnutls_x509_crt_sign2 (also fixed). Reported
1833 by Sascha Ziemann <sascha.ziemann@secunet.com>.
1835 ** gnutls-cli and gnutls-serv works on Windows.
1836 The problem was the select() call that doesn't work on file
1837 descriptors (stdin) on Windows. We borrowed some code from plibc to
1838 solve this. It appears to be somewhat unreliable though.
1840 ** Autoconf 2.60 is now used.
1842 ** API and ABI modifications:
1843 No changes since last version.
1845 * Version 1.5.0 (released 2006-08-13)
1847 ** Change SRP and Cert-Type extensions to match IANA registry.
1849 ** Fixed bug in OpenPGP authentication handshake.
1851 ** Improvements for building under MinGW.
1852 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
1853 header. Calls WSAStartup and WSACleanup in gnutls_global_init and
1854 gnutls_global_deinit, respectively. Loads getaddrinfo and getnameinfo
1855 at run-time from ws2_32.dll, and falls back on a simple replacement if
1856 it is not available. Builds the library with -mms-bitfields
1857 -Wl,--enable-runtime-pseudo-reloc. Links with --output-def, to
1858 create *.def files, which are installed.
1860 ** The examples now (conditionally) include config.h and link to gnulib.
1861 No other source changes were necessary, so the examples should
1862 continue to be possible to use stand-alone without any autoconf or
1865 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
1866 You may unconditionally disable it with --disable-cxx. See
1867 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
1870 ** Made command line tool '--version' behave according to GNU Standards.
1871 This enables 'make distcheck' to succeed.
1873 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
1875 ** Make --without-included-libtasn1 work.
1876 Reported by Daniel Black <dragonheart@gentoo.org>.
1878 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
1879 See http://www.gnu.org/software/gnutls/security.html regardging
1880 GNUTLS-SA-2006-2 for more up to date information. Reported by
1881 satyakumar <satyam_kkd@hyd.hellosoft.com>.
1883 ** API and ABI modifications:
1884 No changes since last version.
1886 * Version 1.4.5 (released 2006-11-06)
1888 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
1889 ** version, try to negotiate the highest version support by the GnuTLS server,
1890 ** instead of the lowest.
1891 Reported by <Pasi.Eronen@nokia.com>.
1893 ** Fix typo in doc/examples/ex-serv-pgp.c.
1894 Reported by Adam Langley" <agl@imperialviolet.org>.
1896 ** API and ABI modifications:
1897 No changes since last version.
1899 * Version 1.4.4 (released 2006-09-12)
1901 ** Relax the test that caught signatures that exploit the variant of
1902 ** Bleichenbacher's Crypto 06 rump session attack on our
1903 ** verification logic flaw.
1904 In particular, we now permit the digestAlgorithm.parameters field to
1905 be present but empty, whereas in 1.4.3 we actually checked that the
1908 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
1909 The messages are only printed in debug mode, which is not recommended
1910 for normal use, and thus logging this situation cannot be abused as an
1911 oracle in typical recommended situations.
1913 ** API and ABI modifications:
1914 No changes since last version.
1916 * Version 1.4.3 (released 2006-09-08)
1918 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
1919 ** Crypto 06 rump session attack.
1920 In particular, we check that the digestAlgorithm.parameters field is
1921 empty, to avoid that it can contain "garbage" that may be used to
1922 alter the numeric properties of the signature. See
1923 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
1924 not exactly the same as the problem we fix here). Reported by Yutaka
1925 OIWA <y.oiwa@aist.go.jp>.
1927 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
1928 up to date information.
1930 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
1931 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
1932 Reported by Werner Koch <wk@gnupg.org>.
1934 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
1935 up to date information.
1937 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
1939 ** API and ABI modifications:
1940 No changes since last version.
1942 * Version 1.4.2 (released 2006-08-12)
1944 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
1945 This can happen if you call gnutls_certificate_verify_peers2 and have
1946 a certain mix of local CA certificates and the peer send special
1947 certificates, that together trigger certain behaviour. It is not
1948 known at this point whether the crash can be triggered without the
1949 special local CA certificate, and thus turn this into a remote crash
1950 of clients that verify server certificates when they talk to a server
1951 with the special server certificate. See GNUTLS-SA-2006-2 on
1952 http://www.gnu.org/software/gnutls/security.html for more up to date
1953 information. Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
1955 ** Change SRP and Cert-Type extensions to match IANA registry.
1957 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
1959 ** Make --without-included-libtasn1 work.
1960 Reported by Daniel Black <dragonheart@gentoo.org>.
1962 ** API and ABI modifications:
1963 No changes since last version.
1965 * Version 1.4.1 (released 2006-06-14)
1967 ** Replaced inactive ifdefs to enable openpgp support in test programs.
1969 ** Fixed bug in OpenPGP authentication handshake.
1971 ** Fixed typographical in man pages.
1973 ** Build fixes of the manual.
1975 ** Added Swedish translation.
1977 ** API and ABI modifications:
1978 No changes since last version.
1980 * Version 1.4.0 (released 2006-05-15)
1982 ** Remove GnuTLS 0.8.x compatibility functions.
1984 ** The libgcrypt RNG is initialized in gnutls_global_init().
1986 ** TLS/IA API changes from Emile van Bergen.
1987 A dummy credential structure is not needed now, if you wish to use the
1988 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
1991 ** The self-tests are now run under valgrind, if it is installed.
1993 ** Libtasn1 is updated to 0.3.4, and that version is now required.
1995 ** The command line tools now use getaddrinfo and support IPv6.
1997 ** API and ABI modifications:
1998 _gnutls_x509_get_raw_crt_activation_time,
1999 _gnutls_x509_get_raw_crt_expiration_time: Removed.
2000 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
2001 gnutls_ia_enable: Added.
2003 * Version 1.3.5 (released 2006-03-08)
2005 ** Error messages are now translated using GNU Gettext.
2007 ** The function gnutls_x509_crt_to_xml now return an internal error.
2008 This means that the code to convert X.509 certificates to XML format
2009 does not work any more. The reason is that the function called
2010 libtasn1 internal functions. It seems unclean for libtasn1 to export
2011 the APIs needed here. Instead it would be better to implement XML
2012 support inside libtasn1 properly. If you need this functionality
2013 strongly, please consider looking into implementing this suggested
2014 approach instead. As a workaround, you may also modify lib/x509/xml.c
2015 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
2017 ** Libraries are now built with libtool's -no-undefined.
2018 This helps producing libraries for Windows using mingw32.
2020 ** Doc fixes to explain that gnutls_record_send can block.
2022 ** Libtasn1 0.3.1 or later is now required.
2023 The include copy has been updated too.
2025 ** gnutls-cli can now recognize services and port numbers with the -p option.
2027 ** API and ABI modifications:
2028 No changes since last version.
2030 * Version 1.3.4 (released 2006-02-09)
2032 ** Fix read of out bounds bug in DER parser.
2033 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
2034 Protover SSL. Libtasn1 0.2.18 is now required, which contains the
2035 previous bug fix. The included libtasn1 version in GnuTLS has been
2038 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
2039 longer invalidate a session if the underlying send fails, but it will
2040 prevent future writes. That is to allow reading the already received data.
2041 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
2043 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
2044 gnutls_certificate_set_x509_trust(), that caused memory corruption if
2045 more than one certificates were added. Report and patch by Max Kellermann.
2047 ** Fix build problems of OpenCDK on AIX.
2048 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
2050 ** API and ABI modifications:
2051 No changes since last version.
2053 * Version 1.3.3 (released 2006-01-12)
2055 ** New API to access the TLS master secret.
2056 When possible, you should use the TLS PRF functions instead.
2057 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
2059 ** Improved handling when multiple libraries use GnuTLS at the same time.
2060 Now gnutls_global_init() can be called multiple times, and
2061 gnutls_global_deinit() will only deallocate the structure when it has
2062 been called as many times as gnutls_global_init() was called.
2064 ** Added a self test of TLS resume functionality.
2066 ** Fix crash in TLS resume code, caused by TLS/IA changes.
2068 ** Documentation fixes about thread unsafety, prompted by
2069 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
2070 In particular, gnutls_global_init() and gnutls_global_deinit() are not
2071 thread safe. Careful callers may want to protect the call using a
2072 mutex. The problem could also be ignored, which would cause a memory
2073 leak under rare conditions when two threads invoke the function
2074 roughly at the same time.
2076 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
2078 ** The code was indented again, including the external header files.
2080 ** API and ABI modifications:
2081 New functions to retrieve the master secret value:
2082 gnutls_session_get_master_secret
2084 Add a 'const' keyword to existing API:
2085 gnutls_x509_crq_get_challenge_password
2087 * Version 1.3.2 (released 2005-12-15)
2089 ** GnuTLS now support TLS Inner application (TLS/IA).
2090 This is per draft-funk-tls-inner-application-extension-01. This
2091 functionality is added to libgnutls-extra, so it is licensed under the
2092 GNU General Public License.
2094 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
2095 The PRF is used by some protocols building on TLS, such as EAP-PEAP
2096 and EAP-TTLS. One function to access the raw PRF and one to access
2097 the PRF seeded with the client/server random fields are provided.
2098 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
2100 ** New APIs to acceess the client and server random fields in a session.
2101 These fields can be useful by protocols using TLS. Note that these
2102 fields are typically used as input to the TLS PRF, and if this is your
2103 intended use, you should use the TLS PRF API that use the
2104 client/server random field directly. Suggested by Jouni Malinen
2105 <jkmaline@cc.hut.fi>.
2107 ** Internal type cleanups.
2108 The uint8, uint16, uint32 types have been replaced by uint8_t,
2109 uint16_t, uint32_t. Gnulib is used to guarantee the presence of
2110 correct types on platforms that lack them. The uint type have been
2111 replaced by unsigned.
2113 ** API and ABI modifications:
2114 New functions to invoke the TLS Pseudo-Random-Function (PRF):
2118 New functions to retrieve the session's client and server random values:
2119 gnutls_session_get_server_random
2120 gnutls_session_get_client_random
2122 New function, to perform TLS/IA handshake:
2125 New function to decide whether to do a TLS/IA handshake:
2126 gnutls_ia_handshake_p
2128 New functions to allocate a TLS/IA credential:
2129 gnutls_ia_allocate_client_credentials
2130 gnutls_ia_free_client_credentials
2131 gnutls_ia_allocate_server_credentials
2132 gnutls_ia_free_server_credentials
2134 New functions to handle the AVP callback:
2135 gnutls_ia_set_client_avp_function
2136 gnutls_ia_set_client_avp_ptr
2137 gnutls_ia_get_client_avp_ptr
2138 gnutls_ia_set_server_avp_function
2139 gnutls_ia_set_server_avp_ptr
2140 gnutls_ia_get_server_avp_ptr
2142 New functions, to toggle TLS/IA application phases:
2143 gnutls_ia_require_inner_phase
2145 New function to mix session keys with inner secret:
2146 gnutls_ia_permute_inner_secret
2148 Low-level API (used internally by gnutls_ia_handshake):
2149 gnutls_ia_endphase_send
2153 New functions that can be used after successful TLS/IA negotiation:
2154 gnutls_ia_generate_challenge
2155 gnutls_ia_extract_inner_secret
2157 Enum type with TLS/IA modes:
2160 Enum type with TLS/IA packet types:
2163 Enum values for TLS/IA alerts:
2164 GNUTLS_A_INNER_APPLICATION_FAILURE
2165 GNUTLS_A_INNER_APPLICATION_VERIFICATION
2167 New error codes, to signal when an application phase has finished:
2168 GNUTLS_E_WARNING_IA_IPHF_RECEIVED
2169 GNUTLS_E_WARNING_IA_FPHF_RECEIVED
2171 New error code to signal TLS/IA verify failure:
2172 GNUTLS_E_IA_VERIFY_FAILED
2174 * Version 1.3.1 (released 2005-12-08)
2176 ** Support for DHE-PSK cipher suites has been added.
2177 This method offers perfect forward secrecy.
2179 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
2180 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
2182 ** Corrected a bug in certtool for 64 bit machines. Reported
2183 by Max Kellermann <max@duempel.org>.
2185 ** New function to set a X.509 private key and certificate pairs, and/or
2186 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
2187 <emile@e-advies.nl>.
2189 The integrity of the PKCS#12 file is protected through a password
2190 based MAC; public-key based signatures for integrity protection are
2191 not supported. PKCS#12 bags may be encrypted using password derived
2192 symmetric keys, public-key based encryption is not supported. The
2193 PKCS#8 keys may be encrypted using passwords. The API use the same
2194 password for all operations. We believe that any more flexibility
2195 create too much complexity that would hurt overall security, but may
2196 add more PKCS#12 related APIs if real-world experience indicate
2199 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
2200 reported by Emile van Bergen <emile@e-advies.nl>.
2201 This will enable "certtool -k -8" to parse those keys.
2203 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
2204 Use "certtool -p -8" and press press enter at the prompt. Earlier,
2205 certtool would have encrypted the key using an empty password.
2207 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
2208 Earlier it would have prompted the user for it, even if --password was
2211 ** Added self test of PKCS#8 parsing.
2212 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
2213 pbeWithSHAAnd40BitRC2-CBC) formats are tested. The test is in
2216 ** API and ABI modifications:
2217 New function to set X.509 credentials from a PKCS#12 file:
2218 gnutls_certificate_set_x509_simple_pkcs12_file
2220 New gnutls_kx_algorithm_t enum type:
2223 New API to return session data (basically same as gnutls_session_get_data):
2224 gnutls_session_get_data2
2226 New API to set PSK Diffie-Hellman parameters:
2227 gnutls_psk_set_server_dh_params
2229 * Version 1.3.0 (2005-11-15)
2231 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
2232 This add several new APIs, see below. Read the updated manual for
2233 more information. A new self test "pskself" has been added, that will
2234 test this functionality.
2236 ** The session resumption data are now system independent.
2238 ** The code has been re-indented to conform to the GNU coding style.
2240 ** Removed the RIPEMD ciphersuites.
2242 ** Added a discussion of the internals of gnutls in manual.
2244 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
2246 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
2248 ** Make sure config.h is included first in a few files, from Albert Chin.
2250 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
2252 ** Don't install SRP programs and man pages if --disable-srp-authentication,
2255 ** API and ABI modifications:
2256 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
2258 New gnutls_credentials_type_t credential type:
2261 New credential types:
2262 gnutls_psk_server_credentials_t
2263 gnutls_psk_client_credentials_t
2265 New functions to allocate PSK credentials:
2266 gnutls_psk_allocate_client_credentials
2267 gnutls_psk_free_client_credentials
2268 gnutls_psk_free_server_credentials
2269 gnutls_psk_allocate_server_credentials
2271 New enum type for PSK key flags:
2272 gnutls_psk_key_flags
2274 New function prototypes for credential callback:
2275 gnutls_psk_client_credentials_function
2276 gnutls_psk_server_credentials_function
2278 New function to set PSK username and key:
2279 gnutls_psk_set_client_credentials
2281 New function to set PSK passwd file:
2282 gnutls_psk_set_server_credentials_file
2284 New function to extract PSK user in server:
2285 gnutls_psk_server_get_username
2287 New functions to set PSK callback:
2288 gnutls_psk_set_server_credentials_function
2289 gnutls_psk_set_client_credentials_function
2291 Use size_t instead of int for output size parameter:
2292 gnutls_srp_base64_encode
2293 gnutls_srp_base64_decode
2295 * Version 1.2.11 (2006-05-11)
2296 - The function gnutls_x509_crt_to_xml is not supported any more, and
2297 return an internal error. The reason is that the function called
2298 internal libtasn1 functions which are no longer exported from
2300 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
2301 - Updated gnulib compatibility files.
2302 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
2303 _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
2304 - API and ABI modifications:
2305 No changes since last version.
2307 * Version 1.2.10 (2006-02-09)
2308 - Fix read out bounds bug in DER parser. Reported by Evgeny Legerov
2309 <admin@gleg.net>, and debugging help from Protover SSL.
2310 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
2311 The included version has been updated too.
2312 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
2313 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
2314 - Corrected a bug in certtool for 64 bit machines. Reported
2315 by Max Kellermann <max@duempel.org>.
2316 - Corrected bugs in gnutls_certificate_set_x509_crl() and
2317 gnutls_certificate_set_x509_trust(), that caused memory corruption if
2318 more than one certificates were added. Report and patch by Max Kellermann.
2319 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
2320 longer invalidate a session if the underlying send fails, but it will
2321 prevent future writes. That is to allow reading the already received data.
2322 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
2324 * Version 1.2.9 (2005-11-07)
2325 - Documentation was updated and improved.
2326 - RSA-MD2 is now supported for verifying digital signatures.
2327 - Due to cryptographic advances, verifying untrusted X.509
2328 certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
2329 GNUTLS_CERT_INSECURE_ALGORITHM verification output. For
2330 applications that must remain interoperable, you can use the
2331 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
2332 flags when verifying certificates. Naturally, this is not
2333 recommended default behaviour for applications. To enable the
2334 broken algorithms, call gnutls_certificate_set_verify_flags with the
2335 proper flag, to change the verification mode used by
2336 gnutls_certificate_verify_peers2.
2337 - Make it possible to send empty data through gnutls_record_send,
2338 to align with the send(2) API.
2339 - Some changes in the certificate receiving part of handshake to prevent
2340 some possible errors with non-blocking servers.
2341 - Added numeric version symbols to permit simple CPP-based feature
2342 tests, suggested by Daniel Stenberg <daniel@haxx.se>.
2343 - The (experimental) low-level crypto alternative to libgcrypt used
2344 earlier (Nettle) has been replaced with crypto code from gnulib.
2345 This leads to easier re-use of these components in other projects,
2346 leading to more review and simpler maintenance. The new configure
2347 parameter --with-builtin-crypto replace the old --with-nettle, and
2348 must be used if you wish to enable this functionality. See README
2349 under "Experimental" for more information. Internally, GnuTLS has
2350 been updated to use the new "Generic Crypto" API in gl/gc.h. The
2351 API is similar to the old crypto/gc.h, because the gnulib code were
2352 based on GnuTLS's gc.h.
2353 - Fix compiler warning in the "anonself" self test.
2354 - API and ABI modifications:
2355 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
2356 This doesn't reflect a change in behaviour,
2357 so we don't break backwards compatibility.
2358 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
2359 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
2360 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
2361 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
2363 gnutls_x509_crt_list_verify,
2364 gnutls_x509_crt_verify, or
2365 gnutls_certificate_set_verify_flags.
2366 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
2367 used when broken signature algorithms
2368 is used (currently RSA-MD2/MD5).
2369 LIBGNUTLS_VERSION_MAJOR,
2370 LIBGNUTLS_VERSION_MINOR,
2371 LIBGNUTLS_VERSION_PATCH,
2372 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
2373 version number, can be used for feature existence
2376 * Version 1.2.8 (2005-10-07)
2377 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
2378 - Don't install the auxilliary libexamples library used by the
2379 examples in doc/examples/ on "make install", report and tiny patch
2380 from Thomas Klausner <tk@giga.or.at>.
2381 - If you pass a X.509 CA or PGP trust database to the command line
2382 tool, it will now abort the connection if the server certificate
2383 validation fails. Use the parameter --insecure to continue even
2384 after certificate validation failures. Inspired from discussion
2385 with Alexander Kotelnikov <sacha@myxomop.com>.
2386 - The test for socklen_t has been moved to gnulib.
2387 - Link failures for duplicate or missing "program_name" symbol has been fixed,
2388 patch from Martin Lambers <marlam@marlam.de>.
2389 - The command line tool and the examples no longer uses mmap or bzero,
2390 to make them more portable, patch from Martin Lambers
2392 - Made the PKCS #12 API handle null passwords. Based on patch by
2393 Anton Altaparmakov <aia21@cam.ac.uk>.
2394 - The GTK-DOC manual should build with current released tools.
2395 (But a copy of the output is included, so the tools are not required.)
2396 - The inet_ntop function is now used through gnulib.
2397 - API and ABI modifications:
2398 No changes since last version.
2400 * Version 1.2.7 (2005-09-09)
2401 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
2402 - Certtool now complains when reading out-of-range X.509 serial
2403 numbers, suggested by Fran <e_agf@yahoo.es>.
2404 - Certtool now uses the readline library (when available) when reading
2405 X.509 serial numbers.
2406 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
2407 - Fixed compile warning regarding socklen_t on Mingw32, reported by
2408 Martin Lambers <marlam@marlam.de>.
2409 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
2410 - Gnulib is now used for the core library, enabling future code cleanups.
2411 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
2412 suggested by Daniel Stenberg <daniel@haxx.se>.
2413 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
2414 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
2415 - Disable zlib support if zlib.h is not present.
2416 - A number of internal cleanups.
2417 - API and ABI modifications:
2418 No changes since last version.
2420 * Version 1.2.6 (2005-07-16)
2421 - MiniLZO updated to version 2.01 and moved to separate directory.
2422 - Collision between system LZO header files and MiniLZO header file
2423 fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
2424 - Will now test for liblzo functionality in liblzo2 too, reported by
2425 Thomas Klausner <tk@giga.or.at>.
2426 - Minilibtasn1 is now 0.2.14 (no code changes).
2427 - Some code changes to avoid GTK-DOC warnings.
2428 - API and ABI modifications:
2429 No changes since last version.
2431 * Version 1.2.5 (2005-07-03)
2432 - More builddir != srcdir fixes, reported by Mike Castle
2433 <dalgoda@ix.netcom.com>.
2434 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
2435 reported by Adam Langley <alangley@gmail.com>.
2436 - Corrected some stuff in minilzo detection. Pointed out by
2438 - MiniLZO updated to version 2.00.
2439 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
2440 - API and ABI modifications:
2441 No changes since last version.
2443 * Version 1.2.4 (2005-05-28)
2444 - Corrected some bugs that could affect 64 bit systems.
2445 - Some corrections in the header files to include the prototype
2446 of memmem properly (affected 64 bit systems). Report and patch
2447 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2448 - Introduced the --fix-key option to certtool, which can be used to
2449 regenerate the (optional) parameters in a private key. It should
2450 be used together with --key-info.
2451 - Corrected a bug in certificate chain verification that could lead
2452 to marking a trusted chain as non trusted, if the last certificate in
2453 the chain was a self signed one.
2454 - Gnulib portability files were updated.
2455 - License were updated to reflect new FSF address.
2456 - API and ABI modifications:
2457 No changes since last version.
2459 * Version 1.2.3 (2005-04-28)
2460 - Corrected bug in record packet parsing that could lead
2461 to a denial of service attack.
2462 - Corrected bug in RSA key export. Previously exported keys
2463 can be fixed using certtool. Use certtool -k <infile >outfile
2464 - API and ABI modifications:
2465 gnutls_x509_privkey_fix(): Add.
2467 * Version 1.2.2 (2005-04-25)
2468 - gnutls_error_to_alert() now considers
2469 GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
2470 - Fixed error in session resuming that could cause a crash in a session.
2471 - Fixed pkcs12 friendly name and local key identifier decoding.
2472 - Internal cleanups, removed duplicate typedef/struct definitions,
2473 and made source code include external include file, to check
2474 function prototypes during compile time.
2475 - API and ABI modifications:
2476 No changes since last version. At least not intentional, but due
2477 to the include header changes, there may be inadvertant changes,
2478 please let us know if you find any.
2480 * Version 1.2.1 (2005-04-04)
2481 - gnutls_bye() will no longer fail when RDWR is used and application
2482 data are available for reading.
2483 - Added more strict checks for the SRP parameters (g,n), when they
2484 are not in the included list.
2485 - Added warning to certtool when MD5 is being used for digital
2487 - Optimizations ("-O2 -finline-functions") are not enabled by default,
2488 instead the standard autoconf defaults are used. Use `./configure
2489 CFLAGS="-O2 -finline-functions"' to get the old optimizations.
2490 - Added the option --get-dh-params to certtool, in order to get the
2491 parameters included in the library primes and generators.
2492 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
2493 allow only trusted Version 1 CAs and introduced
2494 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
2495 - Nettle self tests now build properly, reported by Pierre
2496 <pierre42d@9online.fr>.
2497 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
2498 Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2499 - If the library has been compiled with features disabled, a warning is
2500 issued during the compilation of any program.
2501 - API and ABI modifications:
2502 gnutls_x509_crt_list_import(): Add
2503 gnutls_x509_crq_get_attribute_by_oid(): Add.
2504 gnutls_x509_crq_set_attribute_by_oid(): Add
2505 gnutls_x509_crt_set_extension_by_oid(): Add.
2506 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
2507 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
2509 * Version 1.2.0 (2005-01-27)
2510 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
2511 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and
2512 gnutls_x509_crl_sign2().
2513 - Fixed license header in source code files.
2515 * Version 1.1.23 (2005-01-18)
2516 - It is now possible to generate PKCS#12 structures without private
2517 keys using "certtool --to-p12", suggested by Fabian Fagerholm
2519 - Certtool now prints information for the RSA and DSA parameters of
2520 certificates and private keys.
2521 - Corrected the write of CRL distribution points.
2522 - The certificate chain verification function now checks certificates
2523 in the reverse order to minimize the spent resources.
2524 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
2525 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
2526 gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
2527 gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
2528 required, instead of the string length. That is, the value has been
2529 incremented by 1 to account for the terminating zero. Reported by
2530 Martin Lambers <marlam@web.de>.
2531 - Debug output shouldn't crash on platforms that doesn't handle NULL
2532 printf %s values. Reported by Michael.Ringe@aachen.utimaco.de.
2533 - Sync included copy of libtasn1 with version 0.2.13.
2534 - Client X.509 authenticated connections via gnutls-cli should now work again.
2536 * Version 1.1.22 (2004-11-04)
2537 - Replace GNU LD version script with Libtool -export-symbols-regex,
2538 from Joe Orton <joe@manyfish.co.uk>.
2539 - Documentation improvements.
2540 - Code indented using 'indent -i4 -kr'.
2541 - The API manual is included in Devhelp format. (Was in last release too,
2542 but the NEWS entry was forgotten.)
2543 - The OpenSSL compatibility code now use the internal crypto interface.
2544 - Added simple self test of OpenSSL compatibility library.
2545 - Internally, libtool convenience libraries are used.
2546 - Cleanups to configure.ac.
2548 * Version 1.1.21 (2004-10-27)
2549 - Print DN of certificates with unknown characters in them, but in hexform
2551 - Added second precision to the X.509 parsing and generation functions.
2552 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
2554 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
2555 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
2556 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
2557 <stephane.loeuillet@tiscali.fr>.
2558 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
2559 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
2560 - Add self test of PKCS#12 functionality in "certtool", based on test
2561 vectors from Joe Orton <joe@manyfish.co.uk>.
2562 - Fix library order in libgnutls*-config --libs output, to permit
2563 static linking, reported by Yoann Vandoorselaere
2564 <yoann@prelude-ids.org>.
2566 * Version 1.1.20 (2004-10-12)
2567 - Fix compile problem in gl/getpass.c on some systems.
2569 * Version 1.1.19 (2004-10-07)
2570 - Fix memory leak in gnutls_certificate_verify_peers and
2571 gnutls_certificate_free_credentials, report and patch by Simon
2572 Posnjak <simon.posnjak@cetrtapot.si>.
2573 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
2574 a key and no certificate to PKCS#12.
2575 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
2576 <gp@familiehaase.de>.
2577 - Fixes faulty getpass implementation in libextra/opencdk/, reported
2578 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2579 - Uses memmem instead of strnstr in lib/.
2580 - Using more GNULib portability files, although not yet inside lib/.
2581 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
2582 Nikos deprecated gnutls_certificate_verify_peers in favor of
2583 gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
2584 - Improvements to the manual.
2585 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
2586 - Known bug: the library require snprintf. This has not yet been
2587 fixed, but will be handled via GNULib later on.
2589 * Version 1.1.18 (2004-08-24)
2590 - Corrected handling of certificate with dates after year 2038.
2591 - Corrected DER decoder which could incorrectly treat input as BER and fail.
2592 - Correct certtool --smime-to-p7 end of line character handling.
2593 - Added example client and server for anonymous authentication.
2594 - Added self test that tests anonymous TLS client and server.
2595 - Added self tests of Nettle and generic crypto layer.
2596 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
2597 Online version at <http://www.gnu.org/software/gnutls/reference/>.
2598 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
2599 - Man pages for API functions are included.
2601 * Version 1.1.17 (2004-08-18)
2602 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
2603 reported by Robey Pointer <robey@danger.com>.
2604 - Generic crypto interface for secret key ciphers, hashes and randomness added.
2605 See section "Experimental" within section "COMPILATION ISSUES" in README.
2606 - Removed length limit on passwords read by 'certtool'.
2607 - Documentation fixes.
2609 * Version 1.1.16 (2004-08-15)
2610 - Fix missing gnulib linker parameter when building certtool.
2611 - Add gnulib module 'progname', needed by module 'error'.
2612 - Improve building with srcdir != objdir.
2614 * Version 1.1.15 (2004-08-15)
2615 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
2617 - Ported to Mac OS X / Darwin.
2618 - Ported to FreeBSD.
2620 * Version 1.1.14 (2004-08-09)
2621 - Documentation converted to Texinfo format.
2622 - Bug fix of test suite.
2623 - Configure now print build information, used by Autobuild.
2625 * Version 1.1.13 (2004-08-05)
2626 - Added simple self test suite.
2628 * Version 1.1.12 (2004-08-02)
2629 - Updated the SRP authentication to conform to the
2630 latest (yet unreleased) draft. Unfortunately this breaks
2631 compatibility with previous versions.
2632 - Changed the makefiles to be more portable.
2633 - SRP ciphersuites were moved to the gnutls library.
2634 - Added some default limits in the verification of certificate
2635 chains, to avoid denial of service attacks. Also added
2636 gnutls_certificate_set_verify_limits() to override them.
2637 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
2638 - Added gnutls_certificate_verify_peers2().
2640 * Version 1.1.11 (2004-07-16)
2641 - Added the '_t' suffix to all exported symbols.
2642 - Fixed bug in RSA encryption, report and patch by Martijn Koster
2643 <mak@greenhills.co.uk>.
2644 - Corrected a bug in certificate verification. Pointed out by
2645 Yoann Vandoorselaere <yoann@prelude-ids.org>
2646 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
2647 verification functions.
2648 - The ephemeral DH and RSA parameters are no longer stored in the
2650 - Do not free the SRP (prime and generator) parameters obtained from the
2651 callback if they are the static ones defined in extra.h
2652 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
2654 * Version 1.1.10 (2004-06-12)
2655 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
2656 - Corrected bug in TLS renegotiation.
2657 - Corrected bug in OpenPGP key loading using a callback.
2658 - gnutls-srpcrypt was renamed to srptool
2659 - Allow handshake requests by the client.
2660 - Automatically disable certificate types that do not have corresponding
2662 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
2663 - Opencdk library is being included if not found.
2664 - certtool can now add ip address SAN extension.
2665 - certtool has now support for more X.520 DN attribute types.
2666 - Better handling of EOF in gnutls_record_recv().
2667 - _gnutls_deinit() is no longer used. Sessions are not
2668 automatically removed any more, on abnormal termination.
2669 - Corrected session resuming in SRP ciphersuites.
2670 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
2671 - Added new functions to allow access to the ephemeral
2672 Diffie Hellman parameters.
2673 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
2674 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
2675 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
2676 gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
2677 RSA-EXPORT key exchange.
2678 - Some fixes in the session resuming code.
2679 - Added gnutls_openpgp_keyring_check_id().
2681 * Version 1.1.9 (2004-04-14)
2682 - Added support for authority key identifier and the extended key usage
2683 X.509 extension fields. The certtoool was updated to support them.
2684 - The RC2 cipher is no more included. The one in libgcrypt is now used.
2685 - Added batch support to certtool. Now it can use templates.
2687 * Version 1.1.8 (2004-04-07)
2688 - Implemented all the tests for the SRP group parameters in
2689 client side. This may lead to incompatibility with very
2691 - Corrected bug in RSA parameters handling which could cause
2693 - Optimized the copying of rsa_params.
2695 * Version 1.1.7 (2004-03-29)
2696 - Added gnutls_certificate_set_params_function() and
2697 gnutls_anon_set_params_function() that set the RSA or DH
2698 parameters using a callback.
2699 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
2700 and gnutls_x509_privkey_cpy().
2701 - Corrected a compilation issue when opencdk was installed in a
2702 non standard directory.
2703 - Deprecated: gnutls_srp_server_set_select_function(),
2704 gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
2706 * Version 1.1.6 (2004-02-24)
2707 - Several bug fixes, by Arne Thomassen.
2708 - Fixed a bug where 'server name' extension was always sent.
2710 * Version 1.1.5 (2004-01-06)
2711 - Added the gnutls_sign_algorithm type.
2713 * Version 1.1.4 (2004-01-04)
2714 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
2715 If they are of highest priority then the abbreviated handshake
2717 - Removed all references of missing files.
2718 - Changed handshake behaviour to send the lowest TLS version
2719 when an unsupported version was advertized. The current behaviour
2720 is to send the maximum version we support.
2721 - Corrected problem printing the DC attributes in a DN.
2723 * Version 1.1.3 (2003-12-30)
2724 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
2727 * Version 1.1.2 (2003-12-28)
2728 - Added CRL verification functionality to certtool.
2729 - Corrected the CRL distribution point extension handling.
2731 * Version 1.1.1 (2003-12-26)
2732 - Added PKCS #7 support to certtool utility.
2733 - Added support for reading and generating CRL distribution
2734 points extensions in certificates.
2735 - Added support for generating CRLs in the library and the
2737 - Added support for the Subject Key ID PKIX extension.
2739 * Version 1.1.0 (2003-12-21)
2740 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
2741 are no longer returned by the handshake function. Ciphersuites that
2742 require temporary parameters are removed when such parameters do not exist.
2743 - Added the callbacks gnutls_certificate_client_retrieve_function() and
2744 gnutls_certificate_server_retrieve_function(), to allow a client or a server
2745 to specify certificates for the handshake without storing them to the
2746 credentials structure.
2747 - Added support for generating and exporting DSA private keys.
2748 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
2749 certificate's key usage.
2750 - Added gnutls_openpgp_key_get_key_usage().
2752 * Version 1.0.25 (2005-04-27)
2753 - Corrected bug in record packet parsing that could lead
2754 to a denial of service attack.
2755 - Corrected bug in RSA key export.
2757 * Version 1.0.24 (2005-01-18)
2758 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
2760 * Version 1.0.23 (2004-11-13)
2761 - Replace GNU LD version script with Libtool -export-symbols-regex,
2762 from Joe Orton <joe@manyfish.co.uk>.
2763 - Copy libtasn1 has been updated to version 0.2.11.
2764 - Corrected the write of CRL distribution points.
2765 - It is now possible to generate PKCS#12 structures without private
2766 keys using "certtool --to-p12", suggested by Fabian Fagerholm
2769 * Version 1.0.22 (2004-10-28)
2770 - Print DN of certificates with unknown characters in them, but in hexform
2772 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
2774 - Added second precision to the X.509 parsing functions.
2775 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
2776 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
2777 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
2778 <stephane.loeuillet@tiscali.fr>.
2779 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
2780 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
2781 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
2782 - Fix library order in libgnutls*-config --libs output, to permit
2783 static linking, reported by Yoann Vandoorselaere
2784 <yoann@prelude-ids.org>.
2786 * Version 1.0.21 (2004-10-07)
2787 - Fix memory leak in gnutls_certificate_verify_peers and
2788 gnutls_certificate_free_credentials, report and patch by Simon
2789 Posnjak <simon.posnjak@cetrtapot.si>.
2790 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
2791 a key and no certificate to PKCS#12.
2792 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
2793 <gp@familiehaase.de>.
2794 - Avoid redefining getpass if system already has it, reported by
2795 Yoann Vandoorselaere <yoann@prelude-ids.org>.
2796 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
2797 - Known bug: the library require snprintf.
2799 * Version 1.0.20 (2004-08-18)
2800 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
2801 reported by Robey Pointer <robey@danger.com>.
2803 * Version 1.0.19 (2004-08-09)
2804 - Bug fix of test suite.
2806 * Version 1.0.18 (2004-08-05)
2807 - Added simple self test suite.
2809 * Version 1.0.17 (2004-08-02)
2810 - Updated the SRP authentication to conform to the
2811 latest (yet unreleased) draft. Unfortunately this breaks
2812 compatibility with previous versions.
2813 - Changed the makefiles to be more portable.
2814 - Added some default limits in the verification of certificate
2815 chains, to avoid denial of service attacks. Also added
2816 gnutls_certificate_set_verify_limits() to override them.
2817 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
2818 - Added gnutls_certificate_verify_peers2().
2820 * Version 1.0.16 (2004-07-10)
2821 - Do not free the SRP (prime and generator) parameters obtained from the
2822 callback if they are the static ones defined in extra.h.
2823 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
2824 - Some fixes in the makefiles.
2826 * Version 1.0.15 (2004-06-29)
2827 - Fixed bug in RSA encryption, report and patch by Martijn Koster
2828 <mak@greenhills.co.uk>.
2829 - Corrected a bug in certificate verification. Pointed out by
2830 Yoann Vandoorselaere <yoann@prelude-ids.org>.
2832 * Version 1.0.14 (2004-06-12)
2833 - Automatically disable certificate types that do not have corresponding
2835 - Updates in the documentation.
2836 - certtool can now add ip address SAN extension.
2837 - certtool has now support for more X.520 DN attribute types.
2838 - Opencdk library is being included if not found.
2839 - Added gnutls_openpgp_keyring_check_id().
2840 - Corrected a serious bug in the included libtasn1 library.
2841 - Corrected session resuming in SRP ciphersuites.
2842 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
2843 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
2844 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
2845 - Some fixes in the session resuming code.
2847 * Version 1.0.13 (2004-04-29)
2848 - Some complilation fixes.
2849 - Added the --xml parameter to the certtool utility.
2851 * Version 1.0.12 (2004-04-23)
2852 - Corrected bug in OpenPGP key loading using a callback.
2853 - Renamed gnutls-srpcrypt to srptool
2854 - Allow handshake requests by the client.
2855 * Things backported from the development branch:
2856 - Added support for authority key identifier and the extended key usage
2857 X.509 extension fields. The certtoool was updated to support them.
2858 - Added batch support to certtool. Now it can use templates.
2859 - The RC2 cipher is no more included. The one in libgcrypt is now used.
2861 * Version 1.0.11 (2004-04-17)
2862 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
2863 - Corrected bug in TLS renegotiation.
2865 * Version 1.0.10 (2004-04-03)
2866 - Corrected bug in RSA parameters handling which could cause
2868 - Corrected bug in SSL 3.0 authentication.
2870 * Version 1.0.9 (2004-03-29)
2871 - Added gnutls_certificate_set_params_function() and
2872 gnutls_anon_set_params_function() that set the RSA or DH
2873 parameters using a callback.
2874 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
2875 and gnutls_x509_privkey_cpy().
2876 - Corrected a compilation issue when opencdk was installed in a
2877 non standard directory.
2878 - Documented the changes need in multi-threaded application due
2879 to the new libgcrypt.
2881 * Version 1.0.8 (2004-02-28)
2882 - Corrected bug in mutual certificate authentication in SSL 3.0.
2884 * Version 1.0.7 (2004-02-25)
2885 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
2887 - Some updates in the documentation.
2889 * Version 1.0.6 (2004-02-12)
2890 * Backported things from the development branch (while maintaining
2891 backwards compatibility):
2892 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
2893 If they are of highest priority then the abbreviated handshake
2895 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
2896 are no longer returned by the handshake function. Ciphersuites that
2897 require temporary parameters are removed when such parameters do not exist.
2898 - Added the callbacks gnutls_certificate_client_retrieve_function() and
2899 gnutls_certificate_server_retrieve_function(), to allow a client or a server
2900 to specify certificates for the handshake without storing them to the
2901 credentials structure.
2902 - Added support for generating and exporting DSA private keys.
2904 * Version 1.0.5 (2004-02-11)
2905 - Fixed a bug where 'server name' extension was always sent.
2906 * Backported things from the development branch:
2907 - Added CRL verification functionality to certtool.
2908 - Corrected the CRL distribution point extension handling.
2909 - Added PKCS #7 support to certtool utility.
2910 - Added support for reading and generating CRL distribution
2911 points extensions in certificates.
2912 - Added support for generating CRLs in the library and the
2914 - Added support for the Subject Key ID PKIX extension.
2915 - Added the gnutls_sign_algorithm type.
2917 * Version 1.0.4 (2004-01-04)
2918 - Changed handshake behaviour to send the lowest TLS version
2919 when an unsupported version was advertized. The current behaviour
2920 is to send the maximum version we support.
2921 - certtool no longer asks the password in unencrypted private
2923 - The source is now compiled to use the reentrant libc functions.
2925 * Version 1.0.3 (2003-12-21)
2926 - Corrected bug in gnutls_bye() which made it return an error code
2927 of INVALID_REQUEST instead of success.
2928 - Corrected a bug in the GNUTLS_KEY key usage definitions.
2930 * Version 1.0.2 (2003-12-18)
2931 - Corrected a bug in the RSA key generation. This was
2932 generating unusable RSA keys.
2934 * Version 1.0.1 (2003-12-10)
2935 - Some minor fixes in the makefiles. They now include CFLAGS
2936 from libgcrypt or opencdk if installed in a non standard directory.
2937 - Fixed the SRP detection test in gnutls-cli-debug.
2938 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
2940 * Version 1.0.0 (2003-12-04)
2941 - Exported the static SRP group parameters.
2942 - Some fixes in the certificate authenticated SRP ciphersuites.
2943 - Improved the support for draft-ietf-tls-srp-05. The two-phase
2944 handshake is now fully supported without any interaction with
2945 the application layer (except for a callback).
2947 * Version 0.9.99 (2003-11-28)
2948 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
2949 and gnutls_server_name_get() prototypes.
2950 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data()
2951 and gnutls_x509_crt_verify_data().
2952 - Some fixes in the openpgp authentication.
2953 - Removed the Twofish cipher.
2955 * Version 0.9.98 (2003-11-16)
2956 - The openssl compatibility layer was moved to gnutls-openssl
2957 library instead of being included in the gnutls-extra library.
2958 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
2959 - Building with openpgp support is now mandatory.
2960 - gnutls4 compatibility header is no longer included by default in
2962 - gnutls8 function usage yelds a deprecation warning in gcc3.
2963 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
2964 functions have a raw_flag parameter added.
2965 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
2966 functions which return the available OIDs.
2968 * Version 0.9.97 (2003-11-11)
2969 - The certtool utility can now generate PKCS #12 structures
2970 without specifying a certificate.
2971 - Added capability to read CRLs to certtool.
2972 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
2973 to properly set the required buffer size.
2974 - Corrected a bug in libgcrypt detection.
2976 * Version 0.9.96 (2003-11-09)
2977 - Some changes to allow compilation with mingw32.
2978 - Several code cleanups.
2980 * Version 0.9.95 (2003-11-02)
2981 - Improved the verification functions. Added new verification
2982 output flags and removed the unused and redundant ones.
2983 - Improved the OpenPGP key support.
2984 - The prime utility was removed, and its functionality was moved
2987 * Version 0.9.94 (2003-10-30)
2988 - Added manpages for the included programs.
2989 - Documented and improved the certtool utility.
2990 - Added PKCS #12 support to certtool utility.
2992 * Version 0.9.93 (2003-10-26)
2993 - Corrected some compilation issues.
2994 - Improved the certtool command line utility.
2996 * Version 0.9.92 (2003-10-25)
2997 - The RFC2818 hostname verification is now case insensitive.
2998 - Added support for generating X.509 certificates.
2999 - Added the certtool, a tool for generating X.509 certificates
3001 * Version 0.9.91 (2003-10-17)
3002 - Fixed a compilation issue in the openpgp authentication part.
3004 * Version 0.9.90 (2003-10-08)
3005 - Updated the openpgp key API (depends on the unreleased new
3008 * Version 0.9.8 (2003-10-02)
3009 - Updated the SRP implementation to follow the latest draft
3010 (draft-ietf-tls-srp-05).
3011 - Improved the gnutls-cli behaviour in error handling,
3012 and added a check for the peer's hostname.
3013 - Use versioned symbols in the library (where available).
3014 - RIJNDAEL ciphersuites were renamed to AES.
3016 * Version 0.9.7 (2003-08-25)
3017 - The tex files are now included in the distribution.
3018 - The library can now decrypt PKCS #12 files encrypted with
3020 - The missing rfc2818_hostname object is now included.
3021 - Several corrections and bug fixes in the library by
3022 Arne Thomassen <arne@arne-thomassen.de>.
3023 - CR is now allowed in the base64 decoder.
3025 * Version 0.9.6 (2003-06-28)
3026 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
3027 functions which return a unique (per public key) ID. These can
3028 be used to check if the private key corresponds to a given certificate.
3029 - Corrections in the TLS layer openpgp certificate packet parser.
3030 - Corrected a bug in the record layer buffering, which affected
3031 the case where external pull function was used. Report and patch
3032 by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
3033 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
3035 - SRP programs are now built by default.
3036 - Added API to read and write to PKCS #12 structures. Prototypes
3038 - The gnutls_transport_ptr type was changed to a pointer type (void*).
3040 * Version 0.9.5 (2003-04-06)
3041 - Several improvements in the PKCS #7 handling
3042 - Eliminated several hard coded constants in MPI parameters.
3044 * Version 0.9.4 (2003-03-28)
3045 - Corrected a parsing error in the Certificate request message.
3046 - Corrected behaviour when a certificate request message is received.
3047 Now a certificate packet is always sent, and in SSL 3.0 cipher suites
3048 a no_certificate alert is sent instead.
3049 - Added functionality to generate PKCS #7 structures (with certificates).
3051 * Version 0.9.3 (2003-03-24)
3052 - Support for MD2 was dropped.
3053 - Improved the error logging functions, by adding a level, and
3054 by allowing debugging messages just by increasing the level.
3055 - The diffie Hellman ciphersuites are now of higher priority than
3057 - The RSA premaster secret version check can no longer be disabled.
3058 - Implemented the counter measure discussed in the paper "Attacking
3059 RSA-based Sessions in SSL/TLS", against the attack described in the
3061 - Added the functions: gnutls_handshake_get_last_in(),
3062 gnutls_handshake_get_last_out().
3063 - The gnutls_certificate_set_rsa_params() was renamed to
3064 gnutls_certificate_set_rsa_export_params().
3065 - Added the new functions: gnutls_certificate_set_x509_key()
3066 gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
3067 gnutls_x509_crt_export(), gnutls_x509_crl_export().
3068 - Added support for encoding and decoding PKCS #8 2.0 encrypted
3071 * Version 0.9.2 (2003-03-15)
3072 - Some corrections in the memory mapping code (file is unmapped after
3074 - Added support for PKCS#10 certificate requests generation.
3076 * Version 0.9.1 (2003-03-12)
3077 - Corrected a bug in 64 bit architectures, which affected the
3078 serial number calculation in the record layer.
3079 - Added gnutls_certificate_free_keys() which deletes all the
3080 private keys and certificates from the credentials structure.
3081 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
3082 which caused some unexpected packet length errors. Report and patch
3083 by Ian Peters <itp@ximian.com>.
3084 - Added ability to generate RSA keys.
3085 - Increased the maximum parameter size in order to read some large keys
3086 by some CAs. Patch by Ian Peters <itp@ximian.com>.
3087 - Added an strnstr() function and the requirement in some functions to
3088 use null terminated PEM structures is no more.
3089 - Use mmap() if available to read files.
3090 - Fixed a memory leak in SRP code reported by Rupert Kittinger
3091 <r.kittinger@efkon.com>.
3093 * Version 0.9.0 (2003-03-03)
3094 - This version is not binary compatible with the previous ones.
3095 - The library notifies the application on empty and illegal SRP usernames,
3096 so that proper notification (via an alert) is sent to the peer.
3097 - Added ability to send some messages back to the application using
3098 the gnutls_global_set_log_function().
3099 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use
3100 gnutls_malloc() to allocate the output parameters.
3101 - Added support for MD2 algorithm in certificate signature verification.
3102 - The RSA and DH parameter generation interface was changed. Added
3103 ability to import and export from and to PKCS3 structures. This
3104 was needed to read parameters generated using the openssl dhparam tool.
3105 - Several changes in the temporary (DH/RSA) parameter codebase. No DH
3106 parameters are now included in the library. Also the credentials structure
3107 can now hold only one temporary parameter of a kind.
3108 - Added a new Certificate, CRL, Private key and PKCS7 structures handling
3109 API, defined in gnutls/x509.h
3110 - Added gnutls_certificate_set_verify_flags() function to allow setting the
3111 verification flags in the credentials structure. They will be used in the
3112 *verify_peers functions.
3113 - Added protection against the new TLS 1.0 record layer timing attack.
3114 - Added support for Certificate revocation lists. Functions defined
3116 - The only functions that were removed are:
3117 gnutls_x509_certificate_to_xml()
3118 gnutls_x509_extract_dn_string()
3119 - Ported to libtasn1 0.2.x
3121 * Version 0.8.1 (2003-01-22)
3122 - Improved the SRP support, to prevent attackers guessing the
3123 available usernames by brute force.
3124 - Improved the SRP detection in gnutls-cli-debug
3125 - Some fixes which now allow compilation.
3127 * Version 0.8.0 (2003-01-20)
3128 - Added gnutls_x509_extract_dn_string() which returns a
3129 distinguished name in a single string.
3130 - Added gnutls_openpgp_extract_key_name_string() which returns
3131 an openpgp user ID in a single string.
3132 - Added gnutls_x509_extract_certificate_ca_status() which returns
3133 the CA status of the given certificate.
3134 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
3135 - If libtasn1 is not present in the system, it is included in
3136 the main gnutls library.
3137 - If liblzo is present in the system, then the included minilzo
3138 will not be used, and libgnutls-extra will depend on liblzo.
3139 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR,
3140 and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also
3141 replaced by GNUTLS_E_BASE64_DECODING_ERROR.
3143 * Version 0.6.0 (2002-12-08)
3144 - Added "gnutls/compat4.h" header. This is included in gnutls.h
3145 to emulate the old 0.4.x API.
3146 - Example programs are now stored in doc/examples/
3147 - Several improvements and updates in the documentation.
3148 - Added the certificate authenticated SRP cipher suites.
3149 - gnutls_x509_extract_certificate_dn_string() was updated to return
3150 an RFC2253 conforming string.
3151 - Added the SRP related functions:
3152 gnutls_srp_verifier()
3153 gnutls_srp_base64_encode()
3154 gnutls_srp_base64_decode()
3155 - Added the function gnutls_srp_set_server_credentials_function()
3156 to allow retrieving SRP parameters from an external backend - other
3157 than password files.
3158 - Added the function gnutls_openpgp_set_recv_key_function()
3159 which can be used to set a callback, to get OpenPGP keys.
3160 - Exported the functions:
3163 which should be used by callback functions.
3164 - Changed the semantics of gnutls_pem_base64_encode_alloc()
3165 and gnutls_pem_base64_decode_alloc(). In the default case
3166 were the gnutls library is used with malloc/realloc/free,
3167 these are binary compatible.
3169 * Version 0.5.11 (2002-11-05)
3170 - Some fixes in 'gnutls-cli' client program to prevent some segmentation
3172 - Example programs found in the documentation can now be generated by
3173 running "make examples" in doc/tex directory.
3174 - Added more descriptive error strings, to gnutls_strerror().
3175 - Documented error codes, and the function reference list is now sorted.
3176 - Optimized buffering code.
3177 - gnutls_x509_extract_certificate_dn_string() was rewritten.
3178 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
3179 case where the memory buffer provided is not long enough.
3180 - Depends on the new OpenCDK 0.3.2.
3182 * Version 0.5.10 (2002-10-13)
3183 - Updated documentation.
3184 - Added server name extension. This allows clients to specify the
3185 name of the server they connect to. Useful to HTTPS.
3186 - Several corrections in the code base, mostly in signed/unsigned,
3189 * Version 0.5.9 (2002-10-10)
3190 - Corrected some code which worked fine in gcc 3.2, but not with any
3192 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
3193 starttls implementations.
3194 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
3195 the private key type, of a DER encoded key.
3196 - Added gnutls_x509_extract_certificate_dn_string() which returns the
3197 certificate's distinguished name in a single string.
3198 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
3199 functions, to avoid calling all the *_priority() functions if the defaults
3201 - Added int gnutls_x509_check_certificates_hostname() which check whether
3202 the given hostname matches the owner of the given X.509 certificate.
3204 * Version 0.5.8 (2002-09-25)
3205 - Updated documentation.
3206 - Added gnutls_record_get_direction() which replaces the obsolete
3207 gnutls_handshake_get_direction().
3208 - Added function to convert error codes to alert descriptions
3209 - Added LZO compression
3211 * Version 0.5.7 (2002-09-11)
3212 - Some fixes in the memory allocation functions (realloc).
3213 - Improved the string functions used in XML certificate generation.
3214 - Removed dependency on libgdbm.
3215 - Corrected bug in gnutls_dh_params_set() which affected
3216 gnutls_dh_params_deinit().
3217 - Corrected bug in session resuming code in server side.
3219 * Version 0.5.6 (2002-09-06)
3220 - Corrected bugs in SRP implementation, which prevented gnutls
3221 to interoperate with other implementations. (interoperability testing
3222 was done by David Taylor)
3223 - Corrected bug in cert_type extension.
3224 - Corrected extension type checks which used an 8 bit extension size,
3226 - Added versioning in the XML output of certificate functions.
3227 - Removed the X.509 test suite.
3229 * Version 0.5.5 (2002-09-03)
3230 - Updated the SRP implementation to the latest draft. The blowfish
3231 crypt implementation was removed, since the new draft does not allow
3232 other hash algorithms except for the srpsha.
3233 - Renamed all the constructed types in order to have more consistent
3235 - Improved the certificate and key read functions. Now they can read
3236 the certificate and the private key from the same file.
3237 - Updated and corrected documentation.
3239 * Version 0.5.4 (2002-08-27)
3240 - Fixes in TLS 1.0 PRF and SSL3 random functions.
3241 - gnutls_handshake_set_exportable_detection() was obsoleted.
3242 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
3243 - Corrected bug in DHE key exchange
3244 - Added support for temporary RSA keys which are needed for the
3245 export cipher suites.
3246 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
3248 * Version 0.5.3 (2002-08-23)
3249 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
3250 code from the unstable branch.
3252 * Version 0.5.2 (2002-08-22)
3253 - Added an error code that is returned in clients which connect
3254 to export only servers. This must be enabled using the
3255 gnutls_handshake_set_exportable_detection() function.
3256 - Updated openssl compatibility layer.
3257 - Added gnutls_handshake_get_direction() function which returns
3258 the state of the handshake when interrupted.
3260 * Version 0.5.1 (2002-07-17)
3261 - Corrected the m4 macros which used <gnutls.h> instead of
3263 - Documentation fixes
3264 - Added gnutls_transport_set_ptr2() function, which accepts two
3265 different pointers, to be used while receiving, and
3267 - Semantic changes in gnutls_record_set_max_size(). The requested
3268 size is now immediately enforced at the output buffers.
3269 - gnutls_global_init_extra() now fails if the library versions do
3271 - Fixes in client and server example programs. Null encryption can
3272 be used in these programs, to assist in debuging.
3273 - Fixes in zlib compression code.
3275 * Version 0.5.0 (2002-07-06)
3276 - Added X.509 certificate tests in tests/ directory
3277 - Removed stubs for SRP and Anonymous authentication. They served
3278 no purpose since they are always included, unless it was requested
3280 - Added gnutls_handshake_set_private_extensions() function. This
3281 function can be used to enable private (gnutls specific) cipher suites
3282 and compression algorithms.
3283 - Added check for C99 macro support by the compiler.
3284 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
3285 - Added the new libtasn1 library.
3286 - Removed the gdbm backend. Applications are now responsible for the
3287 session resuming backend. The gnutls-serv application contains an
3288 simple example on how to use gdbm for resuming.
3289 - Headers for the gnutls library are now installed in $(includedir)/gnutls
3290 - Added an OpenSSL compatible interface (with some limitations).
3291 - Added functions to convert DER encoded certificates to XML format.
3293 * Version 0.4.4 (2002-06-24)
3294 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
3295 using keys of some specific size.
3297 * Version 0.4.3 (2002-05-23)
3298 - The gnutls-extra library now compiles fine, if the opencdk library is
3300 - Several bug fixes.
3301 - Added gnutls_global_set_mem_func() function, to set the memory allocation
3302 functions, if other than the defaults are to be used.
3303 - The default memory allocation functions are now the ones in libc.
3305 * Version 0.4.2 (2002-05-21)
3306 - Separated ASN.1 structures parser documentation and TLS library
3308 - Added gnutls_handshake_set_rsa_pms() function, which disables the
3309 version check in RSA premaster secret.
3310 - Added gnutls_session_is_resumed() function, which reports if a session
3312 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
3313 assist in callback functions.
3314 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
3316 - Relicensed the library under the GNU Lesser General Public License
3317 - Added gnutls-extra library which contains the GPL covered code of gnutls.
3319 * Version 0.4.1 (2002-04-07)
3320 - Now uses alloca() for temporary variables
3321 - Optimized RSA signing
3322 - Added functions to return the peer's certificate activation and
3324 - Corrected time function's behaviour (the time value returned no longer
3325 relate to local timezone).
3327 * Version 0.4.0 (2002-04-01)
3328 - Added support for RFC2630 (PKCS7) X.509 certificate sets
3329 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
3330 gnutls_openpgp_extract_key_pk_algorithm().
3331 - Several optimizations in the Handshake protocol
3332 - Several optimizations in RSA algorithm
3333 - Unified the return values because of small buffers.
3335 * Version 0.3.92 (2002-03-23)
3336 - Updated documentation
3337 - Combined error codes of ASN.1 parser and gnutls
3338 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
3339 - Added protection against CBC chosen plaintext attack (disabled by default)
3340 - Improved and optimized compression support
3342 * Version 0.3.91 (2002-03-03)
3343 - Added gnutls-cli-debug program
3344 - Corrections in session resumption
3345 - Rehandshake can now handle negotiation of different authentication
3347 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are
3348 now being installed.
3350 * Version 0.3.90 (2002-02-24)
3351 - Handshake messages are not kept in memory any more. Now we use
3352 less memory during a handshake
3353 - Added support for certificates with DSA parameters
3354 - Added DHE_DSS cipher suites
3355 - Key exchange methods changed so they do not depend on the
3356 certificate type. Added certificate type negotiation TLS extension.
3357 - Added openpgp key support (EXPERIMENTAL)
3358 - Improved Diffie Hellman key exchange support.
3359 - Bug fixes in the RSA key exchange.
3360 - Added check for the requested TLS extensions
3361 - TLS extensions now use a 16 bit type field.
3362 - Added a minimal string library to assist in ASN.1 parsing
3363 - Changes in ASN.1 parser to work with the new bison
3364 - Added gnutls_x509_extract_subject_alt_name(), which deprecates
3365 gnutls_x509_extract_subject_dns_name()
3366 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
3367 - gnutls_srp_server_set_cred_file() can now be called multiple times
3369 * Version 0.3.5 (2002-01-25)
3370 - Corrected the RSA key exchange method, to avoid attacks against
3373 * Version 0.3.4 (2002-01-20)
3374 - Corrected bugs in DHE_RSA key exchange method
3376 * Version 0.3.3 (2002-01-19)
3377 - Added gnutls_x509pki_verify_certificate()
3378 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
3379 - Bug fixes in srpcrypt (based on patch by Marc Huber)
3380 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
3381 - Corrected library versioning
3383 * Version 0.3.2 (2002-01-05)
3384 - Corrected bug which did not allow a client to accept multiple CA names
3385 - Added gnutls_fingerprint()
3386 - Added gnutls_x509pki_extract_certificate_serial()
3387 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
3388 - Corrected behaviour in version advertizing
3389 - Updated documentation
3390 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
3392 * Version 0.3.1 (2001-12-21)
3393 - Corrections in the configuration files
3394 - Fixes a bug in anonymous authentication
3396 * Version 0.3.0 (2001-12-17)
3397 - Corrected bug in new integer formatting (now we use the old format again)
3398 - Several corrections and usual cleanups
3400 * Version 0.2.91 (2001-12-10)
3401 - Fixes in MPI handling (fixes possible bug with signed integers)
3402 - Removed name indication extension
3403 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
3404 - Optimizations in server certificate callback.
3405 - Fixes in anonymous authentication
3406 - Corrections in client ciphersuite selection
3408 * Version 0.2.90 (2001-12-07)
3409 - gnutls_handshake(), gnutls_read() etc. functions no longer require
3410 the 'SOCKET cd' argument. This argument is set using the function
3411 gnutls_set_transport_ptr().
3412 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
3413 a list containing peer's certificate and issuers DER encoded.
3414 - Updated X.509 certificate handling API
3415 - Added callback to select the server certificate
3416 - More consistent function naming (changes in several function names)
3417 - Buffer overflow checking in ASN.1 structures parser
3418 - Updated documentation
3420 * Version 0.2.11 (2001-11-16)
3421 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
3422 is returned, then the caller should perform a handshake or send
3423 an alert to the peer.
3424 - Made receive buffer dynamic. Normally if no large chunks are received
3425 it occupies less space.
3426 - Added max_record_size extension
3427 - Bugfixes in session handling
3428 - Improved non blocking IO support in the Handshake Protocol
3429 - Usual bugfixes and cleanups
3430 - Documentation updated (includes ASN.1 documentation)
3432 * Version 0.2.10 (2001-11-05)
3433 - Corrected bugs and improved non blocking IO
3434 - Added hooks to use external database to store sessions
3437 * Version 0.2.9 (2001-10-27)
3438 - AUTH_INFO types and structures were moved to library internals
3439 - AUTH_FAILED is no longer returned in SRP authentication
3440 (any fatal error in SRP means auth failed)
3441 - Introduced GNUTLS_E_INTERRUPTED
3442 - Added support for non blocking IO
3443 - gnutls_recv() and gnutls_send() are now obsolete
3444 - Changed semantics of gnutls_rehandshake()
3446 * Version 0.2.4 (2001-10-12)
3447 - Better handling of X.509 certificate extensions
3448 - Added DHE_RSA ciphersuites
3449 - Updated the Name Indication (dnsname) extension
3450 - Improvements in Diffie Hellman primes handling
3452 * Version 0.2.3 (2001-09-19)
3453 - Memory optimizations in gnutls_recv()
3454 - Fixed several memory leaks
3455 - Added ability to specify callback for x509 client certificate selection
3456 - Better documentation
3458 * Version 0.2.2 (2001-08-21)
3459 - Several bugfixes (library and documentation)
3461 * Version 0.2.1 (2001-08-07)
3464 * Version 0.2.0 (2001-08-07)
3465 - Partial support for X.509v3 Certificate extensions.
3466 - Added Internal memory handlers
3467 - Removed gnutls_x509_set_cn()
3468 - Added X.509 client authentication
3469 - Several bug fixes and protocol fixes
3471 * Version 0.1.9 (2001-07-30)
3472 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
3473 - SRP is updated to conform to the newest draft.
3474 - Added support for DNSNAME extension.
3475 - Reentracy fixes in ASN.1 Parsing.
3476 - Optimizations in hash/hmac functions
3477 - (Error) message handling has changed
3478 - Better Protocol Version handling
3479 - Added X.509 Certificate Verification
3480 - gnutls_read() semantics are now closer to read(2) - added EOF
3481 - Documented some part of gnutls in doc/tex/ using Latex
3483 * Version 0.1.4 (2001-06-22)
3484 - Corrected (srp) base64 encoding.
3485 - Changed bcrypt algorithm to include username.
3486 - Added RSA Ciphersuites (no certificate checking).
3487 - Fixes in SSL 2.0 client hello parsing.
3488 - Added ASN.1 and DER parsers.
3489 - Bugfixes in session resuming
3490 - Updated Ciphersuite selection algorithm
3491 - Added internal representation of X.509 structures.
3492 - Added global state
3494 * Version 0.1.3 (2001-06-01)
3495 - Updated API (and the way it is documented - we use inline documentation)
3496 - Added function to access alert messages.
3497 - Added support for renegotiating parameters.
3498 - Better and Faster Resume Database handling.
3501 * Version 0.1.2 (2001-05-14)
3503 - Fixes in extension handling
3505 * Version 0.1.1 (2001-05-13)
3506 - Added compatibility with Stanford's libsrp library
3508 * Version 0.1.0 (2001-05-09)
3509 - Added SSL 2.0 client hello support
3510 - GNUTLS is a gnu library
3511 - Added support for TLS extensions.
3512 - Added support for SRP
3514 * Version 0.0.7 (2001-01-11)
3515 - Added server side session resuming (using gdbm)
3516 - Added twofish algorithm
3518 * Version 0.0.6 (2000-12-20)
3519 - Added client side session resuming
3520 - Better documentation (check doc/API)
3521 - Better socket handling (gnutls can be used with select())
3522 - Some primitive support for non blocking IO and socket options has been added.
3524 * Version 0.0.5 (2000-12-07)
3525 - Added Compression (using ZLIB)
3526 - Added SSL 3.0 support
3528 ----------------------------------------------------------------------
3529 Copying and distribution of this file, with or without modification,
3530 are permitted in any medium without royalty provided the copyright
3531 notice and this notice are preserved.