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.14 (unreleased)
8 ** API and ABI modifications:
9 No changes since last version.
11 * Version 2.3.13 (released 2008-06-07)
13 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
15 ** doc/: Add psktool to info index. Some minor cleanups.
17 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
19 ** tests/: Added libgcrypt.supp which can be used with valgrind.
20 The file suppresses the known libgcrypt memory leaks, so they aren't
21 printed when you run valgrind on the gnutls self-tests. Use it as
22 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
23 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
26 ** tests/: Reduce amount of debugging output by default.
27 Use --verbose for each test to get the full output.
29 ** tests/: Fix memory leaks in several self-tests.
30 None of the self tests should be leaking memory when running valgrind
31 or similar tools. (Known exceptions are dhepskself, pskself, and
32 set_pkcs12_cred, which appear likely to be due to memory leaks in the
35 ** API and ABI modifications:
36 No changes since last version.
38 * Version 2.3.12 (released 2008-06-04)
40 ** Merge gnutls_with_netconf branch.
42 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
43 The function is gnutls_psk_client_get_hint.
45 *** libgnutls [PSK]: New API to set PSK identity hint in server.
46 The function is gnutls_psk_set_server_credentials_hint.
48 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
49 In the client, the message is parsed and the application can use
50 gnutls_psk_client_get_hint to retrieve the hint. In the server, the
51 message is sent if the application has specified a PSK identity hint
52 using gnutls_psk_set_server_credentials_hint.
54 *** libgnutls [PSK]: Support Netconf PSK key derivation.
55 The function gnutls_psk_netconf_derive_key supports the PSK key
56 derivation as specified in draft-ietf-netconf-tls-02.txt. New self
59 *** psktool: Support new --netconf-hint to generate PSK key from password.
60 Uses the Netconf algorithm to derive PSK key from password.
62 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
64 *** gnutls-cli: Always support PSK modes, through a callback.
65 The callback will derive a PSK key using Netconf algorithm. It will
66 print the PSK identity hint to help the user.
68 *** New PSK example client and server.
69 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
71 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
72 The code didn't work properly on platforms where 'char' is unsigned,
73 when you set version 0. Reported by Laurence Withers
75 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
77 ** libgnutls-openssl: added RAND_pseudo_bytes API.
78 Patch from Robert Millan <rmh@aybabtu.com>.
80 ** API and ABI modifications:
81 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
82 gnutls_psk_client_get_hint: ADDED.
83 gnutls_psk_set_server_credentials_hint: ADDED.
84 gnutls_psk_netconf_derive_key: ADDED
86 * Version 2.3.11 (released 2008-05-20)
88 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
89 The flaw would result in incorrectly terminated sessions with the
90 error "Decryption has failed" when the server sends a small packet
91 (typically when the session is closed). Reported by Andreas Metzler
92 <ametzler@downhill.at.eu.org> in
93 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
95 ** Don't use gnulib headers when building C++ library.
96 Fixes builds under Windows.
98 ** Make umask a requirement.
99 We don't know of any system that lacks it, even GNU CoreUtils use it
102 ** Update gnulib files.
103 Fixes a problem where it pulled in a replacement for memcmp under
104 MinGW, which caused the C++ example to fail to build.
106 ** API and ABI modifications:
107 No changes since last version.
109 * Version 2.3.10 (released 2008-05-19)
111 ** Added wide wildcard hostname matching.
112 Tiny patch by Jean-Philippe Garcia Ballester.
114 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
115 Thanks to CERT-FI for finding the bugs and providing detailed reports,
116 which allowed the bugs to be reproduced and fixed easily. Patches
117 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
118 with more details about these vulnerabilities will be added to
119 <http://www.gnu.org/software/gnutls/security.html>
121 *** [GNUTLS-SA-2008-1-1]
122 *** libgnutls: Fix crash when sending invalid server name.
123 The crash can be triggered remotely before authentication, which can
124 lead to a Daniel of Service attack to disable the server. The bug
125 cause gnutls to store more session resumption data than what was
126 allocated for, thus overwriting unallocated memory.
128 *** [GNUTLS-SA-2008-1-2]
129 *** libgnutls: Fix crash when sending repeated client hellos.
130 The crash can be triggered remotely before authentication, which can
131 lead to a Daniel of Service attack to disable the server. The bug
132 triggers a null-pointer dereference.
134 *** [GNUTLS-SA-2008-1-3]
135 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
136 The crash can be triggered remotely before authentication, which can
137 lead to a Daniel of Service attack to disable the server. The bug
138 cause gnutls to read memory beyond the end of the received record.
140 ** libgnutlsxx: Updated API according to patches from Eduardo
141 Villanueva Che (discussion at
142 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
144 ** Use umask to restrict permissions to owner before creating a file.
146 ** API and ABI modifications:
147 No changes since last version.
149 * Version 2.3.9 (released 2008-05-16)
151 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
152 Based on report and tiny patches from
153 <jared.jennings.ctr@eglin.af.mil>, see
154 <https://savannah.gnu.org/support/index.php?106342>.
156 ** libgnutls: Translation fixes.
158 ** gnutls-cli: Fix so that PSK authentication works.
159 Also improve manual to give example for gnutls-cli PSK authentication.
161 ** certtool: Encrypting a private key now require a confirmed password.
162 Before './certtool -k -8' would merely ask for a password once.
163 Reported by Daniel 'NebuchadnezzaR' Dehennin
164 <nebuchadnezzar@asgardr.info> see
165 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
167 ** certtool: When writing private keys to files, change permissions of file.
168 Now the file which the private key is saved to is chmod'ed 0600.
169 Reported by martin f krafft <madduck@debian.org> see
170 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
172 ** guile: Fix -fgnu89-inline test.
174 ** Removed --enable-profile-mode.
175 The code linked gnutls with the libfc project (Function Check) which
176 appears to have been stalled since around 2002.
178 ** Clean up header file checks by ./configure.
180 ** Update of gnulib files.
182 ** API and ABI modifications:
183 No changes since last version.
185 * Version 2.3.8 (released 2008-04-29)
187 ** libgnutls: Increase default handshake packet size limit to 48kb.
188 The old limit was 16kb and some servers send huge list of trusted CAs,
189 thus running into the limit. FYI, applications can further increase
190 this limit using gnutls_handshake_set_max_packet_length. Thanks to
191 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
192 <marc@mclemente.net> for reporting and providing test servers.
194 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
195 Returned when the handshake data size is too large. Before
196 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
199 ** libgnutls: Hide definitions in crypto.h.
200 We have decided that the APIs defined in crypto.h are not stable
201 enough for v2.4, so don't use any of those functions.
203 ** gnutls-cli: exit when hostname doesn't match certificate.
204 Use --insecure to avoid hostname comparison.
206 ** certtool: --inder and --outder replaced by --inraw and --outraw.
207 The reason is to align terminology with OpenPGP, which doesn't use
208 DER. The old parameters will continue to work for some time.
210 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
212 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
214 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
215 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
216 vasprintf symbol from the libgcrypt library which caused problems.
218 ** Update of gnulib files.
220 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
222 ** API and ABI modifications:
223 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
225 * Version 2.3.7 (released 2008-04-21)
227 ** opencdk now properly sets the key usage bits into openpgp keys.
229 ** gnutls-cli: Fix crash on TLS handshake failures.
230 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
231 This is similar to <http://bugs.debian.org/429183>.
233 ** certtool: with --generate-request and newly generated keys, print the key.
235 ** Build fixes for MinGW.
236 Missing rpl_fseeko symbol in lib/opencdk/. Better checks for linking
237 with -lws2_32 when needed. Use ASCII only isprint() when printing
238 X.509 certificate information, to avoid non-ASCII but printable
239 characters. Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
242 ** Update internal copy of libtasn1 to version 1.4.
244 ** API and ABI modifications:
245 No changes since last version.
247 * Version 2.3.6 (released 2008-04-17)
249 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
250 ** Improve documentation for gnutls_x509_crq_sign2.
251 Based on report from "John Brooks" <aspecialj@gmail.com> in
252 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
254 ** tests/pathlen: run diff without parameters to improve portability.
255 Based on HPUX build hints in
256 <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>.
258 ** Don't use %e specifier with strftime, it doesn't work under Windows.
259 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
260 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
262 ** Remove all uses of gnutls_alloca/gnutls_afree.
263 Use normal gnutls_malloc instead. One reason is increased portability
264 to Windows, the other is that several of the uses may be unsafe
265 because the size of data allocated could be large. Reported by
266 Massimo Gaspari <massimo.gaspari@alice.it> in
267 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
269 ** Build Guile code with -fgnu89-inline only when supported.
270 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
271 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
273 ** Several GTK-DOC related fixes.
275 ** Clean up OpenCDK related code.
276 GnuTLS now requires its internal OpenCDK code rather than the external
277 GPL library OpenCDK. Unfortunately, we don't have resources to
278 maintain an external library (help welcome).
280 ** API and ABI modifications:
281 No changes since last version.
283 * Version 2.3.5 (released 2008-04-14)
285 ** Build fix for MinGW and --disable-shared.
286 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
287 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
289 ** Document how to generate CRLs.
290 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
292 ** Documented the --priority option to gnutls-cli and gnutls-serv.
294 ** Several minor fixes in the OpenPGP interface.
295 Thanks to Daniel Kahn Gillmor.
297 ** Fix fopen file descriptor leak in PSK server code.
298 Thanks to Laurence Withers <l@lwithers.me.uk>, see
299 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
301 ** Translations files not stored directly in git to avoid merge conflicts.
303 ** New APIs to let applications replace the RNG used.
304 Update all RNG callers in the code to use the new interface.
306 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
308 ** Update gnulib files.
310 ** API and ABI modifications:
311 gnutls_crypto_rnd_register: ADDED
312 gnutls_rnd_level_t: ADDED
313 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
314 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
315 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
316 gnutls_crypto_rnd_st: ADDED
317 GNUTLS_DIG_SHA224: ADDED
318 GNUTLS_SIGN_RSA_SHA224: ADDED
319 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
321 * Version 2.3.4 (released 2008-03-19)
323 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
324 They weren't renamed in the public header file.
326 ** Added functions to register a cipher/mac/digest. This allows to
327 override the included ones.
329 ** Fix a bunch of compiler warnings.
331 ** API and ABI modifications:
332 gnutls_crypto_cipher_st: ADDED
333 gnutls_crypto_mac_st: ADDED
334 gnutls_crypto_digest_st: ADDED
335 gnutls_crypto_cipher_register: ADDED
336 gnutls_crypto_mac_register: ADDED
337 gnutls_crypto_digest_register: ADDED
338 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
340 * Version 2.3.3 (released 2008-03-10)
342 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
343 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
345 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
346 We could not find any modern justification for enabling these flags by
347 default. If you know of some platform that needs one of the flags to
348 work properly, please let us know. (Actually introduced in v2.3.0 but
349 not documented until now.)
351 ** Importing many CA certificates are now considerably faster.
352 This affect gnutls_certificate_set_x509_trust_mem,
353 gnutls_certificate_set_x509_trust, and
354 gnutls_certificate_set_x509_trust_file. The complexity was reduced
355 from O(2*n^2) to O(n). When adding 206 files containing 408
356 certificates, using gnutls_certificate_set_x509_trust_file, the time
357 dropped from 40 seconds to 0.3 seconds. Thanks to Edgar Fuß for code
358 to trigger the problem. See also
359 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
361 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
362 ** to be explicit that it takes zero terminated data.
364 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
366 ** Documentation fixes for the GTK-DOC manual.
368 ** Fix compilation error related to __FUNCTION__ on some systems.
369 Reported by Tim Mooney, see
370 <https://savannah.gnu.org/support/?106267>.
372 ** Updated translations.
374 ** Update gnulib files.
376 ** API and ABI modifications:
377 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
378 and char* instead of void* for output buffer.
380 * Version 2.3.2 (released 2008-02-26)
382 ** Fix srcdir!=objdir failure in openpgpself test.
384 ** Improved API documentation output from GTK-DOC.
386 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
388 ** Renamed gnutls_certificate_export_x509_cas and friends.
389 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
391 ** Internal header files cleanup.
393 ** API and ABI modifications:
394 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
395 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
396 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
397 gnutls_x509_dn_export: ADDED
399 * Version 2.3.1 (released 2008-02-21)
401 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
402 The included copy of OpenCDK has been stripped down and re-licensed
405 ** Cipher priority string handling now handle strings that starts with NULL.
406 Thanks to Laurence Withers <l@lwithers.me.uk>.
408 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
410 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
413 ** Increased the default certificate verification chain limits and allowed
414 for checks without limitation.
416 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
417 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
418 strings and return the proper size.
420 ** Add section 'On Record Padding' to the manual.
421 This collects all problems related to record padding with
422 Nokia/Sony-Ericsson phones that we know about.
424 ** Several improvements in the OpenPGP authentication.
425 Now subkeys can be used for authentication, according to
426 draft-mavrogiannopoulos-rfc5081bis-00.txt.
428 ** certtool can print information on OpenPGP certificates and keys.
430 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
433 ** Added gnutls_certificate_export_x509_cas and other functions to
434 export elements from the certificate credentials structure. Based on
435 suggestion from Joe Orton.
438 Clarify that srp_base64 is not the same as normal base64.
440 ** Fix non-portable use of brace expansion in makefiles.
442 ** API and ABI modifications:
443 gnutls_certificate_export_x509_cas: ADDED
444 gnutls_certificate_export_x509_crls: ADDED
445 gnutls_certificate_export_openpgp_keyring: ADDED
446 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
447 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
448 gnutls_openpgp_crt_get_revoked_status: ADDED
449 gnutls_openpgp_crt_get_subkey_count: ADDED
450 gnutls_openpgp_crt_get_subkey_idx: ADDED
451 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
452 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
453 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
454 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
455 gnutls_openpgp_crt_get_subkey_id: ADDED
456 gnutls_openpgp_crt_get_subkey_usage: ADDED
457 gnutls_openpgp_privkey_get_fingerprint: ADDED
458 gnutls_openpgp_privkey_get_key_id: ADDED
459 gnutls_openpgp_privkey_get_subkey_count: ADDED
460 gnutls_openpgp_privkey_get_subkey_idx: ADDED
461 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
462 gnutls_openpgp_privkey_get_revoked_status: ADDED
463 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
464 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
465 gnutls_openpgp_privkey_get_subkey_id: ADDED
466 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
467 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
468 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
469 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
470 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
471 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
472 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
473 gnutls_openpgp_privkey_export_dsa_raw: ADDED
474 gnutls_openpgp_privkey_export_rsa_raw: ADDED
475 gnutls_openpgp_privkey_export: ADDED
476 gnutls_certificate_set_openpgp_key_file2: ADDED
477 gnutls_certificate_set_openpgp_key_mem2: ADDED
478 gnutls_x509_dn_init: ADDED
479 gnutls_x509_dn_import: ADDED
480 gnutls_x509_dn_deinit: ADDED
481 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
482 gnutls_hex2bin: ADDED
483 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
484 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
485 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
486 old GNUTLS_X509_CRT_UNSIGNED_FULL.
488 * Version 2.3.0 (released 2008-01-08)
490 ** LZO compression is now disabled by default.
491 The reason is that LZO compression is not standardized in TLS. If you
492 wish to experiment with it, you will have to supply --with-lzo when
493 invoking ./configure. The internal copy of minilzo is no longer
494 included with GnuTLS, so you will need to install liblzo or liblzo2 on
495 your system to have --with-lzo to be effective.
497 ** More than one server name field is now sent to the server properly.
498 Thanks to mark.phillips@virgin.net.
500 ** Fixes the post_client_hello_function(). The extensions are now parsed
501 in a callback friendly way.
503 ** Fix for certificate selection in servers with certificate callbacks.
505 ** Updated translations.
507 ** Update gnulib files.
509 ** API and ABI modifications:
510 No changes since last version.
512 * Version 2.2.5 (released 2008-05-19)
514 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
515 The flaw would result in incorrectly terminated sessions with the
516 error "Decryption has failed" when the server sends a small packet
517 (typically when the session is closed). Reported by Andreas Metzler
518 <ametzler@downhill.at.eu.org> in
519 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
521 ** API and ABI modifications:
522 No changes since last version.
524 * Version 2.2.4 (released 2008-05-19)
526 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
527 Thanks to CERT-FI for finding the bugs and providing detailed reports,
528 which allowed the bugs to be reproduced and fixed easily. Patches
529 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
530 with more details about these vulnerabilities will be added to
531 <http://www.gnu.org/software/gnutls/security.html>
533 *** [GNUTLS-SA-2008-1-1]
534 *** libgnutls: Fix crash when sending invalid server name.
535 The crash can be triggered remotely before authentication, which can
536 lead to a Daniel of Service attack to disable the server. The bug
537 cause gnutls to store more session resumption data than what was
538 allocated for, thus overwriting unallocated memory.
540 *** [GNUTLS-SA-2008-1-2]
541 *** libgnutls: Fix crash when sending repeated client hellos.
542 The crash can be triggered remotely before authentication, which can
543 lead to a Daniel of Service attack to disable the server. The bug
544 triggers a null-pointer dereference.
546 *** [GNUTLS-SA-2008-1-3]
547 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
548 The crash can be triggered remotely before authentication, which can
549 lead to a Daniel of Service attack to disable the server. The bug
550 cause gnutls to read memory beyond the end of the received record.
552 ** API and ABI modifications:
553 No changes since last version.
555 * Version 2.2.3 (released 2008-05-06)
557 ** Increase default handshake packet size limit to 48kb.
558 The old limit was 16kb and some servers send huge list of trusted CAs,
559 thus running into the limit. FYI, applications can further increase
560 this limit using gnutls_handshake_set_max_packet_length. Thanks to
561 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
562 <marc@mclemente.net> for reporting and providing test servers.
564 ** Fix compilation error related to __FUNCTION__ on some systems.
565 Reported by Tim Mooney, see
566 <https://savannah.gnu.org/support/?106267>.
568 ** Documented the --priority option to gnutls-cli and gnutls-serv.
570 ** Fix fopen file descriptor leak in PSK server code.
571 Thanks to Laurence Withers <l@lwithers.me.uk>, see
572 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
574 ** Build Guile code with -fgnu89-inline only when supported.
575 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
576 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
578 ** Make Camellia encryption work.
579 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
580 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
582 ** API and ABI modifications:
583 No changes since last version.
585 * Version 2.2.2 (released 2008-02-21)
587 ** Cipher priority string handling now handle strings that starts with NULL.
588 Thanks to Laurence Withers <l@lwithers.me.uk>.
590 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
593 ** Increased the default certificate verification chain limits and allowed
594 for checks without limitation.
596 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
597 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
598 strings and return the proper size.
600 ** API and ABI modifications:
601 No changes since last version.
603 * Version 2.2.1 (released 2008-01-17)
605 ** Prevent linking libextra against previously installed libgnutls.
606 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
607 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
609 ** Fixes the post_client_hello_function(). The extensions are now parsed
610 in a callback friendly way.
612 ** Fix for certificate selection in servers with certificate callbacks.
614 ** API and ABI modifications:
615 No changes since last version.
617 * Version 2.2.0 (released 2007-12-14)
619 ** Update internal copy of libtasn1 to version 1.2.
621 ** Certtool --verify-chain now handle inputs larger than 64kb.
622 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
623 recent versions of libgcrypt. The problem was that Wine with the
624 libgcrypt RNG generates huge amounts of debugging output.
626 ** Translation updates.
627 Added Dutch translation. Updated Polish and Swedish translation.
629 ** Major changes compared to the v2.0 branch:
631 *** SRP support aligned with newly published RFC 5054.
633 *** OpenPGP support aligned with newly published RFC 5081.
635 *** Support for DSA2 keys.
637 *** Support for Camellia cipher.
639 *** Support for Opaque PRF Input extension.
641 *** PKCS#8 parser now handle DSA keys.
643 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
644 Notice that liblzo2 2.02 is licensed under GPLv2 only. Earlier
645 versions, such as 2.01 which is included with GnuTLS, is available
646 under GPLv2 or later. If this incompatibility causes problems, we
647 recommend you to disable LZO using --without-lzo. LZO compression is
648 not a standard TLS compression algorithm, so the impact should be
651 *** Functions for disabling record protocol padding.
652 Works around bugs on Nokia/Ericsson phones.
654 *** New functions gnutls_priority_set() for setting cipher priorities easily.
655 Priorities like "COMPAT" also enables other work arounds, such as
658 *** Other minor improvements and bug fixes.
660 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
661 To adapt to changes in the TLS extension specifications for OpenPGP
662 and SRP, the GnuTLS API had to be modified. This means breaking the
663 API and ABI backwards compatibility. That is something we try to
664 avoid unless it is necessary. We decided to also remove the already
665 deprecated stub functions for X.509 to XML conversion and TLS
666 authorization (see below) when we had the opportunity.
668 Generally, most applications does not need to be modified. Just
669 re-compile them against the latest GnuTLS release, and it should work
672 Applications that use the OpenPGP or SRP features needs to be
673 modified. Below is a list of the modified APIs and discussion of what
674 the minimal things you need to modify in your application to make it
675 work with GnuTLS 2.2.
677 Note that GnuTLS 2.2 also introduces new APIs -- such as
678 gnutls_set_priority() that is superior to
679 gnutls_set_default_priority() -- that you may want to start using.
680 However, using those new APIs is not required to use GnuTLS 2.2 since
681 the old functions continue are still supported. This text only
682 discuss what you minimally have to modify.
684 *** XML related changes
685 The function `gnutls_x509_crt_to_xml' has been removed. It has been
686 deprecated and only returned an error code since GnuTLS version
687 1.2.11. Nobody has complained, so users doesn't seem to miss the
688 functionality. We don't know of any other library to convert X.509
689 certificates into XML format, but we decided (long ago) that GnuTLS
690 isn't the right place for this kind of functionality. If you want
691 help to find some other library to use here, please explain and
692 discuss your use case on help-gnutls@gnu.org.
694 *** TLS Authorization related changes
695 Everything related to TLS authorizations have been removed, they were
696 only stub functions that returned an error code:
698 GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
699 gnutls_authz_data_format_type_t
700 gnutls_authz_recv_callback_func
701 gnutls_authz_send_callback_func
703 gnutls_authz_send_x509_attr_cert
704 gnutls_authz_send_saml_assertion
705 gnutls_authz_send_x509_attr_cert_url
706 gnutls_authz_send_saml_assertion_url
708 *** SRP related changes
709 The callback gnutls_srp_client_credentials_function has a new
710 prototype, and its semantic has changed. You need to rewrite the
711 callback, see the updated function documentation and SRP example code
712 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
715 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
716 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
717 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
718 used. There are #define's to map the old names to the new. You may
719 run into problems if you have a switch-case with cases for both SRP
720 alerts, since they are now mapped to the same value. The solution is
721 to drop the SRP alerts from such switch cases, as they are now
722 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
724 *** OpenPGP related changes
725 The function `gnutls_certificate_set_openpgp_keyserver' have been
726 removed. There is no replacement functionality inside GnuTLS. If you
727 need keyserver functionality, consider using the GnuPG tools.
729 All functions, types, and error codes related to OpenPGP trustdb
730 format have been removed. The trustdb format is a non-standard
731 GnuPG-specific format, and we recommend you to use key rings instead.
732 The following have been removed:
734 gnutls_certificate_set_openpgp_trustdb
735 gnutls_openpgp_trustdb_init
736 gnutls_openpgp_trustdb_deinit
737 gnutls_openpgp_trustdb_import
738 gnutls_openpgp_key_verify_trustdb
739 gnutls_openpgp_trustdb_t
740 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
742 The following functions has an added parameter of the (new) type
743 `gnutls_openpgp_crt_fmt_t'. The type specify the format of the data
744 (binary or base64). The functions are:
745 gnutls_certificate_set_openpgp_key_file
746 gnutls_certificate_set_openpgp_key_mem
747 gnutls_certificate_set_openpgp_keyring_mem
748 gnutls_certificate_set_openpgp_keyring_file
750 To improve terminology and align with the X.509 interface, some
751 functions have been renamed. Compatibility mappings exists. The old
752 and new names of the affected functions and types are:
755 gnutls_openpgp_key_t gnutls_openpgp_crt_t
756 gnutls_openpgp_key_fmt_t gnutls_openpgp_crt_fmt_t
757 gnutls_openpgp_key_status_t gnutls_openpgp_crt_status_t
758 GNUTLS_OPENPGP_KEY GNUTLS_OPENPGP_CERT
759 GNUTLS_OPENPGP_KEY_FINGERPRINT GNUTLS_OPENPGP_CERT_FINGERPRINT
760 gnutls_openpgp_key_init gnutls_openpgp_crt_init
761 gnutls_openpgp_key_deinit gnutls_openpgp_crt_deinit
762 gnutls_openpgp_key_import gnutls_openpgp_crt_import
763 gnutls_openpgp_key_export gnutls_openpgp_crt_export
764 gnutls_openpgp_key_get_key_usage gnutls_openpgp_crt_get_key_usage
765 gnutls_openpgp_key_get_fingerprint gnutls_openpgp_crt_get_fingerprint
766 gnutls_openpgp_key_get_pk_algorithm gnutls_openpgp_crt_get_pk_algorithm
767 gnutls_openpgp_key_get_name gnutls_openpgp_crt_get_name
768 gnutls_openpgp_key_get_version gnutls_openpgp_crt_get_version
769 gnutls_openpgp_key_get_creation_time gnutls_openpgp_crt_get_creation_time
770 gnutls_openpgp_key_get_expiration_time gnutls_openpgp_crt_get_expiration_time
771 gnutls_openpgp_key_get_id gnutls_openpgp_crt_get_id
772 gnutls_openpgp_key_check_hostname gnutls_openpgp_crt_check_hostname
773 gnutls_openpgp_send_key gnutls_openpgp_send_cert
775 ** API and ABI modifications:
776 No changes since last version.
778 * Version 2.1.8 (released 2007-12-10)
780 ** The GPL version has been changed from version 2 to version 3.
781 This affects the self-tests, command-line tools, the libgnutls-extra
782 library, the relevant guile parts, and the build environment.
784 ** Added gnutls_x509_crt_get_subject_alt_name2().
786 ** Corrected a segfault when setting an empty gnutls_priority_t
787 at gnutls_priority_set().
789 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
790 Fixes a problem with spurious -L/usr/lib additions.
792 ** API and ABI modifications:
793 gnutls_x509_crt_get_subject_alt_name2: ADD.
795 * Version 2.1.7 (released 2007-11-29)
797 ** PKCS #8 parser can now encode/decode DSA keys.
799 ** Updated gnutls_set_default_priority2() now renamed to
800 gnutls_priority_set() and gnutls_priority_set_direct() which
801 accept a string to indicate preferences of ciphersuite parameters.
803 ** gnutls-cli and gnutls-serv now have a --priority option to set
806 ** The gnutls_*_convert_priority() functions were deprecated by
807 the gnutls_priority_set() and gnutls_priority_set_direct().
809 ** Internal copy of OpenCDK upgraded to version 0.6.6.
811 ** API and ABI modifications:
812 gnutls_priority_init: ADD.
813 gnutls_priority_deinit: ADD.
814 gnutls_priority_set: ADD.
815 gnutls_priority_set_direct: ADD.
816 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
817 gnutls_mac_convert_priority: REMOVED
818 gnutls_compression_convert_priority: REMOVED
819 gnutls_protocol_convert_priority: REMOVED
820 gnutls_kx_convert_priority: REMOVED
821 gnutls_cipher_convert_priority: REMOVED
822 gnutls_certificate_type_convert_priority: REMOVED
823 gnutls_set_default_priority: UNDEPRECATED
824 gnutls_set_default_priority_export: UNDEPRECATED
826 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
827 GNUTLS_CIPHER_UNKNOWN: ADD.
828 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
829 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
830 GNUTLS_KX_UNKNOWN: ADD.
831 GNUTLS_COMP_UNKNOWN: ADD.
832 GNUTLS_CRT_UNKNOWN: ADD.
833 gnutls_mac_get_id: ADD.
834 gnutls_compression_get_id: ADD.
835 gnutls_cipher_get_id: ADD.
836 gnutls_kx_get_id: ADD.
837 gnutls_protocol_get_id: ADD.
838 gnutls_certificate_type_get_id: ADD.
839 gnutls_handshake_post_client_hello_func: ADD.
840 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
842 * Version 2.1.6 (released 2007-11-15)
844 ** Corrected bug in decompression of expanded compression data.
846 ** Added the --to-p8 option to certtool to convert private keys
849 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
851 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
854 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
855 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
856 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
857 documented. This caused some problems (e.g., debian #450854). To
858 avoid backwards compatibility problems, this release revert this
859 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
860 done in GnuTLS 2.0.x and earlier, and add a new error code
861 GNUTLS_E_UNKNOWN_ALGORITHM.
863 ** Fixes several gtk-doc warnings.
865 ** API and ABI modifications:
866 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
867 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
868 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
870 * Version 2.1.5 (released 2007-11-01)
872 ** Fix PKCS#3 parameter export problem.
874 ** Improve certtool queries, they now print the default value.
878 ** Update gnulib files.
880 ** API and ABI modifications:
881 No changes since last version.
883 * Version 2.1.4 (released 2007-10-27)
885 ** Added the --v1 option to certtool, to allow generating X.509
886 version 1 certificates.
888 ** certtool: Add option --disable-quick-random to enable the old behaviour
889 of using /dev/random to generate keys.
891 ** Added priority functions that accept strings.
893 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
894 priorities preferences.
896 ** Added gnutls_record_disable_padding() to allow servers talking to
897 buggy clients that complain if the TLS 1.0 record protocol padding is
900 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
901 all supported compatibility options (like disabling padding).
903 ** The gnutls_certificate_set_openpgp_* functions were modified to include
904 the format. This makes the interface consistent with the x509 functions.
906 ** Internal copy of OpenCDK upgraded to version 0.6.5.
908 ** Update gnulib files.
910 ** API and ABI modifications:
911 gnutls_certificate_set_openpgp_key_mem: MODIFIED
912 gnutls_certificate_set_openpgp_key_file: MODIFIED
913 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
914 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
915 gnutls_set_default_priority: DEPRECATED
916 gnutls_set_default_priority_export: DEPRECATED
917 gnutls_set_default_priority2: ADDED
918 gnutls_session_enable_compatibility_mode: ADDED
919 gnutls_record_disable_padding: ADDED
920 gnutls_mac_convert_priority: ADDED
921 gnutls_compression_convert_priority: ADDED
922 gnutls_protocol_convert_priority: ADDED
923 gnutls_kx_convert_priority: ADDED
924 gnutls_cipher_convert_priority: ADDED
925 gnutls_certificate_type_convert_priority: ADDED
926 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
927 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
928 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
929 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
930 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
931 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
932 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
933 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
934 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
935 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
936 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
937 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
938 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
939 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
940 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
941 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
942 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
943 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
945 * Version 2.1.3 (released 2007-10-17)
947 ** TLS authorization support removed.
948 This technique may be patented in the future, and it is not of crucial
949 importance for the Internet community. After deliberation we have
950 concluded that the best thing we can do in this situation is to
951 encourage society not to adopt this technique. We have decided to
952 lead the way with our own actions.
954 ** Re-enabled the 256 bit ciphers in the default priorities.
956 ** Corrected bugs in openpgp key verification using a keyring (both in
959 ** API and ABI modifications:
960 gnutls_certificate_set_openpgp_keyserver: REMOVED
961 gnutls_authz_data_format_type_t,
962 gnutls_authz_recv_callback_func,
963 gnutls_authz_send_callback_func,
965 gnutls_authz_send_x509_attr_cert,
966 gnutls_authz_send_saml_assertion,
967 gnutls_authz_send_x509_attr_cert_url,
968 gnutls_authz_send_saml_assertion_url: REMOVED.
969 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
970 gnutls_supplemental_data_format_type_t enum type becomes empty.
972 * Version 2.1.2 (released 2007-10-14)
974 ** Removed all the trustdb code from openpgp authentication.
975 We now use only the well-specified keyrings.
977 ** The 256 bit ciphers are not enabled in the default priorities.
979 ** Added support for DSA2 using libgcrypt 1.3.0.
981 ** certtool: Fixed data corruption when using --outder.
983 ** Removed all the xml related stubs and functions.
985 ** Added capability to set a callback after the client hello is received
986 by the server in order to adjust parameters before the handshake.
988 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
990 ** Corrected bug which did not allow a server to run without supporting
993 ** Updated the DN parser which now prints wrongly decoded values as hex
996 ** certtool: Add option --quick-random.
997 For generating low security test credentials.
999 ** API and ABI modifications:
1000 gnutls_x509_crt_to_xml: REMOVED
1001 gnutls_openpgp_key_to_xml: REMOVED
1002 gnutls_openpgp_key_verify_trustdb: REMOVED
1003 gnutls_openpgp_trustdb_init: REMOVED
1004 gnutls_openpgp_trustdb_deinit: REMOVED
1005 gnutls_openpgp_trustdb_import: REMOVED
1006 gnutls_certificate_set_openpgp_trustdb: REMOVED
1007 gnutls_srp_client_credentials_function: CHANGED
1008 gnutls_handshake_set_post_client_hello_function: ADDED
1009 gnutls_mac_get_key_size: ADDED
1010 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
1011 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
1012 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
1014 * Version 2.1.1 (released 2007-09-24)
1016 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
1017 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
1018 compiled with Camellia support. See the libgcrypt documentation on
1019 how to enable it. Unconditionally disable it using the configure
1020 option --disable-camellia. Fixes #1.
1022 ** Properly document in the NEWS file the API change in the last release.
1024 ** API and ABI modifications:
1025 No changes since last version.
1027 * Version 2.1.0 (released 2007-09-20)
1029 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
1030 The support is disabled by default. Since no value has been allocated
1031 by the IANA for this extension yet, you will need to provide one
1032 yourself by invoking './configure --enable-opaque-prf-input=42'.
1035 ** Example code: Fix compilation flaw under MinGW.
1037 ** API and ABI modifications:
1038 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
1039 gnutls_oprfi_enable_client: ADD, new function.
1040 gnutls_oprfi_enable_server: ADD, new function.
1042 * Version 2.0.4 (released 2007-11-16)
1044 ** Corrected bug in decompression of expanded compression data.
1046 ** API and ABI modifications:
1047 No changes since last version.
1049 * Version 2.0.3 (released 2007-11-10)
1051 ** This version backports several fixes from the 2.1.x branch.
1053 ** Fixed PKCS #3 parameter export.
1055 ** Added gnutls_record_disable_padding() to allow servers talking to
1056 buggy clients that complain if the TLS 1.0 record protocol padding is
1059 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
1060 all supported compatibility options (like disabling padding).
1062 ** Corrected bug which did not allow a server to run without supporting
1065 ** API and ABI modifications:
1066 gnutls_session_enable_compatibility_mode: ADDED
1067 gnutls_record_disable_padding: ADDED
1069 * Version 2.0.2 (released 2007-10-17)
1071 ** TLS authorization support removed.
1072 This technique may be patented in the future, and it is not of crucial
1073 importance for the Internet community. After deliberation we have
1074 concluded that the best thing we can do in this situation is to
1075 encourage society not to adopt this technique. We have decided to
1076 lead the way with our own actions.
1078 ** certtool: Fixed data corruption when using --outder.
1080 ** Fix configure-time Guile detection.
1082 ** API and ABI modifications:
1083 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
1084 gnutls_supplemental_data_format_type_t enum type becomes empty.
1086 * Version 2.0.1 (released 2007-09-20)
1088 ** New directory doc/credentials/ with test credentials.
1089 This collects the test credentials from the web page and from src/.
1090 The script gnutls-http-serv has also been moved to that directory.
1092 ** Update SRP extension type and cipher suite with official IANA values.
1093 This breaks backwards compatibility with SRP in older versions of
1094 GnuTLS, but this is intentional to speed up the adoption of the
1095 official values. The old values we used were incorrect.
1097 ** Guile: Fix `x509-certificate-dn-oid'
1099 ** API and ABI modifications:
1100 No changes since last version.
1102 * Version 2.0.0 (released 2007-09-04)
1104 ** Included copy of Libtasn1 upgraded to version 1.1.
1106 ** Disable building of some examples if anonymous ciphers are disabled.
1108 ** Don't build examples for disabled features.
1110 ** API and ABI modifications:
1111 No changes since last version.
1113 * Version 1.7.19 (released 2007-08-27)
1115 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
1116 This solves connection problems in mutt, see
1117 <http://bugs.debian.org/439640>.
1119 ** Update gnulib files.
1120 In particular, the getpass module -- with its dependencies on getline,
1121 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
1122 library) directory to the gl/ directory (only used by the command line
1123 tools). The reason is that getpass is now only used by the
1124 command-line tools, and reducing the number of gnulib modules linked
1125 to the core library helps portability and reduces size.
1129 ** Disable building of PGP examples if PGP is disabled.
1131 ** Included copy of OpenCDK upgraded to version 0.6.4.
1133 ** API and ABI modifications:
1134 No changes since last version.
1136 * Version 1.7.18 (released 2007-08-16)
1138 ** Install images for the info manual.
1139 This has a side effect of renaming the images. See
1140 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
1141 discussions on the approach chosen.
1143 ** Fix pointer mix to variables of different size.
1144 Patch extracted from
1145 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
1147 ** Fix warnings during build.
1148 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
1150 ** API and ABI modifications:
1151 No changes since last version.
1153 * Version 1.7.17 (released 2007-08-15)
1155 ** New functions to perform external signing.
1156 Set the signing callback function (of the gnutls_sign_func prototype)
1157 using the gnutls_sign_callback_set function. In the callback, you may
1158 find the new functions gnutls_x509_privkey_sign_hash and
1159 gnutls_openpgp_privkey_sign_hash useful. A new function
1160 gnutls_sign_callback_get is also added, to retrieve the function
1161 pointer. Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
1162 comments and testing.
1164 ** New self test of client and server authenticated X.509 TLS sessions.
1165 See tests/x509self.c and tests/x509signself.c. The latter also tests
1166 the new external signing callback interface.
1168 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
1169 These two actually describe the outer limits of a range of error codes
1170 reserved to the application. All of the errors are treated as fatal
1171 by the library (it has to since it doesn't know the semantics of the
1172 error codes). This can be useful in callbacks, to signal some
1173 application-specific error condition, which will usually eventually
1174 cause some gnutls API to return the same error code as the callback,
1175 which then can be inspected by the application. Note that error codes
1178 ** gnutls_set_default_priority now disable TLS 1.2 by default.
1179 The RFC is not released yet, and we're approaching a major release so
1180 let's not enable it just yet.
1182 ** Fix namespace so that gnutls_*_t is used consistently.
1183 Before, many places in the GnuTLS code used the old deprecated type
1184 names without the '_t' suffix.
1186 ** Build fixes for Guile code.
1187 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
1189 ** More documentation fixes.
1190 In particular, the section headings were modified for casing. By
1191 Ludovic Courtes <ludovic.courtes@laas.fr>.
1193 ** Updated Polish and Swedish translations.
1194 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
1195 <po@danielnylander.se>.
1197 ** API and ABI modifications:
1198 gnutls_sign_func: ADD, new type for sign callback.
1199 gnutls_sign_callback_set: ADD, new function to set sign callback.
1200 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
1201 gnutls_x509_privkey_sign_hash,
1202 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
1203 GNUTLS_E_APPLICATION_ERROR_MIN,
1204 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
1206 * Version 1.7.16 (released 2007-08-07)
1208 ** Fix sanity checks and return values in certificate selection.
1209 In some cases, GnuTLS omitted to report suitable error codes when no
1210 suitable certificate was found.
1212 ** Fix gnutls-cli starttls EOF on Mac OS X.
1213 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
1215 ** Documentation fixes.
1216 In particular, the section headings were modified for casing. By
1217 Ludovic Courtes <ludovic.courtes@laas.fr>.
1219 ** Update gnulib files.
1221 ** API and ABI modifications:
1222 No changes since last version.
1224 * Version 1.7.15 (released 2007-07-02)
1226 ** Fix self-tests key-id under mingw32.
1228 ** Test that the Guile header files are recent enough to work.
1229 Before we just tested that the command line tool 'guile' was recent
1230 enough, which may not be sufficient if you still have an old
1231 libguile.h header installed.
1233 ** Guile bindings are now installed under $prefix by default.
1234 Use --without-guile-site-dir to install it under $pkgdatadir/site/
1235 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
1236 Use --with-guile-site-dir=/your/own/path to specify the path manually.
1237 The default, --with-guile-site-dir, will install the Guile bindings
1238 under $datadir/guile/site. There is a new section 'Guile
1239 Preparations' in the manual that discuss these issues.
1241 ** Fix run-time library path ordering in linking the Guile bindings.
1243 ** Improved manual on downloading, installing, getting help, bug reports etc.
1244 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
1246 ** Add Malay message translations.
1247 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
1249 ** API and ABI modifications:
1250 No changes since last version.
1252 * Version 1.7.14 (released 2007-06-26)
1254 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
1255 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1257 ** Fix memory leak during DSA signature verification.
1258 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1260 ** Fix crash in gnutls-cli when TLS handshake fails.
1261 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
1262 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
1263 <http://bugs.debian.org/429183>.
1265 ** Minor OpenPGP fixes in stream_to_datum.
1266 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
1267 <ludovic.courtes@laas.fr>.
1269 ** Fix off-by-one in TLS 1.2 handshake.
1270 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1272 ** Minor Guile binding self-test cleanup.
1273 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1275 ** Update gnulib files.
1277 ** API and ABI modifications:
1278 No changes since last version.
1280 * Version 1.7.13 (released 2007-06-11)
1282 ** OpenCDK copy updated to version 0.6.3.
1284 ** Build fixes for GnuTLS Guile bindings.
1285 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1287 ** Build fix for GTK-DOC manual.
1289 ** Update gnulib files.
1291 ** API and ABI modifications:
1292 No changes since last version.
1294 * Version 1.7.12 (released 2007-06-08)
1296 ** Guile bindings for GnuTLS have been included.
1297 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>. There is a
1298 new chapter 'Guile Bindings' in the manual.
1300 ** Have PKCS8 parser return better error codes.
1301 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
1302 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
1303 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
1305 ** Fix mem leak for sessions with client authentication via certificates.
1306 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
1307 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
1310 Reported by Dennis Vshivkov <walrus@amur.ru>, see
1311 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>. Added
1312 self-test tests/parse_ca.c to test regressions.
1314 ** Fix build failures related to missing images in manual.
1315 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1317 ** Update gnulib files.
1319 ** API and ABI modifications:
1320 No changes since last version.
1322 * Version 1.7.11 (released 2007-05-26)
1324 ** Include opencdk.h in the release.
1325 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
1327 ** API and ABI modifications:
1328 No changes since last version.
1330 * Version 1.7.10 (released 2007-05-25)
1332 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
1333 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
1335 ** Update of gnulib files.
1337 ** GnuTLS is now developed in GIT instead of CVS.
1338 See <http://repo.or.cz/w/gnutls.git> for a public repository.
1340 ** API and ABI modifications:
1341 gnutls_x509_crt_get_raw_issuer_dn: ADD.
1342 gnutls_x509_crt_get_raw_dn: ADD.
1344 * Version 1.7.9 (released 2007-05-12)
1346 ** X.509 certificates are preferred over OpenPGP keys.
1347 This is a change in the semantics of gnutls_set_default_priority.
1349 ** The included copy of OpenCDK has been updated to 0.6.1.
1350 There has been some API changes in OpenCDK, and the GnuTLS layer have
1351 been modified as well. Note that while there are API/ABI incompatible
1352 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
1353 its API/ABI have not changed. From this version on, GnuTLS requires
1354 OpenCDK 0.6.0 or later.
1356 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
1358 ** Change certtool's default serial number from 0 to a time-based value.
1360 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
1361 Before, we remove the parameters field, which resulted in a slightly
1362 different DER encoding which in turn caused signature verification
1363 failures of GnuTLS-generated RSA certificates in some other
1364 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
1365 you read, this may or may not be correct, but our new behaviour appear
1366 to be consistent with other widely used implementations.
1368 ** Fix mem leaks in gnutls_x509_crt_print.
1370 ** API and ABI modifications:
1371 No changes since last version.
1373 * Version 1.7.8 (released 2007-04-16)
1375 ** Added examples for the authorization extension.
1376 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
1378 ** The examples only use gnutls_set_default_priority().
1379 The exception is when DH_ANON is needed.
1381 ** Improve gnutls_set_default_priority() priorities.
1382 The new approach is for it to try and negotiate all secure and
1383 standard mechanisms available. Currently, DH_ANON ciphersuites and
1384 LZO compressions are not enabled by default, because they are,
1385 respectively, insecure and non-standardized. Note that TLS 1.2 will
1386 not be enabled by default in non-experimental release until it has
1387 been approved by the IETF.
1389 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
1390 This means that to get DH_ANON and LZO compression, you'll need to
1391 specify that manually using '--kx anon' or '--comp lzo'.
1393 ** Minor fixes to the human display format of X.509 certificates.
1395 ** New APIs to extract Distinguished Name's from X.509 certificates.
1396 Based on patch from Howard Chu <hyc@symas.com>.
1398 ** Improved library searching for opencdk.
1399 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
1400 The deprecated opencdk.m4 is no longer used.
1402 ** New APIs to list supported algorithms in the library.
1403 The APIs are gnutls_cipher_list, gnutls_mac_list,
1404 gnutls_compression_list, gnutls_protocol_list,
1405 gnutls_certificate_type_list, gnutls_kx_list, and
1406 gnutls_cipher_suite_info. Suggested by Howard Chu <hyc@symas.com>.
1408 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
1410 ** New configure option --disable-tls-authorization to disable tls-authz.
1412 ** Fix prototype for `gnutls_psk_set_client_credentials'.
1413 The last parameter was renamed from 'flags' to 'format' and the type
1414 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
1415 which shouldn't cause any ABI changes. Reported by ludo@chbouib.org
1418 ** Fix allocation in gnutls_certificate_set_openpgp_key.
1419 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
1421 ** API and ABI modifications:
1422 gnutls_x509_dn_t: ADD.
1423 gnutls_x509_ava_st: ADD.
1424 gnutls_x509_crt_get_subject,
1425 gnutls_x509_crt_get_issuer: ADD.
1426 gnutls_x509_dn_get_rdn_ava: ADD.
1427 gnutls_cipher_list: ADD.
1428 gnutls_mac_list: ADD.
1429 gnutls_compression_list: ADD.
1430 gnutls_protocol_list: ADD.
1431 gnutls_certificate_type_list: ADD.
1432 gnutls_kx_list: ADD.
1433 gnutls_cipher_suite_info: ADD.
1435 * Version 1.7.7 (released 2007-02-22)
1437 ** Support for supplemental handshake messages and authorization data.
1438 Supplemental data is described in RFC 4680 and the authorization
1439 extensions in draft-housley-tls-authz-extns-07.
1441 ** Support for authorization data in gnutls-cli and gnutls-serv.
1442 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
1444 ** Fix for gnutls_x509_crt_check_hostname.
1445 Before it would have reported that the certificate matched a hostname
1446 when it did not have any dNSName or any CN field. Report and tiny
1447 patch from "Richard W.M. Jones" <rjones@redhat.com>.
1449 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
1450 Tests regressions of the bug, and several other features.
1452 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
1453 Before there were no support for iPAddress SAN's during comparison.
1455 ** New API to print information about CRL's.
1456 The function is gnutls_x509_crl_print.
1458 ** New API to extract signature value from CRL's.
1459 The function is gnutls_x509_crl_get_signature.
1461 ** Support for directoryName Subject Alternative Name's.
1462 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
1463 string in the provided buffer.
1465 ** Internal improvements to certtool.
1466 It uses gnutls_x509_crl_print to print CRL information. It uses some
1467 more gnulib modules to simplify error handling.
1469 ** API and ABI modifications:
1470 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
1471 gnutls_supplemental_data_format_type_t: ADD.
1472 gnutls_authz_data_format_type_t: ADD.
1473 gnutls_supplemental_get_name: ADD.
1474 gnutls_authz_recv_callback_func,
1475 gnutls_authz_send_callback_func: ADD, callback prototypes.
1476 gnutls_authz_enable: ADD.
1477 gnutls_authz_send_x509_attr_cert,
1478 gnutls_authz_send_saml_assertion,
1479 gnutls_authz_send_x509_attr_cert_url,
1480 gnutls_authz_send_saml_assertion_url: ADD.
1481 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
1482 gnutls_x509_crl_print: ADD.
1483 gnutls_x509_crl_get_signature: ADD.
1485 * Version 1.7.6 (released 2007-02-12)
1487 ** Support for 'otherName' Subject Alternative Names.
1488 The existing API gnutls_x509_crt_get_subject_alt_name may now return
1489 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
1490 To find out the otherName OID (necessary for proper parsing of the
1491 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
1492 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
1493 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
1494 simplify OID matching. Suggested by Matthias Wimmer <m@tthias.eu>.
1496 ** Certtool can print otherName SAN values for certificates.
1497 For known otherName OIDs (currently only id-on-xmppAddr as defined by
1498 RFC 3920), it will also print the name.
1500 ** Fix TLS 1.2 RSA signing in servers.
1501 Before it used the old-style MD5+SHA1 signature, but the TLS
1502 signatures should be normal PKCS#1 signatures. FYI, we use and
1503 require that DigestInfo parameters are present and NULL for TLS 1.2.
1505 ** Add APIs to access X.509 extensions sequentially.
1506 The existing APIs gnutls_x509_crt_get_extension_oid() and
1507 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
1508 inspect the extensions in the order defined by the certificate.
1510 ** Add API to extract signature value from X.509 certificates.
1511 The function is gnutls_x509_crt_get_signature.
1513 ** Fix crash when generating proxy certificates in batch mode.
1514 If you don't specify a proxy policy in batch mode, it will use
1517 ** Add API to print information about X.509 certificates.
1518 The function is gnutls_x509_crt_print.
1520 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
1521 One consequence of this is that the output syntax has changed
1522 slightly. Some more fields are printed.
1526 ** API and ABI modifications:
1527 gnutls_x509_crt_print: ADD
1528 gnutls_certificate_print_formats_t: ADD, new enum.
1529 gnutls_x509_crt_get_signature: ADD.
1530 gnutls_x509_crt_get_extension_data: ADD.
1531 gnutls_x509_crt_get_extension_info: ADD.
1532 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
1533 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
1534 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
1536 * Version 1.7.5 (released 2007-02-06)
1538 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
1541 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
1543 ** Fix --list output for gnutls-cli and gnutls-serv.
1544 Mention TLS1.2, SHA512 etc.
1546 ** Manual contains new section on setting up a test HTTP server.
1547 A server set up following those descriptions are available online via
1548 <http://www.gnutls.org/server.html>.
1550 ** Update of gnulib files.
1552 ** API and ABI modifications:
1553 No changes since last version.
1555 * Version 1.7.4 (released 2007-02-05)
1557 ** Support for RSA signing using SHA-256/384/512.
1558 A new self test "sha2" tries to build a long X.509 certificate chain
1559 testing all new hashes.
1561 ** The gnutls-serv tool now use static DH parameters if none are supplied.
1563 ** Discuss proxy certificates in the manual.
1565 ** Improve bibliographical citations in the manual.
1567 ** Update of gnulib files.
1569 ** Fix certtool template handling of pathLenConstraints.
1570 It now defaults to -1 instead of 0, which causes the field to be
1571 missing unless the template specify it.
1573 ** API and ABI modifications:
1576 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
1579 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
1580 GNUTLS_SIGN_RSA_SHA256,
1581 GNUTLS_SIGN_RSA_SHA384,
1582 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
1584 * Version 1.7.3 (released 2007-02-01)
1586 ** New option to certtool: --generate-proxy.
1587 This will generate a Proxy Certificate from an end entity certificate.
1588 Proxy Certificates are documented in RFC 3820. You will need to
1589 specify the proxy certificate's private key with --load-privkey, the
1590 user certificate with --load-certificate and the private key used to
1591 sign the new proxy certificate with --load-ca-privkey. Certtool will
1592 query for proxy path length and the policy language OID. Currently
1593 only OIDs that have an empty policy are supported (which includes the
1594 two OIDs defined by RFC 3820).
1596 ** Certtool --certificate-info now prints information for Proxy Certificates.
1597 Before the proxy extension was just printed as DER encoded data.
1599 ** New APIs to set proxy subject names and get/set proxy cert extension.
1601 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
1603 ** Added self-test to test for regressions of pathLenConstraint bug.
1604 Incidentally, this also test (some) other regressions or changes in
1605 the output from certtool --certificate-info.
1607 ** When certtool generates CA certificates, pressing enter on the path
1608 ** length constraint query will now remove the field.
1609 Before it set the path length constraint to 0, which is a rather poor
1612 ** Certtool now print times in UTC when printing certificate/CRL info.
1614 ** Add better fix to work around C++ compiler bug on Mac OS X.
1615 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
1617 ** Fix import of ASCII armored OpenPGP keys.
1618 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
1620 ** Update of gnulib files.
1622 ** API and ABI modifications:
1623 gnutls_x509_crt_set_proxy_dn: ADD.
1624 gnutls_x509_crt_set_proxy: ADD.
1625 gnutls_x509_crt_get_proxy: ADD.
1627 * Version 1.7.2 (released 2007-01-14)
1629 ** Certtool now print the value of the pathLenConstraints field for certs.
1631 ** Certtool now query for path length constraints when generating CA certs.
1632 For batch uses, the certtool configuration name is "path_len".
1633 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
1635 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
1636 The new functions gnutls_x509_crt_get_basic_constraints and
1637 gnutls_x509_crt_set_basic_constraints provide a superset of the
1638 functionality in the old gnutls_x509_crt_get_ca_status and
1639 gnutls_x509_crt_set_ca_status (respectively), but the old functions
1640 will continue to be supported.
1642 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
1643 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp. A proper
1644 OpenCDK release with this patch will be made soon, which should bump
1645 the OpenCDK version number. Patch by Mario Lenz <mario.lenz@gmx.net>.
1647 ** Certtool --to-p12 can now store more than one certificate in the blob.
1648 Before it could only store one certificate, but now it will read and
1649 store as many certificate there are from the --load-certificate file.
1650 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
1652 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
1653 In particular, the OpenPGP function variables are no longer part of
1654 the exported libgnutls interface, and no header files from
1655 libgnutls-extra (GPL) are needed by libgnutls (LGPL). The variables
1656 were never intended for non-internal purposes, and thus this does not
1657 imply a change in the external API/ABI.
1659 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
1660 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1662 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
1663 Before these parameters were set to make GnuTLS build under mingw32,
1664 however, they appear to no longer be necessary.
1666 ** A minor fix to the C++ library to make it build.
1667 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
1669 ** Update of gnulib files.
1671 ** API and ABI modifications:
1672 gnutls_x509_crt_get_basic_constraints: ADD.
1673 gnutls_x509_crt_set_basic_constraints: ADD.
1674 cdk_pubkey_to_sexp: ADD (in opencdk).
1675 cdk_seckey_to_sexp: ADD (in opencdk).
1677 * Version 1.7.1 (released 2006-12-28)
1679 ** TLS 1.2 server side fix.
1680 The Certificate Request sent did not contain the list of supported
1681 hashes field, thus violating the protocol. It will now contain an
1682 empty list. Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1684 ** TLS 1.2 DSA signature verification fix.
1685 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1687 ** Fix the list of trusted CAs that server's send to clients.
1688 Before, the list contained issuer DN's instead of subject DN's of the
1689 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
1691 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
1692 Also added a self-test in tests/certificate_set_x509_crl.c to test the
1693 function. Reported by Max Kellermann <max@duempel.org>.
1695 ** Encode UID fields in DN's as DirectoryString.
1696 Before GnuTLS encoded and parsed UID fields as IA5String. This was
1697 incorrect, it should have used DirectoryString. Now it will use
1698 DirectoryString for the UID field, but for backwards compatibility it
1699 will also accept IA5String UID's. Reported by Max Kellermann
1702 ** Improve out-of-sourcedir builds from CVS.
1703 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1705 ** Bootstrap tools changed.
1706 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
1707 building GnuTLS from CVS. Libtool 1.5.22 is used.
1709 ** Fixed a syntax error in lib/gnutls.asn.
1710 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
1712 ** Added German translation of GnuTLS messages.
1714 ** Update of gnulib files.
1716 ** API and ABI modifications:
1717 No changes since last version.
1719 * Version 1.7.0 (released 2006-11-29)
1721 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
1722 The details is that the protocol priority set by
1723 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
1724 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
1726 ** Preliminary support for TLS 1.2.
1727 The client has been successfully tested against
1728 https://www.mikestoolbox.org:4433/.
1730 ** Anonself test now print a lot of debugging info, including TLS version.
1732 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
1734 ** Update of gnulib files.
1736 ** API and ABI modifications:
1737 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
1739 *** Pulled up from stable 1.6.x branch:
1741 ** Fix ./configure failure with non-GCC compilers.
1742 This fixes the following error message:
1743 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
1744 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
1746 * Version 1.6.3 (released 2007-05-26)
1748 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
1749 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>. Backported
1750 from the 1.7.x branch, see
1751 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
1753 ** Have PKCS8 parser return better error codes.
1754 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
1755 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
1756 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
1758 ** Fix mem leak for sessions with client authentication via certificates.
1759 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
1760 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
1762 ** Fix building of 'tlsia' self test.
1763 Earlier some gcc are known to build tlsia linking to
1764 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
1765 the build directory, even though command line parameters look OK.
1766 Changing order of some parameters fixes it.
1768 ** API and ABI modifications:
1769 gnutls_x509_crt_get_raw_issuer_dn: ADD.
1770 gnutls_x509_crt_get_raw_dn: ADD.
1772 * Version 1.6.2 (released 2007-04-18)
1774 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
1775 Before, we remove the parameters field, which resulted in a slightly
1776 different DER encoding which in turn caused signature verification
1777 failures of GnuTLS-generated RSA certificates in some other
1778 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
1779 you read, this may or may not be correct, but our new behaviour appear
1780 to be consistent with other widely used implementations.
1782 ** Regenerate the PKIX ASN.1 syntax tree.
1783 For some reason, after changing the ASN.1 type of ldap-UID in the last
1784 release, the generated C file built from the ASN.1 schema was not
1785 refreshed. This can cause problems when reading/writing UID
1786 components inside X.500 Distinguished Names. Reported by devel
1787 <dev001@pas-world.com>.
1789 ** Updated translations.
1791 ** API and ABI modifications:
1792 No changes since last version.
1794 * Version 1.6.1 (released 2006-12-28)
1796 ** Fix the list of trusted CAs that server's send to clients.
1797 Before, the list contained issuer DN's instead of subject DN's of the
1798 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
1800 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
1801 Reported by Max Kellermann <max@duempel.org>.
1803 ** Encode UID fields in DN's as DirectoryString.
1804 Before GnuTLS encoded and parsed UID fields as IA5String. This was
1805 incorrect, it should have used DirectoryString. Now it will use
1806 DirectoryString for the UID field, but for backwards compatibility it
1807 will also accept IA5String UID's. Reported by Max Kellermann
1810 ** Fix ./configure failure with non-GCC compilers.
1811 This fixes the following error message:
1812 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
1813 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
1815 ** API and ABI modifications:
1816 No changes since last version.
1818 * Version 1.6.0 (released 2006-11-17)
1820 ** No changes since 1.5.5.
1821 The major changes compared to the 1.4.x branch are:
1823 *** A GnuTLS C++ library is part of the official distribution.
1824 Currently there are no examples or documentation, but hopefully this
1825 will change. See gnutlsxx.h for the API.
1827 *** Windows is a supported platform.
1828 There are, however, two know bugs. One is related to select() in
1829 command line tools (not, nota bene, in the library), the other is a
1830 problem with libgcrypt that causes delays. Help is needed to resolve
1831 those issues, so we feel we can't delay the release because of this.
1833 *** New APIs for custom push/pull function error reporting.
1834 The new APIs are gnutls_transport_set_errno and
1835 gnutls_transport_set_global_errno. See the release notes for version
1836 1.5.4 for more information.
1838 *** Self tests are run under valgrind, if available. See --disable-valgrind.
1840 * Version 1.5.5 (released 2006-11-16)
1842 ** Correctly bump shared library version after adding new APIs.
1843 This was forgotten in the last release.
1845 ** Fix unsigned vs signed problem in ex-x509-info.c example.
1846 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
1848 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
1850 ** Update of gnulib files.
1852 ** API and ABI modifications:
1853 No changes since last version.
1855 * Version 1.5.4 (released 2006-11-07)
1857 ** New API functions to set errno in push/pull functions.
1858 Under Windows, setting the errno variable in a push/pull replacement
1859 may end up setting the wrong errno variable, and GnuTLS send/recv
1860 functions become confused about the real errno returned from a failed
1861 push/pull function. Therefor, we have added two APIs to set the errno
1862 variable used by GnuTLS. The APIs can also help to keep things
1863 thread-safe, by avoiding potentially global variables. Typically,
1864 instead of setting errno in your push/pull function, you will call one
1865 of these functions. It is recommended to use
1866 gnutls_transport_set_errno, but if you don't have the session variable
1867 easily accessible in the push/pull replacement function, you can use
1868 gnutls_transport_set_global_errno. Suggested by Tim Kosse
1869 <tim.kosse@filezilla-project.org>.
1871 void gnutls_transport_set_errno (gnutls_session_t session, int err);
1872 void gnutls_transport_set_global_errno (int err);
1874 ** When calling `recv' or `send' Windows errors are handled properly.
1875 The Windows recv/send functions doesn't use errno, and GnuTLS now use
1876 WSAGetLastError to access the error condition instead.
1878 ** Several OpenPGP API fixes.
1879 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès). The most
1880 important fix is to change the return value of
1881 gnutls_openpgp_privkey_get_pk_algorithm and
1882 gnutls_openpgp_key_get_pk_algorithm from 'int' to
1883 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
1884 compatible with 'int').
1886 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
1887 ** version, try to negotiate the highest version support by the GnuTLS server,
1888 ** instead of the lowest.
1889 Reported by <Pasi.Eronen@nokia.com>.
1891 ** Replace old constructs with use of gnulib modules.
1892 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
1893 the code. If the headers doesn't exist on the target system, gnulib
1894 will make sure its replacement header files are used instead.
1896 ** Fix SOVERSION computation for *.def files.
1897 This fixes build errors similar to "No rule to make target
1898 `libgnutls-`expr', needed by `all-am'." when building for Windows.
1900 ** gnutls_check-version uses strverscmp from gnulib.
1902 ** Update of gnulib files.
1904 ** API and ABI modifications:
1905 gnutls_transport_set_errno: ADD
1906 gnutls_transport_set_global_errno: ADD
1908 * Version 1.5.3 (released 2006-10-26)
1910 ** Add new self-test of RSA-MD5 signature chains.
1911 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
1912 when verifying X.509 chains. The code is in tests/rsa-md5-collision/
1913 and is based on the work by Marc Stevens et al, see
1914 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
1916 ** Re-factor self tests.
1918 ** The include copy of Libtasn1 is updated to version 0.3.7.
1920 ** The included copy of OpenCDK is updated to version 0.5.11.
1922 ** Fix the filename of the *.def file on Windows after library version bump.
1924 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
1925 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
1926 gnulib modules. Earlier we could only use the LGPL'ed module from
1927 gnulib, because two gnulib directories in the same project didn't
1930 ** API and ABI modifications:
1931 No changes since last version.
1933 * Version 1.5.2 (released 2006-10-03)
1935 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
1936 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
1937 shared library version than this version, so you'll have to remove
1938 them and possibly relink your applications. The reason for this is
1939 that no API/ABI changes have been made since the 1.4.x branch, and
1940 that incrementing the shared library version was a mistake. Reported
1941 by Andreas Metzler <ametzler@downhill.at.eu.org>.
1943 ** Fix off-by-one error when computing length to malloc.
1944 The code is used by gnutls_openpgp_add_keyring_file and
1945 gnutls_openpgp_add_keyring_mem. Reported by "Adam Langley"
1946 <agl@imperialviolet.org>.
1948 ** Add version script for the GnuTLS C++ library.
1949 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1951 ** Fix the C++ compiler detection logic.
1952 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1954 ** Update of gnulib files.
1956 ** API and ABI modifications:
1957 No changes since last version.
1959 * Version 1.5.1 (released 2006-09-21)
1961 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
1962 ** Crypto 06 rump session attack.
1963 In particular, we check that the digestAlgorithm.parameters field is
1964 missing or empty, to avoid that it can contain "garbage" that may be
1965 used to alter the numeric properties of the signature. See
1966 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
1967 not exactly the same as the problem we fix here). Reported by Yutaka
1968 OIWA <y.oiwa@aist.go.jp>.
1970 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
1971 up to date information.
1973 ** Add self test to test for above flaw.
1975 ** Fix gnutls-cli-debug regarding resume support detection.
1976 Earlier, if the session-id from the server had a length of 0, it would
1977 indicate the the server supports resumption, which isn't the case.
1978 Reported by Kataja Kai <kai.kataja@op.fi>.
1980 ** Fix building of examples on FreeBSD by including netinet/in.h.
1981 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
1983 ** Fix certtool bug that caused the private key to not be loaded when
1984 generating a certificate with --load-request, which in turn triggered
1985 another unrelated bug in gnutls_x509_crt_sign2 (also fixed). Reported
1986 by Sascha Ziemann <sascha.ziemann@secunet.com>.
1988 ** gnutls-cli and gnutls-serv works on Windows.
1989 The problem was the select() call that doesn't work on file
1990 descriptors (stdin) on Windows. We borrowed some code from plibc to
1991 solve this. It appears to be somewhat unreliable though.
1993 ** Autoconf 2.60 is now used.
1995 ** API and ABI modifications:
1996 No changes since last version.
1998 * Version 1.5.0 (released 2006-08-13)
2000 ** Change SRP and Cert-Type extensions to match IANA registry.
2002 ** Fixed bug in OpenPGP authentication handshake.
2004 ** Improvements for building under MinGW.
2005 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
2006 header. Calls WSAStartup and WSACleanup in gnutls_global_init and
2007 gnutls_global_deinit, respectively. Loads getaddrinfo and getnameinfo
2008 at run-time from ws2_32.dll, and falls back on a simple replacement if
2009 it is not available. Builds the library with -mms-bitfields
2010 -Wl,--enable-runtime-pseudo-reloc. Links with --output-def, to
2011 create *.def files, which are installed.
2013 ** The examples now (conditionally) include config.h and link to gnulib.
2014 No other source changes were necessary, so the examples should
2015 continue to be possible to use stand-alone without any autoconf or
2018 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
2019 You may unconditionally disable it with --disable-cxx. See
2020 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
2023 ** Made command line tool '--version' behave according to GNU Standards.
2024 This enables 'make distcheck' to succeed.
2026 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
2028 ** Make --without-included-libtasn1 work.
2029 Reported by Daniel Black <dragonheart@gentoo.org>.
2031 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
2032 See http://www.gnu.org/software/gnutls/security.html regardging
2033 GNUTLS-SA-2006-2 for more up to date information. Reported by
2034 satyakumar <satyam_kkd@hyd.hellosoft.com>.
2036 ** API and ABI modifications:
2037 No changes since last version.
2039 * Version 1.4.5 (released 2006-11-06)
2041 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
2042 ** version, try to negotiate the highest version support by the GnuTLS server,
2043 ** instead of the lowest.
2044 Reported by <Pasi.Eronen@nokia.com>.
2046 ** Fix typo in doc/examples/ex-serv-pgp.c.
2047 Reported by Adam Langley" <agl@imperialviolet.org>.
2049 ** API and ABI modifications:
2050 No changes since last version.
2052 * Version 1.4.4 (released 2006-09-12)
2054 ** Relax the test that caught signatures that exploit the variant of
2055 ** Bleichenbacher's Crypto 06 rump session attack on our
2056 ** verification logic flaw.
2057 In particular, we now permit the digestAlgorithm.parameters field to
2058 be present but empty, whereas in 1.4.3 we actually checked that the
2061 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
2062 The messages are only printed in debug mode, which is not recommended
2063 for normal use, and thus logging this situation cannot be abused as an
2064 oracle in typical recommended situations.
2066 ** API and ABI modifications:
2067 No changes since last version.
2069 * Version 1.4.3 (released 2006-09-08)
2071 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
2072 ** Crypto 06 rump session attack.
2073 In particular, we check that the digestAlgorithm.parameters field is
2074 empty, to avoid that it can contain "garbage" that may be used to
2075 alter the numeric properties of the signature. See
2076 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
2077 not exactly the same as the problem we fix here). Reported by Yutaka
2078 OIWA <y.oiwa@aist.go.jp>.
2080 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
2081 up to date information.
2083 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
2084 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
2085 Reported by Werner Koch <wk@gnupg.org>.
2087 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
2088 up to date information.
2090 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
2092 ** API and ABI modifications:
2093 No changes since last version.
2095 * Version 1.4.2 (released 2006-08-12)
2097 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
2098 This can happen if you call gnutls_certificate_verify_peers2 and have
2099 a certain mix of local CA certificates and the peer send special
2100 certificates, that together trigger certain behaviour. It is not
2101 known at this point whether the crash can be triggered without the
2102 special local CA certificate, and thus turn this into a remote crash
2103 of clients that verify server certificates when they talk to a server
2104 with the special server certificate. See GNUTLS-SA-2006-2 on
2105 http://www.gnu.org/software/gnutls/security.html for more up to date
2106 information. Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
2108 ** Change SRP and Cert-Type extensions to match IANA registry.
2110 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
2112 ** Make --without-included-libtasn1 work.
2113 Reported by Daniel Black <dragonheart@gentoo.org>.
2115 ** API and ABI modifications:
2116 No changes since last version.
2118 * Version 1.4.1 (released 2006-06-14)
2120 ** Replaced inactive ifdefs to enable openpgp support in test programs.
2122 ** Fixed bug in OpenPGP authentication handshake.
2124 ** Fixed typographical in man pages.
2126 ** Build fixes of the manual.
2128 ** Added Swedish translation.
2130 ** API and ABI modifications:
2131 No changes since last version.
2133 * Version 1.4.0 (released 2006-05-15)
2135 ** Remove GnuTLS 0.8.x compatibility functions.
2137 ** The libgcrypt RNG is initialized in gnutls_global_init().
2139 ** TLS/IA API changes from Emile van Bergen.
2140 A dummy credential structure is not needed now, if you wish to use the
2141 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
2144 ** The self-tests are now run under valgrind, if it is installed.
2146 ** Libtasn1 is updated to 0.3.4, and that version is now required.
2148 ** The command line tools now use getaddrinfo and support IPv6.
2150 ** API and ABI modifications:
2151 _gnutls_x509_get_raw_crt_activation_time,
2152 _gnutls_x509_get_raw_crt_expiration_time: Removed.
2153 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
2154 gnutls_ia_enable: Added.
2156 * Version 1.3.5 (released 2006-03-08)
2158 ** Error messages are now translated using GNU Gettext.
2160 ** The function gnutls_x509_crt_to_xml now return an internal error.
2161 This means that the code to convert X.509 certificates to XML format
2162 does not work any more. The reason is that the function called
2163 libtasn1 internal functions. It seems unclean for libtasn1 to export
2164 the APIs needed here. Instead it would be better to implement XML
2165 support inside libtasn1 properly. If you need this functionality
2166 strongly, please consider looking into implementing this suggested
2167 approach instead. As a workaround, you may also modify lib/x509/xml.c
2168 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
2170 ** Libraries are now built with libtool's -no-undefined.
2171 This helps producing libraries for Windows using mingw32.
2173 ** Doc fixes to explain that gnutls_record_send can block.
2175 ** Libtasn1 0.3.1 or later is now required.
2176 The include copy has been updated too.
2178 ** gnutls-cli can now recognize services and port numbers with the -p option.
2180 ** API and ABI modifications:
2181 No changes since last version.
2183 * Version 1.3.4 (released 2006-02-09)
2185 ** Fix read of out bounds bug in DER parser.
2186 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
2187 Protover SSL. Libtasn1 0.2.18 is now required, which contains the
2188 previous bug fix. The included libtasn1 version in GnuTLS has been
2191 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
2192 longer invalidate a session if the underlying send fails, but it will
2193 prevent future writes. That is to allow reading the already received data.
2194 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
2196 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
2197 gnutls_certificate_set_x509_trust(), that caused memory corruption if
2198 more than one certificates were added. Report and patch by Max Kellermann.
2200 ** Fix build problems of OpenCDK on AIX.
2201 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
2203 ** API and ABI modifications:
2204 No changes since last version.
2206 * Version 1.3.3 (released 2006-01-12)
2208 ** New API to access the TLS master secret.
2209 When possible, you should use the TLS PRF functions instead.
2210 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
2212 ** Improved handling when multiple libraries use GnuTLS at the same time.
2213 Now gnutls_global_init() can be called multiple times, and
2214 gnutls_global_deinit() will only deallocate the structure when it has
2215 been called as many times as gnutls_global_init() was called.
2217 ** Added a self test of TLS resume functionality.
2219 ** Fix crash in TLS resume code, caused by TLS/IA changes.
2221 ** Documentation fixes about thread unsafety, prompted by
2222 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
2223 In particular, gnutls_global_init() and gnutls_global_deinit() are not
2224 thread safe. Careful callers may want to protect the call using a
2225 mutex. The problem could also be ignored, which would cause a memory
2226 leak under rare conditions when two threads invoke the function
2227 roughly at the same time.
2229 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
2231 ** The code was indented again, including the external header files.
2233 ** API and ABI modifications:
2234 New functions to retrieve the master secret value:
2235 gnutls_session_get_master_secret
2237 Add a 'const' keyword to existing API:
2238 gnutls_x509_crq_get_challenge_password
2240 * Version 1.3.2 (released 2005-12-15)
2242 ** GnuTLS now support TLS Inner application (TLS/IA).
2243 This is per draft-funk-tls-inner-application-extension-01. This
2244 functionality is added to libgnutls-extra, so it is licensed under the
2245 GNU General Public License.
2247 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
2248 The PRF is used by some protocols building on TLS, such as EAP-PEAP
2249 and EAP-TTLS. One function to access the raw PRF and one to access
2250 the PRF seeded with the client/server random fields are provided.
2251 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
2253 ** New APIs to acceess the client and server random fields in a session.
2254 These fields can be useful by protocols using TLS. Note that these
2255 fields are typically used as input to the TLS PRF, and if this is your
2256 intended use, you should use the TLS PRF API that use the
2257 client/server random field directly. Suggested by Jouni Malinen
2258 <jkmaline@cc.hut.fi>.
2260 ** Internal type cleanups.
2261 The uint8, uint16, uint32 types have been replaced by uint8_t,
2262 uint16_t, uint32_t. Gnulib is used to guarantee the presence of
2263 correct types on platforms that lack them. The uint type have been
2264 replaced by unsigned.
2266 ** API and ABI modifications:
2267 New functions to invoke the TLS Pseudo-Random-Function (PRF):
2271 New functions to retrieve the session's client and server random values:
2272 gnutls_session_get_server_random
2273 gnutls_session_get_client_random
2275 New function, to perform TLS/IA handshake:
2278 New function to decide whether to do a TLS/IA handshake:
2279 gnutls_ia_handshake_p
2281 New functions to allocate a TLS/IA credential:
2282 gnutls_ia_allocate_client_credentials
2283 gnutls_ia_free_client_credentials
2284 gnutls_ia_allocate_server_credentials
2285 gnutls_ia_free_server_credentials
2287 New functions to handle the AVP callback:
2288 gnutls_ia_set_client_avp_function
2289 gnutls_ia_set_client_avp_ptr
2290 gnutls_ia_get_client_avp_ptr
2291 gnutls_ia_set_server_avp_function
2292 gnutls_ia_set_server_avp_ptr
2293 gnutls_ia_get_server_avp_ptr
2295 New functions, to toggle TLS/IA application phases:
2296 gnutls_ia_require_inner_phase
2298 New function to mix session keys with inner secret:
2299 gnutls_ia_permute_inner_secret
2301 Low-level API (used internally by gnutls_ia_handshake):
2302 gnutls_ia_endphase_send
2306 New functions that can be used after successful TLS/IA negotiation:
2307 gnutls_ia_generate_challenge
2308 gnutls_ia_extract_inner_secret
2310 Enum type with TLS/IA modes:
2313 Enum type with TLS/IA packet types:
2316 Enum values for TLS/IA alerts:
2317 GNUTLS_A_INNER_APPLICATION_FAILURE
2318 GNUTLS_A_INNER_APPLICATION_VERIFICATION
2320 New error codes, to signal when an application phase has finished:
2321 GNUTLS_E_WARNING_IA_IPHF_RECEIVED
2322 GNUTLS_E_WARNING_IA_FPHF_RECEIVED
2324 New error code to signal TLS/IA verify failure:
2325 GNUTLS_E_IA_VERIFY_FAILED
2327 * Version 1.3.1 (released 2005-12-08)
2329 ** Support for DHE-PSK cipher suites has been added.
2330 This method offers perfect forward secrecy.
2332 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
2333 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
2335 ** Corrected a bug in certtool for 64 bit machines. Reported
2336 by Max Kellermann <max@duempel.org>.
2338 ** New function to set a X.509 private key and certificate pairs, and/or
2339 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
2340 <emile@e-advies.nl>.
2342 The integrity of the PKCS#12 file is protected through a password
2343 based MAC; public-key based signatures for integrity protection are
2344 not supported. PKCS#12 bags may be encrypted using password derived
2345 symmetric keys, public-key based encryption is not supported. The
2346 PKCS#8 keys may be encrypted using passwords. The API use the same
2347 password for all operations. We believe that any more flexibility
2348 create too much complexity that would hurt overall security, but may
2349 add more PKCS#12 related APIs if real-world experience indicate
2352 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
2353 reported by Emile van Bergen <emile@e-advies.nl>.
2354 This will enable "certtool -k -8" to parse those keys.
2356 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
2357 Use "certtool -p -8" and press press enter at the prompt. Earlier,
2358 certtool would have encrypted the key using an empty password.
2360 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
2361 Earlier it would have prompted the user for it, even if --password was
2364 ** Added self test of PKCS#8 parsing.
2365 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
2366 pbeWithSHAAnd40BitRC2-CBC) formats are tested. The test is in
2369 ** API and ABI modifications:
2370 New function to set X.509 credentials from a PKCS#12 file:
2371 gnutls_certificate_set_x509_simple_pkcs12_file
2373 New gnutls_kx_algorithm_t enum type:
2376 New API to return session data (basically same as gnutls_session_get_data):
2377 gnutls_session_get_data2
2379 New API to set PSK Diffie-Hellman parameters:
2380 gnutls_psk_set_server_dh_params
2382 * Version 1.3.0 (2005-11-15)
2384 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
2385 This add several new APIs, see below. Read the updated manual for
2386 more information. A new self test "pskself" has been added, that will
2387 test this functionality.
2389 ** The session resumption data are now system independent.
2391 ** The code has been re-indented to conform to the GNU coding style.
2393 ** Removed the RIPEMD ciphersuites.
2395 ** Added a discussion of the internals of gnutls in manual.
2397 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
2399 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
2401 ** Make sure config.h is included first in a few files, from Albert Chin.
2403 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
2405 ** Don't install SRP programs and man pages if --disable-srp-authentication,
2408 ** API and ABI modifications:
2409 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
2411 New gnutls_credentials_type_t credential type:
2414 New credential types:
2415 gnutls_psk_server_credentials_t
2416 gnutls_psk_client_credentials_t
2418 New functions to allocate PSK credentials:
2419 gnutls_psk_allocate_client_credentials
2420 gnutls_psk_free_client_credentials
2421 gnutls_psk_free_server_credentials
2422 gnutls_psk_allocate_server_credentials
2424 New enum type for PSK key flags:
2425 gnutls_psk_key_flags
2427 New function prototypes for credential callback:
2428 gnutls_psk_client_credentials_function
2429 gnutls_psk_server_credentials_function
2431 New function to set PSK username and key:
2432 gnutls_psk_set_client_credentials
2434 New function to set PSK passwd file:
2435 gnutls_psk_set_server_credentials_file
2437 New function to extract PSK user in server:
2438 gnutls_psk_server_get_username
2440 New functions to set PSK callback:
2441 gnutls_psk_set_server_credentials_function
2442 gnutls_psk_set_client_credentials_function
2444 Use size_t instead of int for output size parameter:
2445 gnutls_srp_base64_encode
2446 gnutls_srp_base64_decode
2448 * Version 1.2.11 (2006-05-11)
2449 - The function gnutls_x509_crt_to_xml is not supported any more, and
2450 return an internal error. The reason is that the function called
2451 internal libtasn1 functions which are no longer exported from
2453 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
2454 - Updated gnulib compatibility files.
2455 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
2456 _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
2457 - API and ABI modifications:
2458 No changes since last version.
2460 * Version 1.2.10 (2006-02-09)
2461 - Fix read out bounds bug in DER parser. Reported by Evgeny Legerov
2462 <admin@gleg.net>, and debugging help from Protover SSL.
2463 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
2464 The included version has been updated too.
2465 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
2466 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
2467 - Corrected a bug in certtool for 64 bit machines. Reported
2468 by Max Kellermann <max@duempel.org>.
2469 - Corrected bugs in gnutls_certificate_set_x509_crl() and
2470 gnutls_certificate_set_x509_trust(), that caused memory corruption if
2471 more than one certificates were added. Report and patch by Max Kellermann.
2472 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
2473 longer invalidate a session if the underlying send fails, but it will
2474 prevent future writes. That is to allow reading the already received data.
2475 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
2477 * Version 1.2.9 (2005-11-07)
2478 - Documentation was updated and improved.
2479 - RSA-MD2 is now supported for verifying digital signatures.
2480 - Due to cryptographic advances, verifying untrusted X.509
2481 certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
2482 GNUTLS_CERT_INSECURE_ALGORITHM verification output. For
2483 applications that must remain interoperable, you can use the
2484 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
2485 flags when verifying certificates. Naturally, this is not
2486 recommended default behaviour for applications. To enable the
2487 broken algorithms, call gnutls_certificate_set_verify_flags with the
2488 proper flag, to change the verification mode used by
2489 gnutls_certificate_verify_peers2.
2490 - Make it possible to send empty data through gnutls_record_send,
2491 to align with the send(2) API.
2492 - Some changes in the certificate receiving part of handshake to prevent
2493 some possible errors with non-blocking servers.
2494 - Added numeric version symbols to permit simple CPP-based feature
2495 tests, suggested by Daniel Stenberg <daniel@haxx.se>.
2496 - The (experimental) low-level crypto alternative to libgcrypt used
2497 earlier (Nettle) has been replaced with crypto code from gnulib.
2498 This leads to easier re-use of these components in other projects,
2499 leading to more review and simpler maintenance. The new configure
2500 parameter --with-builtin-crypto replace the old --with-nettle, and
2501 must be used if you wish to enable this functionality. See README
2502 under "Experimental" for more information. Internally, GnuTLS has
2503 been updated to use the new "Generic Crypto" API in gl/gc.h. The
2504 API is similar to the old crypto/gc.h, because the gnulib code were
2505 based on GnuTLS's gc.h.
2506 - Fix compiler warning in the "anonself" self test.
2507 - API and ABI modifications:
2508 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
2509 This doesn't reflect a change in behaviour,
2510 so we don't break backwards compatibility.
2511 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
2512 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
2513 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
2514 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
2516 gnutls_x509_crt_list_verify,
2517 gnutls_x509_crt_verify, or
2518 gnutls_certificate_set_verify_flags.
2519 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
2520 used when broken signature algorithms
2521 is used (currently RSA-MD2/MD5).
2522 LIBGNUTLS_VERSION_MAJOR,
2523 LIBGNUTLS_VERSION_MINOR,
2524 LIBGNUTLS_VERSION_PATCH,
2525 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
2526 version number, can be used for feature existence
2529 * Version 1.2.8 (2005-10-07)
2530 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
2531 - Don't install the auxilliary libexamples library used by the
2532 examples in doc/examples/ on "make install", report and tiny patch
2533 from Thomas Klausner <tk@giga.or.at>.
2534 - If you pass a X.509 CA or PGP trust database to the command line
2535 tool, it will now abort the connection if the server certificate
2536 validation fails. Use the parameter --insecure to continue even
2537 after certificate validation failures. Inspired from discussion
2538 with Alexander Kotelnikov <sacha@myxomop.com>.
2539 - The test for socklen_t has been moved to gnulib.
2540 - Link failures for duplicate or missing "program_name" symbol has been fixed,
2541 patch from Martin Lambers <marlam@marlam.de>.
2542 - The command line tool and the examples no longer uses mmap or bzero,
2543 to make them more portable, patch from Martin Lambers
2545 - Made the PKCS #12 API handle null passwords. Based on patch by
2546 Anton Altaparmakov <aia21@cam.ac.uk>.
2547 - The GTK-DOC manual should build with current released tools.
2548 (But a copy of the output is included, so the tools are not required.)
2549 - The inet_ntop function is now used through gnulib.
2550 - API and ABI modifications:
2551 No changes since last version.
2553 * Version 1.2.7 (2005-09-09)
2554 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
2555 - Certtool now complains when reading out-of-range X.509 serial
2556 numbers, suggested by Fran <e_agf@yahoo.es>.
2557 - Certtool now uses the readline library (when available) when reading
2558 X.509 serial numbers.
2559 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
2560 - Fixed compile warning regarding socklen_t on Mingw32, reported by
2561 Martin Lambers <marlam@marlam.de>.
2562 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
2563 - Gnulib is now used for the core library, enabling future code cleanups.
2564 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
2565 suggested by Daniel Stenberg <daniel@haxx.se>.
2566 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
2567 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
2568 - Disable zlib support if zlib.h is not present.
2569 - A number of internal cleanups.
2570 - API and ABI modifications:
2571 No changes since last version.
2573 * Version 1.2.6 (2005-07-16)
2574 - MiniLZO updated to version 2.01 and moved to separate directory.
2575 - Collision between system LZO header files and MiniLZO header file
2576 fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
2577 - Will now test for liblzo functionality in liblzo2 too, reported by
2578 Thomas Klausner <tk@giga.or.at>.
2579 - Minilibtasn1 is now 0.2.14 (no code changes).
2580 - Some code changes to avoid GTK-DOC warnings.
2581 - API and ABI modifications:
2582 No changes since last version.
2584 * Version 1.2.5 (2005-07-03)
2585 - More builddir != srcdir fixes, reported by Mike Castle
2586 <dalgoda@ix.netcom.com>.
2587 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
2588 reported by Adam Langley <alangley@gmail.com>.
2589 - Corrected some stuff in minilzo detection. Pointed out by
2591 - MiniLZO updated to version 2.00.
2592 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
2593 - API and ABI modifications:
2594 No changes since last version.
2596 * Version 1.2.4 (2005-05-28)
2597 - Corrected some bugs that could affect 64 bit systems.
2598 - Some corrections in the header files to include the prototype
2599 of memmem properly (affected 64 bit systems). Report and patch
2600 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2601 - Introduced the --fix-key option to certtool, which can be used to
2602 regenerate the (optional) parameters in a private key. It should
2603 be used together with --key-info.
2604 - Corrected a bug in certificate chain verification that could lead
2605 to marking a trusted chain as non trusted, if the last certificate in
2606 the chain was a self signed one.
2607 - Gnulib portability files were updated.
2608 - License were updated to reflect new FSF address.
2609 - API and ABI modifications:
2610 No changes since last version.
2612 * Version 1.2.3 (2005-04-28)
2613 - Corrected bug in record packet parsing that could lead
2614 to a denial of service attack.
2615 - Corrected bug in RSA key export. Previously exported keys
2616 can be fixed using certtool. Use certtool -k <infile >outfile
2617 - API and ABI modifications:
2618 gnutls_x509_privkey_fix(): Add.
2620 * Version 1.2.2 (2005-04-25)
2621 - gnutls_error_to_alert() now considers
2622 GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
2623 - Fixed error in session resuming that could cause a crash in a session.
2624 - Fixed pkcs12 friendly name and local key identifier decoding.
2625 - Internal cleanups, removed duplicate typedef/struct definitions,
2626 and made source code include external include file, to check
2627 function prototypes during compile time.
2628 - API and ABI modifications:
2629 No changes since last version. At least not intentional, but due
2630 to the include header changes, there may be inadvertant changes,
2631 please let us know if you find any.
2633 * Version 1.2.1 (2005-04-04)
2634 - gnutls_bye() will no longer fail when RDWR is used and application
2635 data are available for reading.
2636 - Added more strict checks for the SRP parameters (g,n), when they
2637 are not in the included list.
2638 - Added warning to certtool when MD5 is being used for digital
2640 - Optimizations ("-O2 -finline-functions") are not enabled by default,
2641 instead the standard autoconf defaults are used. Use `./configure
2642 CFLAGS="-O2 -finline-functions"' to get the old optimizations.
2643 - Added the option --get-dh-params to certtool, in order to get the
2644 parameters included in the library primes and generators.
2645 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
2646 allow only trusted Version 1 CAs and introduced
2647 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
2648 - Nettle self tests now build properly, reported by Pierre
2649 <pierre42d@9online.fr>.
2650 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
2651 Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2652 - If the library has been compiled with features disabled, a warning is
2653 issued during the compilation of any program.
2654 - API and ABI modifications:
2655 gnutls_x509_crt_list_import(): Add
2656 gnutls_x509_crq_get_attribute_by_oid(): Add.
2657 gnutls_x509_crq_set_attribute_by_oid(): Add
2658 gnutls_x509_crt_set_extension_by_oid(): Add.
2659 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
2660 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
2662 * Version 1.2.0 (2005-01-27)
2663 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
2664 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and
2665 gnutls_x509_crl_sign2().
2666 - Fixed license header in source code files.
2668 * Version 1.1.23 (2005-01-18)
2669 - It is now possible to generate PKCS#12 structures without private
2670 keys using "certtool --to-p12", suggested by Fabian Fagerholm
2672 - Certtool now prints information for the RSA and DSA parameters of
2673 certificates and private keys.
2674 - Corrected the write of CRL distribution points.
2675 - The certificate chain verification function now checks certificates
2676 in the reverse order to minimize the spent resources.
2677 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
2678 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
2679 gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
2680 gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
2681 required, instead of the string length. That is, the value has been
2682 incremented by 1 to account for the terminating zero. Reported by
2683 Martin Lambers <marlam@web.de>.
2684 - Debug output shouldn't crash on platforms that doesn't handle NULL
2685 printf %s values. Reported by Michael.Ringe@aachen.utimaco.de.
2686 - Sync included copy of libtasn1 with version 0.2.13.
2687 - Client X.509 authenticated connections via gnutls-cli should now work again.
2689 * Version 1.1.22 (2004-11-04)
2690 - Replace GNU LD version script with Libtool -export-symbols-regex,
2691 from Joe Orton <joe@manyfish.co.uk>.
2692 - Documentation improvements.
2693 - Code indented using 'indent -i4 -kr'.
2694 - The API manual is included in Devhelp format. (Was in last release too,
2695 but the NEWS entry was forgotten.)
2696 - The OpenSSL compatibility code now use the internal crypto interface.
2697 - Added simple self test of OpenSSL compatibility library.
2698 - Internally, libtool convenience libraries are used.
2699 - Cleanups to configure.ac.
2701 * Version 1.1.21 (2004-10-27)
2702 - Print DN of certificates with unknown characters in them, but in hexform
2704 - Added second precision to the X.509 parsing and generation functions.
2705 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
2707 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
2708 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
2709 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
2710 <stephane.loeuillet@tiscali.fr>.
2711 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
2712 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
2713 - Add self test of PKCS#12 functionality in "certtool", based on test
2714 vectors from Joe Orton <joe@manyfish.co.uk>.
2715 - Fix library order in libgnutls*-config --libs output, to permit
2716 static linking, reported by Yoann Vandoorselaere
2717 <yoann@prelude-ids.org>.
2719 * Version 1.1.20 (2004-10-12)
2720 - Fix compile problem in gl/getpass.c on some systems.
2722 * Version 1.1.19 (2004-10-07)
2723 - Fix memory leak in gnutls_certificate_verify_peers and
2724 gnutls_certificate_free_credentials, report and patch by Simon
2725 Posnjak <simon.posnjak@cetrtapot.si>.
2726 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
2727 a key and no certificate to PKCS#12.
2728 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
2729 <gp@familiehaase.de>.
2730 - Fixes faulty getpass implementation in libextra/opencdk/, reported
2731 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2732 - Uses memmem instead of strnstr in lib/.
2733 - Using more GNULib portability files, although not yet inside lib/.
2734 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
2735 Nikos deprecated gnutls_certificate_verify_peers in favor of
2736 gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
2737 - Improvements to the manual.
2738 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
2739 - Known bug: the library require snprintf. This has not yet been
2740 fixed, but will be handled via GNULib later on.
2742 * Version 1.1.18 (2004-08-24)
2743 - Corrected handling of certificate with dates after year 2038.
2744 - Corrected DER decoder which could incorrectly treat input as BER and fail.
2745 - Correct certtool --smime-to-p7 end of line character handling.
2746 - Added example client and server for anonymous authentication.
2747 - Added self test that tests anonymous TLS client and server.
2748 - Added self tests of Nettle and generic crypto layer.
2749 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
2750 Online version at <http://www.gnu.org/software/gnutls/reference/>.
2751 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
2752 - Man pages for API functions are included.
2754 * Version 1.1.17 (2004-08-18)
2755 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
2756 reported by Robey Pointer <robey@danger.com>.
2757 - Generic crypto interface for secret key ciphers, hashes and randomness added.
2758 See section "Experimental" within section "COMPILATION ISSUES" in README.
2759 - Removed length limit on passwords read by 'certtool'.
2760 - Documentation fixes.
2762 * Version 1.1.16 (2004-08-15)
2763 - Fix missing gnulib linker parameter when building certtool.
2764 - Add gnulib module 'progname', needed by module 'error'.
2765 - Improve building with srcdir != objdir.
2767 * Version 1.1.15 (2004-08-15)
2768 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
2770 - Ported to Mac OS X / Darwin.
2771 - Ported to FreeBSD.
2773 * Version 1.1.14 (2004-08-09)
2774 - Documentation converted to Texinfo format.
2775 - Bug fix of test suite.
2776 - Configure now print build information, used by Autobuild.
2778 * Version 1.1.13 (2004-08-05)
2779 - Added simple self test suite.
2781 * Version 1.1.12 (2004-08-02)
2782 - Updated the SRP authentication to conform to the
2783 latest (yet unreleased) draft. Unfortunately this breaks
2784 compatibility with previous versions.
2785 - Changed the makefiles to be more portable.
2786 - SRP ciphersuites were moved to the gnutls library.
2787 - Added some default limits in the verification of certificate
2788 chains, to avoid denial of service attacks. Also added
2789 gnutls_certificate_set_verify_limits() to override them.
2790 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
2791 - Added gnutls_certificate_verify_peers2().
2793 * Version 1.1.11 (2004-07-16)
2794 - Added the '_t' suffix to all exported symbols.
2795 - Fixed bug in RSA encryption, report and patch by Martijn Koster
2796 <mak@greenhills.co.uk>.
2797 - Corrected a bug in certificate verification. Pointed out by
2798 Yoann Vandoorselaere <yoann@prelude-ids.org>
2799 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
2800 verification functions.
2801 - The ephemeral DH and RSA parameters are no longer stored in the
2803 - Do not free the SRP (prime and generator) parameters obtained from the
2804 callback if they are the static ones defined in extra.h
2805 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
2807 * Version 1.1.10 (2004-06-12)
2808 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
2809 - Corrected bug in TLS renegotiation.
2810 - Corrected bug in OpenPGP key loading using a callback.
2811 - gnutls-srpcrypt was renamed to srptool
2812 - Allow handshake requests by the client.
2813 - Automatically disable certificate types that do not have corresponding
2815 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
2816 - Opencdk library is being included if not found.
2817 - certtool can now add ip address SAN extension.
2818 - certtool has now support for more X.520 DN attribute types.
2819 - Better handling of EOF in gnutls_record_recv().
2820 - _gnutls_deinit() is no longer used. Sessions are not
2821 automatically removed any more, on abnormal termination.
2822 - Corrected session resuming in SRP ciphersuites.
2823 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
2824 - Added new functions to allow access to the ephemeral
2825 Diffie Hellman parameters.
2826 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
2827 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
2828 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
2829 gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
2830 RSA-EXPORT key exchange.
2831 - Some fixes in the session resuming code.
2832 - Added gnutls_openpgp_keyring_check_id().
2834 * Version 1.1.9 (2004-04-14)
2835 - Added support for authority key identifier and the extended key usage
2836 X.509 extension fields. The certtoool was updated to support them.
2837 - The RC2 cipher is no more included. The one in libgcrypt is now used.
2838 - Added batch support to certtool. Now it can use templates.
2840 * Version 1.1.8 (2004-04-07)
2841 - Implemented all the tests for the SRP group parameters in
2842 client side. This may lead to incompatibility with very
2844 - Corrected bug in RSA parameters handling which could cause
2846 - Optimized the copying of rsa_params.
2848 * Version 1.1.7 (2004-03-29)
2849 - Added gnutls_certificate_set_params_function() and
2850 gnutls_anon_set_params_function() that set the RSA or DH
2851 parameters using a callback.
2852 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
2853 and gnutls_x509_privkey_cpy().
2854 - Corrected a compilation issue when opencdk was installed in a
2855 non standard directory.
2856 - Deprecated: gnutls_srp_server_set_select_function(),
2857 gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
2859 * Version 1.1.6 (2004-02-24)
2860 - Several bug fixes, by Arne Thomassen.
2861 - Fixed a bug where 'server name' extension was always sent.
2863 * Version 1.1.5 (2004-01-06)
2864 - Added the gnutls_sign_algorithm type.
2866 * Version 1.1.4 (2004-01-04)
2867 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
2868 If they are of highest priority then the abbreviated handshake
2870 - Removed all references of missing files.
2871 - Changed handshake behaviour to send the lowest TLS version
2872 when an unsupported version was advertized. The current behaviour
2873 is to send the maximum version we support.
2874 - Corrected problem printing the DC attributes in a DN.
2876 * Version 1.1.3 (2003-12-30)
2877 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
2880 * Version 1.1.2 (2003-12-28)
2881 - Added CRL verification functionality to certtool.
2882 - Corrected the CRL distribution point extension handling.
2884 * Version 1.1.1 (2003-12-26)
2885 - Added PKCS #7 support to certtool utility.
2886 - Added support for reading and generating CRL distribution
2887 points extensions in certificates.
2888 - Added support for generating CRLs in the library and the
2890 - Added support for the Subject Key ID PKIX extension.
2892 * Version 1.1.0 (2003-12-21)
2893 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
2894 are no longer returned by the handshake function. Ciphersuites that
2895 require temporary parameters are removed when such parameters do not exist.
2896 - Added the callbacks gnutls_certificate_client_retrieve_function() and
2897 gnutls_certificate_server_retrieve_function(), to allow a client or a server
2898 to specify certificates for the handshake without storing them to the
2899 credentials structure.
2900 - Added support for generating and exporting DSA private keys.
2901 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
2902 certificate's key usage.
2903 - Added gnutls_openpgp_key_get_key_usage().
2905 * Version 1.0.25 (2005-04-27)
2906 - Corrected bug in record packet parsing that could lead
2907 to a denial of service attack.
2908 - Corrected bug in RSA key export.
2910 * Version 1.0.24 (2005-01-18)
2911 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
2913 * Version 1.0.23 (2004-11-13)
2914 - Replace GNU LD version script with Libtool -export-symbols-regex,
2915 from Joe Orton <joe@manyfish.co.uk>.
2916 - Copy libtasn1 has been updated to version 0.2.11.
2917 - Corrected the write of CRL distribution points.
2918 - It is now possible to generate PKCS#12 structures without private
2919 keys using "certtool --to-p12", suggested by Fabian Fagerholm
2922 * Version 1.0.22 (2004-10-28)
2923 - Print DN of certificates with unknown characters in them, but in hexform
2925 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
2927 - Added second precision to the X.509 parsing functions.
2928 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
2929 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
2930 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
2931 <stephane.loeuillet@tiscali.fr>.
2932 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
2933 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
2934 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
2935 - Fix library order in libgnutls*-config --libs output, to permit
2936 static linking, reported by Yoann Vandoorselaere
2937 <yoann@prelude-ids.org>.
2939 * Version 1.0.21 (2004-10-07)
2940 - Fix memory leak in gnutls_certificate_verify_peers and
2941 gnutls_certificate_free_credentials, report and patch by Simon
2942 Posnjak <simon.posnjak@cetrtapot.si>.
2943 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
2944 a key and no certificate to PKCS#12.
2945 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
2946 <gp@familiehaase.de>.
2947 - Avoid redefining getpass if system already has it, reported by
2948 Yoann Vandoorselaere <yoann@prelude-ids.org>.
2949 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
2950 - Known bug: the library require snprintf.
2952 * Version 1.0.20 (2004-08-18)
2953 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
2954 reported by Robey Pointer <robey@danger.com>.
2956 * Version 1.0.19 (2004-08-09)
2957 - Bug fix of test suite.
2959 * Version 1.0.18 (2004-08-05)
2960 - Added simple self test suite.
2962 * Version 1.0.17 (2004-08-02)
2963 - Updated the SRP authentication to conform to the
2964 latest (yet unreleased) draft. Unfortunately this breaks
2965 compatibility with previous versions.
2966 - Changed the makefiles to be more portable.
2967 - Added some default limits in the verification of certificate
2968 chains, to avoid denial of service attacks. Also added
2969 gnutls_certificate_set_verify_limits() to override them.
2970 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
2971 - Added gnutls_certificate_verify_peers2().
2973 * Version 1.0.16 (2004-07-10)
2974 - Do not free the SRP (prime and generator) parameters obtained from the
2975 callback if they are the static ones defined in extra.h.
2976 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
2977 - Some fixes in the makefiles.
2979 * Version 1.0.15 (2004-06-29)
2980 - Fixed bug in RSA encryption, report and patch by Martijn Koster
2981 <mak@greenhills.co.uk>.
2982 - Corrected a bug in certificate verification. Pointed out by
2983 Yoann Vandoorselaere <yoann@prelude-ids.org>.
2985 * Version 1.0.14 (2004-06-12)
2986 - Automatically disable certificate types that do not have corresponding
2988 - Updates in the documentation.
2989 - certtool can now add ip address SAN extension.
2990 - certtool has now support for more X.520 DN attribute types.
2991 - Opencdk library is being included if not found.
2992 - Added gnutls_openpgp_keyring_check_id().
2993 - Corrected a serious bug in the included libtasn1 library.
2994 - Corrected session resuming in SRP ciphersuites.
2995 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
2996 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
2997 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
2998 - Some fixes in the session resuming code.
3000 * Version 1.0.13 (2004-04-29)
3001 - Some complilation fixes.
3002 - Added the --xml parameter to the certtool utility.
3004 * Version 1.0.12 (2004-04-23)
3005 - Corrected bug in OpenPGP key loading using a callback.
3006 - Renamed gnutls-srpcrypt to srptool
3007 - Allow handshake requests by the client.
3008 * Things backported from the development branch:
3009 - Added support for authority key identifier and the extended key usage
3010 X.509 extension fields. The certtoool was updated to support them.
3011 - Added batch support to certtool. Now it can use templates.
3012 - The RC2 cipher is no more included. The one in libgcrypt is now used.
3014 * Version 1.0.11 (2004-04-17)
3015 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
3016 - Corrected bug in TLS renegotiation.
3018 * Version 1.0.10 (2004-04-03)
3019 - Corrected bug in RSA parameters handling which could cause
3021 - Corrected bug in SSL 3.0 authentication.
3023 * Version 1.0.9 (2004-03-29)
3024 - Added gnutls_certificate_set_params_function() and
3025 gnutls_anon_set_params_function() that set the RSA or DH
3026 parameters using a callback.
3027 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
3028 and gnutls_x509_privkey_cpy().
3029 - Corrected a compilation issue when opencdk was installed in a
3030 non standard directory.
3031 - Documented the changes need in multi-threaded application due
3032 to the new libgcrypt.
3034 * Version 1.0.8 (2004-02-28)
3035 - Corrected bug in mutual certificate authentication in SSL 3.0.
3037 * Version 1.0.7 (2004-02-25)
3038 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
3040 - Some updates in the documentation.
3042 * Version 1.0.6 (2004-02-12)
3043 * Backported things from the development branch (while maintaining
3044 backwards compatibility):
3045 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
3046 If they are of highest priority then the abbreviated handshake
3048 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
3049 are no longer returned by the handshake function. Ciphersuites that
3050 require temporary parameters are removed when such parameters do not exist.
3051 - Added the callbacks gnutls_certificate_client_retrieve_function() and
3052 gnutls_certificate_server_retrieve_function(), to allow a client or a server
3053 to specify certificates for the handshake without storing them to the
3054 credentials structure.
3055 - Added support for generating and exporting DSA private keys.
3057 * Version 1.0.5 (2004-02-11)
3058 - Fixed a bug where 'server name' extension was always sent.
3059 * Backported things from the development branch:
3060 - Added CRL verification functionality to certtool.
3061 - Corrected the CRL distribution point extension handling.
3062 - Added PKCS #7 support to certtool utility.
3063 - Added support for reading and generating CRL distribution
3064 points extensions in certificates.
3065 - Added support for generating CRLs in the library and the
3067 - Added support for the Subject Key ID PKIX extension.
3068 - Added the gnutls_sign_algorithm type.
3070 * Version 1.0.4 (2004-01-04)
3071 - Changed handshake behaviour to send the lowest TLS version
3072 when an unsupported version was advertized. The current behaviour
3073 is to send the maximum version we support.
3074 - certtool no longer asks the password in unencrypted private
3076 - The source is now compiled to use the reentrant libc functions.
3078 * Version 1.0.3 (2003-12-21)
3079 - Corrected bug in gnutls_bye() which made it return an error code
3080 of INVALID_REQUEST instead of success.
3081 - Corrected a bug in the GNUTLS_KEY key usage definitions.
3083 * Version 1.0.2 (2003-12-18)
3084 - Corrected a bug in the RSA key generation. This was
3085 generating unusable RSA keys.
3087 * Version 1.0.1 (2003-12-10)
3088 - Some minor fixes in the makefiles. They now include CFLAGS
3089 from libgcrypt or opencdk if installed in a non standard directory.
3090 - Fixed the SRP detection test in gnutls-cli-debug.
3091 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
3093 * Version 1.0.0 (2003-12-04)
3094 - Exported the static SRP group parameters.
3095 - Some fixes in the certificate authenticated SRP ciphersuites.
3096 - Improved the support for draft-ietf-tls-srp-05. The two-phase
3097 handshake is now fully supported without any interaction with
3098 the application layer (except for a callback).
3100 * Version 0.9.99 (2003-11-28)
3101 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
3102 and gnutls_server_name_get() prototypes.
3103 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data()
3104 and gnutls_x509_crt_verify_data().
3105 - Some fixes in the openpgp authentication.
3106 - Removed the Twofish cipher.
3108 * Version 0.9.98 (2003-11-16)
3109 - The openssl compatibility layer was moved to gnutls-openssl
3110 library instead of being included in the gnutls-extra library.
3111 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
3112 - Building with openpgp support is now mandatory.
3113 - gnutls4 compatibility header is no longer included by default in
3115 - gnutls8 function usage yelds a deprecation warning in gcc3.
3116 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
3117 functions have a raw_flag parameter added.
3118 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
3119 functions which return the available OIDs.
3121 * Version 0.9.97 (2003-11-11)
3122 - The certtool utility can now generate PKCS #12 structures
3123 without specifying a certificate.
3124 - Added capability to read CRLs to certtool.
3125 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
3126 to properly set the required buffer size.
3127 - Corrected a bug in libgcrypt detection.
3129 * Version 0.9.96 (2003-11-09)
3130 - Some changes to allow compilation with mingw32.
3131 - Several code cleanups.
3133 * Version 0.9.95 (2003-11-02)
3134 - Improved the verification functions. Added new verification
3135 output flags and removed the unused and redundant ones.
3136 - Improved the OpenPGP key support.
3137 - The prime utility was removed, and its functionality was moved
3140 * Version 0.9.94 (2003-10-30)
3141 - Added manpages for the included programs.
3142 - Documented and improved the certtool utility.
3143 - Added PKCS #12 support to certtool utility.
3145 * Version 0.9.93 (2003-10-26)
3146 - Corrected some compilation issues.
3147 - Improved the certtool command line utility.
3149 * Version 0.9.92 (2003-10-25)
3150 - The RFC2818 hostname verification is now case insensitive.
3151 - Added support for generating X.509 certificates.
3152 - Added the certtool, a tool for generating X.509 certificates
3154 * Version 0.9.91 (2003-10-17)
3155 - Fixed a compilation issue in the openpgp authentication part.
3157 * Version 0.9.90 (2003-10-08)
3158 - Updated the openpgp key API (depends on the unreleased new
3161 * Version 0.9.8 (2003-10-02)
3162 - Updated the SRP implementation to follow the latest draft
3163 (draft-ietf-tls-srp-05).
3164 - Improved the gnutls-cli behaviour in error handling,
3165 and added a check for the peer's hostname.
3166 - Use versioned symbols in the library (where available).
3167 - RIJNDAEL ciphersuites were renamed to AES.
3169 * Version 0.9.7 (2003-08-25)
3170 - The tex files are now included in the distribution.
3171 - The library can now decrypt PKCS #12 files encrypted with
3173 - The missing rfc2818_hostname object is now included.
3174 - Several corrections and bug fixes in the library by
3175 Arne Thomassen <arne@arne-thomassen.de>.
3176 - CR is now allowed in the base64 decoder.
3178 * Version 0.9.6 (2003-06-28)
3179 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
3180 functions which return a unique (per public key) ID. These can
3181 be used to check if the private key corresponds to a given certificate.
3182 - Corrections in the TLS layer openpgp certificate packet parser.
3183 - Corrected a bug in the record layer buffering, which affected
3184 the case where external pull function was used. Report and patch
3185 by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
3186 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
3188 - SRP programs are now built by default.
3189 - Added API to read and write to PKCS #12 structures. Prototypes
3191 - The gnutls_transport_ptr type was changed to a pointer type (void*).
3193 * Version 0.9.5 (2003-04-06)
3194 - Several improvements in the PKCS #7 handling
3195 - Eliminated several hard coded constants in MPI parameters.
3197 * Version 0.9.4 (2003-03-28)
3198 - Corrected a parsing error in the Certificate request message.
3199 - Corrected behaviour when a certificate request message is received.
3200 Now a certificate packet is always sent, and in SSL 3.0 cipher suites
3201 a no_certificate alert is sent instead.
3202 - Added functionality to generate PKCS #7 structures (with certificates).
3204 * Version 0.9.3 (2003-03-24)
3205 - Support for MD2 was dropped.
3206 - Improved the error logging functions, by adding a level, and
3207 by allowing debugging messages just by increasing the level.
3208 - The diffie Hellman ciphersuites are now of higher priority than
3210 - The RSA premaster secret version check can no longer be disabled.
3211 - Implemented the counter measure discussed in the paper "Attacking
3212 RSA-based Sessions in SSL/TLS", against the attack described in the
3214 - Added the functions: gnutls_handshake_get_last_in(),
3215 gnutls_handshake_get_last_out().
3216 - The gnutls_certificate_set_rsa_params() was renamed to
3217 gnutls_certificate_set_rsa_export_params().
3218 - Added the new functions: gnutls_certificate_set_x509_key()
3219 gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
3220 gnutls_x509_crt_export(), gnutls_x509_crl_export().
3221 - Added support for encoding and decoding PKCS #8 2.0 encrypted
3224 * Version 0.9.2 (2003-03-15)
3225 - Some corrections in the memory mapping code (file is unmapped after
3227 - Added support for PKCS#10 certificate requests generation.
3229 * Version 0.9.1 (2003-03-12)
3230 - Corrected a bug in 64 bit architectures, which affected the
3231 serial number calculation in the record layer.
3232 - Added gnutls_certificate_free_keys() which deletes all the
3233 private keys and certificates from the credentials structure.
3234 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
3235 which caused some unexpected packet length errors. Report and patch
3236 by Ian Peters <itp@ximian.com>.
3237 - Added ability to generate RSA keys.
3238 - Increased the maximum parameter size in order to read some large keys
3239 by some CAs. Patch by Ian Peters <itp@ximian.com>.
3240 - Added an strnstr() function and the requirement in some functions to
3241 use null terminated PEM structures is no more.
3242 - Use mmap() if available to read files.
3243 - Fixed a memory leak in SRP code reported by Rupert Kittinger
3244 <r.kittinger@efkon.com>.
3246 * Version 0.9.0 (2003-03-03)
3247 - This version is not binary compatible with the previous ones.
3248 - The library notifies the application on empty and illegal SRP usernames,
3249 so that proper notification (via an alert) is sent to the peer.
3250 - Added ability to send some messages back to the application using
3251 the gnutls_global_set_log_function().
3252 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use
3253 gnutls_malloc() to allocate the output parameters.
3254 - Added support for MD2 algorithm in certificate signature verification.
3255 - The RSA and DH parameter generation interface was changed. Added
3256 ability to import and export from and to PKCS3 structures. This
3257 was needed to read parameters generated using the openssl dhparam tool.
3258 - Several changes in the temporary (DH/RSA) parameter codebase. No DH
3259 parameters are now included in the library. Also the credentials structure
3260 can now hold only one temporary parameter of a kind.
3261 - Added a new Certificate, CRL, Private key and PKCS7 structures handling
3262 API, defined in gnutls/x509.h
3263 - Added gnutls_certificate_set_verify_flags() function to allow setting the
3264 verification flags in the credentials structure. They will be used in the
3265 *verify_peers functions.
3266 - Added protection against the new TLS 1.0 record layer timing attack.
3267 - Added support for Certificate revocation lists. Functions defined
3269 - The only functions that were removed are:
3270 gnutls_x509_certificate_to_xml()
3271 gnutls_x509_extract_dn_string()
3272 - Ported to libtasn1 0.2.x
3274 * Version 0.8.1 (2003-01-22)
3275 - Improved the SRP support, to prevent attackers guessing the
3276 available usernames by brute force.
3277 - Improved the SRP detection in gnutls-cli-debug
3278 - Some fixes which now allow compilation.
3280 * Version 0.8.0 (2003-01-20)
3281 - Added gnutls_x509_extract_dn_string() which returns a
3282 distinguished name in a single string.
3283 - Added gnutls_openpgp_extract_key_name_string() which returns
3284 an openpgp user ID in a single string.
3285 - Added gnutls_x509_extract_certificate_ca_status() which returns
3286 the CA status of the given certificate.
3287 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
3288 - If libtasn1 is not present in the system, it is included in
3289 the main gnutls library.
3290 - If liblzo is present in the system, then the included minilzo
3291 will not be used, and libgnutls-extra will depend on liblzo.
3292 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR,
3293 and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also
3294 replaced by GNUTLS_E_BASE64_DECODING_ERROR.
3296 * Version 0.6.0 (2002-12-08)
3297 - Added "gnutls/compat4.h" header. This is included in gnutls.h
3298 to emulate the old 0.4.x API.
3299 - Example programs are now stored in doc/examples/
3300 - Several improvements and updates in the documentation.
3301 - Added the certificate authenticated SRP cipher suites.
3302 - gnutls_x509_extract_certificate_dn_string() was updated to return
3303 an RFC2253 conforming string.
3304 - Added the SRP related functions:
3305 gnutls_srp_verifier()
3306 gnutls_srp_base64_encode()
3307 gnutls_srp_base64_decode()
3308 - Added the function gnutls_srp_set_server_credentials_function()
3309 to allow retrieving SRP parameters from an external backend - other
3310 than password files.
3311 - Added the function gnutls_openpgp_set_recv_key_function()
3312 which can be used to set a callback, to get OpenPGP keys.
3313 - Exported the functions:
3316 which should be used by callback functions.
3317 - Changed the semantics of gnutls_pem_base64_encode_alloc()
3318 and gnutls_pem_base64_decode_alloc(). In the default case
3319 were the gnutls library is used with malloc/realloc/free,
3320 these are binary compatible.
3322 * Version 0.5.11 (2002-11-05)
3323 - Some fixes in 'gnutls-cli' client program to prevent some segmentation
3325 - Example programs found in the documentation can now be generated by
3326 running "make examples" in doc/tex directory.
3327 - Added more descriptive error strings, to gnutls_strerror().
3328 - Documented error codes, and the function reference list is now sorted.
3329 - Optimized buffering code.
3330 - gnutls_x509_extract_certificate_dn_string() was rewritten.
3331 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
3332 case where the memory buffer provided is not long enough.
3333 - Depends on the new OpenCDK 0.3.2.
3335 * Version 0.5.10 (2002-10-13)
3336 - Updated documentation.
3337 - Added server name extension. This allows clients to specify the
3338 name of the server they connect to. Useful to HTTPS.
3339 - Several corrections in the code base, mostly in signed/unsigned,
3342 * Version 0.5.9 (2002-10-10)
3343 - Corrected some code which worked fine in gcc 3.2, but not with any
3345 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
3346 starttls implementations.
3347 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
3348 the private key type, of a DER encoded key.
3349 - Added gnutls_x509_extract_certificate_dn_string() which returns the
3350 certificate's distinguished name in a single string.
3351 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
3352 functions, to avoid calling all the *_priority() functions if the defaults
3354 - Added int gnutls_x509_check_certificates_hostname() which check whether
3355 the given hostname matches the owner of the given X.509 certificate.
3357 * Version 0.5.8 (2002-09-25)
3358 - Updated documentation.
3359 - Added gnutls_record_get_direction() which replaces the obsolete
3360 gnutls_handshake_get_direction().
3361 - Added function to convert error codes to alert descriptions
3362 - Added LZO compression
3364 * Version 0.5.7 (2002-09-11)
3365 - Some fixes in the memory allocation functions (realloc).
3366 - Improved the string functions used in XML certificate generation.
3367 - Removed dependency on libgdbm.
3368 - Corrected bug in gnutls_dh_params_set() which affected
3369 gnutls_dh_params_deinit().
3370 - Corrected bug in session resuming code in server side.
3372 * Version 0.5.6 (2002-09-06)
3373 - Corrected bugs in SRP implementation, which prevented gnutls
3374 to interoperate with other implementations. (interoperability testing
3375 was done by David Taylor)
3376 - Corrected bug in cert_type extension.
3377 - Corrected extension type checks which used an 8 bit extension size,
3379 - Added versioning in the XML output of certificate functions.
3380 - Removed the X.509 test suite.
3382 * Version 0.5.5 (2002-09-03)
3383 - Updated the SRP implementation to the latest draft. The blowfish
3384 crypt implementation was removed, since the new draft does not allow
3385 other hash algorithms except for the srpsha.
3386 - Renamed all the constructed types in order to have more consistent
3388 - Improved the certificate and key read functions. Now they can read
3389 the certificate and the private key from the same file.
3390 - Updated and corrected documentation.
3392 * Version 0.5.4 (2002-08-27)
3393 - Fixes in TLS 1.0 PRF and SSL3 random functions.
3394 - gnutls_handshake_set_exportable_detection() was obsoleted.
3395 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
3396 - Corrected bug in DHE key exchange
3397 - Added support for temporary RSA keys which are needed for the
3398 export cipher suites.
3399 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
3401 * Version 0.5.3 (2002-08-23)
3402 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
3403 code from the unstable branch.
3405 * Version 0.5.2 (2002-08-22)
3406 - Added an error code that is returned in clients which connect
3407 to export only servers. This must be enabled using the
3408 gnutls_handshake_set_exportable_detection() function.
3409 - Updated openssl compatibility layer.
3410 - Added gnutls_handshake_get_direction() function which returns
3411 the state of the handshake when interrupted.
3413 * Version 0.5.1 (2002-07-17)
3414 - Corrected the m4 macros which used <gnutls.h> instead of
3416 - Documentation fixes
3417 - Added gnutls_transport_set_ptr2() function, which accepts two
3418 different pointers, to be used while receiving, and
3420 - Semantic changes in gnutls_record_set_max_size(). The requested
3421 size is now immediately enforced at the output buffers.
3422 - gnutls_global_init_extra() now fails if the library versions do
3424 - Fixes in client and server example programs. Null encryption can
3425 be used in these programs, to assist in debuging.
3426 - Fixes in zlib compression code.
3428 * Version 0.5.0 (2002-07-06)
3429 - Added X.509 certificate tests in tests/ directory
3430 - Removed stubs for SRP and Anonymous authentication. They served
3431 no purpose since they are always included, unless it was requested
3433 - Added gnutls_handshake_set_private_extensions() function. This
3434 function can be used to enable private (gnutls specific) cipher suites
3435 and compression algorithms.
3436 - Added check for C99 macro support by the compiler.
3437 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
3438 - Added the new libtasn1 library.
3439 - Removed the gdbm backend. Applications are now responsible for the
3440 session resuming backend. The gnutls-serv application contains an
3441 simple example on how to use gdbm for resuming.
3442 - Headers for the gnutls library are now installed in $(includedir)/gnutls
3443 - Added an OpenSSL compatible interface (with some limitations).
3444 - Added functions to convert DER encoded certificates to XML format.
3446 * Version 0.4.4 (2002-06-24)
3447 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
3448 using keys of some specific size.
3450 * Version 0.4.3 (2002-05-23)
3451 - The gnutls-extra library now compiles fine, if the opencdk library is
3453 - Several bug fixes.
3454 - Added gnutls_global_set_mem_func() function, to set the memory allocation
3455 functions, if other than the defaults are to be used.
3456 - The default memory allocation functions are now the ones in libc.
3458 * Version 0.4.2 (2002-05-21)
3459 - Separated ASN.1 structures parser documentation and TLS library
3461 - Added gnutls_handshake_set_rsa_pms() function, which disables the
3462 version check in RSA premaster secret.
3463 - Added gnutls_session_is_resumed() function, which reports if a session
3465 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
3466 assist in callback functions.
3467 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
3469 - Relicensed the library under the GNU Lesser General Public License
3470 - Added gnutls-extra library which contains the GPL covered code of gnutls.
3472 * Version 0.4.1 (2002-04-07)
3473 - Now uses alloca() for temporary variables
3474 - Optimized RSA signing
3475 - Added functions to return the peer's certificate activation and
3477 - Corrected time function's behaviour (the time value returned no longer
3478 relate to local timezone).
3480 * Version 0.4.0 (2002-04-01)
3481 - Added support for RFC2630 (PKCS7) X.509 certificate sets
3482 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
3483 gnutls_openpgp_extract_key_pk_algorithm().
3484 - Several optimizations in the Handshake protocol
3485 - Several optimizations in RSA algorithm
3486 - Unified the return values because of small buffers.
3488 * Version 0.3.92 (2002-03-23)
3489 - Updated documentation
3490 - Combined error codes of ASN.1 parser and gnutls
3491 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
3492 - Added protection against CBC chosen plaintext attack (disabled by default)
3493 - Improved and optimized compression support
3495 * Version 0.3.91 (2002-03-03)
3496 - Added gnutls-cli-debug program
3497 - Corrections in session resumption
3498 - Rehandshake can now handle negotiation of different authentication
3500 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are
3501 now being installed.
3503 * Version 0.3.90 (2002-02-24)
3504 - Handshake messages are not kept in memory any more. Now we use
3505 less memory during a handshake
3506 - Added support for certificates with DSA parameters
3507 - Added DHE_DSS cipher suites
3508 - Key exchange methods changed so they do not depend on the
3509 certificate type. Added certificate type negotiation TLS extension.
3510 - Added openpgp key support (EXPERIMENTAL)
3511 - Improved Diffie Hellman key exchange support.
3512 - Bug fixes in the RSA key exchange.
3513 - Added check for the requested TLS extensions
3514 - TLS extensions now use a 16 bit type field.
3515 - Added a minimal string library to assist in ASN.1 parsing
3516 - Changes in ASN.1 parser to work with the new bison
3517 - Added gnutls_x509_extract_subject_alt_name(), which deprecates
3518 gnutls_x509_extract_subject_dns_name()
3519 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
3520 - gnutls_srp_server_set_cred_file() can now be called multiple times
3522 * Version 0.3.5 (2002-01-25)
3523 - Corrected the RSA key exchange method, to avoid attacks against
3526 * Version 0.3.4 (2002-01-20)
3527 - Corrected bugs in DHE_RSA key exchange method
3529 * Version 0.3.3 (2002-01-19)
3530 - Added gnutls_x509pki_verify_certificate()
3531 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
3532 - Bug fixes in srpcrypt (based on patch by Marc Huber)
3533 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
3534 - Corrected library versioning
3536 * Version 0.3.2 (2002-01-05)
3537 - Corrected bug which did not allow a client to accept multiple CA names
3538 - Added gnutls_fingerprint()
3539 - Added gnutls_x509pki_extract_certificate_serial()
3540 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
3541 - Corrected behaviour in version advertizing
3542 - Updated documentation
3543 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
3545 * Version 0.3.1 (2001-12-21)
3546 - Corrections in the configuration files
3547 - Fixes a bug in anonymous authentication
3549 * Version 0.3.0 (2001-12-17)
3550 - Corrected bug in new integer formatting (now we use the old format again)
3551 - Several corrections and usual cleanups
3553 * Version 0.2.91 (2001-12-10)
3554 - Fixes in MPI handling (fixes possible bug with signed integers)
3555 - Removed name indication extension
3556 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
3557 - Optimizations in server certificate callback.
3558 - Fixes in anonymous authentication
3559 - Corrections in client ciphersuite selection
3561 * Version 0.2.90 (2001-12-07)
3562 - gnutls_handshake(), gnutls_read() etc. functions no longer require
3563 the 'SOCKET cd' argument. This argument is set using the function
3564 gnutls_set_transport_ptr().
3565 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
3566 a list containing peer's certificate and issuers DER encoded.
3567 - Updated X.509 certificate handling API
3568 - Added callback to select the server certificate
3569 - More consistent function naming (changes in several function names)
3570 - Buffer overflow checking in ASN.1 structures parser
3571 - Updated documentation
3573 * Version 0.2.11 (2001-11-16)
3574 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
3575 is returned, then the caller should perform a handshake or send
3576 an alert to the peer.
3577 - Made receive buffer dynamic. Normally if no large chunks are received
3578 it occupies less space.
3579 - Added max_record_size extension
3580 - Bugfixes in session handling
3581 - Improved non blocking IO support in the Handshake Protocol
3582 - Usual bugfixes and cleanups
3583 - Documentation updated (includes ASN.1 documentation)
3585 * Version 0.2.10 (2001-11-05)
3586 - Corrected bugs and improved non blocking IO
3587 - Added hooks to use external database to store sessions
3590 * Version 0.2.9 (2001-10-27)
3591 - AUTH_INFO types and structures were moved to library internals
3592 - AUTH_FAILED is no longer returned in SRP authentication
3593 (any fatal error in SRP means auth failed)
3594 - Introduced GNUTLS_E_INTERRUPTED
3595 - Added support for non blocking IO
3596 - gnutls_recv() and gnutls_send() are now obsolete
3597 - Changed semantics of gnutls_rehandshake()
3599 * Version 0.2.4 (2001-10-12)
3600 - Better handling of X.509 certificate extensions
3601 - Added DHE_RSA ciphersuites
3602 - Updated the Name Indication (dnsname) extension
3603 - Improvements in Diffie Hellman primes handling
3605 * Version 0.2.3 (2001-09-19)
3606 - Memory optimizations in gnutls_recv()
3607 - Fixed several memory leaks
3608 - Added ability to specify callback for x509 client certificate selection
3609 - Better documentation
3611 * Version 0.2.2 (2001-08-21)
3612 - Several bugfixes (library and documentation)
3614 * Version 0.2.1 (2001-08-07)
3617 * Version 0.2.0 (2001-08-07)
3618 - Partial support for X.509v3 Certificate extensions.
3619 - Added Internal memory handlers
3620 - Removed gnutls_x509_set_cn()
3621 - Added X.509 client authentication
3622 - Several bug fixes and protocol fixes
3624 * Version 0.1.9 (2001-07-30)
3625 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
3626 - SRP is updated to conform to the newest draft.
3627 - Added support for DNSNAME extension.
3628 - Reentracy fixes in ASN.1 Parsing.
3629 - Optimizations in hash/hmac functions
3630 - (Error) message handling has changed
3631 - Better Protocol Version handling
3632 - Added X.509 Certificate Verification
3633 - gnutls_read() semantics are now closer to read(2) - added EOF
3634 - Documented some part of gnutls in doc/tex/ using Latex
3636 * Version 0.1.4 (2001-06-22)
3637 - Corrected (srp) base64 encoding.
3638 - Changed bcrypt algorithm to include username.
3639 - Added RSA Ciphersuites (no certificate checking).
3640 - Fixes in SSL 2.0 client hello parsing.
3641 - Added ASN.1 and DER parsers.
3642 - Bugfixes in session resuming
3643 - Updated Ciphersuite selection algorithm
3644 - Added internal representation of X.509 structures.
3645 - Added global state
3647 * Version 0.1.3 (2001-06-01)
3648 - Updated API (and the way it is documented - we use inline documentation)
3649 - Added function to access alert messages.
3650 - Added support for renegotiating parameters.
3651 - Better and Faster Resume Database handling.
3654 * Version 0.1.2 (2001-05-14)
3656 - Fixes in extension handling
3658 * Version 0.1.1 (2001-05-13)
3659 - Added compatibility with Stanford's libsrp library
3661 * Version 0.1.0 (2001-05-09)
3662 - Added SSL 2.0 client hello support
3663 - GNUTLS is a gnu library
3664 - Added support for TLS extensions.
3665 - Added support for SRP
3667 * Version 0.0.7 (2001-01-11)
3668 - Added server side session resuming (using gdbm)
3669 - Added twofish algorithm
3671 * Version 0.0.6 (2000-12-20)
3672 - Added client side session resuming
3673 - Better documentation (check doc/API)
3674 - Better socket handling (gnutls can be used with select())
3675 - Some primitive support for non blocking IO and socket options has been added.
3677 * Version 0.0.5 (2000-12-07)
3678 - Added Compression (using ZLIB)
3679 - Added SSL 3.0 support
3681 ----------------------------------------------------------------------
3682 Copying and distribution of this file, with or without modification,
3683 are permitted in any medium without royalty provided the copyright
3684 notice and this notice are preserved.