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