1 GNU TLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2004, 2005, 2006 Simon Josefsson
3 Copyright (C) 2000, 2001, 2002, 2003, 2004 Nikos Mavroyanopoulos
4 See the end for copying conditions.
6 * Version 1.4.3 (released 2006-09-08)
8 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
9 ** Crypto 06 rump session attack.
10 In particular, we check that the digestAlgorithm.parameters field is
11 empty, to avoid that it can contain "garbage" that may be used to
12 alter the numeric properties of the signature. See
13 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
14 not exactly the same as the problem we fix here). Reported by Yutaka
15 OIWA <y.oiwa@aist.go.jp>.
17 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
18 up to date information.
20 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
21 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
22 Reported by Werner Koch <wk@gnupg.org>.
24 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
25 up to date information.
27 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
29 ** API and ABI modifications:
30 No changes since last version.
32 * Version 1.4.2 (released 2006-08-12)
34 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
35 This can happen if you call gnutls_certificate_verify_peers2 and have
36 a certain mix of local CA certificates and the peer send special
37 certificates, that together trigger certain behaviour. It is not
38 known at this point whether the crash can be triggered without the
39 special local CA certificate, and thus turn this into a remote crash
40 of clients that verify server certificates when they talk to a server
41 with the special server certificate. See GNUTLS-SA-2006-2 on
42 http://www.gnu.org/software/gnutls/security.html for more up to date
43 information. Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
45 ** Change SRP and Cert-Type extensions to match IANA registry.
47 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
49 ** Make --without-included-libtasn1 work.
50 Reported by Daniel Black <dragonheart@gentoo.org>.
52 ** API and ABI modifications:
53 No changes since last version.
55 * Version 1.4.1 (released 2006-06-14)
57 ** Replaced inactive ifdefs to enable openpgp support in test programs.
59 ** Fixed bug in OpenPGP authentication handshake.
61 ** Fixed typographical in man pages.
63 ** Build fixes of the manual.
65 ** Added Swedish translation.
67 ** API and ABI modifications:
68 No changes since last version.
70 * Version 1.4.0 (released 2006-05-15)
72 ** Remove GnuTLS 0.8.x compatibility functions.
74 ** The libgcrypt RNG is initialized in gnutls_global_init().
76 ** TLS/IA API changes from Emile van Bergen.
77 A dummy credential structure is not needed now, if you wish to use the
78 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
81 ** The self-tests are now run under valgrind, if it is installed.
83 ** Libtasn1 is updated to 0.3.4, and that version is now required.
85 ** The command line tools now use getaddrinfo and support IPv6.
87 ** API and ABI modifications:
88 _gnutls_x509_get_raw_crt_activation_time,
89 _gnutls_x509_get_raw_crt_expiration_time: Removed.
90 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
91 gnutls_ia_enable: Added.
93 * Version 1.3.5 (released 2006-03-08)
95 ** Error messages are now translated using GNU Gettext.
97 ** The function gnutls_x509_crt_to_xml now return an internal error.
98 This means that the code to convert X.509 certificates to XML format
99 does not work any more. The reason is that the function called
100 libtasn1 internal functions. It seems unclean for libtasn1 to export
101 the APIs needed here. Instead it would be better to implement XML
102 support inside libtasn1 properly. If you need this functionality
103 strongly, please consider looking into implementing this suggested
104 approach instead. As a workaround, you may also modify lib/x509/xml.c
105 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
107 ** Libraries are now built with libtool's -no-undefined.
108 This helps producing libraries for Windows using mingw32.
110 ** Doc fixes to explain that gnutls_record_send can block.
112 ** Libtasn1 0.3.1 or later is now required.
113 The include copy has been updated too.
115 ** gnutls-cli can now recognize services and port numbers with the -p option.
117 ** API and ABI modifications:
118 No changes since last version.
120 * Version 1.3.4 (released 2006-02-09)
122 ** Fix read of out bounds bug in DER parser.
123 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
124 Protover SSL. Libtasn1 0.2.18 is now required, which contains the
125 previous bug fix. The included libtasn1 version in GnuTLS has been
128 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
129 longer invalidate a session if the underlying send fails, but it will
130 prevent future writes. That is to allow reading the already received data.
131 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
133 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
134 gnutls_certificate_set_x509_trust(), that caused memory corruption if
135 more than one certificates were added. Report and patch by Max Kellermann.
137 ** Fix build problems of OpenCDK on AIX.
138 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
140 ** API and ABI modifications:
141 No changes since last version.
143 * Version 1.3.3 (released 2006-01-12)
145 ** New API to access the TLS master secret.
146 When possible, you should use the TLS PRF functions instead.
147 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
149 ** Improved handling when multiple libraries use GnuTLS at the same time.
150 Now gnutls_global_init() can be called multiple times, and
151 gnutls_global_deinit() will only deallocate the structure when it has
152 been called as many times as gnutls_global_init() was called.
154 ** Added a self test of TLS resume functionality.
156 ** Fix crash in TLS resume code, caused by TLS/IA changes.
158 ** Documentation fixes about thread unsafety, prompted by
159 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
160 In particular, gnutls_global_init() and gnutls_global_deinit() are not
161 thread safe. Careful callers may want to protect the call using a
162 mutex. The problem could also be ignored, which would cause a memory
163 leak under rare conditions when two threads invoke the function
164 roughly at the same time.
166 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
168 ** The code was indented again, including the external header files.
170 ** API and ABI modifications:
171 New functions to retrieve the master secret value:
172 gnutls_session_get_master_secret
174 Add a 'const' keyword to existing API:
175 gnutls_x509_crq_get_challenge_password
177 * Version 1.3.2 (released 2005-12-15)
179 ** GnuTLS now support TLS Inner application (TLS/IA).
180 This is per draft-funk-tls-inner-application-extension-01. This
181 functionality is added to libgnutls-extra, so it is licensed under the
182 GNU General Public License.
184 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
185 The PRF is used by some protocols building on TLS, such as EAP-PEAP
186 and EAP-TTLS. One function to access the raw PRF and one to access
187 the PRF seeded with the client/server random fields are provided.
188 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
190 ** New APIs to acceess the client and server random fields in a session.
191 These fields can be useful by protocols using TLS. Note that these
192 fields are typically used as input to the TLS PRF, and if this is your
193 intended use, you should use the TLS PRF API that use the
194 client/server random field directly. Suggested by Jouni Malinen
195 <jkmaline@cc.hut.fi>.
197 ** Internal type cleanups.
198 The uint8, uint16, uint32 types have been replaced by uint8_t,
199 uint16_t, uint32_t. Gnulib is used to guarantee the presence of
200 correct types on platforms that lack them. The uint type have been
201 replaced by unsigned.
203 ** API and ABI modifications:
204 New functions to invoke the TLS Pseudo-Random-Function (PRF):
208 New functions to retrieve the session's client and server random values:
209 gnutls_session_get_server_random
210 gnutls_session_get_client_random
212 New function, to perform TLS/IA handshake:
215 New function to decide whether to do a TLS/IA handshake:
216 gnutls_ia_handshake_p
218 New functions to allocate a TLS/IA credential:
219 gnutls_ia_allocate_client_credentials
220 gnutls_ia_free_client_credentials
221 gnutls_ia_allocate_server_credentials
222 gnutls_ia_free_server_credentials
224 New functions to handle the AVP callback:
225 gnutls_ia_set_client_avp_function
226 gnutls_ia_set_client_avp_ptr
227 gnutls_ia_get_client_avp_ptr
228 gnutls_ia_set_server_avp_function
229 gnutls_ia_set_server_avp_ptr
230 gnutls_ia_get_server_avp_ptr
232 New functions, to toggle TLS/IA application phases:
233 gnutls_ia_require_inner_phase
235 New function to mix session keys with inner secret:
236 gnutls_ia_permute_inner_secret
238 Low-level API (used internally by gnutls_ia_handshake):
239 gnutls_ia_endphase_send
243 New functions that can be used after successful TLS/IA negotiation:
244 gnutls_ia_generate_challenge
245 gnutls_ia_extract_inner_secret
247 Enum type with TLS/IA modes:
250 Enum type with TLS/IA packet types:
253 Enum values for TLS/IA alerts:
254 GNUTLS_A_INNER_APPLICATION_FAILURE
255 GNUTLS_A_INNER_APPLICATION_VERIFICATION
257 New error codes, to signal when an application phase has finished:
258 GNUTLS_E_WARNING_IA_IPHF_RECEIVED
259 GNUTLS_E_WARNING_IA_FPHF_RECEIVED
261 New error code to signal TLS/IA verify failure:
262 GNUTLS_E_IA_VERIFY_FAILED
264 * Version 1.3.1 (released 2005-12-08)
266 ** Support for DHE-PSK cipher suites has been added.
267 This method offers perfect forward secrecy.
269 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
270 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
272 ** Corrected a bug in certtool for 64 bit machines. Reported
273 by Max Kellermann <max@duempel.org>.
275 ** New function to set a X.509 private key and certificate pairs, and/or
276 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
279 The integrity of the PKCS#12 file is protected through a password
280 based MAC; public-key based signatures for integrity protection are
281 not supported. PKCS#12 bags may be encrypted using password derived
282 symmetric keys, public-key based encryption is not supported. The
283 PKCS#8 keys may be encrypted using passwords. The API use the same
284 password for all operations. We believe that any more flexibility
285 create too much complexity that would hurt overall security, but may
286 add more PKCS#12 related APIs if real-world experience indicate
289 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
290 reported by Emile van Bergen <emile@e-advies.nl>.
291 This will enable "certtool -k -8" to parse those keys.
293 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
294 Use "certtool -p -8" and press press enter at the prompt. Earlier,
295 certtool would have encrypted the key using an empty password.
297 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
298 Earlier it would have prompted the user for it, even if --password was
301 ** Added self test of PKCS#8 parsing.
302 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
303 pbeWithSHAAnd40BitRC2-CBC) formats are tested. The test is in
306 ** API and ABI modifications:
307 New function to set X.509 credentials from a PKCS#12 file:
308 gnutls_certificate_set_x509_simple_pkcs12_file
310 New gnutls_kx_algorithm_t enum type:
313 New API to return session data (basically same as gnutls_session_get_data):
314 gnutls_session_get_data2
316 New API to set PSK Diffie-Hellman parameters:
317 gnutls_psk_set_server_dh_params
319 * Version 1.3.0 (2005-11-15)
321 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
322 This add several new APIs, see below. Read the updated manual for
323 more information. A new self test "pskself" has been added, that will
324 test this functionality.
326 ** The session resumption data are now system independent.
328 ** The code has been re-indented to conform to the GNU coding style.
330 ** Removed the RIPEMD ciphersuites.
332 ** Added a discussion of the internals of gnutls in manual.
334 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
336 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
338 ** Make sure config.h is included first in a few files, from Albert Chin.
340 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
342 ** Don't install SRP programs and man pages if --disable-srp-authentication,
345 ** API and ABI modifications:
346 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
348 New gnutls_credentials_type_t credential type:
351 New credential types:
352 gnutls_psk_server_credentials_t
353 gnutls_psk_client_credentials_t
355 New functions to allocate PSK credentials:
356 gnutls_psk_allocate_client_credentials
357 gnutls_psk_free_client_credentials
358 gnutls_psk_free_server_credentials
359 gnutls_psk_allocate_server_credentials
361 New enum type for PSK key flags:
364 New function prototypes for credential callback:
365 gnutls_psk_client_credentials_function
366 gnutls_psk_server_credentials_function
368 New function to set PSK username and key:
369 gnutls_psk_set_client_credentials
371 New function to set PSK passwd file:
372 gnutls_psk_set_server_credentials_file
374 New function to extract PSK user in server:
375 gnutls_psk_server_get_username
377 New functions to set PSK callback:
378 gnutls_psk_set_server_credentials_function
379 gnutls_psk_set_client_credentials_function
381 Use size_t instead of int for output size parameter:
382 gnutls_srp_base64_encode
383 gnutls_srp_base64_decode
385 * Version 1.2.9 (2005-11-07)
386 - Documentation was updated and improved.
387 - RSA-MD2 is now supported for verifying digital signatures.
388 - Due to cryptographic advances, verifying untrusted X.509
389 certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
390 GNUTLS_CERT_INSECURE_ALGORITHM verification output. For
391 applications that must remain interoperable, you can use the
392 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
393 flags when verifying certificates. Naturally, this is not
394 recommended default behaviour for applications. To enable the
395 broken algorithms, call gnutls_certificate_set_verify_flags with the
396 proper flag, to change the verification mode used by
397 gnutls_certificate_verify_peers2.
398 - Make it possible to send empty data through gnutls_record_send,
399 to align with the send(2) API.
400 - Some changes in the certificate receiving part of handshake to prevent
401 some possible errors with non-blocking servers.
402 - Added numeric version symbols to permit simple CPP-based feature
403 tests, suggested by Daniel Stenberg <daniel@haxx.se>.
404 - The (experimental) low-level crypto alternative to libgcrypt used
405 earlier (Nettle) has been replaced with crypto code from gnulib.
406 This leads to easier re-use of these components in other projects,
407 leading to more review and simpler maintenance. The new configure
408 parameter --with-builtin-crypto replace the old --with-nettle, and
409 must be used if you wish to enable this functionality. See README
410 under "Experimental" for more information. Internally, GnuTLS has
411 been updated to use the new "Generic Crypto" API in gl/gc.h. The
412 API is similar to the old crypto/gc.h, because the gnulib code were
413 based on GnuTLS's gc.h.
414 - Fix compiler warning in the "anonself" self test.
415 - API and ABI modifications:
416 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
417 This doesn't reflect a change in behaviour,
418 so we don't break backwards compatibility.
419 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
420 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
421 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
422 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
424 gnutls_x509_crt_list_verify,
425 gnutls_x509_crt_verify, or
426 gnutls_certificate_set_verify_flags.
427 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
428 used when broken signature algorithms
429 is used (currently RSA-MD2/MD5).
430 LIBGNUTLS_VERSION_MAJOR,
431 LIBGNUTLS_VERSION_MINOR,
432 LIBGNUTLS_VERSION_PATCH,
433 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
434 version number, can be used for feature existence
437 * Version 1.2.8 (2005-10-07)
438 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
439 - Don't install the auxilliary libexamples library used by the
440 examples in doc/examples/ on "make install", report and tiny patch
441 from Thomas Klausner <tk@giga.or.at>.
442 - If you pass a X.509 CA or PGP trust database to the command line
443 tool, it will now abort the connection if the server certificate
444 validation fails. Use the parameter --insecure to continue even
445 after certificate validation failures. Inspired from discussion
446 with Alexander Kotelnikov <sacha@myxomop.com>.
447 - The test for socklen_t has been moved to gnulib.
448 - Link failures for duplicate or missing "program_name" symbol has been fixed,
449 patch from Martin Lambers <marlam@marlam.de>.
450 - The command line tool and the examples no longer uses mmap or bzero,
451 to make them more portable, patch from Martin Lambers
453 - Made the PKCS #12 API handle null passwords. Based on patch by
454 Anton Altaparmakov <aia21@cam.ac.uk>.
455 - The GTK-DOC manual should build with current released tools.
456 (But a copy of the output is included, so the tools are not required.)
457 - The inet_ntop function is now used through gnulib.
458 - API and ABI modifications:
459 No changes since last version.
461 * Version 1.2.7 (2005-09-09)
462 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
463 - Certtool now complains when reading out-of-range X.509 serial
464 numbers, suggested by Fran <e_agf@yahoo.es>.
465 - Certtool now uses the readline library (when available) when reading
466 X.509 serial numbers.
467 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
468 - Fixed compile warning regarding socklen_t on Mingw32, reported by
469 Martin Lambers <marlam@marlam.de>.
470 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
471 - Gnulib is now used for the core library, enabling future code cleanups.
472 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
473 suggested by Daniel Stenberg <daniel@haxx.se>.
474 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
475 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
476 - Disable zlib support if zlib.h is not present.
477 - A number of internal cleanups.
478 - API and ABI modifications:
479 No changes since last version.
481 * Version 1.2.6 (2005-07-16)
482 - MiniLZO updated to version 2.01 and moved to separate directory.
483 - Collision between system LZO header files and MiniLZO header file
484 fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
485 - Will now test for liblzo functionality in liblzo2 too, reported by
486 Thomas Klausner <tk@giga.or.at>.
487 - Minilibtasn1 is now 0.2.14 (no code changes).
488 - Some code changes to avoid GTK-DOC warnings.
489 - API and ABI modifications:
490 No changes since last version.
492 * Version 1.2.5 (2005-07-03)
493 - More builddir != srcdir fixes, reported by Mike Castle
494 <dalgoda@ix.netcom.com>.
495 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
496 reported by Adam Langley <alangley@gmail.com>.
497 - Corrected some stuff in minilzo detection. Pointed out by
499 - MiniLZO updated to version 2.00.
500 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
501 - API and ABI modifications:
502 No changes since last version.
504 * Version 1.2.4 (2005-05-28)
505 - Corrected some bugs that could affect 64 bit systems.
506 - Some corrections in the header files to include the prototype
507 of memmem properly (affected 64 bit systems). Report and patch
508 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
509 - Introduced the --fix-key option to certtool, which can be used to
510 regenerate the (optional) parameters in a private key. It should
511 be used together with --key-info.
512 - Corrected a bug in certificate chain verification that could lead
513 to marking a trusted chain as non trusted, if the last certificate in
514 the chain was a self signed one.
515 - Gnulib portability files were updated.
516 - License were updated to reflect new FSF address.
517 - API and ABI modifications:
518 No changes since last version.
520 * Version 1.2.3 (2005-04-28)
521 - Corrected bug in record packet parsing that could lead
522 to a denial of service attack.
523 - Corrected bug in RSA key export. Previously exported keys
524 can be fixed using certtool. Use certtool -k <infile >outfile
525 - API and ABI modifications:
526 gnutls_x509_privkey_fix(): Add.
528 * Version 1.2.2 (2005-04-25)
529 - gnutls_error_to_alert() now considers
530 GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
531 - Fixed error in session resuming that could cause a crash in a session.
532 - Fixed pkcs12 friendly name and local key identifier decoding.
533 - Internal cleanups, removed duplicate typedef/struct definitions,
534 and made source code include external include file, to check
535 function prototypes during compile time.
536 - API and ABI modifications:
537 No changes since last version. At least not intentional, but due
538 to the include header changes, there may be inadvertant changes,
539 please let us know if you find any.
541 * Version 1.2.1 (2005-04-04)
542 - gnutls_bye() will no longer fail when RDWR is used and application
543 data are available for reading.
544 - Added more strict checks for the SRP parameters (g,n), when they
545 are not in the included list.
546 - Added warning to certtool when MD5 is being used for digital
548 - Optimizations ("-O2 -finline-functions") are not enabled by default,
549 instead the standard autoconf defaults are used. Use `./configure
550 CFLAGS="-O2 -finline-functions"' to get the old optimizations.
551 - Added the option --get-dh-params to certtool, in order to get the
552 parameters included in the library primes and generators.
553 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
554 allow only trusted Version 1 CAs and introduced
555 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
556 - Nettle self tests now build properly, reported by Pierre
557 <pierre42d@9online.fr>.
558 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
559 Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
560 - If the library has been compiled with features disabled, a warning is
561 issued during the compilation of any program.
562 - API and ABI modifications:
563 gnutls_x509_crt_list_import(): Add
564 gnutls_x509_crq_get_attribute_by_oid(): Add.
565 gnutls_x509_crq_set_attribute_by_oid(): Add
566 gnutls_x509_crt_set_extension_by_oid(): Add.
567 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
568 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
570 * Version 1.2.0 (2005-01-27)
571 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
572 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and
573 gnutls_x509_crl_sign2().
574 - Fixed license header in source code files.
576 * Version 1.1.23 (2005-01-18)
577 - It is now possible to generate PKCS#12 structures without private
578 keys using "certtool --to-p12", suggested by Fabian Fagerholm
580 - Certtool now prints information for the RSA and DSA parameters of
581 certificates and private keys.
582 - Corrected the write of CRL distribution points.
583 - The certificate chain verification function now checks certificates
584 in the reverse order to minimize the spent resources.
585 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
586 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
587 gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
588 gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
589 required, instead of the string length. That is, the value has been
590 incremented by 1 to account for the terminating zero. Reported by
591 Martin Lambers <marlam@web.de>.
592 - Debug output shouldn't crash on platforms that doesn't handle NULL
593 printf %s values. Reported by Michael.Ringe@aachen.utimaco.de.
594 - Sync included copy of libtasn1 with version 0.2.13.
595 - Client X.509 authenticated connections via gnutls-cli should now work again.
597 * Version 1.1.22 (2004-11-04)
598 - Replace GNU LD version script with Libtool -export-symbols-regex,
599 from Joe Orton <joe@manyfish.co.uk>.
600 - Documentation improvements.
601 - Code indented using 'indent -i4 -kr'.
602 - The API manual is included in Devhelp format. (Was in last release too,
603 but the NEWS entry was forgotten.)
604 - The OpenSSL compatibility code now use the internal crypto interface.
605 - Added simple self test of OpenSSL compatibility library.
606 - Internally, libtool convenience libraries are used.
607 - Cleanups to configure.ac.
609 * Version 1.1.21 (2004-10-27)
610 - Print DN of certificates with unknown characters in them, but in hexform
612 - Added second precision to the X.509 parsing and generation functions.
613 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
615 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
616 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
617 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
618 <stephane.loeuillet@tiscali.fr>.
619 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
620 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
621 - Add self test of PKCS#12 functionality in "certtool", based on test
622 vectors from Joe Orton <joe@manyfish.co.uk>.
623 - Fix library order in libgnutls*-config --libs output, to permit
624 static linking, reported by Yoann Vandoorselaere
625 <yoann@prelude-ids.org>.
627 * Version 1.1.20 (2004-10-12)
628 - Fix compile problem in gl/getpass.c on some systems.
630 * Version 1.1.19 (2004-10-07)
631 - Fix memory leak in gnutls_certificate_verify_peers and
632 gnutls_certificate_free_credentials, report and patch by Simon
633 Posnjak <simon.posnjak@cetrtapot.si>.
634 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
635 a key and no certificate to PKCS#12.
636 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
637 <gp@familiehaase.de>.
638 - Fixes faulty getpass implementation in libextra/opencdk/, reported
639 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
640 - Uses memmem instead of strnstr in lib/.
641 - Using more GNULib portability files, although not yet inside lib/.
642 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
643 Nikos deprecated gnutls_certificate_verify_peers in favor of
644 gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
645 - Improvements to the manual.
646 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
647 - Known bug: the library require snprintf. This has not yet been
648 fixed, but will be handled via GNULib later on.
650 * Version 1.1.18 (2004-08-24)
651 - Corrected handling of certificate with dates after year 2038.
652 - Corrected DER decoder which could incorrectly treat input as BER and fail.
653 - Correct certtool --smime-to-p7 end of line character handling.
654 - Added example client and server for anonymous authentication.
655 - Added self test that tests anonymous TLS client and server.
656 - Added self tests of Nettle and generic crypto layer.
657 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
658 Online version at <http://www.gnu.org/software/gnutls/reference/>.
659 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
660 - Man pages for API functions are included.
662 * Version 1.1.17 (2004-08-18)
663 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
664 reported by Robey Pointer <robey@danger.com>.
665 - Generic crypto interface for secret key ciphers, hashes and randomness added.
666 See section "Experimental" within section "COMPILATION ISSUES" in README.
667 - Removed length limit on passwords read by 'certtool'.
668 - Documentation fixes.
670 * Version 1.1.16 (2004-08-15)
671 - Fix missing gnulib linker parameter when building certtool.
672 - Add gnulib module 'progname', needed by module 'error'.
673 - Improve building with srcdir != objdir.
675 * Version 1.1.15 (2004-08-15)
676 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
678 - Ported to Mac OS X / Darwin.
681 * Version 1.1.14 (2004-08-09)
682 - Documentation converted to Texinfo format.
683 - Bug fix of test suite.
684 - Configure now print build information, used by Autobuild.
686 * Version 1.1.13 (2004-08-05)
687 - Added simple self test suite.
689 * Version 1.1.12 (2004-08-02)
690 - Updated the SRP authentication to conform to the
691 latest (yet unreleased) draft. Unfortunately this breaks
692 compatibility with previous versions.
693 - Changed the makefiles to be more portable.
694 - SRP ciphersuites were moved to the gnutls library.
695 - Added some default limits in the verification of certificate
696 chains, to avoid denial of service attacks. Also added
697 gnutls_certificate_set_verify_limits() to override them.
698 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
699 - Added gnutls_certificate_verify_peers2().
701 * Version 1.1.11 (2004-07-16)
702 - Added the '_t' suffix to all exported symbols.
703 - Fixed bug in RSA encryption, report and patch by Martijn Koster
704 <mak@greenhills.co.uk>.
705 - Corrected a bug in certificate verification. Pointed out by
706 Yoann Vandoorselaere <yoann@prelude-ids.org>
707 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
708 verification functions.
709 - The ephemeral DH and RSA parameters are no longer stored in the
711 - Do not free the SRP (prime and generator) parameters obtained from the
712 callback if they are the static ones defined in extra.h
713 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
715 * Version 1.1.10 (2004-06-12)
716 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
717 - Corrected bug in TLS renegotiation.
718 - Corrected bug in OpenPGP key loading using a callback.
719 - gnutls-srpcrypt was renamed to srptool
720 - Allow handshake requests by the client.
721 - Automatically disable certificate types that do not have corresponding
723 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
724 - Opencdk library is being included if not found.
725 - certtool can now add ip address SAN extension.
726 - certtool has now support for more X.520 DN attribute types.
727 - Better handling of EOF in gnutls_record_recv().
728 - _gnutls_deinit() is no longer used. Sessions are not
729 automatically removed any more, on abnormal termination.
730 - Corrected session resuming in SRP ciphersuites.
731 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
732 - Added new functions to allow access to the ephemeral
733 Diffie Hellman parameters.
734 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
735 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
736 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
737 gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
738 RSA-EXPORT key exchange.
739 - Some fixes in the session resuming code.
740 - Added gnutls_openpgp_keyring_check_id().
742 * Version 1.1.9 (2004-04-14)
743 - Added support for authority key identifier and the extended key usage
744 X.509 extension fields. The certtoool was updated to support them.
745 - The RC2 cipher is no more included. The one in libgcrypt is now used.
746 - Added batch support to certtool. Now it can use templates.
748 * Version 1.1.8 (2004-04-07)
749 - Implemented all the tests for the SRP group parameters in
750 client side. This may lead to incompatibility with very
752 - Corrected bug in RSA parameters handling which could cause
754 - Optimized the copying of rsa_params.
756 * Version 1.1.7 (2004-03-29)
757 - Added gnutls_certificate_set_params_function() and
758 gnutls_anon_set_params_function() that set the RSA or DH
759 parameters using a callback.
760 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
761 and gnutls_x509_privkey_cpy().
762 - Corrected a compilation issue when opencdk was installed in a
763 non standard directory.
764 - Deprecated: gnutls_srp_server_set_select_function(),
765 gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
767 * Version 1.1.6 (2004-02-24)
768 - Several bug fixes, by Arne Thomassen.
769 - Fixed a bug where 'server name' extension was always sent.
771 * Version 1.1.5 (2004-01-06)
772 - Added the gnutls_sign_algorithm type.
774 * Version 1.1.4 (2004-01-04)
775 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
776 If they are of highest priority then the abbreviated handshake
778 - Removed all references of missing files.
779 - Changed handshake behaviour to send the lowest TLS version
780 when an unsupported version was advertized. The current behaviour
781 is to send the maximum version we support.
782 - Corrected problem printing the DC attributes in a DN.
784 * Version 1.1.3 (2003-12-30)
785 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
788 * Version 1.1.2 (2003-12-28)
789 - Added CRL verification functionality to certtool.
790 - Corrected the CRL distribution point extension handling.
792 * Version 1.1.1 (2003-12-26)
793 - Added PKCS #7 support to certtool utility.
794 - Added support for reading and generating CRL distribution
795 points extensions in certificates.
796 - Added support for generating CRLs in the library and the
798 - Added support for the Subject Key ID PKIX extension.
800 * Version 1.1.0 (2003-12-21)
801 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
802 are no longer returned by the handshake function. Ciphersuites that
803 require temporary parameters are removed when such parameters do not exist.
804 - Added the callbacks gnutls_certificate_client_retrieve_function() and
805 gnutls_certificate_server_retrieve_function(), to allow a client or a server
806 to specify certificates for the handshake without storing them to the
807 credentials structure.
808 - Added support for generating and exporting DSA private keys.
809 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
810 certificate's key usage.
811 - Added gnutls_openpgp_key_get_key_usage().
813 * Version 1.0.1 (2003-12-10)
814 - Some minor fixes in the makefiles. They now include CFLAGS
815 from libgcrypt or opencdk if installed in a non standard directory.
816 - Fixed the SRP detection test in gnutls-cli-debug.
817 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
819 * Version 1.0.0 (2003-12-04)
820 - Exported the static SRP group parameters.
821 - Some fixes in the certificate authenticated SRP ciphersuites.
822 - Improved the support for draft-ietf-tls-srp-05. The two-phase
823 handshake is now fully supported without any interaction with
824 the application layer (except for a callback).
826 * Version 0.9.99 (2003-11-28)
827 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
828 and gnutls_server_name_get() prototypes.
829 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data()
830 and gnutls_x509_crt_verify_data().
831 - Some fixes in the openpgp authentication.
832 - Removed the Twofish cipher.
834 * Version 0.9.98 (2003-11-16)
835 - The openssl compatibility layer was moved to gnutls-openssl
836 library instead of being included in the gnutls-extra library.
837 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
838 - Building with openpgp support is now mandatory.
839 - gnutls4 compatibility header is no longer included by default in
841 - gnutls8 function usage yelds a deprecation warning in gcc3.
842 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
843 functions have a raw_flag parameter added.
844 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
845 functions which return the available OIDs.
847 * Version 0.9.97 (2003-11-11)
848 - The certtool utility can now generate PKCS #12 structures
849 without specifying a certificate.
850 - Added capability to read CRLs to certtool.
851 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
852 to properly set the required buffer size.
853 - Corrected a bug in libgcrypt detection.
855 * Version 0.9.96 (2003-11-09)
856 - Some changes to allow compilation with mingw32.
857 - Several code cleanups.
859 * Version 0.9.95 (2003-11-02)
860 - Improved the verification functions. Added new verification
861 output flags and removed the unused and redundant ones.
862 - Improved the OpenPGP key support.
863 - The prime utility was removed, and its functionality was moved
866 * Version 0.9.94 (2003-10-30)
867 - Added manpages for the included programs.
868 - Documented and improved the certtool utility.
869 - Added PKCS #12 support to certtool utility.
871 * Version 0.9.93 (2003-10-26)
872 - Corrected some compilation issues.
873 - Improved the certtool command line utility.
875 * Version 0.9.92 (2003-10-25)
876 - The RFC2818 hostname verification is now case insensitive.
877 - Added support for generating X.509 certificates.
878 - Added the certtool, a tool for generating X.509 certificates
880 * Version 0.9.91 (2003-10-17)
881 - Fixed a compilation issue in the openpgp authentication part.
883 * Version 0.9.90 (2003-10-08)
884 - Updated the openpgp key API (depends on the unreleased new
887 * Version 0.9.8 (2003-10-02)
888 - Updated the SRP implementation to follow the latest draft
889 (draft-ietf-tls-srp-05).
890 - Improved the gnutls-cli behaviour in error handling,
891 and added a check for the peer's hostname.
892 - Use versioned symbols in the library (where available).
893 - RIJNDAEL ciphersuites were renamed to AES.
895 * Version 0.9.7 (2003-08-25)
896 - The tex files are now included in the distribution.
897 - The library can now decrypt PKCS #12 files encrypted with
899 - The missing rfc2818_hostname object is now included.
900 - Several corrections and bug fixes in the library by
901 Arne Thomassen <arne@arne-thomassen.de>.
902 - CR is now allowed in the base64 decoder.
904 * Version 0.9.6 (2003-06-28)
905 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
906 functions which return a unique (per public key) ID. These can
907 be used to check if the private key corresponds to a given certificate.
908 - Corrections in the TLS layer openpgp certificate packet parser.
909 - Corrected a bug in the record layer buffering, which affected
910 the case where external pull function was used. Report and patch
911 by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
912 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
914 - SRP programs are now built by default.
915 - Added API to read and write to PKCS #12 structures. Prototypes
917 - The gnutls_transport_ptr type was changed to a pointer type (void*).
919 * Version 0.9.5 (2003-04-06)
920 - Several improvements in the PKCS #7 handling
921 - Eliminated several hard coded constants in MPI parameters.
923 * Version 0.9.4 (2003-03-28)
924 - Corrected a parsing error in the Certificate request message.
925 - Corrected behaviour when a certificate request message is received.
926 Now a certificate packet is always sent, and in SSL 3.0 cipher suites
927 a no_certificate alert is sent instead.
928 - Added functionality to generate PKCS #7 structures (with certificates).
930 * Version 0.9.3 (2003-03-24)
931 - Support for MD2 was dropped.
932 - Improved the error logging functions, by adding a level, and
933 by allowing debugging messages just by increasing the level.
934 - The diffie Hellman ciphersuites are now of higher priority than
936 - The RSA premaster secret version check can no longer be disabled.
937 - Implemented the counter measure discussed in the paper "Attacking
938 RSA-based Sessions in SSL/TLS", against the attack described in the
940 - Added the functions: gnutls_handshake_get_last_in(),
941 gnutls_handshake_get_last_out().
942 - The gnutls_certificate_set_rsa_params() was renamed to
943 gnutls_certificate_set_rsa_export_params().
944 - Added the new functions: gnutls_certificate_set_x509_key()
945 gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
946 gnutls_x509_crt_export(), gnutls_x509_crl_export().
947 - Added support for encoding and decoding PKCS #8 2.0 encrypted
950 * Version 0.9.2 (2003-03-15)
951 - Some corrections in the memory mapping code (file is unmapped after
953 - Added support for PKCS#10 certificate requests generation.
955 * Version 0.9.1 (2003-03-12)
956 - Corrected a bug in 64 bit architectures, which affected the
957 serial number calculation in the record layer.
958 - Added gnutls_certificate_free_keys() which deletes all the
959 private keys and certificates from the credentials structure.
960 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
961 which caused some unexpected packet length errors. Report and patch
962 by Ian Peters <itp@ximian.com>.
963 - Added ability to generate RSA keys.
964 - Increased the maximum parameter size in order to read some large keys
965 by some CAs. Patch by Ian Peters <itp@ximian.com>.
966 - Added an strnstr() function and the requirement in some functions to
967 use null terminated PEM structures is no more.
968 - Use mmap() if available to read files.
969 - Fixed a memory leak in SRP code reported by Rupert Kittinger
970 <r.kittinger@efkon.com>.
972 * Version 0.9.0 (2003-03-03)
973 - This version is not binary compatible with the previous ones.
974 - The library notifies the application on empty and illegal SRP usernames,
975 so that proper notification (via an alert) is sent to the peer.
976 - Added ability to send some messages back to the application using
977 the gnutls_global_set_log_function().
978 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use
979 gnutls_malloc() to allocate the output parameters.
980 - Added support for MD2 algorithm in certificate signature verification.
981 - The RSA and DH parameter generation interface was changed. Added
982 ability to import and export from and to PKCS3 structures. This
983 was needed to read parameters generated using the openssl dhparam tool.
984 - Several changes in the temporary (DH/RSA) parameter codebase. No DH
985 parameters are now included in the library. Also the credentials structure
986 can now hold only one temporary parameter of a kind.
987 - Added a new Certificate, CRL, Private key and PKCS7 structures handling
988 API, defined in gnutls/x509.h
989 - Added gnutls_certificate_set_verify_flags() function to allow setting the
990 verification flags in the credentials structure. They will be used in the
991 *verify_peers functions.
992 - Added protection against the new TLS 1.0 record layer timing attack.
993 - Added support for Certificate revocation lists. Functions defined
995 - The only functions that were removed are:
996 gnutls_x509_certificate_to_xml()
997 gnutls_x509_extract_dn_string()
998 - Ported to libtasn1 0.2.x
1000 * Version 0.8.1 (2003-01-22)
1001 - Improved the SRP support, to prevent attackers guessing the
1002 available usernames by brute force.
1003 - Improved the SRP detection in gnutls-cli-debug
1004 - Some fixes which now allow compilation.
1006 * Version 0.8.0 (2003-01-20)
1007 - Added gnutls_x509_extract_dn_string() which returns a
1008 distinguished name in a single string.
1009 - Added gnutls_openpgp_extract_key_name_string() which returns
1010 an openpgp user ID in a single string.
1011 - Added gnutls_x509_extract_certificate_ca_status() which returns
1012 the CA status of the given certificate.
1013 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
1014 - If libtasn1 is not present in the system, it is included in
1015 the main gnutls library.
1016 - If liblzo is present in the system, then the included minilzo
1017 will not be used, and libgnutls-extra will depend on liblzo.
1018 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR,
1019 and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also
1020 replaced by GNUTLS_E_BASE64_DECODING_ERROR.
1022 * Version 0.6.0 (2002-12-08)
1023 - Added "gnutls/compat4.h" header. This is included in gnutls.h
1024 to emulate the old 0.4.x API.
1025 - Example programs are now stored in doc/examples/
1026 - Several improvements and updates in the documentation.
1027 - Added the certificate authenticated SRP cipher suites.
1028 - gnutls_x509_extract_certificate_dn_string() was updated to return
1029 an RFC2253 conforming string.
1030 - Added the SRP related functions:
1031 gnutls_srp_verifier()
1032 gnutls_srp_base64_encode()
1033 gnutls_srp_base64_decode()
1034 - Added the function gnutls_srp_set_server_credentials_function()
1035 to allow retrieving SRP parameters from an external backend - other
1036 than password files.
1037 - Added the function gnutls_openpgp_set_recv_key_function()
1038 which can be used to set a callback, to get OpenPGP keys.
1039 - Exported the functions:
1042 which should be used by callback functions.
1043 - Changed the semantics of gnutls_pem_base64_encode_alloc()
1044 and gnutls_pem_base64_decode_alloc(). In the default case
1045 were the gnutls library is used with malloc/realloc/free,
1046 these are binary compatible.
1048 * Version 0.5.11 (2002-11-05)
1049 - Some fixes in 'gnutls-cli' client program to prevent some segmentation
1051 - Example programs found in the documentation can now be generated by
1052 running "make examples" in doc/tex directory.
1053 - Added more descriptive error strings, to gnutls_strerror().
1054 - Documented error codes, and the function reference list is now sorted.
1055 - Optimized buffering code.
1056 - gnutls_x509_extract_certificate_dn_string() was rewritten.
1057 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
1058 case where the memory buffer provided is not long enough.
1059 - Depends on the new OpenCDK 0.3.2.
1061 * Version 0.5.10 (2002-10-13)
1062 - Updated documentation.
1063 - Added server name extension. This allows clients to specify the
1064 name of the server they connect to. Useful to HTTPS.
1065 - Several corrections in the code base, mostly in signed/unsigned,
1068 * Version 0.5.9 (2002-10-10)
1069 - Corrected some code which worked fine in gcc 3.2, but not with any
1071 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
1072 starttls implementations.
1073 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
1074 the private key type, of a DER encoded key.
1075 - Added gnutls_x509_extract_certificate_dn_string() which returns the
1076 certificate's distinguished name in a single string.
1077 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
1078 functions, to avoid calling all the *_priority() functions if the defaults
1080 - Added int gnutls_x509_check_certificates_hostname() which check whether
1081 the given hostname matches the owner of the given X.509 certificate.
1083 * Version 0.5.8 (2002-09-25)
1084 - Updated documentation.
1085 - Added gnutls_record_get_direction() which replaces the obsolete
1086 gnutls_handshake_get_direction().
1087 - Added function to convert error codes to alert descriptions
1088 - Added LZO compression
1090 * Version 0.5.7 (2002-09-11)
1091 - Some fixes in the memory allocation functions (realloc).
1092 - Improved the string functions used in XML certificate generation.
1093 - Removed dependency on libgdbm.
1094 - Corrected bug in gnutls_dh_params_set() which affected
1095 gnutls_dh_params_deinit().
1096 - Corrected bug in session resuming code in server side.
1098 * Version 0.5.6 (2002-09-06)
1099 - Corrected bugs in SRP implementation, which prevented gnutls
1100 to interoperate with other implementations. (interoperability testing
1101 was done by David Taylor)
1102 - Corrected bug in cert_type extension.
1103 - Corrected extension type checks which used an 8 bit extension size,
1105 - Added versioning in the XML output of certificate functions.
1106 - Removed the X.509 test suite.
1108 * Version 0.5.5 (2002-09-03)
1109 - Updated the SRP implementation to the latest draft. The blowfish
1110 crypt implementation was removed, since the new draft does not allow
1111 other hash algorithms except for the srpsha.
1112 - Renamed all the constructed types in order to have more consistent
1114 - Improved the certificate and key read functions. Now they can read
1115 the certificate and the private key from the same file.
1116 - Updated and corrected documentation.
1118 * Version 0.5.4 (2002-08-27)
1119 - Fixes in TLS 1.0 PRF and SSL3 random functions.
1120 - gnutls_handshake_set_exportable_detection() was obsoleted.
1121 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
1122 - Corrected bug in DHE key exchange
1123 - Added support for temporary RSA keys which are needed for the
1124 export cipher suites.
1125 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
1127 * Version 0.5.3 (2002-08-23)
1128 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
1129 code from the unstable branch.
1131 * Version 0.5.2 (2002-08-22)
1132 - Added an error code that is returned in clients which connect
1133 to export only servers. This must be enabled using the
1134 gnutls_handshake_set_exportable_detection() function.
1135 - Updated openssl compatibility layer.
1136 - Added gnutls_handshake_get_direction() function which returns
1137 the state of the handshake when interrupted.
1139 * Version 0.5.1 (2002-07-17)
1140 - Corrected the m4 macros which used <gnutls.h> instead of
1142 - Documentation fixes
1143 - Added gnutls_transport_set_ptr2() function, which accepts two
1144 different pointers, to be used while receiving, and
1146 - Semantic changes in gnutls_record_set_max_size(). The requested
1147 size is now immediately enforced at the output buffers.
1148 - gnutls_global_init_extra() now fails if the library versions do
1150 - Fixes in client and server example programs. Null encryption can
1151 be used in these programs, to assist in debuging.
1152 - Fixes in zlib compression code.
1154 * Version 0.5.0 (2002-07-06)
1155 - Added X.509 certificate tests in tests/ directory
1156 - Removed stubs for SRP and Anonymous authentication. They served
1157 no purpose since they are always included, unless it was requested
1159 - Added gnutls_handshake_set_private_extensions() function. This
1160 function can be used to enable private (gnutls specific) cipher suites
1161 and compression algorithms.
1162 - Added check for C99 macro support by the compiler.
1163 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
1164 - Added the new libtasn1 library.
1165 - Removed the gdbm backend. Applications are now responsible for the
1166 session resuming backend. The gnutls-serv application contains an
1167 simple example on how to use gdbm for resuming.
1168 - Headers for the gnutls library are now installed in $(includedir)/gnutls
1169 - Added an OpenSSL compatible interface (with some limitations).
1170 - Added functions to convert DER encoded certificates to XML format.
1172 * Version 0.4.4 (2002-06-24)
1173 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
1174 using keys of some specific size.
1176 * Version 0.4.3 (2002-05-23)
1177 - The gnutls-extra library now compiles fine, if the opencdk library is
1179 - Several bug fixes.
1180 - Added gnutls_global_set_mem_func() function, to set the memory allocation
1181 functions, if other than the defaults are to be used.
1182 - The default memory allocation functions are now the ones in libc.
1184 * Version 0.4.2 (2002-05-21)
1185 - Separated ASN.1 structures parser documentation and TLS library
1187 - Added gnutls_handshake_set_rsa_pms() function, which disables the
1188 version check in RSA premaster secret.
1189 - Added gnutls_session_is_resumed() function, which reports if a session
1191 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
1192 assist in callback functions.
1193 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
1195 - Relicensed the library under the GNU Lesser General Public License
1196 - Added gnutls-extra library which contains the GPL covered code of gnutls.
1198 * Version 0.4.1 (2002-04-07)
1199 - Now uses alloca() for temporary variables
1200 - Optimized RSA signing
1201 - Added functions to return the peer's certificate activation and
1203 - Corrected time function's behaviour (the time value returned no longer
1204 relate to local timezone).
1206 * Version 0.4.0 (2002-04-01)
1207 - Added support for RFC2630 (PKCS7) X.509 certificate sets
1208 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
1209 gnutls_openpgp_extract_key_pk_algorithm().
1210 - Several optimizations in the Handshake protocol
1211 - Several optimizations in RSA algorithm
1212 - Unified the return values because of small buffers.
1214 * Version 0.3.92 (2002-03-23)
1215 - Updated documentation
1216 - Combined error codes of ASN.1 parser and gnutls
1217 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
1218 - Added protection against CBC chosen plaintext attack (disabled by default)
1219 - Improved and optimized compression support
1221 * Version 0.3.91 (2002-03-03)
1222 - Added gnutls-cli-debug program
1223 - Corrections in session resumption
1224 - Rehandshake can now handle negotiation of different authentication
1226 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are
1227 now being installed.
1229 * Version 0.3.90 (2002-02-24)
1230 - Handshake messages are not kept in memory any more. Now we use
1231 less memory during a handshake
1232 - Added support for certificates with DSA parameters
1233 - Added DHE_DSS cipher suites
1234 - Key exchange methods changed so they do not depend on the
1235 certificate type. Added certificate type negotiation TLS extension.
1236 - Added openpgp key support (EXPERIMENTAL)
1237 - Improved Diffie Hellman key exchange support.
1238 - Bug fixes in the RSA key exchange.
1239 - Added check for the requested TLS extensions
1240 - TLS extensions now use a 16 bit type field.
1241 - Added a minimal string library to assist in ASN.1 parsing
1242 - Changes in ASN.1 parser to work with the new bison
1243 - Added gnutls_x509_extract_subject_alt_name(), which deprecates
1244 gnutls_x509_extract_subject_dns_name()
1245 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
1246 - gnutls_srp_server_set_cred_file() can now be called multiple times
1248 * Version 0.3.5 (2002-01-25)
1249 - Corrected the RSA key exchange method, to avoid attacks against
1252 * Version 0.3.4 (2002-01-20)
1253 - Corrected bugs in DHE_RSA key exchange method
1255 * Version 0.3.3 (2002-01-19)
1256 - Added gnutls_x509pki_verify_certificate()
1257 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
1258 - Bug fixes in srpcrypt (based on patch by Marc Huber)
1259 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
1260 - Corrected library versioning
1262 * Version 0.3.2 (2002-01-05)
1263 - Corrected bug which did not allow a client to accept multiple CA names
1264 - Added gnutls_fingerprint()
1265 - Added gnutls_x509pki_extract_certificate_serial()
1266 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
1267 - Corrected behaviour in version advertizing
1268 - Updated documentation
1269 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
1271 * Version 0.3.1 (2001-12-21)
1272 - Corrections in the configuration files
1273 - Fixes a bug in anonymous authentication
1275 * Version 0.3.0 (2001-12-17)
1276 - Corrected bug in new integer formatting (now we use the old format again)
1277 - Several corrections and usual cleanups
1279 * Version 0.2.91 (2001-12-10)
1280 - Fixes in MPI handling (fixes possible bug with signed integers)
1281 - Removed name indication extension
1282 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
1283 - Optimizations in server certificate callback.
1284 - Fixes in anonymous authentication
1285 - Corrections in client ciphersuite selection
1287 * Version 0.2.90 (2001-12-07)
1288 - gnutls_handshake(), gnutls_read() etc. functions no longer require
1289 the 'SOCKET cd' argument. This argument is set using the function
1290 gnutls_set_transport_ptr().
1291 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
1292 a list containing peer's certificate and issuers DER encoded.
1293 - Updated X.509 certificate handling API
1294 - Added callback to select the server certificate
1295 - More consistent function naming (changes in several function names)
1296 - Buffer overflow checking in ASN.1 structures parser
1297 - Updated documentation
1299 * Version 0.2.11 (2001-11-16)
1300 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
1301 is returned, then the caller should perform a handshake or send
1302 an alert to the peer.
1303 - Made receive buffer dynamic. Normally if no large chunks are received
1304 it occupies less space.
1305 - Added max_record_size extension
1306 - Bugfixes in session handling
1307 - Improved non blocking IO support in the Handshake Protocol
1308 - Usual bugfixes and cleanups
1309 - Documentation updated (includes ASN.1 documentation)
1311 * Version 0.2.10 (2001-11-05)
1312 - Corrected bugs and improved non blocking IO
1313 - Added hooks to use external database to store sessions
1316 * Version 0.2.9 (2001-10-27)
1317 - AUTH_INFO types and structures were moved to library internals
1318 - AUTH_FAILED is no longer returned in SRP authentication
1319 (any fatal error in SRP means auth failed)
1320 - Introduced GNUTLS_E_INTERRUPTED
1321 - Added support for non blocking IO
1322 - gnutls_recv() and gnutls_send() are now obsolete
1323 - Changed semantics of gnutls_rehandshake()
1325 * Version 0.2.4 (2001-10-12)
1326 - Better handling of X.509 certificate extensions
1327 - Added DHE_RSA ciphersuites
1328 - Updated the Name Indication (dnsname) extension
1329 - Improvements in Diffie Hellman primes handling
1331 * Version 0.2.3 (2001-09-19)
1332 - Memory optimizations in gnutls_recv()
1333 - Fixed several memory leaks
1334 - Added ability to specify callback for x509 client certificate selection
1335 - Better documentation
1337 * Version 0.2.2 (2001-08-21)
1338 - Several bugfixes (library and documentation)
1340 * Version 0.2.1 (2001-08-07)
1343 * Version 0.2.0 (2001-08-07)
1344 - Partial support for X.509v3 Certificate extensions.
1345 - Added Internal memory handlers
1346 - Removed gnutls_x509_set_cn()
1347 - Added X.509 client authentication
1348 - Several bug fixes and protocol fixes
1350 * Version 0.1.9 (2001-07-30)
1351 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
1352 - SRP is updated to conform to the newest draft.
1353 - Added support for DNSNAME extension.
1354 - Reentracy fixes in ASN.1 Parsing.
1355 - Optimizations in hash/hmac functions
1356 - (Error) message handling has changed
1357 - Better Protocol Version handling
1358 - Added X.509 Certificate Verification
1359 - gnutls_read() semantics are now closer to read(2) - added EOF
1360 - Documented some part of gnutls in doc/tex/ using Latex
1362 * Version 0.1.4 (2001-06-22)
1363 - Corrected (srp) base64 encoding.
1364 - Changed bcrypt algorithm to include username.
1365 - Added RSA Ciphersuites (no certificate checking).
1366 - Fixes in SSL 2.0 client hello parsing.
1367 - Added ASN.1 and DER parsers.
1368 - Bugfixes in session resuming
1369 - Updated Ciphersuite selection algorithm
1370 - Added internal representation of X.509 structures.
1371 - Added global state
1373 * Version 0.1.3 (2001-06-01)
1374 - Updated API (and the way it is documented - we use inline documentation)
1375 - Added function to access alert messages.
1376 - Added support for renegotiating parameters.
1377 - Better and Faster Resume Database handling.
1380 * Version 0.1.2 (2001-05-14)
1382 - Fixes in extension handling
1384 * Version 0.1.1 (2001-05-13)
1385 - Added compatibility with Stanford's libsrp library
1387 * Version 0.1.0 (2001-05-09)
1388 - Added SSL 2.0 client hello support
1389 - GNUTLS is a gnu library
1390 - Added support for TLS extensions.
1391 - Added support for SRP
1393 * Version 0.0.7 (2001-01-11)
1394 - Added server side session resuming (using gdbm)
1395 - Added twofish algorithm
1397 * Version 0.0.6 (2000-12-20)
1398 - Added client side session resuming
1399 - Better documentation (check doc/API)
1400 - Better socket handling (gnutls can be used with select())
1401 - Some primitive support for non blocking IO and socket options has been added.
1403 * Version 0.0.5 (2000-12-07)
1404 - Added Compression (using ZLIB)
1405 - Added SSL 3.0 support
1407 ----------------------------------------------------------------------
1408 Copying and distribution of this file, with or without modification,
1409 are permitted in any medium without royalty provided the copyright
1410 notice and this notice are preserved.