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