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