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