Corrected SRP-RSA ciphersuites when used under TLS 1.2.
[gnutls.git] / NEWS
blob5935f797286fcda6a18952c456fbeb3fae9f1694
1 GnuTLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3               2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 Version 2.12.18 (unreleased)
8 ** Corrected SRP-RSA ciphersuites when used under TLS 1.2.
10 ** API and ABI modifications:
12 No changes since last version.
15 Version 2.12.17 (released 2012-03-02)
17 ** libgnutls: Corrections in record packet parsing.
18 Reported by Matthew Hall.
20 ** libgnutls: Fixes in SRP authentication.
22 ** libgnutls: Added function to force explicit reinitialization
23 of PKCS #11 modules. This is required on the child process after
24 a fork.
26 ** libgnutls: PKCS #11 objects that do not have ID
27 no longer crash listing. Reported by Sven Geggus.
29 ** API and ABI modifications:
30 gnutls_pkcs11_reinit: Added
33 Version 2.12.16 (released 2011-01-06)
35 ** libgnutls: Corrected functionality of
36 gnutls_record_get_direction(). Reported by Philip Allison.
38 ** API and ABI modifications:
40 No changes since last version.
43 Version 2.12.15 (released 2011-01-06)
45 ** libgnutls: Disable signature algorithms that are not supported
46 for client certificate verification. Reported by Florian Weimer.
48 ** libgnutls: Optimized DH generation process (ported from 3.0.x)
50 ** API and ABI modifications:
52 No changes since last version.
55 Version 2.12.14 (released 2011-11-08)
57 ** libgnutls: Corrected fix in gnutls_session_get_data()
58 to report the actual session size when the provided buffer
59 is not enough.
61 ** API and ABI modifications:
62 No changes since last version.
65 Version 2.12.13 (released 2011-11-07)
67 ** minitasn1: Upgraded to libtasn1 version 2.10.
69 ** libgnutls: Fixed possible buffer overflow in 
70 gnutls_session_get_data(). Reported and fix by Alban Crequy.
72 ** API and ABI modifications:
73 No changes since last version.
76 Version 2.12.12 (released 2011-10-20)
78 ** gnulib: updated
80 ** libgnutls: Fixes to enable external signing callback to
81 operate with TLS 1.2. 
83 ** API and ABI modifications:
84 No changes since last version.
87 Version 2.12.11 (released 2011-09-18)
89 ** libgnutls: Memory leak fixes in credentials private key 
90 deinitialization. Reported by Dan Winship.
92 ** libgnutls: Allow CA importing of 0 certificates to succeed.
93 Reported by Jonathan Nieder <jrnieder@gmail.com> in
94 <http://bugs.debian.org/640639>.
96 ** API and ABI modifications:
97 No changes since last version.
100 * Version 2.12.10 (released 2011-09-01)
102 ** libgnutls: OpenPGP certificate type is not enabled
103 by default.
105 ** libgnutls: Corrected issue in gnutls_record_recv()
106 triggered on encryption or compression error.
108 ** libgnutls: Corrected parsing of XMPP subject alternative 
109 names.
111 ** libgnutls: gnutls_certificate_set_x509_key() and
112 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
113 and allow the release of the private key during the
114 lifetime of the certificate structure.
116 ** API and ABI modifications:
117 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
120 * Version 2.12.9 (released 2011-08-21)
122 ** libgnutls-extra: Replaced enumeration with unsigned
123 int, in openssl.h to make it identical to the 3.0.0 version.
124 This shouldn't introduce binary incompatibility.
126 ** libgnutls: When asking for a PIN multiple times, the
127 flags in the callback were not being updated to reflect
128 for PIN low count or final try.
130 ** API and ABI modifications:
131 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
134 * Version 2.12.8 (released 2011-08-08)
136 ** libgnutls: PKCS #11 back-end was replaced by p11-kit
137 http://p11-glue.freedesktop.org/p11-kit.html. This backports
138 the 3.0.0 PKCS #11 back-end. Rewrite by Stef Walter.
140 ** libgnutls: gcrypt: replaced occurences of gcry_sexp_nth_mpi (..., 0)
141 with gcry_sexp_nth_mpi (..., GCRYMPI_FMT_USG) to fix errors with 1.5.0.
142 Patch by Andreas Metzler.
144 ** libgnutls: Verify that a certificate list specified
145 using gnutls_certificate_set_x509_key*(), is sorted
146 according to TLS specification (from subject to issuer).
148 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
149 gnutls_x509_crt_list_import. It checks whether the list to be 
150 imported is properly sorted.
152 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
153 Sjoerd Simons.
155 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
156 Metzler.
158 ** certtool: bug fixes in certificate request generation. Patch
159 by Petr Písař.
161 ** API and ABI modifications:
162 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
165 * Version 2.12.7 (released 2011-06-18)
167 ** p11tool: Require login as security officer if --trusted option is
168 provided. Reported by Rickard Bellgrim.
170 ** libgnutls: The CKA_SUBJECT field is specified when copying certificates
171 in PKCS #11 smart-cards. Patch by Rickard Bellgrim.
173 ** libgnutls: Write label when writing private keys in PKCS #11 tokens.
174 Reported by Rickard Bellgrim.
176 ** libgnutls: Accept CKR_USER_ALREADY_LOGGED_IN as a valid error code
177 when logging in to PKCS #11 tokens.
179 ** API and ABI modifications:
180 No changes since last version.
183 * Version 2.12.6 (released 2011-06-4)
185 ** libgnutls: Allow usage of DSA signatures with truncated hash.
186 Following: http://tools.ietf.org/html/draft-mavrogiannopoulos-tls-dss-00
188 ** libgnutls: Prevent the usage of write() and friends when no data
189 are to be sent.
191 ** libgnutls: Correctly set compression method when resuming sessions.
192 Reported by Dash Shendy.
194 ** libgnutls: gnutls_pubkey_get_pk_dsa_raw() and gnutls_pubkey_get_pk_rsa_raw
195 add leading zeros to the exported values.
197 ** libgnutls: Added gnutls_global_set_time_function() to allow overriding the
198 default system time() function.
200 ** API and ABI modifications:
201 gnutls_global_set_time_function: ADDED
204 * Version 2.12.5 (released 2011-05-14)
206 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
207 via URLs.
209 ** libgnutls: PKCS #11 URLs conform to the latest draft
210 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
212 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
213 the public key algorithm of the key.
215 ** libgnutls: Added gnutls_x509_crq_verify() to allow
216 verification of the self signature in a certificate request.
217 This allows verifying whether the owner of the private key
218 is the generator of the request.
220 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
221 the self signature of the request.
223 ** API and ABI modifications:
224 gnutls_x509_crq_verify: ADDED
227 * Version 2.12.4 (released 2011-05-06)
229 ** libgnutls: Added gnutls_certificate_get_issuer() to
230 compensate for the deprecated gnutls_certificate_get_x509_cas().
232 ** libgnutls: Limited allowed wildcards to gnutls_x509_crt_check_hostname()
233 to prevent denial of service attacks. Reported by Kalle Olavi Niemitalo.
235 ** guile: Fix tests to match the `exit' behavior introduced in Guile 2.0.1.
236 This fix makes tests behave correctly wrt. to the Guile bug fix at
237 <http://git.sv.gnu.org/cgit/guile.git/commit/?id=e309f3bf9ee910c4772353ca3ff95f6f4ef466b5>.
239 ** API and ABI modifications:
240 gnutls_certificate_get_issuer: ADDED
243 * Version 2.12.3 (released 2011-04-22)
245 * libgnutls: Several minor bugfixes.
247 * libgnutls: Restored HMAC-MD5 for compatibility. Although considered 
248 weak, several sites require it for connection. It is enabled for
249 "NORMAL" and "PERFORMANCE" priority strings.
251 * libgnutls: depend on libdl.
253 * libgnutls: gnutls_transport_set_global_errno() was deprecated.
254 Use your system's errno fascility or gnutls_transport_set_errno().
256 * gnutls-cli: Correction with usage of select to check for
257 pending data in gnutls sessions. It now uses gnutls_record_check_pending().
258 Reported by Herbert J. Skuhra.
260 * tests: More fixes and updates for win32. Patches by LRN.
262 * libgnutls: Several files unnecessarily included <gcrypt.h>; this has been fixed.
264 ** API and ABI modifications:
265 gnutls_transport_set_global_errno: DEPRECATED
268 * Version 2.12.2 (released 2011-04-08)
270 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
272 ** libgnutls: Several bug and memory leak fixes.
274 ** srptool: Accepts the -d option to enable debugging.
276 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
277 the allocation of a verifier. Reported by Andrew Wiseman.
279 ** API and ABI modifications:
280 No changes since last version.
283 * Version 2.12.1 (released 2011-04-02)
285 ** certtool: Generated certificate request with stricter permissions.
286 Reported by Luca Capello.
288 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
290 ** libgnutls: Corrected windows system_errno() function prototype.
292 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
294 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
295 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
297 ** API and ABI modifications:
298 No changes since last version.
301 * Version 2.12.0 (released 2011-03-24)
303 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
304 the incompatibility with TLS other than 1.2.
306 ** libgnutls: Modified signature algorithm selection in client
307 certificate request, to avoid failures in DSA certificates.
309 ** libgnutls: Instead of failing with internal error, return 
310 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
311 key with the negotiated protocol is encountered.
313 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
315 ** libgnutls: Force state update when fork is detected in the nettle
316 rng.
318 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
319 subkey instead of setting explicitly one.
321 ** libgnutls: Corrected default behavior in record version of Client Hellos.
323 ** libgnutls-openssl: modified to use modern gnutls' functions.
324 This introduces an ABI incompatibility with previous versions.
326 ** API and ABI modifications:
327 gnutls_pubkey_import_openpgp: MODIFIED
330 * Version 2.11.7 (released 2011-03-09)
332 ** libgnutls: Corrected signature generation and verification
333 in the Certificate Verify message when in TLS 1.2. Reported
334 by Todd A. Ouska.
336 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
337 the PSK callback.
339 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
340 They have to be explicitly set.
342 ** libgnutls: During handshake message verification using DSS
343 use the hash algorithm required by it.
345 ** libgnutls: gnutls_x509_privkey_sign_hash() is deprecated.
346 Use gnutls_privkey_sign_hash() instead.
348 ** libgnutls: gnutls_transport_set_lowat() is deprecated. Support
349 for this functionality will be dropped in later versions.
351 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
352 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
353 gnutls_x509_crt_verify_hash return the negative error code 
354 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
355 checking.
357 ** libgnutls: Added helper functions for signature verification:
358 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
360 ** libgnutls: Modified gnutls_privkey_sign_data().
362 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
363 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
364 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
365 deprecated for gnutls_x509_crl_privkey_sign(),
366 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
367 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
368 gnutls_pubkey_verify_data() respectively.
370 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
371 integers.
373 ** libgnutls: Added gnutls_transport_set_vec_push_function() that
374 can be used to specify a writev() like function. Using that gnutls
375 can provide more efficient writes to network layer in systems that 
376 support it.
378 ** crypto.h: Fix use with C++.
379 Reported by "Brendan Doherty" <brendand@gentrack.com>.
381 ** API and ABI modifications:
382 gnutls_transport_set_vec_push_function: ADDED
383 gnutls_x509_crl_get_raw_issuer_dn: ADDED
384 gnutls_pubkey_import_privkey: ADDED
385 gnutls_pubkey_verify_data: ADDED
386 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
387 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
388 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
389 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
390 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
391 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
392 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
393 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data)
394 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash)
395 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
396 gnutls_psk_netconf_derive_key: DEPRECATED
397 gnutls_session_set_finished_function: DEPRECATED
398 gnutls_ext_register: DEPRECATED
399 gnutls_certificate_get_x509_crls: DEPRECATED
400 gnutls_certificate_get_x509_cas: DEPRECATED
401 gnutls_certificate_get_openpgp_keyring: DEPRECATED
402 gnutls_session_get_server_random: DEPRECATED
403 gnutls_session_get_client_random: DEPRECATED
404 gnutls_session_get_master_secret: DEPRECATED
405 gnutls_transport_set_lowat: DEPRECATED
406 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
407 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
408 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
409 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
410 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash)
411 gnutls_openpgp_privkey_decrypt_data: REMOVED (was added in 2.11.0)
412 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
413 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
414 gnutls_pkcs11_privkey_sign_data: REMOVED (was added in 2.11.0)
415 gnutls_x509_privkey_sign_data2: REMOVED (was added in 2.11.0)
417 * Version 2.11.6 (released 2010-12-06)
419 ** libgnutls: Record version of Client Hellos is now set by default to
420 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
421 priority string.
423 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
424 This makes us comply with RFC3279. Reported by Michael Rommel.
426 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
428 ** API and ABI modifications:
429 No changes since last version.
431 * Version 2.11.5 (released 2010-12-01)
433 ** libgnutls: Reverted default behavior for verification and
434 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
435 V1 trusted CAs are allowed, unless the new flag is specified.
437 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
438 Reported by Jeffrey Walton.
440 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
441 as priority strings. Those allow to set all the supported algorithms
442 at once.
444 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
446 ** gnutls-cli: Print channel binding only in verbose mode.
447 Before it printed it after the 'Compression:' output, thus breaking
448 Emacs starttls.el string searches.
450 ** API and ABI modifications:
451 gnutls_pkcs11_token_init: New function
452 gnutls_pkcs11_token_set_pin: New function
454 * Version 2.11.4 (released 2010-10-15)
456 ** libgnutls: Add new API gnutls_session_channel_binding.
457 The function is used to get the channel binding data.  Currently only
458 the "tls-unique" (RFC 5929) channel binding type is supported, through
459 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
460 the manual.
462 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
464 ** doc: Added pkcs11.h header file to GTK-DOC manual.
466 ** build: Update gnulib files.
468 ** i18n: Update translations.
470 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
472 ** API and ABI modifications:
473 gnutls_session_channel_binding: New function.
474 gnutls_channel_binding_t: New enumeration.
475 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
476 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
478 * Version 2.11.3 (released 2010-10-14)
480 ** Indent code to follow the GNU Coding Standard.
481 You should be able to unpack the 2.11.2 release and run 'make indent'
482 twice to get exactly the same content as 2.11.3 except for generated
483 files.  Using GNU Indent 2.2.11.
485 ** API and ABI modifications:
486 No changes since last version.
488 * Version 2.11.2 (released 2010-10-08)
490 ** libgnutls: Several bug fixes on session resumption
491 and session tickets support.
493 ** libgnutls: Add new extended key usage ipsecIKE.
495 ** certtool: Renamed PKCS #11 options to: --p11-provider,
496 --p11-export-url, --p11-list-certs, --p11-list-certs,
497 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
498 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
499 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
500 --p11-delete-url
502 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
503 introduced with the new nettle code.
505 ** libgnutls: Corrected advertizing issue for session tickets.
507 ** API and ABI modifications:
508 gnutls_x509_crt_get_subject_unique_id: ADDED.
509 gnutls_x509_crt_get_issuer_unique_id: ADDED.
511 * Version 2.11.1 (released 2010-09-14)
513 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
514 to use the libgcrypt back end.
516 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
517 backend crypto library.
519 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
521 ** libgnutls: Several updates in the buffering internal interface.
523 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
524 tabs are being skipped.
526 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
528 ** libgnutls: The %COMPAT flag now allows larger records that violate the
529 TLS spec.
531 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
532 system calls. Applications that depended on it being 1 should explicitly call
533 gnutls_transport_set_lowat().
535 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
536 to ECRYPT II recommendations. Mappings were moved to a single location
537 and DSA keys are handled differently (since DSA2 allows for 1024,2048
538 and 3072 keys only).
540 ** libgnutls: gnutls_x509_privkey_import() will fallback to
541 gnutls_x509_privkey_import_pkcs8() without a password, if it
542 is unable to decode the key.
544 ** libgnutls: HMAC-MD5 no longer used by default.
546 ** API and ABI modifications:
547 gnutls_openpgp_privkey_sec_param: ADDED
548 gnutls_x509_privkey_sec_param: ADDED
550 * Version 2.11.0 (released 2010-07-22)
552 ** libgnutls: support scattered write using writev(). This takes
553 advantage of the new buffering layer and allows queuing of packets
554 and flushing them. This is currently used for handshake messages
555 only.
557 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
558 alternative locking procedures. By default the system available
559 locking is used. In *NIX pthreads are used and in windows the
560 critical section API. This follows a different approach than the
561 previous versions that depended on libgcrypt initialization. The
562 locks are now set by default in systems that support it. Programs
563 that used gcry_control() to set thread locks should insert it into
564 a block of
565 #if GNUTLS_VERSION_NUMBER <= 0x020b00
566         gcry_control(...)
567 #endif
569 ** libgnutls: Added support for reading DN from EV-certificates.
570 New DN values:
571 jurisdictionOfIncorporationLocalityName,
572 jurisdictionOfIncorporationStateOrProvinceName,
573 jurisdictionOfIncorporationCountryName
575 ** libgnutls: Added support for DSA signing/verifying with bit 
576 length over 1024.
578 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
579 has to be called to register any required md5 handlers.
581 ** libgnutls: Internal buffering code was replaced by simpler
582 code contributed by Jonathan Bastien-Filiatrault.
584 ** libgnutls: Internal API for extensions augmented to allow
585 safe storing and loading of data on resumption. This allows writing
586 self-contained extensions (when possible). As a side effect
587 the OPRFI extension was removed.
589 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
591 ** libgnutls: Added PKCS #11 support and an API to access objects in
592 gnutls/pkcs11.h. Currently certificates and public keys can be
593 imported from tokens, and operations can be performed on private keys.
595 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
597 ** libgnutls: Added initial support for the nettle library. It uses
598 the system's random generator for seeding. That is /dev/urandom in Linux, 
599 system calls in Win32 and EGD on other systems.
601 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
602     works even when resuming a session.
604 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
605 similar gnutls_certificate_set_server_retrieve_function() and
606 gnutls_certificate_set_client_retrieve_function(). In addition it support
607 PKCS #11 private keys.
609 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
610 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
612 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
613 sizes for private keys using a human understandable scale.
615 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
616 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
617 --pkcs11-delete-url, --pkcs11-write
619 certtool: The --pkcs-cipher is taken into account when generating a
620 private key. The default cipher used now is aes-128. The old behavior can
621 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
623 certtool: Added --certificate-pubkey to print the public key of the
624 certificate.
626 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
627 can now accept a PKCS #11 URL in addition to a file. This will allow for
628 example to use the Gnome-keyring trusted certificate list to verify
629 connections using a url such as:
630 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
632 ** API and ABI modifications:
633 gnutls_certificate_set_server_retrieve_function: DEPRECATED
634 gnutls_certificate_set_client_retrieve_function: DEPRECATED
635 gnutls_sign_callback_set: DEPRECATED
636 gnutls_global_set_mutex: ADDED
637 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
638 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
639 gnutls_x509_privkey_export_rsa_raw2: ADDED
640 gnutls_rnd: ADDED
641 gnutls_sec_param_to_pk_bits: ADDED
642 gnutls_pk_bits_to_sec_param: ADDED
643 gnutls_sec_param_get_name: ADDED
644 gnutls_pkcs11_type_get_name: ADDED
645 gnutls_certificate_set_retrieve_function: ADDED
646 gnutls_pkcs11_init: ADDED
647 gnutls_pkcs11_deinit: ADDED
648 gnutls_pkcs11_set_pin_function: ADDED
649 gnutls_pkcs11_set_token_function: ADDED
650 gnutls_pkcs11_add_provider: ADDED
651 gnutls_pkcs11_obj_init: ADDED
652 gnutls_pkcs11_obj_import_url: ADDED
653 gnutls_pkcs11_obj_export_url: ADDED
654 gnutls_pkcs11_obj_deinit: ADDED
655 gnutls_pkcs11_obj_export: ADDED
656 gnutls_pkcs11_obj_list_import_url: ADDED
657 gnutls_pkcs11_obj_export: ADDED
658 gnutls_x509_crt_import_pkcs11: ADDED
659 gnutls_pkcs11_obj_get_type: ADDED
660 gnutls_x509_crt_list_import_pkcs11: ADDED
661 gnutls_x509_crt_import_pkcs11_url: ADDED
662 gnutls_pkcs11_obj_get_info: ADDED
663 gnutls_pkcs11_token_get_info: ADDED
664 gnutls_pkcs11_token_get_url: ADDED
665 gnutls_pkcs11_privkey_init: ADDED
666 gnutls_pkcs11_privkey_deinit: ADDED
667 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
668 gnutls_pkcs11_privkey_get_info: ADDED
669 gnutls_pkcs11_privkey_import_url: ADDED
670 gnutls_pkcs11_privkey_sign_data: ADDED
671 gnutls_pkcs11_privkey_sign_hash: ADDED
672 gnutls_pkcs11_privkey_decrypt_data: ADDED
673 gnutls_privkey_init: ADDED
674 gnutls_privkey_deinit: ADDED
675 gnutls_privkey_get_pk_algorithm: ADDED
676 gnutls_privkey_get_type: ADDED
677 gnutls_privkey_import_pkcs11: ADDED
678 gnutls_privkey_import_x509: ADDED
679 gnutls_privkey_import_openpgp: ADDED
680 gnutls_privkey_sign_data: ADDED
681 gnutls_privkey_sign_hash: ADDED
682 gnutls_privkey_decrypt_data: ADDED
683 gnutls_pkcs11_privkey_export_url: ADDED
684 gnutls_x509_crq_privkey_sign: ADDED
685 gnutls_x509_crl_privkey_sign: ADDED
686 gnutls_x509_crt_privkey_sign: ADDED
687 gnutls_pubkey_init: ADDED
688 gnutls_pubkey_deinit: ADDED
689 gnutls_pubkey_get_pk_algorithm: ADDED
690 gnutls_pubkey_import_x509: ADDED
691 gnutls_pubkey_import_openpgp: ADDED
692 gnutls_pubkey_get_pk_rsa_raw: ADDED
693 gnutls_pubkey_get_pk_dsa_raw: ADDED
694 gnutls_pubkey_export: ADDED
695 gnutls_pubkey_get_key_id: ADDED
696 gnutls_pubkey_get_key_usage: ADDED
697 gnutls_pubkey_verify_hash: ADDED
698 gnutls_pubkey_get_verify_algorithm: ADDED
699 gnutls_pkcs11_type_get_name: ADDED
700 gnutls_pubkey_import_pkcs11_url: ADDED
701 gnutls_pubkey_import: ADDED
702 gnutls_pubkey_import_pkcs11: ADDED
703 gnutls_pubkey_import_dsa_raw: ADDED
704 gnutls_pubkey_import_rsa_raw: ADDED
705 gnutls_x509_crt_set_pubkey: ADDED
706 gnutls_x509_crq_set_pubkey: ADDED
707 gnutls_pkcs11_copy_x509_crt: ADDED
708 gnutls_pkcs11_copy_x509_privkey: ADDED
709 gnutls_pkcs11_delete_url: ADDED
711 * Version 2.10.1 (released 2010-07-25)
713 ** libgnutls: Added support for broken certificates that indicate RSA
714 with strange OIDs.
716 ** gnutls-cli: Allow verification using V1 CAs.
718 ** libgnutls: gnutls_x509_privkey_import() will fallback to
719 gnutls_x509_privkey_import_pkcs8() without a password, if it
720 is unable to decode the key.
722 ** libgnutls: Correctly deinitialize crypto API functions to prevent
723 a memory leak.  Reported by Mads Kiilerich.
725 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
726 issue a warning, that the output key might not be working everywhere.
728 ** certtool: The --pkcs-cipher is taken into account when generating a
729 private key. The default cipher used now is aes-128. The old behavior
730 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
732 ** API and ABI modifications:
733 No changes since last version.
735 * Version 2.10.0 (released 2010-06-25)
737 ** API and ABI modifications:
738 No changes since last version.
740 * Version 2.9.12 (released 2010-06-17)
742 ** gnutls-cli: Make --starttls work again.
743 Problem introduced in patch to use read() instead of fgets() committed
744 on 2010-01-27.
746 ** API and ABI modifications:
747 No changes since last version.
749 * Version 2.9.11 (released 2010-06-07)
751 ** libgnutls: Removed two APIs related to safe renegotiation.
752 Use priority strings instead.  The APIs were
753 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
754 (Remember that we don't promise ABI stability during development
755 series, so this doesn't cause an shared library ABI increment.)
757 ** tests: More self testing of safe renegotiation extension.
758 See tests/safe-renegotiation/README for more information.
760 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
762 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
764 ** API and ABI modifications:
765 gnutls_safe_negotiation_set_initial: REMOVED.
766 gnutls_safe_renegotiation_set: REMOVED.
768 * Version 2.9.10 (released 2010-04-22)
770 ** libgnutls: Time verification extended to trusted certificate list.
771 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
772 specified.
774 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
775 Based on patch by Pavan Konjarla.  Adds new constant
776 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
778 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
779 Solves the issue discussed in:
780 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
781 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
782 Note that to allow connecting to unpatched servers the full protection
783 is only enabled if the priority string %SAFE_RENEGOTIATION is
784 specified. You can check whether protection is in place by querying
785 gnutls_safe_renegotiation_status().  New error codes
786 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
787 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
789 ** libgnutls: When checking openpgp self signature also check the signatures
790 ** of all subkeys.
791 Ilari Liusvaara noticed and reported the issue and provided test
792 vectors as well.
794 ** libgnutls: Added cryptodev support (/dev/crypto).
795 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
796 benchmark utility for AES.  Adds new error codes
797 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
799 ** libgnutls: Exported API to access encryption and hash algorithms.
800 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
801 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
802 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
803 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
804 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
805 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
806 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
808 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
809 verification of certificate upon receipt rather than waiting until the
810 end of the handshake.
812 ** libgnutls: Don't send alerts during handshake.
813 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
815 ** certtool: Corrected two issues that affected certificate request generation.
816 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
817 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
818 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
819 those parameters there since other implementations don't do either and having 
820 them does not seem to offer anything (anyway you need the signer's certificate
821 to verify thus public key will be available). Found thanks to Boyan Kasarov.
822 This however has the side-effect that public key IDs shown by certtool are
823 now different than previous gnutls releases.
824 (3) the option --pgp-certificate-info will verify self signatures
826 ** certtool: Allow exporting of Certificate requests on DER format.
828 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
830 ** gnutls-cli: Handle reading binary data from server.
831 Reported by and tiny patch from Vitaly Mayatskikh
832 <v.mayatskih@gmail.com> in
833 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
835 ** minitasn1: Upgraded to libtasn1 version 2.6.
837 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
838 ** Added Italian and Simplified Chinese translation.
839 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
840 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
842 ** doc: The GTK-DOC manual is significantly improved.
844 ** API and ABI modifications:
845 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
846 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
847 %UNSAFE_RENEGOTIATION: Added to priority strings.
848 GNUTLS_DIG_SHA224: ADDED.
849 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
850 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
851 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
852 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
853 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
854 GNUTLS_MAC_SHA224: ADDED.
855 GNUTLS_OID_X520_NAME: ADDED.
856 GNUTLS_OID_X520_POSTALCODE: ADDED.
857 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
858 GNUTLS_VERSION_MAX: ADDED.
859 gnutls_certificate_set_verify_function: ADDED.
860 gnutls_cipher_decrypt: ADDED.
861 gnutls_cipher_deinit: ADDED.
862 gnutls_cipher_encrypt: ADDED.
863 gnutls_cipher_get_block_size: ADDED.
864 gnutls_cipher_init: ADDED.
865 gnutls_hash: ADDED.
866 gnutls_hash_deinit: ADDED.
867 gnutls_hash_fast: ADDED.
868 gnutls_hash_get_len: ADDED.
869 gnutls_hash_init: ADDED.
870 gnutls_hash_output: ADDED.
871 gnutls_hmac: ADDED.
872 gnutls_hmac_deinit: ADDED.
873 gnutls_hmac_fast: ADDED.
874 gnutls_hmac_get_len: ADDED.
875 gnutls_hmac_init: ADDED.
876 gnutls_hmac_output: ADDED.
877 gnutls_safe_negotiation_set_initial: ADDED.
878 gnutls_safe_renegotiation_set: ADDED.
879 gnutls_safe_renegotiation_status: ADDED.
881 * Version 2.9.9 (released 2009-11-09)
883 ** libgnutls: Cleanups and several bug fixes.
884 Found by Steve Grubb and Tomas Mraz.
886 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
888 ** Fix --disable-valgrind-tests.
889 Reported by Ingmar Vanhassel in
890 <https://savannah.gnu.org/support/?107029>.
892 ** API and ABI modifications:
893 No changes since last version.
895 * Version 2.9.8 (released 2009-11-05)
897 ** libgnutls: Fix for memory leaks on interrupted handshake.
898 Reported by Tang Tong.
900 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
901 ** extension and certificate verify field.
902 This requires changes for TLS 1.2 servers and clients that use
903 callbacks for certificate retrieval.  They are now required to check
904 with gnutls_sign_algorithm_get_requested() whether the certificate
905 they send complies with the peer's preferences in signature
906 algorithms.
908 ** libgnutls: In server side when resuming a session do not overwrite the 
909 ** initial session data with the resumed session data.
911 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
912 ** encryption.
913 This affects also PKCS #12 encoded files.  This adds the following new
914 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
915 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
917 ** libgnutls: Fix PKCS#12 encoding.
918 The error you would get was "The OID is not supported.".  Problem
919 introduced for the v2.8.x branch in 2.7.6.
921 ** certtool: Added the --pkcs-cipher option.
922 To explicitely specify the encryption algorithm to use.
924 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
926 ** tests: Fix time bomb in chainverify self-test.
927 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
928 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
930 ** tests: Fix expired cert in chainverify self-test.
932 ** i18n: Vietnamese translation updated.
933 Thanks to Clytie Siddall.
935 ** API and ABI modifications:
936 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
937 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
938 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
939 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
940 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
941 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
942 gnutls_sign_algorithm_get_requested: ADDED.
944 * Version 2.9.7 (released 2009-10-06)
946 ** libgnutls: TLS 1.2 server mode fixes.
947 Now interoperates against Opera.  Contributed by Daiki Ueno.
949 ** libgnutlsxx: Fix link problems.
950 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
952 ** guile: Compatibility with guile 2.x.
953 By Ludovic Courtes <ludovic.courtes@laas.fr>.
955 ** API and ABI modifications:
956 No changes since last version.
958 * Version 2.9.6 (released 2009-09-22)
960 ** libgnutls: Enable Camellia ciphers by default.
962 ** API and ABI modifications:
963 No changes since last version.
965 * Version 2.9.5 (released 2009-09-10)
967 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
968 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
969 gnutls_x509_crt_get_issuer_alt_name, and
970 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
971 Hards <bradh@frogmouth.net>.
973 ** API and ABI modifications:
974 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
975 gnutls_x509_crt_get_issuer_alt_name: ADDED.
976 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
978 * Version 2.9.4 (released 2009-09-03)
980 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
981 The new supported ciphersuites are AES-128/256 in CBC mode with
982 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
983 SHA-256 is now the preferred default MAC (however it is only used with
984 TLS 1.2).
986 ** libgnutls: Make OpenPGP hostname checking work again.
987 The patch to resolve the X.509 CN/SAN issue accidentally broken
988 OpenPGP hostname comparison.
990 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
991 Reported by Howard Chu <hyc@symas.com> in
992 <https://savannah.gnu.org/support/?106975>.
994 ** Fix use of deprecated types internally.
995 Use of deprecated types in GnuTLS from now on will lead to a compile
996 error, to prevent this from happening again.
998 ** API and ABI modifications:
999 No changes since last version.
1001 * Version 2.9.3 (released 2009-08-19)
1003 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
1004 The new APIs are gnutls_session_ticket_enable_client,
1005 gnutls_session_ticket_enable_server, and
1006 gnutls_session_ticket_key_generate.
1008 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
1010 ** API and ABI modifications:
1011 gnutls_session_ticket_key_generate: ADDED.
1012 gnutls_session_ticket_enable_client: ADDED.
1013 gnutls_session_ticket_enable_server: ADDED.
1015 * Version 2.9.2 (released 2009-08-14)
1017 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
1018 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
1019 into 1) not printing the entire CN/SAN field value when printing a
1020 certificate and 2) cause incorrect positive matches when matching a
1021 hostname against a certificate.  Some CAs apparently have poor
1022 checking of CN/SAN values and issue these (arguable invalid)
1023 certificates.  Combined, this can be used by attackers to become a
1024 MITM on server-authenticated TLS sessions.  The problem is mitigated
1025 since attackers needs to get one certificate per site they want to
1026 attack, and the attacker reveals his tracks by applying for a
1027 certificate at the CA.  It does not apply to client authenticated TLS
1028 sessions.  Research presented independently by Dan Kaminsky and Moxie
1029 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
1030 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
1032 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
1033 The function may fail incorrectly when an earlier certificate was
1034 imported to the same gnutls_x509_crt_t structure.
1036 ** minitasn1: Internal copy updated to libtasn1 v2.3.
1038 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
1039 Before it always returned false.  Reported by Peter Hendrickson
1040 <pdh@wiredyne.com> in
1041 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
1043 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
1044 The error resulted in truncated strings when printing unknown OIDs in
1045 X.509 certificate DNs.  Reported by Tim Kosse
1046 <tim.kosse@filezilla-project.org> in
1047 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1049 ** libgnutls: Fix PKCS#12 decryption from password.
1050 The encryption key derived from the password was incorrect for (on
1051 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
1052 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1053 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1055 ** libgnutls: Return correct bit lengths of some MPIs.
1056 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1057 gnutls_dh_get_peers_public_bits.  Before the reported value was
1058 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
1059 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1061 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1062 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1063 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1065 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1067 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1068 Before we required that the runtime library used the same (or more
1069 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
1070 that the runtime usage is above the minimum required.  Reported by
1071 Marco d'Itri <md@linux.it> via Andreas Metzler
1072 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1074 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
1076 ** tests: Improved test vectors in self-test pkcs12_s2k.
1078 ** tests: Added new self-test dn2 to detect off-by-one size error.
1080 ** tests: Fix failure in "chainverify" because a certificate have expired.
1082 ** API and ABI modifications:
1083 No changes since last version.
1085 * Version 2.9.1 (released 2009-06-08)
1087 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1088 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1089 <http://bugs.gentoo.org/272388>.
1091 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
1093 ** Reduce stack usage for some CRQ functions.
1095 ** Doc fixes for CRQ functions.
1097 ** API and ABI modifications:
1098 No changes since last version.
1100 * Version 2.9.0 (released 2009-05-28)
1102 ** Doc fixes.
1104 ** API and ABI modifications:
1105 No changes since last version.
1107 * Version 2.8.6 (released 2010-03-15)
1109 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
1110 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
1111 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1113 Note: As a side effect of this change, the "public key identifier"
1114 value computed for a certificate using this version of GnuTLS will be
1115 different from values computed using earlier versions of GnuTLS.
1117 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
1118 ** optional SignatureAlgorithm parameter field.
1119 VeriSign rejected these CSRs.  They are stricly speaking not needed
1120 since you need the signer's certificate to verify the certificate
1121 signature anyway.  Reported by Wilankar Trupti
1122 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1124 ** libgnutls: When checking openpgp self signature also check the signatures
1125 ** of all subkeys.
1126 Ilari Liusvaara noticed and reported the issue and provided test
1127 vectors as well.
1129 ** libgnutls: Cleanups and several bug fixes.
1130 Found by Steve Grubb and Tomas Mraz.
1132 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1134 ** Fix --disable-valgrind-tests.
1135 Reported by Ingmar Vanhassel in
1136 <https://savannah.gnu.org/support/?107029>.
1138 ** examples: Use the new APIs for printing X.509 certificate information.
1140 ** Fix build failures on Solaris.
1141 Thanks to Dagobert Michelsen <dam@opencsw.org>.
1143 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
1144 ** translations.  Added Simplified Chinese translation.
1146 ** API and ABI modifications:
1147 No changes since last version.
1149 * Version 2.8.5 (released 2009-11-02)
1151 ** libgnutls: In server side when resuming a session do not overwrite the 
1152 ** initial session data with the resumed session data.
1154 ** libgnutls: Fix PKCS#12 encoding.
1155 The error you would get was "The OID is not supported.".  Problem
1156 introduced for the v2.8.x branch in 2.7.6.
1158 ** guile: Compatibility with guile 2.x.
1159 By Ludovic Courtes <ludovic.courtes@laas.fr>.
1161 ** tests: Fix expired cert in chainverify self-test.
1163 ** tests: Fix time bomb in chainverify self-test.
1164 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1165 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
1167 ** API and ABI modifications:
1168 No changes since last version.
1170 * Version 2.8.4 (released 2009-09-18)
1172 ** libgnutls: Enable Camellia ciphers by default.
1174 ** libgnutls: Make OpenPGP hostname checking work again.
1175 The patch to resolve the X.509 CN/SAN issue accidentally broken
1176 OpenPGP hostname comparison.
1178 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
1179 Reported by Howard Chu <hyc@symas.com> in
1180 <https://savannah.gnu.org/support/?106975>.
1182 ** API and ABI modifications:
1183 No changes since last version.
1185 * Version 2.8.3 (released 2009-08-13)
1187 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
1188 Code intended to be removed would lead to an read-out-bound error in
1189 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
1190 code have been allocated for the vulnerability: [CVE-2009-2730].
1192 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
1193 The function may fail incorrectly when an earlier certificate was
1194 imported to the same gnutls_x509_crt_t structure.
1196 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
1198 ** tests: Made self-test mini-eagain take less time.
1200 ** doc: Typo fixes.
1202 ** API and ABI modifications:
1203 No changes since last version.
1205 * Version 2.8.2 (released 2009-08-10)
1207 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
1208 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
1209 into 1) not printing the entire CN/SAN field value when printing a
1210 certificate and 2) cause incorrect positive matches when matching a
1211 hostname against a certificate.  Some CAs apparently have poor
1212 checking of CN/SAN values and issue these (arguable invalid)
1213 certificates.  Combined, this can be used by attackers to become a
1214 MITM on server-authenticated TLS sessions.  The problem is mitigated
1215 since attackers needs to get one certificate per site they want to
1216 attack, and the attacker reveals his tracks by applying for a
1217 certificate at the CA.  It does not apply to client authenticated TLS
1218 sessions.  Research presented independently by Dan Kaminsky and Moxie
1219 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
1220 for providing one part of the patch.  [GNUTLS-SA-2009-4].
1222 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
1223 Before it always returned false.  Reported by Peter Hendrickson
1224 <pdh@wiredyne.com> in
1225 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
1227 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
1228 The error resulted in truncated strings when printing unknown OIDs in
1229 X.509 certificate DNs.  Reported by Tim Kosse
1230 <tim.kosse@filezilla-project.org> in
1231 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1233 ** libgnutls: Return correct bit lengths of some MPIs.
1234 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1235 gnutls_dh_get_peers_public_bits.  Before the reported value was
1236 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
1237 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1239 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1240 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1241 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1243 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1245 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1246 Before we required that the runtime library used the same (or more
1247 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
1248 that the runtime usage is above the minimum required.  Reported by
1249 Marco d'Itri <md@linux.it> via Andreas Metzler
1250 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1252 ** minitasn1: Internal copy updated to libtasn1 v2.3.
1254 ** tests: Fix failure in "chainverify" because a certificate have expired.
1256 ** API and ABI modifications:
1257 No changes since last version.
1259 * Version 2.8.1 (released 2009-06-10)
1261 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1262 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1263 <http://bugs.gentoo.org/272388>.
1265 ** libgnutls: Fix PKCS#12 decryption from password.
1266 The encryption key derived from the password was incorrect for (on
1267 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
1268 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1269 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1271 ** API and ABI modifications:
1272 No changes since last version.
1274 * Version 2.8.0 (released 2009-05-27)
1276 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
1278 ** Major changes compared to the v2.4 branch:
1280 *** lib: Linker version scripts reduces number of exported symbols.
1282 *** lib: Limit exported symbols on systems without LD linker scripts.
1284 *** libgnutls: Fix namespace issue with version symbols.
1286 *** libgnutls: Add functions to verify a hash against a certificate.
1287 gnutls_x509_crt_verify_hash: ADDED
1288 gnutls_x509_crt_get_verify_algorithm: ADDED
1290 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1292 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1294 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1296 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1298 *** gnutls-serv: No longer disable MAC padding by default.
1300 *** gnutls-cli: Certificate information output format changed.
1302 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1303 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1305 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1307 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1309 *** libgnutls: gnutls_handshake when sending client hello during a
1310 rehandshake, will not offer a version number larger than the current.
1312 *** libgnutls: New interface to get key id for certificate requests.
1313 gnutls_x509_crq_get_key_id: ADDED.
1315 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
1317 *** certtool: --verify-chain now prints results of using library verification.
1319 *** libgnutls: Libgcrypt initialization changed.
1321 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1323 *** gnutls-cli: Return non-zero exit code on error conditions.
1325 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1327 *** certtool: allow setting arbitrary key purpose object identifiers.
1329 *** libgnutls: Change detection of when to use a linker version script.
1330 Use --enable-ld-version-script or --disable-ld-version-script to
1331 override auto-detection logic.
1333 *** Fix warnings and build GnuTLS with more warnings enabled.
1335 *** New API to set X.509 credentials from PKCS#12 memory structure.
1336 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1338 *** Old libgnutls.m4 and libgnutls-config scripts removed.
1339 Please use pkg-config instead.
1341 *** libgnutls: Added functions to handle CRL extensions.
1342 gnutls_x509_crl_get_authority_key_id: ADDED
1343 gnutls_x509_crl_get_number: ADDED
1344 gnutls_x509_crl_get_extension_oid: ADDED
1345 gnutls_x509_crl_get_extension_info: ADDED
1346 gnutls_x509_crl_get_extension_data: ADDED
1347 gnutls_x509_crl_set_authority_key_id: ADDED
1348 gnutls_x509_crl_set_number: ADDED
1350 *** libgnutls: Added functions to handle X.509 extensions in Certificate
1351 Requests.
1352 gnutls_x509_crq_get_key_rsa_raw: ADDED
1353 gnutls_x509_crq_get_attribute_info: ADDED
1354 gnutls_x509_crq_get_attribute_data: ADDED
1355 gnutls_x509_crq_get_extension_info: ADDED
1356 gnutls_x509_crq_get_extension_data: ADDED
1357 gnutls_x509_crq_get_key_usage: ADDED
1358 gnutls_x509_crq_get_basic_constraints: ADDED
1359 gnutls_x509_crq_get_subject_alt_name: ADDED
1360 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1361 gnutls_x509_crq_get_extension_by_oid: ADDED
1362 gnutls_x509_crq_set_subject_alt_name: ADDED
1363 gnutls_x509_crq_set_basic_constraints: ADDED
1364 gnutls_x509_crq_set_key_usage: ADDED
1365 gnutls_x509_crq_get_key_purpose_oid: ADDED
1366 gnutls_x509_crq_set_key_purpose_oid: ADDED
1367 gnutls_x509_crq_print: ADDED
1368 gnutls_x509_crt_set_crq_extensions: ADDED
1370 *** certtool: Print and set CRL and CRQ extensions.
1372 *** minitasn1: Internal copy updated to libtasn1 v2.1.
1374 *** examples: Now released into the public domain.
1376 *** The Texinfo and GTK-DOC manuals were improved.
1378 *** Several self-tests were added and others improved.
1380 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
1381 No offically supported interfaces have been modified or removed.  The
1382 library should be completely backwards compatible on both the source
1383 and binary level.
1385 The shared library no longer exports some symbols that have never been
1386 officially supported, i.e., not mentioned in any of the header files.
1387 The symbols are:
1389   _gnutls*
1390   gnutls_asn1_tab
1391   
1392 Normally when symbols are removed, the shared library version has to
1393 be incremented.  This leads to a significant cost for everyone using
1394 the library.  Because none of the above symbols have ever been
1395 intended for use by well-behaved applications, we decided that the it
1396 would be better for those applications to pay the price rather than
1397 incurring problems on the majority of applications.
1399 If it turns out that applications have been using unofficial
1400 interfaces, we will need to release a follow-on release on the v2.8
1401 branch to exports additional interfaces.  However, initial testing
1402 suggests that few if any applications have been using any of the
1403 internal symbols.
1405 Although not a new change compared to 2.6.x, we'd like to remind you
1406 interfaces have been modified so that X.509 chain verification now
1407 also checks activation/expiration times on certificates.  The affected
1408 functions are:
1410 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1411 gnutls_certificate_verify_peers: Likewise.
1412 gnutls_certificate_verify_peers2: Likewise.
1413 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1414 GNUTLS_CERT_EXPIRED: ADDED.
1415 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1417 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
1418 we gave our rationale for it in earlier release notes.
1420 The following symbols have been added to the library:
1422 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1423 gnutls_x509_crl_get_authority_key_id: ADDED
1424 gnutls_x509_crl_get_extension_data: ADDED
1425 gnutls_x509_crl_get_extension_info: ADDED
1426 gnutls_x509_crl_get_extension_oid: ADDED
1427 gnutls_x509_crl_get_number: ADDED
1428 gnutls_x509_crl_set_authority_key_id: ADDED
1429 gnutls_x509_crl_set_number: ADDED
1430 gnutls_x509_crq_get_attribute_data: ADDED
1431 gnutls_x509_crq_get_attribute_info: ADDED
1432 gnutls_x509_crq_get_basic_constraints: ADDED
1433 gnutls_x509_crq_get_extension_by_oid: ADDED
1434 gnutls_x509_crq_get_extension_data: ADDED
1435 gnutls_x509_crq_get_extension_info: ADDED
1436 gnutls_x509_crq_get_key_id: ADDED.
1437 gnutls_x509_crq_get_key_purpose_oid: ADDED
1438 gnutls_x509_crq_get_key_rsa_raw: ADDED
1439 gnutls_x509_crq_get_key_usage: ADDED
1440 gnutls_x509_crq_get_subject_alt_name: ADDED
1441 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1442 gnutls_x509_crq_print: ADDED
1443 gnutls_x509_crq_set_basic_constraints: ADDED
1444 gnutls_x509_crq_set_key_purpose_oid: ADDED
1445 gnutls_x509_crq_set_key_usage: ADDED
1446 gnutls_x509_crq_set_subject_alt_name: ADDED
1447 gnutls_x509_crt_get_verify_algorithm: ADDED
1448 gnutls_x509_crt_set_crq_extensions: ADDED
1449 gnutls_x509_crt_verify_hash: ADDED
1451 The following interfaces have been added to the header files:
1453 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1454 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1455 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1456 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1457 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1458 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
1460 The following interfaces have been deprecated:
1462 LIBGNUTLS_VERSION: DEPRECATED.
1463 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1464 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1465 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1466 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1467 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
1469 * Version 2.7.14 (released 2009-05-26)
1471 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
1472 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
1473 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
1474 deprecated.
1476 ** Doc: Several typo fixes in documentation.
1477 Reported by Peter Hendrickson <pdh@wiredyne.com>.
1479 ** API and ABI modifications:
1480 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
1481 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
1483 * Version 2.7.13 (released 2009-05-25)
1485 ** libgnutls: Fix version of some exported symbols in the shared library.
1486 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1487 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
1489 ** tests: Handle recently expired certificates in chainverify self-test.
1490 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1491 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
1493 ** API and ABI modifications:
1494 No changes since last version.
1496 * Version 2.7.12 (released 2009-05-20)
1498 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
1500 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
1501 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1502 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
1504 ** Fix build failures.
1505 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
1506 G. Christensen" <tgc@jupiterrise.com> in
1507 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
1509 ** minitasn1: Internal copy updated to libtasn1 v2.2.
1510 GnuTLS should work fine with libtasn1 v1.x and that is still
1511 supported.
1513 ** API and ABI modifications:
1514 No changes since last version.
1516 * Version 2.7.11 (released 2009-05-18)
1518 ** minitasn1: Fix build failure when using internal libtasn1.
1519 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1520 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
1522 ** libgnutls: Fix build failure with --disable-cxx.
1523 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1524 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
1526 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
1527 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1528 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
1530 ** Building with many warning flags now requires --enable-gcc-warnings.
1531 This avoids crying wolf for normal compiles.
1533 ** API and ABI modifications:
1534 No changes since last version.
1536 * Version 2.7.10 (released 2009-05-13)
1538 ** examples: Now released into the public domain.
1539 This makes the license of the example code compatible with more
1540 licenses, including the (L)GPL.
1542 ** minitasn1: Internal copy updated to libtasn1 v2.1.
1543 GnuTLS should work fine with libtasn1 v1.x and that is still
1544 supported.
1546 ** libgnutls: Fix crash in signature verification
1547 The fix for the CVE-2009-1415 problem wasn't merged completely.
1549 ** doc: Fixes for GTK-DOC output.
1551 ** API and ABI modifications:
1552 No changes since last version.
1554 * Version 2.7.9 (released 2009-05-11)
1556 ** doc: Fix strings in man page of gnutls_priority_init.
1558 ** doc: Fix tables of error codes and supported algorithms.
1560 ** Fix build failure when cross-compiled using MinGW.
1562 ** Fix build failure when LZO is enabled.
1563 Reported by Arfrever Frehtes Taifersar Arahesis
1564 <arfrever.fta@gmail.com> in
1565 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
1567 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
1568 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1569 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
1571 ** Fix warnings in self-tests.
1573 ** API and ABI modifications:
1574 No changes since last version.
1576 * Version 2.7.8 (released 2009-05-03)
1578 ** libgnutls: Fix DSA key generation.
1579 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1581 ** libgnutls: Check expiration/activation time on untrusted certificates.
1582 Merged from stable branch.  Reported by Romain Francoise
1583 <romain@orebokech.com>.  This changes the semantics of
1584 gnutls_x509_crt_list_verify, which in turn is used by
1585 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
1586 We add two new gnutls_certificate_status_t codes for reporting the new
1587 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
1588 We also add a new gnutls_certificate_verify_flags flag,
1589 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1590 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
1592 ** lib: Linker version scripts reduces number of exported symbols.
1593 The linker version script now lists all exported ABIs explicitly, to
1594 avoid accidentally exporting unintended functions.  Compared to
1595 before, most symbols beginning with _gnutls* are no longer exported.
1596 These functions have never been intended for use by applications, and
1597 there were no prototypes for these function in the public header
1598 files.  Thus we believe it is possible to do this without incrementing
1599 the library ABI version which normally has to be done when removing an
1600 interface.
1602 ** lib: Limit exported symbols on systems without LD linker scripts.
1603 Before all symbols were exported.  Now we limit the exported symbols
1604 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
1605 _gnutls*.  This is a superset of the actual supported ABI, but still
1606 an improvement compared to before.  This is implemented using Libtool
1607 -export-symbols-regex.  It is more portable than linker version
1608 scripts.
1610 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
1611 This should have been done in the last release.
1613 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1614 Reported by Peter Hendrickson <pdh@wiredyne.com> in
1615 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
1617 ** doc: Improved sections for the info manual.
1618 We now follow the advice given by the texinfo manual on which
1619 directory categories to use.  In particular, libgnutls moved from the
1620 'GNU Libraries' section to the 'Software libraries' and the command
1621 line tools moved from 'Network Applications' to 'System
1622 Administration'.
1624 ** API and ABI modifications:
1625 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1626 gnutls_certificate_verify_peers: Likewise.
1627 gnutls_certificate_verify_peers2: Likewise.
1628 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1629 GNUTLS_CERT_EXPIRED: ADDED.
1630 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1632 * Version 2.7.7 (released 2009-04-20)
1634 ** libgnutls: Applied patch by Cedric Bail to add functions
1635 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
1637 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
1638 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1639 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
1641 ** minitasn1: Internal copy updated to libtasn1 v1.8.
1642 GnuTLS is also internally ready to be used with libtasn1 v2.0.
1644 ** doc: Fix build failure of errcodes/printlist.
1645 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1646 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
1648 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1649 It is currently only used by the core library.  This will enable a new
1650 domain 'gnutls' for translations of the command line tools.
1652 ** Corrected possible memory corruption on signature verification failure. 
1653 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
1655 ** API and ABI modifications:
1656 gnutls_x509_crt_verify_hash: ADDED
1657 gnutls_x509_crt_get_verify_algorithm: ADDED
1659 * Version 2.7.6 (released 2009-02-27)
1661 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1662 This applies both to generating certificates and certificate requests.
1664 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
1666 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1667 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
1668 be used for chain verification.
1670 ** gnutls-serv: No longer disable MAC padding by default.
1671 Use --priority NORMAL:%COMPAT to disable MAC padding again.
1673 ** gnutls-cli: Certificate information output format changed.
1674 The tool now uses libgnutls' functions to print certificate
1675 information.  This avoids code duplication.
1677 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1678 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1679 They can be used to override the default certificate chain validation
1680 behaviour.
1682 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
1683 specify the client hello message record version. Used to overcome buggy 
1684 TLS servers. Report by Martin von Gagern.
1686 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1688 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1690 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
1692 ** API and ABI modifications:
1693 No changes since last version.
1695 * Version 2.7.5 (released 2009-02-06)
1697 ** libgnutls: Accept chains where intermediary certs are trusted.
1698 Before GnuTLS needed to validate the entire chain back to a
1699 self-signed certificate.  GnuTLS will now stop looking when it has
1700 found an intermediary trusted certificate.  The new behaviour is
1701 useful when chains, for example, contains a top-level CA, an
1702 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1703 To avoid chain validation errors due to the RSA-MD5 cert, you can
1704 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1705 The signature on trusted certificates are not checked, so the chain
1706 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1707 <deengert@anl.gov> in
1708 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1710 ** libgnutls: result_size in gnutls_hex_encode now holds
1711 the size of the result. Report by John Brooks <special@dereferenced.net>.
1713 ** libgnutls: gnutls_handshake when sending client hello during a
1714 rehandshake, will not offer a version number larger than the current.
1715 Reported by Tristan Hill <stan@saticed.me.uk>.
1717 ** libgnutls: Permit V1 Certificate Authorities properly.
1718 Before they were mistakenly rejected even though
1719 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1720 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1721 "Douglas E. Engert" <deengert@anl.gov> in
1722 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1724 ** API and ABI modifications:
1725 No changes since last version.
1727 * Version 2.7.4 (released 2009-01-07)
1729 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1730 This is a bugfix -- the previous attempt to do this from internal x509
1731 certificate verification procedures did not return the correct value
1732 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1733 <dkg@fifthhorseman.net> in
1734 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1735 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1736 Gillmor <dkg@fifthhorseman.net>.
1738 ** libgnutls: New interface to get key id for certificate requests.
1739 Patch from David Marín Carreño <davefx@gmail.com> in
1740 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
1742 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
1744 ** certtool: --verify-chain now prints results of using library verification.
1745 Earlier, certtool --verify-chain used its own validation algorithm
1746 which wasn't guaranteed to give the same result as the libgnutls
1747 internal validation algorithm.  Now this command print a new final
1748 line with header 'Chain verification output:' that contains the result
1749 from using the internal verification algorithm on the same chain.
1751 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
1753 ** API and ABI modifications:
1754 gnutls_x509_crq_get_key_id: ADDED.
1756 * Version 2.7.3 (released 2008-12-10)
1758 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1759 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1760 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1761 Andreas Metzler <ametzler@downhill.at.eu.org> in
1762 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1764 ** libgnutls: Libgcrypt initialization changed.
1765 If libgcrypt has not already been initialized, GnuTLS will now
1766 initialize libgcrypt with disabled secure memory.  Initialize
1767 libgcrypt explicitly in your application if you want to enable secure
1768 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
1769 allocation functions, which doesn't use secure memory, so there is no
1770 real change in behaviour.
1772 ** libgnutls: Fix memory leak in PSK authentication.
1773 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1774 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1776 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1778 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1779 It needs to be invoked before libgcrypt is initialized.
1781 ** gnutls-cli: Return non-zero exit code on error conditions.
1783 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1785 ** tests: Added chainverify self-test that tests X.509 chain verifications.
1787 ** API and ABI modifications:
1788 No changes since last version.
1790 * Version 2.7.2 (released 2008-11-18)
1792 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1793 The flaw makes it possible for man in the middle attackers (i.e.,
1794 active attackers) to assume any name and trick GnuTLS clients into
1795 trusting that name.  Thanks for report and analysis from Martin von
1796 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1798 Any updates with more details about this vulnerability will be added
1799 to <http://www.gnu.org/software/gnutls/security.html>
1801 ** libgnutls: Fix namespace issue with version symbols.
1802 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
1803 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
1804 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
1805 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
1806 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
1807 work but are deprecated.
1809 ** certtool: allow setting arbitrary key purpose object identifiers.
1811 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
1813 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1814 Reported by Kevin Quick <quick@sparq.org> in
1815 <https://savannah.gnu.org/support/index.php?106454>.
1817 ** libgnutls-extra: Make building with LZO compression work again.
1818 Build failure reported by Arfrever Frehtes Taifersar Arahesis
1819 <arfrever.fta@gmail.com> in
1820 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
1822 ** libgnutls: Change detection of when to use a linker version script.
1823 Use --enable-ld-version-script or --disable-ld-version-script to
1824 override auto-detection logic.
1826 ** doc: Change license on the manual to GFDLv1.3+.
1828 ** doc: GTK-DOC fixes for new splitted configuration system.
1830 ** doc: Texinfo stylesheet uses white background.
1832 ** tests: Add cve-2008-4989.c self-test.
1833 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
1834 follow-on problem with crashes on length 1 certificate chains.
1836 ** gnulib: Deprecated modules removed.
1837 Modules include memchr and memcmp.
1839 ** Fix warnings and build GnuTLS with more warnings enabled.
1841 ** minitasn1: Internal copy updated to libtasn1 v1.7.
1843 ** API and ABI modifications:
1844 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1845 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1846 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1847 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1848 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1849 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1850 LIBGNUTLS_VERSION: DEPRECATED.
1851 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1852 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1853 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1854 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1856 * Version 2.7.1 (released 2008-10-31)
1858 ** certtool: print a PKCS #8 key even if it is not encrypted.
1860 ** Old libgnutls.m4 and libgnutls-config scripts removed.
1861 Please use pkg-config instead.
1863 ** Configuration system modified.
1864 There is now a configure script in lib/ and libextra/ as well, because
1865 gnulib works better with a config.h per gnulib directory.
1867 ** API and ABI modifications:
1868 No changes since last version.
1870 * Version 2.7.0 (released 2008-10-16)
1872 ** libgnutls: Added functions to handle CRL extensions.
1874 ** libgnutls: Added functions to handle X.509 extensions in Certificate
1875 Requests.
1877 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
1878 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
1880 ** certtool: Print and set CRL and CRQ extensions.
1882 ** libgnutls-extra: Protect internal symbols with static.
1883 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1884 Ucko <ucko@ncbi.nlm.nih.gov>.
1886 ** libgnutls-openssl: fix out of bounds access.
1887 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1888 from Thomas Viehmann <tv@beamnet.de>.
1890 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1892 ** tests: Make tests compile when using internal libtasn1.
1893 Patch by ludo@gnu.org (Ludovic Courtès).
1895 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1896 We now require a libgcrypt that has Camellia constants declared in
1897 gcrypt.h, which means v1.3.0 or later.
1899 ** API and ABI modifications:
1900 gnutls_x509_crl_get_authority_key_id: ADDED
1901 gnutls_x509_crl_get_number: ADDED
1902 gnutls_x509_crl_get_extension_oid: ADDED
1903 gnutls_x509_crl_get_extension_info: ADDED
1904 gnutls_x509_crl_get_extension_data: ADDED
1905 gnutls_x509_crl_set_authority_key_id: ADDED
1906 gnutls_x509_crl_set_number: ADDED
1907 gnutls_x509_crq_get_key_rsa_raw: ADDED
1908 gnutls_x509_crq_get_attribute_info: ADDED
1909 gnutls_x509_crq_get_attribute_data: ADDED
1910 gnutls_x509_crq_get_extension_info: ADDED
1911 gnutls_x509_crq_get_extension_data: ADDED
1912 gnutls_x509_crq_get_key_usage: ADDED
1913 gnutls_x509_crq_get_basic_constraints: ADDED
1914 gnutls_x509_crq_get_subject_alt_name: ADDED
1915 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1916 gnutls_x509_crq_get_extension_by_oid: ADDED
1917 gnutls_x509_crq_set_subject_alt_name: ADDED
1918 gnutls_x509_crq_set_basic_constraints: ADDED
1919 gnutls_x509_crq_set_key_usage: ADDED
1920 gnutls_x509_crq_get_key_purpose_oid: ADDED
1921 gnutls_x509_crq_set_key_purpose_oid: ADDED
1922 gnutls_x509_crq_print: ADDED
1923 gnutls_x509_crt_set_crq_extensions: ADDED
1925 * Version 2.6.6 (released 2009-04-30)
1927 ** libgnutls: Corrected double free on signature verification failure.
1928 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
1929 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
1931 ** libgnutls: Fix DSA key generation.
1932 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
1933 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
1934 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1936 ** libgnutls: Check expiration/activation time on untrusted certificates.
1937 Reported by Romain Francoise <romain@orebokech.com>.  Before the
1938 library did not check activation/expiration times on certificates, and
1939 was documented as not doing so.  We have realized that many
1940 applications that use libgnutls, including gnutls-cli, fail to perform
1941 proper checks.  Implementing similar logic in all applications leads
1942 to code duplication.  Hence, we decided to check whether the current
1943 time (as reported by the time function) is within the
1944 activation/expiration period of certificates when verifying untrusted
1945 certificates.
1947 This changes the semantics of gnutls_x509_crt_list_verify, which in
1948 turn is used by gnutls_certificate_verify_peers and
1949 gnutls_certificate_verify_peers2.  We add two new
1950 gnutls_certificate_status_t codes for reporting the new error
1951 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
1952 add a new gnutls_certificate_verify_flags flag,
1953 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1954 behaviour.
1956 More details about the vulnerabilities will be posted at
1957 <http://www.gnu.org/software/gnutls/security.html>.
1959 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1960 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1961 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1963 ** tests: Fix linking of tests/openpgp/keyring self-test.
1964 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1966 ** API and ABI modifications:
1967 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1968 gnutls_certificate_verify_peers: Likewise.
1969 gnutls_certificate_verify_peers2: Likewise.
1970 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1971 GNUTLS_CERT_EXPIRED: ADDED.
1972 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1974 * Version 2.6.5 (released 2009-04-11)
1976 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1977 specify the client hello message record version. Used to overcome buggy
1978 TLS servers. Report by Martin von Gagern.
1980 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1981 Libtasn1 0.3.4 or later is required.  This is to align with the
1982 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1984 ** API and ABI modifications:
1985 No changes since last version.
1987 * Version 2.6.4 (released 2009-02-06)
1989 ** libgnutls: Accept chains where intermediary certs are trusted.
1990 Before GnuTLS needed to validate the entire chain back to a
1991 self-signed certificate.  GnuTLS will now stop looking when it has
1992 found an intermediary trusted certificate.  The new behaviour is
1993 useful when chains, for example, contains a top-level CA, an
1994 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1995 To avoid chain validation errors due to the RSA-MD5 cert, you can
1996 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1997 The signature on trusted certificates are not checked, so the chain
1998 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1999 <deengert@anl.gov> in
2000 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2002 ** libgnutls: result_size in gnutls_hex_encode now holds
2003 the size of the result. Report by John Brooks <special@dereferenced.net>.
2005 ** libgnutls: gnutls_handshake when sending client hello during a
2006 rehandshake, will not offer a version number larger than the current.
2007 Reported by Tristan Hill <stan@saticed.me.uk>.
2009 ** libgnutls: Permit V1 Certificate Authorities properly.
2010 Before they were mistakenly rejected even though
2011 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2012 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2013 "Douglas E. Engert" <deengert@anl.gov> in
2014 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2016 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2017 This is a bugfix -- the previous attempt to do this from internal x509
2018 certificate verification procedures did not return the correct value
2019 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2020 <dkg@fifthhorseman.net> in
2021 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2022 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2023 Gillmor <dkg@fifthhorseman.net>.
2025 ** libgnutls: Fix compile error with Sun CC.
2026 Reported by Jeff Cai <jeff.cai@sun.com> in
2027 <https://savannah.gnu.org/support/?106549>.
2029 ** API and ABI modifications:
2030 No changes since last version.
2032 * Version 2.6.3 (released 2008-12-12)
2034 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2035 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2036 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2037 Andreas Metzler <ametzler@downhill.at.eu.org> in
2038 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2040 ** libgnutls: Fix memory leak in PSK authentication.
2041 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2042 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2044 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2045 It needs to be invoked before libgcrypt is initialized.
2047 ** gnutls-cli: Return non-zero exit code on error conditions.
2049 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2051 ** API and ABI modifications:
2052 No changes since last version.
2054 * Version 2.6.2 (released 2008-11-12)
2056 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2057 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2058 problem for certificate chains that contained just one self-signed
2059 certificate.  Reported by Michael Meskes <meskes@debian.org> in
2060 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2062 ** API and ABI modifications:
2063 No changes since last version.
2065 * Version 2.6.1 (released 2008-11-10)
2067 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2068 The flaw makes it possible for man in the middle attackers (i.e.,
2069 active attackers) to assume any name and trick GnuTLS clients into
2070 trusting that name.  Thanks for report and analysis from Martin von
2071 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2073 Any updates with more details about this vulnerability will be added
2074 to <http://www.gnu.org/software/gnutls/security.html>
2076 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2077 Reported by Kevin Quick <quick@sparq.org> in
2078 <https://savannah.gnu.org/support/index.php?106454>.
2080 ** libgnutls-extra: Protect internal symbols with static.
2081 Fixes problem when linking certtool statically.  Tiny patch from Aaron
2082 Ucko <ucko@ncbi.nlm.nih.gov>.
2084 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
2085 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
2086 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
2088 ** certtool: Print a PKCS #8 key even if it is not encrypted.
2090 ** tests: Make tests compile when using internal libtasn1.
2091 Patch by ludo@gnu.org (Ludovic Courtès).
2093 ** API and ABI modifications:
2094 No changes since last version.
2096 * Version 2.6.0 (released 2008-10-06)
2098 ** libgnutls: Correct printing and parsing of IPv6 addresses.
2100 ** libgnutls-openssl: fix out of bounds access.
2101 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
2102 from Thomas Viehmann <tv@beamnet.de>.
2104 ** certtool: Use inet_pton for parsing IPv6 addresses.
2106 ** Major changes compared to the v2.4 branch:
2108 *** Added API to replace and update the crypto backend.
2110 *** certtool: can add several subject alternative names via template file.
2112 *** opencdk: Parse (but not decrypt) encrypted secret keys.
2114 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2115 either set or append alternative names. It can also handle binary structures
2116 such as IP addresses.
2118 *** libgnutls: New function to set minimum acceptable SRP bits.
2119 The function is gnutls_srp_set_prime_bits.
2121 *** libgnutls: Add interface to deal with public key and signature algorithms.
2122 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2123 gnutls_sign_list, and gnutls_sign_get_id.
2125 *** libgnutls: New interfaces to get name of public key and signing algorithms.
2126 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2128 *** libgnutls: New API to get a string corresponding to a error symbol.
2129 The function is gnutls_strerror_name.
2131 *** libgnutls: New API to set the public parameters in a certificate request
2132 *** from a private key.
2133 The function is gnutls_x509_crq_set_key_rsa_raw.
2135 *** libgnutls: New API to set a callback to extract TLS Finished data.
2136 The function to register is gnutls_session_set_finished_function and
2137 it takes a callback of the gnutls_finished_callback_func type.
2139 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
2141 *** libgnutls: New interface to register a new TLS extension handler.
2142 The new function gnutls_ext_register can be used to register handlers
2143 for specific TLS extension types.  The callback functions have the new
2144 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
2145 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
2146 well.
2148 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
2149 The function is gnutls_register_md5_handler.  When libgcrypt is in
2150 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
2151 the PRF.
2153 *** API/ABI changes in GnuTLS 2.6
2154 No functions have been removed or modified.  The library should be
2155 fully backwards compatible on both the source and binary level.
2157 A new header file <gnutls/crypto.h> have been added.  It contains
2158 definitions related to replacing the internal crypto functionality.
2159 All definitions and the header itself is experimental but supported.
2161 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
2162 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
2163 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
2165 The following functions have been added to libgnutls:
2167 GNUTLS_MASTER_SIZE
2168 GNUTLS_RANDOM_SIZE
2169 gnutls_crypto_bigint_register2
2170 gnutls_crypto_cipher_register2
2171 gnutls_crypto_digest_register2
2172 gnutls_crypto_mac_register2
2173 gnutls_crypto_pk_register2
2174 gnutls_crypto_rnd_register2
2175 gnutls_crypto_single_cipher_register2
2176 gnutls_crypto_single_digest_register2
2177 gnutls_crypto_single_mac_register2
2178 gnutls_ext_register
2179 gnutls_pk_get_id
2180 gnutls_pk_get_name
2181 gnutls_pk_list
2182 gnutls_session_set_finished_function
2183 gnutls_sign_get_id
2184 gnutls_sign_get_name
2185 gnutls_sign_list
2186 gnutls_srp_set_prime_bits:
2187 gnutls_strerror_name
2188 gnutls_x509_crq_set_key_rsa_raw
2189 gnutls_x509_crt_set_crl_dist_points2
2190 gnutls_x509_crt_set_subject_alt_name
2192 The following functions have been added to libgnutls-extra:
2194 gnutls_register_md5_handler
2196 ** API and ABI modifications:
2197 No changes since last version.
2199 * Version 2.5.9 (released 2008-09-29)
2201 ** libgnutls: Fix several memory leaks.
2202 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2204 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
2205 Report and patch by Jonathan Manktelow.
2207 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
2208 The parameters are now allocated in the structure itself.
2210 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
2212 ** tests: Scripts now use EXEEXT properly.
2213 Modern libtool doesn't create wrapper script, so the self tests need
2214 to invoke certtool.exe under MinGW32+Wine.
2216 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
2217 Automake warnings are now also enabled.
2219 ** API and ABI modifications:
2220 gnutls_pk_params_st: MODIFIED
2222 * Version 2.5.8 (released 2008-09-21)
2224 ** certtool: updated so it can add several subject alternative names using
2225 the template file.
2227 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2228 either set or append alternative names. It can also handle binary structures
2229 such as IP addresses.
2231 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
2233 ** libgnutls: New function to set minimum acceptable SRP bits.
2234 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
2235 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
2237 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
2238 Also fix overflows in calls to those functions.  Reported by Werner
2239 Koch <wk@gnupg.org>.
2241 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
2242 The function is gnutls_register_md5_handler.  When libgcrypt is in
2243 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
2244 the PRF.
2246 ** Opencdk: Add calls to gnutls_assert to ease debugging.
2248 ** Indent code.
2250 ** API and ABI modifications:
2251 gnutls_srp_set_prime_bits: ADDED
2252 gnutls_register_md5_handler: ADDED
2253 gnutls_x509_crt_set_crl_dist_points2: ADDED
2254 gnutls_x509_crt_set_subject_alt_name: ADDED
2256 * Version 2.5.7 (released 2008-09-16)
2258 ** libgnutls: New interfaces to get name of public key and signing algorithms.
2259 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2261 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
2263 ** libgnutls: Fix libgnutls shared library version.
2264 It wasn't properly incremented after adding symbols in the last
2265 release.
2267 ** manual: Now mention supported public key and public key signing algorithms.
2269 ** tests/openssl: initialize gnutls before use.
2271 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
2273 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
2275 ** API and ABI modifications:
2276 gnutls_sign_get_name: ADDED
2277 gnutls_pk_get_name: ADDED
2279 * Version 2.5.6 (released 2008-09-08)
2281 ** libgnutls: Add interface to deal with public key and signature algorithms.
2282 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2283 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
2284 Varshavchik <mrsam@courier-mta.com>.
2286 ** libgnutls: Refactor and clean up some code.
2288 ** libgnutls: Fix compile error with Sun CC.
2290 ** gnutls-cli: Improve --list output to include public key and signature algs.
2292 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
2293 Use standard --version to get license info.
2295 ** gnutls-cli.1: Document all new parameters.
2296 Thanks to James Westby <jw+debian@jameswestby.net>.
2298 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
2299 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2301 ** API and ABI modifications:
2302 gnutls_pk_list: ADDED
2303 gnutls_pk_get_id: ADDED
2304 gnutls_sign_list: ADDED
2305 gnutls_sign_get_id: ADDED
2307 * Version 2.5.5 (released 2008-08-29)
2309 ** libgnutls: New API to get a string corresponding to a error symbol.
2310 The function is gnutls_strerror_name.
2312 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
2313 Reported by "jth.net ApS" <info@jth.net>.
2315 ** libgnutls: Fix segmentation fault when generating private keys.
2316 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2318 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
2319 The code has not worked since v0.9.0 and apparently nobody has missed
2320 it, so we decided to remove the code rather than fix it.  If you have
2321 old certificate chains stored in PKCS#7 format, you can convert them
2322 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
2323 by Christian Grothoff <christian@grothoff.org>.
2325 ** opencdk: Parse (but not decrypt) encrypted secret keys.
2326 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2328 ** libgnutls: Fix many warnings.
2330 ** Included copy of libtasn1 is upgraded to version 1.5.
2332 ** Add French translation, thanks to Nicolas Provost.
2334 ** API and ABI modifications:
2335 gnutls_strerror_name: ADDED
2337 * Version 2.5.4 (released 2008-08-19)
2339 ** Fix secure memory initialization of libgcrypt.
2340 Reported by Joe Orton <joe@manyfish.co.uk> in
2341 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
2343 ** Doc fixes.
2344 Reference to NIST SP 800-57 in the manual on key size recommendations.
2345 Added 'Since:' tags to new APIs for gtk-doc.
2347 ** API and ABI modifications:
2348 No changes since last version.
2350 * Version 2.5.3 (released 2008-08-14)
2352 ** libgnutls: New API to set the public parameters in a certificate request
2353 ** from a private key.
2354 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
2355 discussion with "Zach C." <fxchip@gmail.com>.
2357 ** libgnutls: New API to set a callback to extract TLS Finished data.
2358 The function to register is gnutls_session_set_finished_function and
2359 it takes a callback of the gnutls_finished_callback_func type.
2361 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
2362 Reported in <https://savannah.gnu.org/support/?106453>.
2364 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
2365 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
2366 names are mapped to the new names in compat.h.  These mappings will
2367 likely be removed more quickly than other mappings in that file due to
2368 the namespace violation.
2370 ** libgnutlsxx: Make it build when SRP is disabled.
2372 ** doc: Add doxygen files in doc/doxygen/.
2374 ** API and ABI modifications:
2375 gnutls_x509_crq_set_key_rsa_raw: ADDED
2376 gnutls_session_set_finished_function: ADDED
2377 gnutls_finished_callback_func: ADDED
2378 GNUTLS_MASTER_SIZE: ADDED
2379 GNUTLS_RANDOM_SIZE: ADDED
2380 TLS_MASTER_SIZE: DEPRECATED
2381 TLS_RANDOM_SIZE: DEPRECATED
2383 * Version 2.5.2 (released 2008-07-08)
2385 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
2386 The prime and generator was swapped.
2388 ** libgnutls: New interface to register a new TLS extension handler.
2389 The new function gnutls_ext_register can be used to register handlers
2390 for specific TLS extension types.  The callback functions have the new
2391 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
2392 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
2393 well.
2395 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
2396 This was made possible by using the new gnutls_ext_register interface.
2397 The TLS/IA functionality has only been supported through the
2398 libgnutls-extra library, so it makes sense for the code to belong
2399 there too.
2401 ** API and ABI modifications:
2402 gnutls_ext_recv_func: ADDED
2403 gnutls_ext_send_func: ADDED
2404 gnutls_ext_parse_type_t: ADDED
2405 gnutls_ext_register: ADDED
2407 * Version 2.5.1 (released 2008-07-02)
2409 ** Indent code.
2411 ** API and ABI modifications:
2412 No changes since last version.
2414 * Version 2.5.0 (released 2008-07-02)
2416 ** Port fixes from v2.4.1 release, see below.
2418 ** Added API to replace and update the crypto backend.
2419 The header gnutls/crypto.h is now officially supported, and declares
2420 the symbols below.
2422 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
2424 ** Update gnulib and translations.
2425 The gnulib gc crypto code has been removed since it was never finished
2426 and is no longer even used.  An internal non-libgcrypt crypto
2427 implementation may be added in the future, but we'll decide that later
2430 ** API and ABI modifications:
2431 gnutls_crypto_bigint_register2: ADDED.
2432 gnutls_crypto_cipher_register2: ADDED.
2433 gnutls_crypto_digest_register2: ADDED.
2434 gnutls_crypto_mac_register2: ADDED.
2435 gnutls_crypto_pk_register2: ADDED.
2436 gnutls_crypto_rnd_register2: ADDED.
2437 gnutls_crypto_single_cipher_register2: ADDED.
2438 gnutls_crypto_single_digest_register2: ADDED.
2439 gnutls_crypto_single_mac_register2: ADDED.
2441 * Version 2.4.3 (released 2009-02-06)
2443 ** libgnutls: Accept chains where intermediary certs are trusted.
2444 Before GnuTLS needed to validate the entire chain back to a
2445 self-signed certificate.  GnuTLS will now stop looking when it has
2446 found an intermediary trusted certificate.  The new behaviour is
2447 useful when chains, for example, contains a top-level CA, an
2448 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2449 To avoid chain validation errors due to the RSA-MD5 cert, you can
2450 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2451 The signature on trusted certificates are not checked, so the chain
2452 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2453 <deengert@anl.gov> in
2454 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2456 ** libgnutls: Permit V1 Certificate Authorities properly.
2457 Before they were mistakenly rejected even though
2458 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2459 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2460 "Douglas E. Engert" <deengert@anl.gov> in
2461 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2463 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2464 This is a bugfix -- the previous attempt to do this from internal x509
2465 certificate verification procedures did not return the correct value
2466 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2467 <dkg@fifthhorseman.net> in
2468 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2469 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2470 Gillmor <dkg@fifthhorseman.net>.
2472 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2473 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2474 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2475 Andreas Metzler <ametzler@downhill.at.eu.org> in
2476 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2478 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2479 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2480 problem for certificate chains that contained just one self-signed
2481 certificate.  Reported by Michael Meskes <meskes@debian.org> in
2482 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2484 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2485 The flaw makes it possible for man in the middle attackers (i.e.,
2486 active attackers) to assume any name and trick GnuTLS clients into
2487 trusting that name.  Thanks for report and analysis from Martin von
2488 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2490 Any updates with more details about this vulnerability will be added
2491 to <http://www.gnu.org/software/gnutls/security.html>
2493 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
2494 Report and patch by Jonathan Manktelow.
2496 ** libgnutls: Avoid use of non-thread safe strerror.
2498 ** API and ABI modifications:
2499 No changes since last version.
2501 * Version 2.4.2 (released 2008-09-15)
2503 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
2505 ** libgnutls: Corrected memory leak in X.509 functions.
2506 Thanks to Colin Leroy <colin@colino.net>.
2508 ** libgnutls: Fix compile error with Sun CC.
2510 ** gnutls-cli.1: Document all new parameters.
2511 Thanks to James Westby <jw+debian@jameswestby.net>.
2513 ** tests/openssl: initialize gnutls before use.
2514 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
2515 <ludovic.courtes@laas.fr>.
2517 ** doc/: Fix texinfo markup for old texinfo versions.
2519 ** Included copy of libtasn1 is upgraded to version 1.5.
2521 ** API and ABI modifications:
2522 No changes since last version.
2524 * Version 2.4.1 (released 2008-06-30)
2526 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
2527 If the gnutls_handshake function is called for a normal session, which
2528 can happen for re-handshakes, the library would crash because it tried
2529 to hash some data using a libgcrypt handle that had been deallocated.
2530 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
2531 with more details about this vulnerability will be added to
2532 <http://www.gnu.org/software/gnutls/security.html>
2534 ** libgnutls: Fix memory leaks when doing a re-handshake.
2535 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
2536 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
2538 ** Fix compiler warnings.
2539 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2540 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
2542 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
2543 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2544 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
2546 ** srptool: Fix a problem where --verify check does not succeed.
2547 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
2548 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
2550 ** API and ABI modifications:
2551 No changes since last version.
2553 * Version 2.4.0 (released 2008-06-19)
2555 ** Major changes compared to the v2.2 branch:
2557 *** The OpenPGP sub-system has been improved and now supports subkeys.
2559 *** The PSK sub-system has been improved and now supports password
2560 *** derivation and PSK identity hints.
2561 The password derivation algorithms support is documented in
2562 draft-ietf-netconf-tls-02.txt.
2564 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
2565 This aligns terminology with OpenPGP, which doesn't use DER encoding.
2566 The old parameters will continue to work for some time.
2568 *** Certtool now confirm passwords and changes permissions of private key files.
2570 *** The default handshake size limit has been increased to 48kb.
2571 It appears as if some valid handshakes are large due to sending many
2572 CA certificates.  (The earlier limit was 16kb.)
2574 *** LZO compression is now disabled by default.
2575 The main reason is that LZO compression in TLS is not standardized,
2576 but license compatiblity issues with minilzo triggered us to make this
2577 decision now.
2579 *** Improvements for cross-compilation to Windows and OpenWRT.
2581 *** The look of the GTK-DOC manual has been improved.
2582 Major developer visible changes compared to the v2.2 branch:
2584 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
2586 *** New APIs to access the raw X.509 Subject and Issuer DN's and
2587 *** elements from the certificate credentials structure.
2588 Thanks to Joe Orton.
2590 *** New APIs to improve working with username/passwords and PSK.
2592 *** Names of constants to affect certificate printing changed.
2593 The constants are used for OpenPGP too, which the names didn't
2594 reflect, so the following name change has been made:
2596             Old name                         New name
2597      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
2598      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
2599      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
2601 The old names will be mapped to the new names for some time.
2603 *** The function gnutls_openpgp_privkey_get_id has been renamed to
2604 *** gnutls_openpgp_privkey_get_key_id.
2605 A compatibility mapping exists to avoid breaking API backwards
2606 compatibility.
2608 *** Replaced all uses of alloca with malloc and free.
2610 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
2611 We have been unable to find a documented rationale for this practice.
2613 *** Of course, many smaller fixes have been made, see the ChangeLog file.
2615 *** API/ABI changes in GnuTLS 2.4
2616 All OpenPGP related functions have been moved from libgnutls-extra to
2617 libgnutls, and several new functions have been added (see below).
2618 Before making the release, we discussed whether moving functions from
2619 libgnutls-extra to libgnutls would require us to increment the ABI
2620 version, but the general opinion was that this would not be required.
2621 All older functions continue to work the same.  We are open to the
2622 possibility that this decision will lead to problem on some platform,
2623 and if it turns out that the Right Thing should have been to increment
2624 the shared library version, we would need to release an update within
2625 the 2.4.x branch that increments the shared library version.
2627 This release adds the following functions:
2629   gnutls_psk_client_get_hint
2630   gnutls_psk_set_server_credentials_hint
2631   gnutls_psk_netconf_derive_key
2633     Used to get/set the PSK identity hint, and derive PSK keys from
2634     passwords a'la netconf.
2636   gnutls_x509_dn_deinit
2637   gnutls_x509_dn_export
2638   gnutls_x509_dn_import
2639   gnutls_x509_dn_init
2641     Used to handle X.509 Certificate DN's directly.
2643   gnutls_hex2bin
2645     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
2646     secrets.
2648   gnutls_certificate_get_x509_cas
2649   gnutls_certificate_get_x509_crls
2650   gnutls_certificate_get_openpgp_keyring
2652     Functions for direct access to credential elements.
2654   gnutls_openpgp_crt_get_auth_subkey
2655   gnutls_openpgp_crt_get_key_id
2656   gnutls_openpgp_crt_get_pk_dsa_raw
2657   gnutls_openpgp_crt_get_pk_rsa_raw
2658   gnutls_openpgp_crt_get_preferred_key_id
2659   gnutls_openpgp_crt_get_revoked_status
2660   gnutls_openpgp_crt_get_subkey_count
2661   gnutls_openpgp_crt_get_subkey_creation_time
2662   gnutls_openpgp_crt_get_subkey_expiration_time
2663   gnutls_openpgp_crt_get_subkey_fingerprint
2664   gnutls_openpgp_crt_get_subkey_id
2665   gnutls_openpgp_crt_get_subkey_idx
2666   gnutls_openpgp_crt_get_subkey_pk_algorithm
2667   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
2668   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
2669   gnutls_openpgp_crt_get_subkey_revoked_status
2670   gnutls_openpgp_crt_get_subkey_usage
2671   gnutls_openpgp_crt_print
2672   gnutls_openpgp_crt_set_preferred_key_id
2673   gnutls_openpgp_keyring_get_crt
2674   gnutls_openpgp_keyring_get_crt_count
2675   gnutls_openpgp_privkey_export
2676   gnutls_openpgp_privkey_export_dsa_raw
2677   gnutls_openpgp_privkey_export_rsa_raw
2678   gnutls_openpgp_privkey_export_subkey_dsa_raw
2679   gnutls_openpgp_privkey_export_subkey_rsa_raw
2680   gnutls_openpgp_privkey_get_fingerprint
2681   gnutls_openpgp_privkey_get_key_id
2682   gnutls_openpgp_privkey_get_pk_algorithm
2683   gnutls_openpgp_privkey_get_preferred_key_id
2684   gnutls_openpgp_privkey_get_revoked_status
2685   gnutls_openpgp_privkey_get_subkey_count
2686   gnutls_openpgp_privkey_get_subkey_creation_time
2687   gnutls_openpgp_privkey_get_subkey_expiration_time
2688   gnutls_openpgp_privkey_get_subkey_fingerprint
2689   gnutls_openpgp_privkey_get_subkey_id
2690   gnutls_openpgp_privkey_get_subkey_idx
2691   gnutls_openpgp_privkey_get_subkey_pk_algorithm
2692   gnutls_openpgp_privkey_get_subkey_revoked_status
2693   gnutls_openpgp_privkey_set_preferred_key_id
2695     New OpenPGP related functions.
2697     The function gnutls_openpgp_crt_get_key_id is the same as the old
2698     from gnutls_openpgp_crt_get_id, see above.
2700 The release also adds a new header file 'gnutls/crypto.h', however it
2701 is currently not used.
2703 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
2704 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2706 ** API and ABI modifications:
2707 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
2708 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
2710 * Version 2.3.15 (released 2008-06-15)
2712 ** Disable the openpgp-certs self-tests.
2713 It results in failure under Wine and doesn't work on Debian buildds.
2715 ** API and ABI modifications:
2716 No changes since last version.
2718 * Version 2.3.14 (released 2008-06-11)
2720 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
2721 An OpenPGP certificate is now only considered verified if all the user
2722 IDs are verified.
2724 ** Examples: Make C++ example compile.
2725 Earlier it may have failed with an unresolved reference to strlen.
2727 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
2728 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2730 ** API and ABI modifications:
2731 No changes since last version.
2733 * Version 2.3.13 (released 2008-06-07)
2735 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
2737 ** doc/: Add psktool to info index.  Some minor cleanups.
2739 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
2741 ** tests/: Added libgcrypt.supp which can be used with valgrind.
2742 The file suppresses the known libgcrypt memory leaks, so they aren't
2743 printed when you run valgrind on the gnutls self-tests.  Use it as
2744 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
2745 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
2746 ~/.valgrindrc file.
2748 ** tests/: Reduce amount of debugging output by default.
2749 Use --verbose for each test to get the full output.
2751 ** tests/: Fix memory leaks in several self-tests.
2752 None of the self tests should be leaking memory when running valgrind
2753 or similar tools.  (Known exceptions are dhepskself, pskself, and
2754 set_pkcs12_cred, which appear likely to be due to memory leaks in the
2755 library.)
2757 ** API and ABI modifications:
2758 No changes since last version.
2760 * Version 2.3.12 (released 2008-06-04)
2762 ** Merge gnutls_with_netconf branch.
2764 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
2765 The function is gnutls_psk_client_get_hint.
2767 *** libgnutls [PSK]: New API to set PSK identity hint in server.
2768 The function is gnutls_psk_set_server_credentials_hint.
2770 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
2771 In the client, the message is parsed and the application can use
2772 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
2773 message is sent if the application has specified a PSK identity hint
2774 using gnutls_psk_set_server_credentials_hint.
2776 *** libgnutls [PSK]: Support Netconf PSK key derivation.
2777 The function gnutls_psk_netconf_derive_key supports the PSK key
2778 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
2779 test netconf-psk.c.
2781 *** psktool: Support new --netconf-hint to generate PSK key from password.
2782 Uses the Netconf algorithm to derive PSK key from password.
2784 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
2786 *** gnutls-cli: Always support PSK modes, through a callback.
2787 The callback will derive a PSK key using Netconf algorithm.  It will
2788 print the PSK identity hint to help the user.
2790 *** New PSK example client and server.
2791 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
2793 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
2794 The code didn't work properly on platforms where 'char' is unsigned,
2795 when you set version 0.  Reported by Laurence Withers
2796 <l@lwithers.me.uk> in
2797 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
2799 ** libgnutls-openssl: added RAND_pseudo_bytes API.
2800 Patch from Robert Millan <rmh@aybabtu.com>.
2802 ** API and ABI modifications:
2803 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
2804 gnutls_psk_client_get_hint: ADDED.
2805 gnutls_psk_set_server_credentials_hint: ADDED.
2806 gnutls_psk_netconf_derive_key: ADDED
2808 * Version 2.3.11 (released 2008-05-20)
2810 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2811 The flaw would result in incorrectly terminated sessions with the
2812 error "Decryption has failed" when the server sends a small packet
2813 (typically when the session is closed).  Reported by Andreas Metzler
2814 <ametzler@downhill.at.eu.org> in
2815 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2817 ** Don't use gnulib headers when building C++ library.
2818 Fixes builds under Windows.
2820 ** Make umask a requirement.
2821 We don't know of any system that lacks it, even GNU CoreUtils use it
2822 unconditionally.
2824 ** Update gnulib files.
2825 Fixes a problem where it pulled in a replacement for memcmp under
2826 MinGW, which caused the C++ example to fail to build.
2828 ** API and ABI modifications:
2829 No changes since last version.
2831 * Version 2.3.10 (released 2008-05-19)
2833 ** Added wide wildcard hostname matching.
2834 Tiny patch by Jean-Philippe Garcia Ballester.
2836 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2837 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2838 which allowed the bugs to be reproduced and fixed easily.  Patches
2839 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2840 with more details about these vulnerabilities will be added to
2841 <http://www.gnu.org/software/gnutls/security.html>
2843 *** [GNUTLS-SA-2008-1-1]
2844 *** libgnutls: Fix crash when sending invalid server name.
2845 The crash can be triggered remotely before authentication, which can
2846 lead to a Daniel of Service attack to disable the server.  The bug
2847 cause gnutls to store more session resumption data than what was
2848 allocated for, thus overwriting unallocated memory.
2850 *** [GNUTLS-SA-2008-1-2]
2851 *** libgnutls: Fix crash when sending repeated client hellos.
2852 The crash can be triggered remotely before authentication, which can
2853 lead to a Daniel of Service attack to disable the server.  The bug
2854 triggers a null-pointer dereference.
2856 *** [GNUTLS-SA-2008-1-3]
2857 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2858 The crash can be triggered remotely before authentication, which can
2859 lead to a Daniel of Service attack to disable the server.  The bug
2860 cause gnutls to read memory beyond the end of the received record.
2862 ** libgnutlsxx: Updated API according to patches from Eduardo 
2863 Villanueva Che (discussion at
2864 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
2866 ** Use umask to restrict permissions to owner before creating a file.
2868 ** API and ABI modifications:
2869 No changes since last version.
2871 * Version 2.3.9 (released 2008-05-16)
2873 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
2874 Based on report and tiny patches from
2875 <jared.jennings.ctr@eglin.af.mil>, see
2876 <https://savannah.gnu.org/support/index.php?106342>.
2878 ** libgnutls: Translation fixes.
2880 ** gnutls-cli: Fix so that PSK authentication works.
2881 Also improve manual to give example for gnutls-cli PSK authentication.
2883 ** certtool: Encrypting a private key now require a confirmed password.
2884 Before './certtool -k -8' would merely ask for a password once.
2885 Reported by Daniel 'NebuchadnezzaR' Dehennin
2886 <nebuchadnezzar@asgardr.info> see
2887 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2889 ** certtool: When writing private keys to files, change permissions of file.
2890 Now the file which the private key is saved to is chmod'ed 0600.
2891 Reported by martin f krafft <madduck@debian.org> see
2892 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2894 ** guile: Fix -fgnu89-inline test.
2896 ** Removed --enable-profile-mode.
2897 The code linked gnutls with the libfc project (Function Check) which
2898 appears to have been stalled since around 2002.
2900 ** Clean up header file checks by ./configure.
2902 ** Update of gnulib files.
2904 ** API and ABI modifications:
2905 No changes since last version.
2907 * Version 2.3.8 (released 2008-04-29)
2909 ** libgnutls: Increase default handshake packet size limit to 48kb.
2910 The old limit was 16kb and some servers send huge list of trusted CAs,
2911 thus running into the limit.  FYI, applications can further increase
2912 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2913 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2914 <marc@mclemente.net> for reporting and providing test servers.
2916 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2917 Returned when the handshake data size is too large.  Before
2918 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2919 error situations.
2921 ** libgnutls: Hide definitions in crypto.h.
2922 We have decided that the APIs defined in crypto.h are not stable
2923 enough for v2.4, so don't use any of those functions.
2925 ** gnutls-cli: exit when hostname doesn't match certificate.
2926 Use --insecure to avoid hostname comparison.
2928 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2929 The reason is to align terminology with OpenPGP, which doesn't use
2930 DER.  The old parameters will continue to work for some time.
2932 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2934 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2936 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2937 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2938 vasprintf symbol from the libgcrypt library which caused problems.
2940 ** Update of gnulib files.
2942 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2944 ** API and ABI modifications:
2945 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2947 * Version 2.3.7 (released 2008-04-21)
2949 ** opencdk now properly sets the key usage bits into openpgp keys.
2951 ** gnutls-cli: Fix crash on TLS handshake failures.
2952 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2953 This is similar to <http://bugs.debian.org/429183>.
2955 ** certtool: with --generate-request and newly generated keys, print the key.
2957 ** Build fixes for MinGW.
2958 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2959 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2960 X.509 certificate information, to avoid non-ASCII but printable
2961 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2962 reports.
2964 ** Update internal copy of libtasn1 to version 1.4.
2966 ** API and ABI modifications:
2967 No changes since last version.
2969 * Version 2.3.6 (released 2008-04-17)
2971 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2972 ** Improve documentation for gnutls_x509_crq_sign2.
2973 Based on report from "John Brooks" <aspecialj@gmail.com> in
2974 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2976 ** tests/pathlen: run diff without parameters to improve portability.
2977 Based on HPUX build hints in
2978 <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>.
2980 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2981 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2982 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2984 ** Remove all uses of gnutls_alloca/gnutls_afree.
2985 Use normal gnutls_malloc instead.  One reason is increased portability
2986 to Windows, the other is that several of the uses may be unsafe
2987 because the size of data allocated could be large.  Reported by
2988 Massimo Gaspari <massimo.gaspari@alice.it> in
2989 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2991 ** Build Guile code with -fgnu89-inline only when supported.
2992 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2993 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2995 ** Several GTK-DOC related fixes.
2997 ** Clean up OpenCDK related code.
2998 GnuTLS now requires its internal OpenCDK code rather than the external
2999 GPL library OpenCDK.  Unfortunately, we don't have resources to
3000 maintain an external library (help welcome).
3002 ** API and ABI modifications:
3003 No changes since last version.
3005 * Version 2.3.5 (released 2008-04-14)
3007 ** Build fix for MinGW and --disable-shared.
3008 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3009 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
3011 ** Document how to generate CRLs.
3012 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
3014 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3016 ** Several minor fixes in the OpenPGP interface.
3017 Thanks to Daniel Kahn Gillmor.
3019 ** Fix fopen file descriptor leak in PSK server code.
3020 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3021 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3023 ** Translations files not stored directly in git to avoid merge conflicts.
3025 ** New APIs to let applications replace the RNG used.
3026 Update all RNG callers in the code to use the new interface.
3028 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
3030 ** Update gnulib files.
3032 ** API and ABI modifications:
3033 gnutls_crypto_rnd_register: ADDED
3034 gnutls_rnd_level_t: ADDED
3035 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
3036 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
3037 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
3038 gnutls_crypto_rnd_st: ADDED
3039 GNUTLS_DIG_SHA224: ADDED
3040 GNUTLS_SIGN_RSA_SHA224: ADDED
3041 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
3043 * Version 2.3.4 (released 2008-03-19)
3045 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
3046 They weren't renamed in the public header file.
3048 ** Added functions to register a cipher/mac/digest. This allows to 
3049 override the included ones.
3051 ** Fix a bunch of compiler warnings.
3053 ** API and ABI modifications:
3054 gnutls_crypto_cipher_st: ADDED
3055 gnutls_crypto_mac_st: ADDED
3056 gnutls_crypto_digest_st: ADDED
3057 gnutls_crypto_cipher_register: ADDED
3058 gnutls_crypto_mac_register: ADDED
3059 gnutls_crypto_digest_register: ADDED
3060 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
3062 * Version 2.3.3 (released 2008-03-10)
3064 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
3065 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3067 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
3068 We could not find any modern justification for enabling these flags by
3069 default.  If you know of some platform that needs one of the flags to
3070 work properly, please let us know.  (Actually introduced in v2.3.0 but
3071 not documented until now.)
3073 ** Importing many CA certificates are now considerably faster.
3074 This affect gnutls_certificate_set_x509_trust_mem,
3075 gnutls_certificate_set_x509_trust, and
3076 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
3077 from O(2*n^2) to O(n).  When adding 206 files containing 408
3078 certificates, using gnutls_certificate_set_x509_trust_file, the time
3079 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
3080 to trigger the problem.  See also
3081 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
3083 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
3084 ** to be explicit that it takes zero terminated data.
3086 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
3088 ** Documentation fixes for the GTK-DOC manual.
3090 ** Fix compilation error related to __FUNCTION__ on some systems.
3091 Reported by Tim Mooney, see
3092 <https://savannah.gnu.org/support/?106267>.
3094 ** Updated translations.
3096 ** Update gnulib files.
3098 ** API and ABI modifications:
3099 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
3100                 and char* instead of void* for output buffer.
3102 * Version 2.3.2 (released 2008-02-26)
3104 ** Fix srcdir!=objdir failure in openpgpself test.
3106 ** Improved API documentation output from GTK-DOC.
3108 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
3110 ** Renamed gnutls_certificate_export_x509_cas and friends.
3111 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
3113 ** Internal header files cleanup.
3115 ** API and ABI modifications:
3116 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
3117 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
3118 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
3119 gnutls_x509_dn_export: ADDED
3121 * Version 2.3.1 (released 2008-02-21)
3123 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
3124 The included copy of OpenCDK has been stripped down and re-licensed
3125 under the LGPL.
3127 ** Cipher priority string handling now handle strings that starts with NULL.
3128 Thanks to Laurence Withers <l@lwithers.me.uk>.
3130 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
3132 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3133 by Daniel Stenberg.
3135 ** Increased the default certificate verification chain limits and allowed
3136 for checks without limitation.
3138 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3139 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3140 strings and return the proper size.
3142 ** Add section 'On Record Padding' to the manual.
3143 This collects all problems related to record padding with
3144 Nokia/Sony-Ericsson phones that we know about.
3146 ** Several improvements in the OpenPGP authentication.
3147 Now subkeys can be used for authentication, according to
3148 draft-mavrogiannopoulos-rfc5081bis-00.txt.
3150 ** certtool can print information on OpenPGP certificates and keys.
3152 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
3153 Patch by Joe Orton.
3155 ** Added gnutls_certificate_export_x509_cas and other functions to
3156 export elements from the certificate credentials structure.  Based on
3157 suggestion from Joe Orton.
3159 ** Doc fixes.
3160 Clarify that srp_base64 is not the same as normal base64.
3162 ** Fix non-portable use of brace expansion in makefiles.
3164 ** API and ABI modifications:
3165 gnutls_certificate_export_x509_cas: ADDED
3166 gnutls_certificate_export_x509_crls: ADDED
3167 gnutls_certificate_export_openpgp_keyring: ADDED
3168 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
3169 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
3170 gnutls_openpgp_crt_get_revoked_status: ADDED
3171 gnutls_openpgp_crt_get_subkey_count: ADDED
3172 gnutls_openpgp_crt_get_subkey_idx: ADDED
3173 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
3174 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
3175 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
3176 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
3177 gnutls_openpgp_crt_get_subkey_id: ADDED
3178 gnutls_openpgp_crt_get_subkey_usage: ADDED
3179 gnutls_openpgp_privkey_get_fingerprint: ADDED
3180 gnutls_openpgp_privkey_get_key_id: ADDED
3181 gnutls_openpgp_privkey_get_subkey_count: ADDED
3182 gnutls_openpgp_privkey_get_subkey_idx: ADDED
3183 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
3184 gnutls_openpgp_privkey_get_revoked_status: ADDED
3185 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
3186 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
3187 gnutls_openpgp_privkey_get_subkey_id: ADDED
3188 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
3189 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
3190 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
3191 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
3192 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
3193 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
3194 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
3195 gnutls_openpgp_privkey_export_dsa_raw: ADDED
3196 gnutls_openpgp_privkey_export_rsa_raw: ADDED
3197 gnutls_openpgp_privkey_export: ADDED
3198 gnutls_certificate_set_openpgp_key_file2: ADDED
3199 gnutls_certificate_set_openpgp_key_mem2: ADDED
3200 gnutls_x509_dn_init: ADDED
3201 gnutls_x509_dn_import: ADDED
3202 gnutls_x509_dn_deinit: ADDED
3203 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
3204 gnutls_hex2bin: ADDED
3205 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
3206 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
3207 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
3208                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
3210 * Version 2.3.0 (released 2008-01-08)
3212 ** LZO compression is now disabled by default.
3213 The reason is that LZO compression is not standardized in TLS.  If you
3214 wish to experiment with it, you will have to supply --with-lzo when
3215 invoking ./configure.  The internal copy of minilzo is no longer
3216 included with GnuTLS, so you will need to install liblzo or liblzo2 on
3217 your system to have --with-lzo to be effective.
3219 ** More than one server name field is now sent to the server properly.
3220 Thanks to mark.phillips@virgin.net.
3222 ** Fixes the post_client_hello_function(). The extensions are now parsed
3223 in a callback friendly way.
3225 ** Fix for certificate selection in servers with certificate callbacks.
3227 ** Updated translations.
3229 ** Update gnulib files.
3231 ** API and ABI modifications:
3232 No changes since last version.
3234 * Version 2.2.5 (released 2008-05-19)
3236 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
3237 The flaw would result in incorrectly terminated sessions with the
3238 error "Decryption has failed" when the server sends a small packet
3239 (typically when the session is closed).  Reported by Andreas Metzler
3240 <ametzler@downhill.at.eu.org> in
3241 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
3243 ** API and ABI modifications:
3244 No changes since last version.
3246 * Version 2.2.4 (released 2008-05-19)
3248 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
3249 Thanks to CERT-FI for finding the bugs and providing detailed reports,
3250 which allowed the bugs to be reproduced and fixed easily.  Patches
3251 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
3252 with more details about these vulnerabilities will be added to
3253 <http://www.gnu.org/software/gnutls/security.html>
3255 *** [GNUTLS-SA-2008-1-1]
3256 *** libgnutls: Fix crash when sending invalid server name.
3257 The crash can be triggered remotely before authentication, which can
3258 lead to a Daniel of Service attack to disable the server.  The bug
3259 cause gnutls to store more session resumption data than what was
3260 allocated for, thus overwriting unallocated memory.
3262 *** [GNUTLS-SA-2008-1-2]
3263 *** libgnutls: Fix crash when sending repeated client hellos.
3264 The crash can be triggered remotely before authentication, which can
3265 lead to a Daniel of Service attack to disable the server.  The bug
3266 triggers a null-pointer dereference.
3268 *** [GNUTLS-SA-2008-1-3]
3269 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
3270 The crash can be triggered remotely before authentication, which can
3271 lead to a Daniel of Service attack to disable the server.  The bug
3272 cause gnutls to read memory beyond the end of the received record.
3274 ** API and ABI modifications:
3275 No changes since last version.
3277 * Version 2.2.3 (released 2008-05-06)
3279 ** Increase default handshake packet size limit to 48kb.
3280 The old limit was 16kb and some servers send huge list of trusted CAs,
3281 thus running into the limit.  FYI, applications can further increase
3282 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
3283 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3284 <marc@mclemente.net> for reporting and providing test servers.
3286 ** Fix compilation error related to __FUNCTION__ on some systems.
3287 Reported by Tim Mooney, see
3288 <https://savannah.gnu.org/support/?106267>.
3290 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3292 ** Fix fopen file descriptor leak in PSK server code.
3293 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3294 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3296 ** Build Guile code with -fgnu89-inline only when supported.
3297 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
3298 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
3300 ** Make Camellia encryption work.
3301 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
3302 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
3304 ** API and ABI modifications:
3305 No changes since last version.
3307 * Version 2.2.2 (released 2008-02-21)
3309 ** Cipher priority string handling now handle strings that starts with NULL.
3310 Thanks to Laurence Withers <l@lwithers.me.uk>.
3312 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3313 by Daniel Stenberg.
3315 ** Increased the default certificate verification chain limits and allowed
3316 for checks without limitation.
3318 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3319 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3320 strings and return the proper size.
3322 ** API and ABI modifications:
3323 No changes since last version.
3325 * Version 2.2.1 (released 2008-01-17)
3327 ** Prevent linking libextra against previously installed libgnutls.
3328 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
3329 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
3331 ** Fixes the post_client_hello_function(). The extensions are now parsed
3332 in a callback friendly way.
3334 ** Fix for certificate selection in servers with certificate callbacks.
3336 ** API and ABI modifications:
3337 No changes since last version.
3339 * Version 2.2.0 (released 2007-12-14)
3341 ** Update internal copy of libtasn1 to version 1.2.
3343 ** Certtool --verify-chain now handle inputs larger than 64kb.
3344 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
3345 recent versions of libgcrypt.  The problem was that Wine with the
3346 libgcrypt RNG generates huge amounts of debugging output.
3348 ** Translation updates.
3349 Added Dutch translation.  Updated Polish and Swedish translation.
3351 ** Major changes compared to the v2.0 branch:
3353 *** SRP support aligned with newly published RFC 5054.
3355 *** OpenPGP support aligned with newly published RFC 5081.
3357 *** Support for DSA2 keys.
3359 *** Support for Camellia cipher.
3361 *** Support for Opaque PRF Input extension.
3363 *** PKCS#8 parser now handle DSA keys.
3365 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
3366 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
3367 versions, such as 2.01 which is included with GnuTLS, is available
3368 under GPLv2 or later.  If this incompatibility causes problems, we
3369 recommend you to disable LZO using --without-lzo.  LZO compression is
3370 not a standard TLS compression algorithm, so the impact should be
3371 minimal.
3373 *** Functions for disabling record protocol padding.
3374 Works around bugs on Nokia/Ericsson phones.
3376 *** New functions gnutls_priority_set() for setting cipher priorities easily.
3377 Priorities like "COMPAT" also enables other work arounds, such as
3378 disabling padding.
3380 *** Other minor improvements and bug fixes.
3382 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
3383 To adapt to changes in the TLS extension specifications for OpenPGP
3384 and SRP, the GnuTLS API had to be modified.  This means breaking the
3385 API and ABI backwards compatibility.  That is something we try to
3386 avoid unless it is necessary.  We decided to also remove the already
3387 deprecated stub functions for X.509 to XML conversion and TLS
3388 authorization (see below) when we had the opportunity.
3390 Generally, most applications does not need to be modified.  Just
3391 re-compile them against the latest GnuTLS release, and it should work
3392 fine.
3394 Applications that use the OpenPGP or SRP features needs to be
3395 modified.  Below is a list of the modified APIs and discussion of what
3396 the minimal things you need to modify in your application to make it
3397 work with GnuTLS 2.2.
3399 Note that GnuTLS 2.2 also introduces new APIs -- such as
3400 gnutls_set_priority() that is superior to
3401 gnutls_set_default_priority() -- that you may want to start using.
3402 However, using those new APIs is not required to use GnuTLS 2.2 since
3403 the old functions continue are still supported.  This text only
3404 discuss what you minimally have to modify.
3406 *** XML related changes
3407 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
3408 deprecated and only returned an error code since GnuTLS version
3409 1.2.11.  Nobody has complained, so users doesn't seem to miss the
3410 functionality.  We don't know of any other library to convert X.509
3411 certificates into XML format, but we decided (long ago) that GnuTLS
3412 isn't the right place for this kind of functionality.  If you want
3413 help to find some other library to use here, please explain and
3414 discuss your use case on help-gnutls@gnu.org.
3416 *** TLS Authorization related changes
3417 Everything related to TLS authorizations have been removed, they were
3418 only stub functions that returned an error code:
3420  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
3421  gnutls_authz_data_format_type_t
3422  gnutls_authz_recv_callback_func
3423  gnutls_authz_send_callback_func
3424  gnutls_authz_enable
3425  gnutls_authz_send_x509_attr_cert
3426  gnutls_authz_send_saml_assertion
3427  gnutls_authz_send_x509_attr_cert_url
3428  gnutls_authz_send_saml_assertion_url
3430 *** SRP related changes
3431 The callback gnutls_srp_client_credentials_function has a new
3432 prototype, and its semantic has changed.  You need to rewrite the
3433 callback, see the updated function documentation and SRP example code
3434 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
3435 information.
3437 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
3438 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
3439 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
3440 used.  There are #define's to map the old names to the new.  You may
3441 run into problems if you have a switch-case with cases for both SRP
3442 alerts, since they are now mapped to the same value.  The solution is
3443 to drop the SRP alerts from such switch cases, as they are now
3444 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
3446 *** OpenPGP related changes
3447 The function `gnutls_certificate_set_openpgp_keyserver' have been
3448 removed.  There is no replacement functionality inside GnuTLS.  If you
3449 need keyserver functionality, consider using the GnuPG tools.
3451 All functions, types, and error codes related to OpenPGP trustdb
3452 format have been removed.  The trustdb format is a non-standard
3453 GnuPG-specific format, and we recommend you to use key rings instead.
3454 The following have been removed:
3456  gnutls_certificate_set_openpgp_trustdb
3457  gnutls_openpgp_trustdb_init
3458  gnutls_openpgp_trustdb_deinit
3459  gnutls_openpgp_trustdb_import
3460  gnutls_openpgp_key_verify_trustdb
3461  gnutls_openpgp_trustdb_t
3462  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
3464 The following functions has an added parameter of the (new) type
3465 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
3466 (binary or base64).  The functions are:
3467  gnutls_certificate_set_openpgp_key_file
3468  gnutls_certificate_set_openpgp_key_mem
3469  gnutls_certificate_set_openpgp_keyring_mem
3470  gnutls_certificate_set_openpgp_keyring_file
3472 To improve terminology and align with the X.509 interface, some
3473 functions have been renamed.  Compatibility mappings exists.  The old
3474 and new names of the affected functions and types are:
3476         Old name                                New name
3477  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
3478  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
3479  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
3480  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
3481  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
3482  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
3483  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
3484  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
3485  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
3486  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
3487  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
3488  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
3489  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
3490  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
3491  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
3492  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
3493  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
3494  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
3495  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
3497 ** API and ABI modifications:
3498 No changes since last version.
3500 * Version 2.1.8 (released 2007-12-10)
3502 ** The GPL version has been changed from version 2 to version 3.
3503 This affects the self-tests, command-line tools, the libgnutls-extra
3504 library, the relevant guile parts, and the build environment.
3506 ** Added gnutls_x509_crt_get_subject_alt_name2().
3508 ** Corrected a segfault when setting an empty gnutls_priority_t
3509 at gnutls_priority_set().
3511 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
3512 Fixes a problem with spurious -L/usr/lib additions.
3514 ** API and ABI modifications:
3515 gnutls_x509_crt_get_subject_alt_name2: ADD.
3517 * Version 2.1.7 (released 2007-11-29)
3519 ** PKCS #8 parser can now encode/decode DSA keys.
3521 ** Updated gnutls_set_default_priority2() now renamed to
3522 gnutls_priority_set() and gnutls_priority_set_direct() which
3523 accept a string to indicate preferences of ciphersuite parameters.
3525 ** gnutls-cli and gnutls-serv now have a --priority option to set
3526 the priority string.
3528 ** The gnutls_*_convert_priority() functions were deprecated by
3529 the gnutls_priority_set() and gnutls_priority_set_direct().
3531 ** Internal copy of OpenCDK upgraded to version 0.6.6.
3533 ** API and ABI modifications:
3534 gnutls_priority_init: ADD.
3535 gnutls_priority_deinit: ADD.
3536 gnutls_priority_set: ADD.
3537 gnutls_priority_set_direct: ADD.
3538 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
3539 gnutls_mac_convert_priority: REMOVED
3540 gnutls_compression_convert_priority: REMOVED
3541 gnutls_protocol_convert_priority: REMOVED
3542 gnutls_kx_convert_priority: REMOVED
3543 gnutls_cipher_convert_priority: REMOVED
3544 gnutls_certificate_type_convert_priority: REMOVED
3545 gnutls_set_default_priority: UNDEPRECATED
3546 gnutls_set_default_priority_export: UNDEPRECATED
3548 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
3549 GNUTLS_CIPHER_UNKNOWN: ADD.
3550 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
3551 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
3552 GNUTLS_KX_UNKNOWN: ADD.
3553 GNUTLS_COMP_UNKNOWN: ADD.
3554 GNUTLS_CRT_UNKNOWN: ADD.
3555 gnutls_mac_get_id: ADD.
3556 gnutls_compression_get_id: ADD.
3557 gnutls_cipher_get_id: ADD.
3558 gnutls_kx_get_id: ADD.
3559 gnutls_protocol_get_id: ADD.
3560 gnutls_certificate_type_get_id: ADD.
3561 gnutls_handshake_post_client_hello_func: ADD.
3562 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
3564 * Version 2.1.6 (released 2007-11-15)
3566 ** Corrected bug in decompression of expanded compression data.
3568 ** Added the --to-p8 option to certtool to convert private keys
3569 to PKCS #8 keys.
3571 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
3573 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
3574 private keys.
3576 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
3577 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
3578 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
3579 documented.  This caused some problems (e.g., debian #450854).  To
3580 avoid backwards compatibility problems, this release revert this
3581 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
3582 done in GnuTLS 2.0.x and earlier, and add a new error code
3583 GNUTLS_E_UNKNOWN_ALGORITHM.
3585 ** Fixes several gtk-doc warnings.
3587 ** API and ABI modifications:
3588 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
3589 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
3590 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
3592 * Version 2.1.5 (released 2007-11-01)
3594 ** Fix PKCS#3 parameter export problem.
3596 ** Improve certtool queries, they now print the default value.
3598 ** Fix ABI version.
3600 ** Update gnulib files.
3602 ** API and ABI modifications:
3603 No changes since last version.
3605 * Version 2.1.4 (released 2007-10-27)
3607 ** Added the --v1 option to certtool, to allow generating X.509
3608 version 1 certificates. 
3610 ** certtool: Add option --disable-quick-random to enable the old behaviour
3611 of using /dev/random to generate keys.
3613 ** Added priority functions that accept strings.
3615 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
3616 priorities preferences.
3618 ** Added gnutls_record_disable_padding() to allow servers talking to 
3619 buggy clients that complain if the TLS 1.0 record protocol padding is
3620 used.
3622 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3623 all supported compatibility options (like disabling padding).
3625 ** The gnutls_certificate_set_openpgp_* functions were modified to include
3626 the format. This makes the interface consistent with the x509 functions.
3628 ** Internal copy of OpenCDK upgraded to version 0.6.5.
3630 ** Update gnulib files.
3632 ** API and ABI modifications:
3633 gnutls_certificate_set_openpgp_key_mem: MODIFIED
3634 gnutls_certificate_set_openpgp_key_file: MODIFIED
3635 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
3636 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
3637 gnutls_set_default_priority: DEPRECATED
3638 gnutls_set_default_priority_export: DEPRECATED
3639 gnutls_set_default_priority2: ADDED
3640 gnutls_session_enable_compatibility_mode: ADDED
3641 gnutls_record_disable_padding: ADDED
3642 gnutls_mac_convert_priority: ADDED
3643 gnutls_compression_convert_priority: ADDED
3644 gnutls_protocol_convert_priority: ADDED
3645 gnutls_kx_convert_priority: ADDED
3646 gnutls_cipher_convert_priority: ADDED
3647 gnutls_certificate_type_convert_priority: ADDED
3648 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
3649 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
3650 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
3651 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
3652 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
3653 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
3654 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
3655 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
3656 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
3657 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
3658 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
3659 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
3660 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
3661 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
3662 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
3663 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
3664 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
3665 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
3667 * Version 2.1.3 (released 2007-10-17)
3669 ** TLS authorization support removed.
3670 This technique may be patented in the future, and it is not of crucial
3671 importance for the Internet community.  After deliberation we have
3672 concluded that the best thing we can do in this situation is to
3673 encourage society not to adopt this technique.  We have decided to
3674 lead the way with our own actions.
3676 ** Re-enabled the 256 bit ciphers in the default priorities.
3678 ** Corrected bugs in openpgp key verification using a keyring (both in
3679 gnutls and opencdk)
3681 ** API and ABI modifications:
3682 gnutls_certificate_set_openpgp_keyserver: REMOVED
3683 gnutls_authz_data_format_type_t,
3684 gnutls_authz_recv_callback_func,
3685 gnutls_authz_send_callback_func,
3686 gnutls_authz_enable,
3687 gnutls_authz_send_x509_attr_cert,
3688 gnutls_authz_send_saml_assertion,
3689 gnutls_authz_send_x509_attr_cert_url,
3690 gnutls_authz_send_saml_assertion_url: REMOVED.
3691 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
3692     gnutls_supplemental_data_format_type_t enum type becomes empty.
3694 * Version 2.1.2 (released 2007-10-14)
3696 ** Removed all the trustdb code from openpgp authentication.
3697 We now use only the well-specified keyrings.
3699 ** The 256 bit ciphers are not enabled in the default priorities.
3701 ** Added support for DSA2 using libgcrypt 1.3.0.
3703 ** certtool: Fixed data corruption when using --outder.
3705 ** Removed all the xml related stubs and functions.
3707 ** Added capability to set a callback after the client hello is received
3708 by the server in order to adjust parameters before the handshake.
3710 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
3712 ** Corrected bug which did not allow a server to run without supporting
3713 certificates.
3715 ** Updated the DN parser which now prints wrongly decoded values as hex
3716 strings.
3718 ** certtool: Add option --quick-random.
3719 For generating low security test credentials.
3721 ** API and ABI modifications:
3722 gnutls_x509_crt_to_xml: REMOVED
3723 gnutls_openpgp_key_to_xml: REMOVED
3724 gnutls_openpgp_key_verify_trustdb: REMOVED
3725 gnutls_openpgp_trustdb_init: REMOVED
3726 gnutls_openpgp_trustdb_deinit: REMOVED
3727 gnutls_openpgp_trustdb_import: REMOVED
3728 gnutls_certificate_set_openpgp_trustdb: REMOVED
3729 gnutls_srp_client_credentials_function: CHANGED
3730 gnutls_handshake_set_post_client_hello_function: ADDED
3731 gnutls_mac_get_key_size: ADDED
3732 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
3733 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
3734 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
3736 * Version 2.1.1 (released 2007-09-24)
3738 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
3739 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
3740 compiled with Camellia support.  See the libgcrypt documentation on
3741 how to enable it.  Unconditionally disable it using the configure
3742 option --disable-camellia.  Fixes #1.
3744 ** Properly document in the NEWS file the API change in the last release.
3746 ** API and ABI modifications:
3747 No changes since last version.
3749 * Version 2.1.0 (released 2007-09-20)
3751 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
3752 The support is disabled by default.  Since no value has been allocated
3753 by the IANA for this extension yet, you will need to provide one
3754 yourself by invoking './configure --enable-opaque-prf-input=42'.
3755 Fixes #2.
3757 ** Example code: Fix compilation flaw under MinGW.
3759 ** API and ABI modifications:
3760 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
3761 gnutls_oprfi_enable_client: ADD, new function.
3762 gnutls_oprfi_enable_server: ADD, new function.
3764 * Version 2.0.4 (released 2007-11-16)
3766 ** Corrected bug in decompression of expanded compression data.           
3768 ** API and ABI modifications:
3769 No changes since last version.
3771 * Version 2.0.3 (released 2007-11-10)
3773 ** This version backports several fixes from the 2.1.x branch.
3775 ** Fixed PKCS #3 parameter export.
3777 ** Added gnutls_record_disable_padding() to allow servers talking to
3778 buggy clients that complain if the TLS 1.0 record protocol padding is
3779 used.
3781 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3782 all supported compatibility options (like disabling padding).
3784 ** Corrected bug which did not allow a server to run without supporting
3785 certificates.
3787 ** API and ABI modifications:
3788 gnutls_session_enable_compatibility_mode: ADDED
3789 gnutls_record_disable_padding: ADDED
3791 * Version 2.0.2 (released 2007-10-17)
3793 ** TLS authorization support removed.
3794 This technique may be patented in the future, and it is not of crucial
3795 importance for the Internet community.  After deliberation we have
3796 concluded that the best thing we can do in this situation is to
3797 encourage society not to adopt this technique.  We have decided to
3798 lead the way with our own actions.
3800 ** certtool: Fixed data corruption when using --outder.
3802 ** Fix configure-time Guile detection.
3804 ** API and ABI modifications:
3805 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
3806     gnutls_supplemental_data_format_type_t enum type becomes empty.
3808 * Version 2.0.1 (released 2007-09-20)
3810 ** New directory doc/credentials/ with test credentials.
3811 This collects the test credentials from the web page and from src/.
3812 The script gnutls-http-serv has also been moved to that directory.
3814 ** Update SRP extension type and cipher suite with official IANA values.
3815 This breaks backwards compatibility with SRP in older versions of
3816 GnuTLS, but this is intentional to speed up the adoption of the
3817 official values.  The old values we used were incorrect.
3819 ** Guile: Fix `x509-certificate-dn-oid'
3821 ** API and ABI modifications:
3822 No changes since last version.
3824 * Version 2.0.0 (released 2007-09-04)
3826 ** Included copy of Libtasn1 upgraded to version 1.1.
3828 ** Disable building of some examples if anonymous ciphers are disabled.
3830 ** Don't build examples for disabled features.
3832 ** API and ABI modifications:
3833 No changes since last version.
3835 * Version 1.7.19 (released 2007-08-27)
3837 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
3838 This solves connection problems in mutt, see
3839 <http://bugs.debian.org/439640>.
3841 ** Update gnulib files.
3842 In particular, the getpass module -- with its dependencies on getline,
3843 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
3844 library) directory to the gl/ directory (only used by the command line
3845 tools).  The reason is that getpass is now only used by the
3846 command-line tools, and reducing the number of gnulib modules linked
3847 to the core library helps portability and reduces size.
3849 ** Fix warnings.
3851 ** Disable building of PGP examples if PGP is disabled.
3853 ** Included copy of OpenCDK upgraded to version 0.6.4.
3855 ** API and ABI modifications:
3856 No changes since last version.
3858 * Version 1.7.18 (released 2007-08-16)
3860 ** Install images for the info manual.
3861 This has a side effect of renaming the images.  See
3862 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
3863 discussions on the approach chosen.
3865 ** Fix pointer mix to variables of different size.
3866 Patch extracted from
3867 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
3869 ** Fix warnings during build.
3870 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
3872 ** API and ABI modifications:
3873 No changes since last version.
3875 * Version 1.7.17 (released 2007-08-15)
3877 ** New functions to perform external signing.
3878 Set the signing callback function (of the gnutls_sign_func prototype)
3879 using the gnutls_sign_callback_set function.  In the callback, you may
3880 find the new functions gnutls_x509_privkey_sign_hash and
3881 gnutls_openpgp_privkey_sign_hash useful.  A new function
3882 gnutls_sign_callback_get is also added, to retrieve the function
3883 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
3884 comments and testing.
3886 ** New self test of client and server authenticated X.509 TLS sessions.
3887 See tests/x509self.c and tests/x509signself.c.  The latter also tests
3888 the new external signing callback interface.
3890 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3891 These two actually describe the outer limits of a range of error codes
3892 reserved to the application.  All of the errors are treated as fatal
3893 by the library (it has to since it doesn't know the semantics of the
3894 error codes).  This can be useful in callbacks, to signal some
3895 application-specific error condition, which will usually eventually
3896 cause some gnutls API to return the same error code as the callback,
3897 which then can be inspected by the application.  Note that error codes
3898 are negative.
3900 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3901 The RFC is not released yet, and we're approaching a major release so
3902 let's not enable it just yet.
3904 ** Fix namespace so that gnutls_*_t is used consistently.
3905 Before, many places in the GnuTLS code used the old deprecated type
3906 names without the '_t' suffix.
3908 ** Build fixes for Guile code.
3909 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3911 ** More documentation fixes.
3912 In particular, the section headings were modified for casing.  By
3913 Ludovic Courtes <ludovic.courtes@laas.fr>.
3915 ** Updated Polish and Swedish translations.
3916 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3917 <po@danielnylander.se>.
3919 ** API and ABI modifications:
3920 gnutls_sign_func: ADD, new type for sign callback.
3921 gnutls_sign_callback_set: ADD, new function to set sign callback.
3922 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3923 gnutls_x509_privkey_sign_hash,
3924 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3925 GNUTLS_E_APPLICATION_ERROR_MIN,
3926 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3928 * Version 1.7.16 (released 2007-08-07)
3930 ** Fix sanity checks and return values in certificate selection.
3931 In some cases, GnuTLS omitted to report suitable error codes when no
3932 suitable certificate was found.
3934 ** Fix gnutls-cli starttls EOF on Mac OS X.
3935 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3937 ** Documentation fixes.
3938 In particular, the section headings were modified for casing.  By
3939 Ludovic Courtes <ludovic.courtes@laas.fr>.
3941 ** Update gnulib files.
3943 ** API and ABI modifications:
3944 No changes since last version.
3946 * Version 1.7.15 (released 2007-07-02)
3948 ** Fix self-tests key-id under mingw32.
3950 ** Test that the Guile header files are recent enough to work.
3951 Before we just tested that the command line tool 'guile' was recent
3952 enough, which may not be sufficient if you still have an old
3953 libguile.h header installed.
3955 ** Guile bindings are now installed under $prefix by default.
3956 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3957 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3958 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3959 The default, --with-guile-site-dir, will install the Guile bindings
3960 under $datadir/guile/site.  There is a new section 'Guile
3961 Preparations' in the manual that discuss these issues.
3963 ** Fix run-time library path ordering in linking the Guile bindings.
3965 ** Improved manual on downloading, installing, getting help, bug reports etc.
3966 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3968 ** Add Malay message translations.
3969 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3971 ** API and ABI modifications:
3972 No changes since last version.
3974 * Version 1.7.14 (released 2007-06-26)
3976 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3977 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3979 ** Fix memory leak during DSA signature verification.
3980 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3982 ** Fix crash in gnutls-cli when TLS handshake fails.
3983 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3984 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3985 <http://bugs.debian.org/429183>.
3987 ** Minor OpenPGP fixes in stream_to_datum.
3988 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3989 <ludovic.courtes@laas.fr>.
3991 ** Fix off-by-one in TLS 1.2 handshake.
3992 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3994 ** Minor Guile binding self-test cleanup.
3995 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3997 ** Update gnulib files.
3999 ** API and ABI modifications:
4000 No changes since last version.
4002 * Version 1.7.13 (released 2007-06-11)
4004 ** OpenCDK copy updated to version 0.6.3.
4006 ** Build fixes for GnuTLS Guile bindings.
4007 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4009 ** Build fix for GTK-DOC manual.
4011 ** Update gnulib files.
4013 ** API and ABI modifications:
4014 No changes since last version.
4016 * Version 1.7.12 (released 2007-06-08)
4018 ** Guile bindings for GnuTLS have been included.
4019 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
4020 new chapter 'Guile Bindings' in the manual.
4022 ** Have PKCS8 parser return better error codes.
4023 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
4024 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
4025 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
4027 ** Fix mem leak for sessions with client authentication via certificates.
4028 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
4029 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
4031 ** Fix mem leaks.
4032 Reported by Dennis Vshivkov <walrus@amur.ru>, see
4033 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
4034 self-test tests/parse_ca.c to test regressions.
4036 ** Fix build failures related to missing images in manual.
4037 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4039 ** Update gnulib files.
4041 ** API and ABI modifications:
4042 No changes since last version.
4044 * Version 1.7.11 (released 2007-05-26)
4046 ** Include opencdk.h in the release.
4047 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4049 ** API and ABI modifications:
4050 No changes since last version.
4052 * Version 1.7.10 (released 2007-05-25)
4054 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4055 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
4057 ** Update of gnulib files.
4059 ** GnuTLS is now developed in GIT instead of CVS.
4060 See <http://repo.or.cz/w/gnutls.git> for a public repository.
4062 ** API and ABI modifications:
4063 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4064 gnutls_x509_crt_get_raw_dn: ADD.
4066 * Version 1.7.9 (released 2007-05-12)
4068 ** X.509 certificates are preferred over OpenPGP keys.
4069 This is a change in the semantics of gnutls_set_default_priority.
4071 ** The included copy of OpenCDK has been updated to 0.6.1.
4072 There has been some API changes in OpenCDK, and the GnuTLS layer have
4073 been modified as well.  Note that while there are API/ABI incompatible
4074 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
4075 its API/ABI have not changed.  From this version on, GnuTLS requires
4076 OpenCDK 0.6.0 or later.
4078 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
4080 ** Change certtool's default serial number from 0 to a time-based value.
4082 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4083 Before, we remove the parameters field, which resulted in a slightly
4084 different DER encoding which in turn caused signature verification
4085 failures of GnuTLS-generated RSA certificates in some other
4086 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
4087 you read, this may or may not be correct, but our new behaviour appear
4088 to be consistent with other widely used implementations.
4090 ** Fix mem leaks in gnutls_x509_crt_print.
4092 ** API and ABI modifications:
4093 No changes since last version.
4095 * Version 1.7.8 (released 2007-04-16)
4097 ** Added examples for the authorization extension.
4098 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
4100 ** The examples only use gnutls_set_default_priority().
4101 The exception is when DH_ANON is needed.
4103 ** Improve gnutls_set_default_priority() priorities.
4104 The new approach is for it to try and negotiate all secure and
4105 standard mechanisms available.  Currently, DH_ANON ciphersuites and
4106 LZO compressions are not enabled by default, because they are,
4107 respectively, insecure and non-standardized.  Note that TLS 1.2 will
4108 not be enabled by default in non-experimental release until it has
4109 been approved by the IETF.
4111 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
4112 This means that to get DH_ANON and LZO compression, you'll need to
4113 specify that manually using '--kx anon' or '--comp lzo'.
4115 ** Minor fixes to the human display format of X.509 certificates.
4117 ** New APIs to extract Distinguished Name's from X.509 certificates.
4118 Based on patch from Howard Chu <hyc@symas.com>.
4120 ** Improved library searching for opencdk.
4121 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
4122 The deprecated opencdk.m4 is no longer used.
4124 ** New APIs to list supported algorithms in the library.
4125 The APIs are gnutls_cipher_list, gnutls_mac_list,
4126 gnutls_compression_list, gnutls_protocol_list,
4127 gnutls_certificate_type_list, gnutls_kx_list, and
4128 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
4130 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
4132 ** New configure option --disable-tls-authorization to disable tls-authz.
4134 ** Fix prototype for `gnutls_psk_set_client_credentials'.
4135 The last parameter was renamed from 'flags' to 'format' and the type
4136 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
4137 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
4138 (Ludovic Courtès).
4140 ** Fix allocation in gnutls_certificate_set_openpgp_key.
4141 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
4143 ** API and ABI modifications:
4144 gnutls_x509_dn_t: ADD.
4145 gnutls_x509_ava_st: ADD.
4146 gnutls_x509_crt_get_subject,
4147 gnutls_x509_crt_get_issuer: ADD.
4148 gnutls_x509_dn_get_rdn_ava: ADD.
4149 gnutls_cipher_list: ADD.
4150 gnutls_mac_list: ADD.
4151 gnutls_compression_list: ADD.
4152 gnutls_protocol_list: ADD.
4153 gnutls_certificate_type_list: ADD.
4154 gnutls_kx_list: ADD.
4155 gnutls_cipher_suite_info: ADD.
4157 * Version 1.7.7 (released 2007-02-22)
4159 ** Support for supplemental handshake messages and authorization data.
4160 Supplemental data is described in RFC 4680 and the authorization
4161 extensions in draft-housley-tls-authz-extns-07.
4163 ** Support for authorization data in gnutls-cli and gnutls-serv.
4164 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
4166 ** Fix for gnutls_x509_crt_check_hostname.
4167 Before it would have reported that the certificate matched a hostname
4168 when it did not have any dNSName or any CN field.  Report and tiny
4169 patch from "Richard W.M. Jones" <rjones@redhat.com>.
4171 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
4172 Tests regressions of the bug, and several other features.
4174 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
4175 Before there were no support for iPAddress SAN's during comparison.
4177 ** New API to print information about CRL's.
4178 The function is gnutls_x509_crl_print.
4180 ** New API to extract signature value from CRL's.
4181 The function is gnutls_x509_crl_get_signature.
4183 ** Support for directoryName Subject Alternative Name's.
4184 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
4185 string in the provided buffer.
4187 ** Internal improvements to certtool.
4188 It uses gnutls_x509_crl_print to print CRL information.  It uses some
4189 more gnulib modules to simplify error handling.
4191 ** API and ABI modifications:
4192 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
4193 gnutls_supplemental_data_format_type_t: ADD.
4194 gnutls_authz_data_format_type_t: ADD.
4195 gnutls_supplemental_get_name: ADD.
4196 gnutls_authz_recv_callback_func,
4197 gnutls_authz_send_callback_func: ADD, callback prototypes.
4198 gnutls_authz_enable: ADD.
4199 gnutls_authz_send_x509_attr_cert,
4200 gnutls_authz_send_saml_assertion,
4201 gnutls_authz_send_x509_attr_cert_url,
4202 gnutls_authz_send_saml_assertion_url: ADD.
4203 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
4204 gnutls_x509_crl_print: ADD.
4205 gnutls_x509_crl_get_signature: ADD.
4207 * Version 1.7.6 (released 2007-02-12)
4209 ** Support for 'otherName' Subject Alternative Names.
4210 The existing API gnutls_x509_crt_get_subject_alt_name may now return
4211 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
4212 To find out the otherName OID (necessary for proper parsing of the
4213 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
4214 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
4215 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
4216 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
4218 ** Certtool can print otherName SAN values for certificates.
4219 For known otherName OIDs (currently only id-on-xmppAddr as defined by
4220 RFC 3920), it will also print the name.
4222 ** Fix TLS 1.2 RSA signing in servers.
4223 Before it used the old-style MD5+SHA1 signature, but the TLS
4224 signatures should be normal PKCS#1 signatures.  FYI, we use and
4225 require that DigestInfo parameters are present and NULL for TLS 1.2.
4227 ** Add APIs to access X.509 extensions sequentially.
4228 The existing APIs gnutls_x509_crt_get_extension_oid() and
4229 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
4230 inspect the extensions in the order defined by the certificate.
4232 ** Add API to extract signature value from X.509 certificates.
4233 The function is gnutls_x509_crt_get_signature.
4235 ** Fix crash when generating proxy certificates in batch mode.
4236 If you don't specify a proxy policy in batch mode, it will use
4237 id-ppl-inheritALL.
4239 ** Add API to print information about X.509 certificates.
4240 The function is gnutls_x509_crt_print.
4242 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
4243 One consequence of this is that the output syntax has changed
4244 slightly.  Some more fields are printed.
4246 ** Doc fixes.
4248 ** API and ABI modifications:
4249 gnutls_x509_crt_print: ADD
4250 gnutls_certificate_print_formats_t: ADD, new enum.
4251 gnutls_x509_crt_get_signature: ADD.
4252 gnutls_x509_crt_get_extension_data: ADD.
4253 gnutls_x509_crt_get_extension_info: ADD.
4254 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
4255 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
4256 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
4258 * Version 1.7.5 (released 2007-02-06)
4260 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
4261 ** is set.
4263 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
4265 ** Fix --list output for gnutls-cli and gnutls-serv.
4266 Mention TLS1.2, SHA512 etc.
4268 ** Manual contains new section on setting up a test HTTP server.
4269 A server set up following those descriptions are available online via
4270 <http://www.gnutls.org/server.html>.
4272 ** Update of gnulib files.
4274 ** API and ABI modifications:
4275 No changes since last version.
4277 * Version 1.7.4 (released 2007-02-05)
4279 ** Support for RSA signing using SHA-256/384/512.
4280 A new self test "sha2" tries to build a long X.509 certificate chain
4281 testing all new hashes.
4283 ** The gnutls-serv tool now use static DH parameters if none are supplied.
4285 ** Discuss proxy certificates in the manual.
4287 ** Improve bibliographical citations in the manual.
4289 ** Update of gnulib files.
4291 ** Fix certtool template handling of pathLenConstraints.
4292 It now defaults to -1 instead of 0, which causes the field to be
4293 missing unless the template specify it.
4295 ** API and ABI modifications:
4296 GNUTLS_MAC_SHA256,
4297 GNUTLS_MAC_SHA384,
4298 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
4299 GNUTLS_DIG_SHA256,
4300 GNUTLS_DIG_SHA384,
4301 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
4302 GNUTLS_SIGN_RSA_SHA256,
4303 GNUTLS_SIGN_RSA_SHA384,
4304 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
4306 * Version 1.7.3 (released 2007-02-01)
4308 ** New option to certtool: --generate-proxy.
4309 This will generate a Proxy Certificate from an end entity certificate.
4310 Proxy Certificates are documented in RFC 3820.  You will need to
4311 specify the proxy certificate's private key with --load-privkey, the
4312 user certificate with --load-certificate and the private key used to
4313 sign the new proxy certificate with --load-ca-privkey.  Certtool will
4314 query for proxy path length and the policy language OID.  Currently
4315 only OIDs that have an empty policy are supported (which includes the
4316 two OIDs defined by RFC 3820).
4318 ** Certtool --certificate-info now prints information for Proxy Certificates.
4319 Before the proxy extension was just printed as DER encoded data.
4321 ** New APIs to set proxy subject names and get/set proxy cert extension.
4323 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
4325 ** Added self-test to test for regressions of pathLenConstraint bug.
4326 Incidentally, this also test (some) other regressions or changes in
4327 the output from certtool --certificate-info.
4329 ** When certtool generates CA certificates, pressing enter on the path
4330 ** length constraint query will now remove the field.
4331 Before it set the path length constraint to 0, which is a rather poor
4332 default.
4334 ** Certtool now print times in UTC when printing certificate/CRL info.
4336 ** Add better fix to work around C++ compiler bug on Mac OS X.
4337 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
4339 ** Fix import of ASCII armored OpenPGP keys.
4340 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
4342 ** Update of gnulib files.
4344 ** API and ABI modifications:
4345 gnutls_x509_crt_set_proxy_dn: ADD.
4346 gnutls_x509_crt_set_proxy: ADD.
4347 gnutls_x509_crt_get_proxy: ADD.
4349 * Version 1.7.2 (released 2007-01-14)
4351 ** Certtool now print the value of the pathLenConstraints field for certs.
4353 ** Certtool now query for path length constraints when generating CA certs.
4354 For batch uses, the certtool configuration name is "path_len".
4355 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
4357 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
4358 The new functions gnutls_x509_crt_get_basic_constraints and
4359 gnutls_x509_crt_set_basic_constraints provide a superset of the
4360 functionality in the old gnutls_x509_crt_get_ca_status and
4361 gnutls_x509_crt_set_ca_status (respectively), but the old functions
4362 will continue to be supported.
4364 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
4365 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
4366 OpenCDK release with this patch will be made soon, which should bump
4367 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
4369 ** Certtool --to-p12 can now store more than one certificate in the blob.
4370 Before it could only store one certificate, but now it will read and
4371 store as many certificate there are from the --load-certificate file.
4372 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
4374 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
4375 In particular, the OpenPGP function variables are no longer part of
4376 the exported libgnutls interface, and no header files from
4377 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
4378 were never intended for non-internal purposes, and thus this does not
4379 imply a change in the external API/ABI.
4381 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
4382 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4384 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
4385 Before these parameters were set to make GnuTLS build under mingw32,
4386 however, they appear to no longer be necessary.
4388 ** A minor fix to the C++ library to make it build.
4389 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
4391 ** Update of gnulib files.
4393 ** API and ABI modifications:
4394 gnutls_x509_crt_get_basic_constraints: ADD.
4395 gnutls_x509_crt_set_basic_constraints: ADD.
4396 cdk_pubkey_to_sexp: ADD (in opencdk).
4397 cdk_seckey_to_sexp: ADD (in opencdk).
4399 * Version 1.7.1 (released 2006-12-28)
4401 ** TLS 1.2 server side fix.
4402 The Certificate Request sent did not contain the list of supported
4403 hashes field, thus violating the protocol.  It will now contain an
4404 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4406 ** TLS 1.2 DSA signature verification fix.
4407 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4409 ** Fix the list of trusted CAs that server's send to clients.
4410 Before, the list contained issuer DN's instead of subject DN's of the
4411 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
4413 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
4414 Also added a self-test in tests/certificate_set_x509_crl.c to test the
4415 function.  Reported by Max Kellermann <max@duempel.org>.
4417 ** Encode UID fields in DN's as DirectoryString.
4418 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
4419 incorrect, it should have used DirectoryString.  Now it will use
4420 DirectoryString for the UID field, but for backwards compatibility it
4421 will also accept IA5String UID's.  Reported by Max Kellermann
4422 <max@duempel.org>.
4424 ** Improve out-of-sourcedir builds from CVS.
4425 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4427 ** Bootstrap tools changed.
4428 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
4429 building GnuTLS from CVS.  Libtool 1.5.22 is used.
4431 ** Fixed a syntax error in lib/gnutls.asn.
4432 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
4434 ** Added German translation of GnuTLS messages.
4436 ** Update of gnulib files.
4438 ** API and ABI modifications:
4439 No changes since last version.
4441 * Version 1.7.0 (released 2006-11-29)
4443 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
4444 The details is that the protocol priority set by
4445 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
4446 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
4448 ** Preliminary support for TLS 1.2.
4449 The client has been successfully tested against
4450 https://www.mikestoolbox.org:4433/.
4452 ** Anonself test now print a lot of debugging info, including TLS version.
4454 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
4456 ** Update of gnulib files.
4458 ** API and ABI modifications:
4459 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
4461 *** Pulled up from stable 1.6.x branch:
4463 ** Fix ./configure failure with non-GCC compilers.
4464 This fixes the following error message:
4465 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
4466 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
4468 * Version 1.6.3 (released 2007-05-26)
4470 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4471 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
4472 from the 1.7.x branch, see
4473 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
4475 ** Have PKCS8 parser return better error codes.
4476 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
4477 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
4478 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
4480 ** Fix mem leak for sessions with client authentication via certificates.
4481 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
4482 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
4484 ** Fix building of 'tlsia' self test.
4485 Earlier some gcc are known to build tlsia linking to
4486 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
4487 the build directory, even though command line parameters look OK.
4488 Changing order of some parameters fixes it.
4490 ** API and ABI modifications:
4491 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4492 gnutls_x509_crt_get_raw_dn: ADD.
4494 * Version 1.6.2 (released 2007-04-18)
4496 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4497 Before, we remove the parameters field, which resulted in a slightly
4498 different DER encoding which in turn caused signature verification
4499 failures of GnuTLS-generated RSA certificates in some other
4500 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
4501 you read, this may or may not be correct, but our new behaviour appear
4502 to be consistent with other widely used implementations.
4504 ** Regenerate the PKIX ASN.1 syntax tree.
4505 For some reason, after changing the ASN.1 type of ldap-UID in the last
4506 release, the generated C file built from the ASN.1 schema was not
4507 refreshed.  This can cause problems when reading/writing UID
4508 components inside X.500 Distinguished Names.  Reported by devel
4509 <dev001@pas-world.com>.
4511 ** Updated translations.
4513 ** API and ABI modifications:
4514 No changes since last version.
4516 * Version 1.6.1 (released 2006-12-28)
4518 ** Fix the list of trusted CAs that server's send to clients.
4519 Before, the list contained issuer DN's instead of subject DN's of the
4520 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
4522 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
4523 Reported by Max Kellermann <max@duempel.org>.
4525 ** Encode UID fields in DN's as DirectoryString.
4526 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
4527 incorrect, it should have used DirectoryString.  Now it will use
4528 DirectoryString for the UID field, but for backwards compatibility it
4529 will also accept IA5String UID's.  Reported by Max Kellermann
4530 <max@duempel.org>.
4532 ** Fix ./configure failure with non-GCC compilers.
4533 This fixes the following error message:
4534 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
4535 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
4537 ** API and ABI modifications:
4538 No changes since last version.
4540 * Version 1.6.0 (released 2006-11-17)
4542 ** No changes since 1.5.5.
4543 The major changes compared to the 1.4.x branch are:
4545 *** A GnuTLS C++ library is part of the official distribution.
4546 Currently there are no examples or documentation, but hopefully this
4547 will change.  See gnutlsxx.h for the API.
4549 *** Windows is a supported platform.
4550 There are, however, two know bugs.  One is related to select() in
4551 command line tools (not, nota bene, in the library), the other is a
4552 problem with libgcrypt that causes delays.  Help is needed to resolve
4553 those issues, so we feel we can't delay the release because of this.
4555 *** New APIs for custom push/pull function error reporting.
4556 The new APIs are gnutls_transport_set_errno and
4557 gnutls_transport_set_global_errno.  See the release notes for version
4558 1.5.4 for more information.
4560 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
4562 * Version 1.5.5 (released 2006-11-16)
4564 ** Correctly bump shared library version after adding new APIs.
4565 This was forgotten in the last release.
4567 ** Fix unsigned vs signed problem in ex-x509-info.c example.
4568 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
4570 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
4572 ** Update of gnulib files.
4574 ** API and ABI modifications:
4575 No changes since last version.
4577 * Version 1.5.4 (released 2006-11-07)
4579 ** New API functions to set errno in push/pull functions.
4580 Under Windows, setting the errno variable in a push/pull replacement
4581 may end up setting the wrong errno variable, and GnuTLS send/recv
4582 functions become confused about the real errno returned from a failed
4583 push/pull function.  Therefor, we have added two APIs to set the errno
4584 variable used by GnuTLS.  The APIs can also help to keep things
4585 thread-safe, by avoiding potentially global variables.  Typically,
4586 instead of setting errno in your push/pull function, you will call one
4587 of these functions.  It is recommended to use
4588 gnutls_transport_set_errno, but if you don't have the session variable
4589 easily accessible in the push/pull replacement function, you can use
4590 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
4591 <tim.kosse@filezilla-project.org>.
4593 void gnutls_transport_set_errno (gnutls_session_t session, int err);
4594 void gnutls_transport_set_global_errno (int err);
4596 ** When calling `recv' or `send' Windows errors are handled properly.
4597 The Windows recv/send functions doesn't use errno, and GnuTLS now use
4598 WSAGetLastError to access the error condition instead.
4600 ** Several OpenPGP API fixes.
4601 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
4602 important fix is to change the return value of
4603 gnutls_openpgp_privkey_get_pk_algorithm and
4604 gnutls_openpgp_key_get_pk_algorithm from 'int' to
4605 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
4606 compatible with 'int').
4608 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4609 ** version, try to negotiate the highest version support by the GnuTLS server,
4610 ** instead of the lowest.
4611 Reported by <Pasi.Eronen@nokia.com>.
4613 ** Replace old constructs with use of gnulib modules.
4614 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
4615 the code.  If the headers doesn't exist on the target system, gnulib
4616 will make sure its replacement header files are used instead.
4618 ** Fix SOVERSION computation for *.def files.
4619 This fixes build errors similar to "No rule to make target
4620 `libgnutls-`expr', needed by `all-am'." when building for Windows.
4622 ** gnutls_check-version uses strverscmp from gnulib.
4624 ** Update of gnulib files.
4626 ** API and ABI modifications:
4627 gnutls_transport_set_errno: ADD
4628 gnutls_transport_set_global_errno: ADD
4630 * Version 1.5.3 (released 2006-10-26)
4632 ** Add new self-test of RSA-MD5 signature chains.
4633 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
4634 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
4635 and is based on the work by Marc Stevens et al, see
4636 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
4638 ** Re-factor self tests.
4640 ** The include copy of Libtasn1 is updated to version 0.3.7.
4642 ** The included copy of OpenCDK is updated to version 0.5.11.
4644 ** Fix the filename of the *.def file on Windows after library version bump.
4646 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
4647 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
4648 gnulib modules.  Earlier we could only use the LGPL'ed module from
4649 gnulib, because two gnulib directories in the same project didn't
4650 work.
4652 ** API and ABI modifications:
4653 No changes since last version.
4655 * Version 1.5.2 (released 2006-10-03)
4657 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
4658 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
4659 shared library version than this version, so you'll have to remove
4660 them and possibly relink your applications.  The reason for this is
4661 that no API/ABI changes have been made since the 1.4.x branch, and
4662 that incrementing the shared library version was a mistake.  Reported
4663 by Andreas Metzler <ametzler@downhill.at.eu.org>.
4665 ** Fix off-by-one error when computing length to malloc.
4666 The code is used by gnutls_openpgp_add_keyring_file and
4667 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
4668 <agl@imperialviolet.org>.
4670 ** Add version script for the GnuTLS C++ library.
4671 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4673 ** Fix the C++ compiler detection logic.
4674 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4676 ** Update of gnulib files.
4678 ** API and ABI modifications:
4679 No changes since last version.
4681 * Version 1.5.1 (released 2006-09-21)
4683 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4684 ** Crypto 06 rump session attack.
4685 In particular, we check that the digestAlgorithm.parameters field is
4686 missing or empty, to avoid that it can contain "garbage" that may be
4687 used to alter the numeric properties of the signature.  See
4688 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4689 not exactly the same as the problem we fix here).  Reported by Yutaka
4690 OIWA <y.oiwa@aist.go.jp>.
4692 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4693 up to date information.
4695 ** Add self test to test for above flaw.
4697 ** Fix gnutls-cli-debug regarding resume support detection.
4698 Earlier, if the session-id from the server had a length of 0, it would
4699 indicate that the server supports resumption, which isn't the case.
4700 Reported by Kataja Kai <kai.kataja@op.fi>.
4702 ** Fix building of examples on FreeBSD by including netinet/in.h.
4703 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4705 ** Fix certtool bug that caused the private key to not be loaded when
4706 generating a certificate with --load-request, which in turn triggered
4707 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
4708 by Sascha Ziemann <sascha.ziemann@secunet.com>.
4710 ** gnutls-cli and gnutls-serv works on Windows.
4711 The problem was the select() call that doesn't work on file
4712 descriptors (stdin) on Windows.  We borrowed some code from plibc to
4713 solve this.  It appears to be somewhat unreliable though.
4715 ** Autoconf 2.60 is now used.
4717 ** API and ABI modifications:
4718 No changes since last version.
4720 * Version 1.5.0 (released 2006-08-13)
4722 ** Change SRP and Cert-Type extensions to match IANA registry.
4724 ** Fixed bug in OpenPGP authentication handshake.
4726 ** Improvements for building under MinGW.
4727 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
4728 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
4729 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
4730 at run-time from ws2_32.dll, and falls back on a simple replacement if
4731 it is not available.  Builds the library with -mms-bitfields
4732 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
4733 create *.def files, which are installed.
4735 ** The examples now (conditionally) include config.h and link to gnulib.
4736 No other source changes were necessary, so the examples should
4737 continue to be possible to use stand-alone without any autoconf or
4738 gnulib stuff.
4740 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
4741 You may unconditionally disable it with --disable-cxx.  See
4742 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
4743 implementation.
4745 ** Made command line tool '--version' behave according to GNU Standards.
4746 This enables 'make distcheck' to succeed.
4748 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4750 ** Make --without-included-libtasn1 work.
4751 Reported by Daniel Black <dragonheart@gentoo.org>.
4753 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4754 See http://www.gnu.org/software/gnutls/security.html regardging
4755 GNUTLS-SA-2006-2 for more up to date information.  Reported by
4756 satyakumar <satyam_kkd@hyd.hellosoft.com>.
4758 ** API and ABI modifications:
4759 No changes since last version.
4761 * Version 1.4.5 (released 2006-11-06)
4763 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4764 ** version, try to negotiate the highest version support by the GnuTLS server,
4765 ** instead of the lowest.
4766 Reported by <Pasi.Eronen@nokia.com>.
4768 ** Fix typo in doc/examples/ex-serv-pgp.c.
4769 Reported by Adam Langley" <agl@imperialviolet.org>.
4771 ** API and ABI modifications:
4772 No changes since last version.
4774 * Version 1.4.4 (released 2006-09-12)
4776 ** Relax the test that caught signatures that exploit the variant of
4777 ** Bleichenbacher's Crypto 06 rump session attack on our
4778 ** verification logic flaw.
4779 In particular, we now permit the digestAlgorithm.parameters field to
4780 be present but empty, whereas in 1.4.3 we actually checked that the
4781 field was absent.
4783 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
4784 The messages are only printed in debug mode, which is not recommended
4785 for normal use, and thus logging this situation cannot be abused as an
4786 oracle in typical recommended situations.
4788 ** API and ABI modifications:
4789 No changes since last version.
4791 * Version 1.4.3 (released 2006-09-08)
4793 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4794 ** Crypto 06 rump session attack.
4795 In particular, we check that the digestAlgorithm.parameters field is
4796 empty, to avoid that it can contain "garbage" that may be used to
4797 alter the numeric properties of the signature.  See
4798 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4799 not exactly the same as the problem we fix here).  Reported by Yutaka
4800 OIWA <y.oiwa@aist.go.jp>.
4802 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4803 up to date information.
4805 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
4806 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
4807 Reported by Werner Koch <wk@gnupg.org>.
4809 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
4810 up to date information.
4812 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
4814 ** API and ABI modifications:
4815 No changes since last version.
4817 * Version 1.4.2 (released 2006-08-12)
4819 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4820 This can happen if you call gnutls_certificate_verify_peers2 and have
4821 a certain mix of local CA certificates and the peer send special
4822 certificates, that together trigger certain behaviour.  It is not
4823 known at this point whether the crash can be triggered without the
4824 special local CA certificate, and thus turn this into a remote crash
4825 of clients that verify server certificates when they talk to a server
4826 with the special server certificate.  See GNUTLS-SA-2006-2 on
4827 http://www.gnu.org/software/gnutls/security.html for more up to date
4828 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
4830 ** Change SRP and Cert-Type extensions to match IANA registry.
4832 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4834 ** Make --without-included-libtasn1 work.
4835 Reported by Daniel Black <dragonheart@gentoo.org>.
4837 ** API and ABI modifications:
4838 No changes since last version.
4840 * Version 1.4.1 (released 2006-06-14)
4842 ** Replaced inactive ifdefs to enable openpgp support in test programs.
4844 ** Fixed bug in OpenPGP authentication handshake.
4846 ** Fixed typographical in man pages.
4848 ** Build fixes of the manual.
4850 ** Added Swedish translation.
4852 ** API and ABI modifications:
4853 No changes since last version.
4855 * Version 1.4.0 (released 2006-05-15)
4857 ** Remove GnuTLS 0.8.x compatibility functions.
4859 ** The libgcrypt RNG is initialized in gnutls_global_init().
4861 ** TLS/IA API changes from Emile van Bergen.
4862 A dummy credential structure is not needed now, if you wish to use the
4863 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
4864 a session.
4866 ** The self-tests are now run under valgrind, if it is installed.
4868 ** Libtasn1 is updated to 0.3.4, and that version is now required.
4870 ** The command line tools now use getaddrinfo and support IPv6.
4872 ** API and ABI modifications:
4873 _gnutls_x509_get_raw_crt_activation_time,
4874 _gnutls_x509_get_raw_crt_expiration_time: Removed.
4875 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
4876 gnutls_ia_enable: Added.
4878 * Version 1.3.5 (released 2006-03-08)
4880 ** Error messages are now translated using GNU Gettext.
4882 ** The function gnutls_x509_crt_to_xml now return an internal error.
4883 This means that the code to convert X.509 certificates to XML format
4884 does not work any more.  The reason is that the function called
4885 libtasn1 internal functions.  It seems unclean for libtasn1 to export
4886 the APIs needed here.  Instead it would be better to implement XML
4887 support inside libtasn1 properly.  If you need this functionality
4888 strongly, please consider looking into implementing this suggested
4889 approach instead.  As a workaround, you may also modify lib/x509/xml.c
4890 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4892 ** Libraries are now built with libtool's -no-undefined.
4893 This helps producing libraries for Windows using mingw32.
4895 ** Doc fixes to explain that gnutls_record_send can block.
4897 ** Libtasn1 0.3.1 or later is now required.
4898 The include copy has been updated too.
4900 ** gnutls-cli can now recognize services and port numbers with the -p option.
4902 ** API and ABI modifications:
4903 No changes since last version.
4905 * Version 1.3.4 (released 2006-02-09)
4907 ** Fix read of out bounds bug in DER parser.
4908 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4909 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
4910 previous bug fix.  The included libtasn1 version in GnuTLS has been
4911 updated.
4913 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4914 longer invalidate a session if the underlying send fails, but it will 
4915 prevent future writes. That is to allow reading the already received data.
4916 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4918 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4919 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
4920 more than one certificates were added. Report and patch by Max Kellermann.
4922 ** Fix build problems of OpenCDK on AIX.
4923 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4925 ** API and ABI modifications:
4926 No changes since last version.
4928 * Version 1.3.3 (released 2006-01-12)
4930 ** New API to access the TLS master secret.
4931 When possible, you should use the TLS PRF functions instead.
4932 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4934 ** Improved handling when multiple libraries use GnuTLS at the same time.
4935 Now gnutls_global_init() can be called multiple times, and
4936 gnutls_global_deinit() will only deallocate the structure when it has
4937 been called as many times as gnutls_global_init() was called.
4939 ** Added a self test of TLS resume functionality.
4941 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4943 ** Documentation fixes about thread unsafety, prompted by
4944 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4945 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4946 thread safe.  Careful callers may want to protect the call using a
4947 mutex.  The problem could also be ignored, which would cause a memory
4948 leak under rare conditions when two threads invoke the function
4949 roughly at the same time.
4951 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4953 ** The code was indented again, including the external header files.
4955 ** API and ABI modifications:
4956 New functions to retrieve the master secret value:
4957   gnutls_session_get_master_secret
4959 Add a 'const' keyword to existing API:
4960   gnutls_x509_crq_get_challenge_password
4962 * Version 1.3.2 (released 2005-12-15)
4964 ** GnuTLS now support TLS Inner application (TLS/IA).
4965 This is per draft-funk-tls-inner-application-extension-01.  This
4966 functionality is added to libgnutls-extra, so it is licensed under the
4967 GNU General Public License.
4969 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4970 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4971 and EAP-TTLS.  One function to access the raw PRF and one to access
4972 the PRF seeded with the client/server random fields are provided.
4973 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4975 ** New APIs to acceess the client and server random fields in a session.
4976 These fields can be useful by protocols using TLS.  Note that these
4977 fields are typically used as input to the TLS PRF, and if this is your
4978 intended use, you should use the TLS PRF API that use the
4979 client/server random field directly.  Suggested by Jouni Malinen
4980 <jkmaline@cc.hut.fi>.
4982 ** Internal type cleanups.
4983 The uint8, uint16, uint32 types have been replaced by uint8_t,
4984 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4985 correct types on platforms that lack them.  The uint type have been
4986 replaced by unsigned.
4988 ** API and ABI modifications:
4989 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4990   gnutls_prf
4991   gnutls_prf_raw
4993 New functions to retrieve the session's client and server random values:
4994   gnutls_session_get_server_random
4995   gnutls_session_get_client_random
4997 New function, to perform TLS/IA handshake:
4998   gnutls_ia_handshake
5000 New function to decide whether to do a TLS/IA handshake:
5001   gnutls_ia_handshake_p
5003 New functions to allocate a TLS/IA credential:
5004   gnutls_ia_allocate_client_credentials
5005   gnutls_ia_free_client_credentials
5006   gnutls_ia_allocate_server_credentials
5007   gnutls_ia_free_server_credentials
5009 New functions to handle the AVP callback:
5010   gnutls_ia_set_client_avp_function
5011   gnutls_ia_set_client_avp_ptr
5012   gnutls_ia_get_client_avp_ptr
5013   gnutls_ia_set_server_avp_function
5014   gnutls_ia_set_server_avp_ptr
5015   gnutls_ia_get_server_avp_ptr
5017 New functions, to toggle TLS/IA application phases:
5018   gnutls_ia_require_inner_phase
5020 New function to mix session keys with inner secret:
5021   gnutls_ia_permute_inner_secret
5023 Low-level API (used internally by gnutls_ia_handshake):
5024   gnutls_ia_endphase_send
5025   gnutls_ia_send
5026   gnutls_ia_recv
5028 New functions that can be used after successful TLS/IA negotiation:
5029   gnutls_ia_generate_challenge
5030   gnutls_ia_extract_inner_secret
5032 Enum type with TLS/IA modes:
5033   gnutls_ia_mode_t
5035 Enum type with TLS/IA packet types:
5036   gnutls_ia_apptype_t
5038 Enum values for TLS/IA alerts:
5039   GNUTLS_A_INNER_APPLICATION_FAILURE
5040   GNUTLS_A_INNER_APPLICATION_VERIFICATION
5042 New error codes, to signal when an application phase has finished:
5043   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
5044   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
5046 New error code to signal TLS/IA verify failure:
5047   GNUTLS_E_IA_VERIFY_FAILED
5049 * Version 1.3.1 (released 2005-12-08)
5051 ** Support for DHE-PSK cipher suites has been added.
5052 This method offers perfect forward secrecy.
5054 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5055 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5057 ** Corrected a bug in certtool for 64 bit machines. Reported
5058 by Max Kellermann <max@duempel.org>.
5060 ** New function to set a X.509 private key and certificate pairs, and/or
5061 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
5062 <emile@e-advies.nl>.
5064 The integrity of the PKCS#12 file is protected through a password
5065 based MAC; public-key based signatures for integrity protection are
5066 not supported.  PKCS#12 bags may be encrypted using password derived
5067 symmetric keys, public-key based encryption is not supported.  The
5068 PKCS#8 keys may be encrypted using passwords.  The API use the same
5069 password for all operations.  We believe that any more flexibility
5070 create too much complexity that would hurt overall security, but may
5071 add more PKCS#12 related APIs if real-world experience indicate
5072 otherwise.
5074 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
5075 reported by Emile van Bergen <emile@e-advies.nl>.
5076 This will enable "certtool -k -8" to parse those keys.
5078 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
5079 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
5080 certtool would have encrypted the key using an empty password.
5082 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
5083 Earlier it would have prompted the user for it, even if --password was
5084 supplied.
5086 ** Added self test of PKCS#8 parsing.
5087 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
5088 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
5089 tests/pkcs8.
5091 ** API and ABI modifications:
5092 New function to set X.509 credentials from a PKCS#12 file:
5093   gnutls_certificate_set_x509_simple_pkcs12_file
5095 New gnutls_kx_algorithm_t enum type:
5096   GNUTLS_KX_DHE_PSK
5098 New API to return session data (basically same as gnutls_session_get_data):
5099   gnutls_session_get_data2
5101 New API to set PSK Diffie-Hellman parameters:
5102   gnutls_psk_set_server_dh_params
5104 * Version 1.3.0 (2005-11-15)
5106 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
5107 This add several new APIs, see below.  Read the updated manual for
5108 more information.  A new self test "pskself" has been added, that will
5109 test this functionality.
5111 ** The session resumption data are now system independent.
5113 ** The code has been re-indented to conform to the GNU coding style.
5115 ** Removed the RIPEMD ciphersuites.
5117 ** Added a discussion of the internals of gnutls in manual.
5119 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
5121 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
5123 ** Make sure config.h is included first in a few files, from Albert Chin.
5125 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
5127 ** Don't install SRP programs and man pages if --disable-srp-authentication,
5128 from Albert Chin.
5130 ** API and ABI modifications:
5131 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
5133 New gnutls_credentials_type_t credential type:
5134   GNUTLS_CRD_PSK
5136 New credential types:
5137   gnutls_psk_server_credentials_t
5138   gnutls_psk_client_credentials_t
5140 New functions to allocate PSK credentials:
5141   gnutls_psk_allocate_client_credentials
5142   gnutls_psk_free_client_credentials
5143   gnutls_psk_free_server_credentials
5144   gnutls_psk_allocate_server_credentials
5146 New enum type for PSK key flags:
5147   gnutls_psk_key_flags
5149 New function prototypes for credential callback:
5150   gnutls_psk_client_credentials_function
5151   gnutls_psk_server_credentials_function
5153 New function to set PSK username and key:
5154   gnutls_psk_set_client_credentials
5156 New function to set PSK passwd file:
5157   gnutls_psk_set_server_credentials_file
5159 New function to extract PSK user in server:
5160   gnutls_psk_server_get_username
5162 New functions to set PSK callback:
5163   gnutls_psk_set_server_credentials_function
5164   gnutls_psk_set_client_credentials_function
5166 Use size_t instead of int for output size parameter:
5167   gnutls_srp_base64_encode
5168   gnutls_srp_base64_decode
5170 * Version 1.2.11 (2006-05-11)
5171 - The function gnutls_x509_crt_to_xml is not supported any more, and
5172   return an internal error.  The reason is that the function called
5173   internal libtasn1 functions which are no longer exported from
5174   libtasn1.
5175 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
5176 - Updated gnulib compatibility files.
5177 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
5178   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
5179 - API and ABI modifications:
5180   No changes since last version.
5182 * Version 1.2.10 (2006-02-09)
5183 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
5184   <admin@gleg.net>, and debugging help from Protover SSL.
5185 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
5186   The included version has been updated too.
5187 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5188   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5189 - Corrected a bug in certtool for 64 bit machines. Reported
5190   by Max Kellermann <max@duempel.org>.
5191 - Corrected bugs in gnutls_certificate_set_x509_crl() and
5192   gnutls_certificate_set_x509_trust(), that caused memory corruption if
5193   more than one certificates were added. Report and patch by Max Kellermann.
5194 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
5195   longer invalidate a session if the underlying send fails, but it will 
5196   prevent future writes. That is to allow reading the already received data.
5197   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
5199 * Version 1.2.9 (2005-11-07)
5200 - Documentation was updated and improved.
5201 - RSA-MD2 is now supported for verifying digital signatures.
5202 - Due to cryptographic advances, verifying untrusted X.509
5203   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
5204   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
5205   applications that must remain interoperable, you can use the
5206   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
5207   flags when verifying certificates.  Naturally, this is not
5208   recommended default behaviour for applications.  To enable the
5209   broken algorithms, call gnutls_certificate_set_verify_flags with the
5210   proper flag, to change the verification mode used by
5211   gnutls_certificate_verify_peers2.
5212 - Make it possible to send empty data through gnutls_record_send,
5213   to align with the send(2) API.
5214 - Some changes in the certificate receiving part of handshake to prevent
5215   some possible errors with non-blocking servers.
5216 - Added numeric version symbols to permit simple CPP-based feature
5217   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
5218 - The (experimental) low-level crypto alternative to libgcrypt used
5219   earlier (Nettle) has been replaced with crypto code from gnulib.
5220   This leads to easier re-use of these components in other projects,
5221   leading to more review and simpler maintenance.  The new configure
5222   parameter --with-builtin-crypto replace the old --with-nettle, and
5223   must be used if you wish to enable this functionality.  See README
5224   under "Experimental" for more information.  Internally, GnuTLS has
5225   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
5226   API is similar to the old crypto/gc.h, because the gnulib code were
5227   based on GnuTLS's gc.h.
5228 - Fix compiler warning in the "anonself" self test.
5229 - API and ABI modifications:
5230 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
5231                              This doesn't reflect a change in behaviour,
5232                              so we don't break backwards compatibility.
5233 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
5234 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
5235 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
5236 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
5237                                   Use when calling
5238                                   gnutls_x509_crt_list_verify,
5239                                   gnutls_x509_crt_verify, or
5240                                   gnutls_certificate_set_verify_flags.
5241 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
5242                                 used when broken signature algorithms
5243                                 is used (currently RSA-MD2/MD5).
5244 LIBGNUTLS_VERSION_MAJOR,
5245 LIBGNUTLS_VERSION_MINOR,
5246 LIBGNUTLS_VERSION_PATCH,
5247 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
5248                           version number, can be used for feature existence
5249                           tests.
5251 * Version 1.2.8 (2005-10-07)
5252 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
5253 - Don't install the auxilliary libexamples library used by the
5254   examples in doc/examples/ on "make install", report and tiny patch
5255   from Thomas Klausner <tk@giga.or.at>.
5256 - If you pass a X.509 CA or PGP trust database to the command line
5257   tool, it will now abort the connection if the server certificate
5258   validation fails.  Use the parameter --insecure to continue even
5259   after certificate validation failures.  Inspired from discussion
5260   with Alexander Kotelnikov <sacha@myxomop.com>.
5261 - The test for socklen_t has been moved to gnulib.
5262 - Link failures for duplicate or missing "program_name" symbol has been fixed,
5263   patch from Martin Lambers <marlam@marlam.de>.
5264 - The command line tool and the examples no longer uses mmap or bzero,
5265   to make them more portable, patch from Martin Lambers
5266   <marlam@marlam.de>.
5267 - Made the PKCS #12 API handle null passwords. Based on patch by
5268   Anton Altaparmakov <aia21@cam.ac.uk>.
5269 - The GTK-DOC manual should build with current released tools.
5270   (But a copy of the output is included, so the tools are not required.)
5271 - The inet_ntop function is now used through gnulib.
5272 - API and ABI modifications:
5273   No changes since last version.
5275 * Version 1.2.7 (2005-09-09)
5276 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
5277 - Certtool now complains when reading out-of-range X.509 serial
5278   numbers, suggested by Fran <e_agf@yahoo.es>.
5279 - Certtool now uses the readline library (when available) when reading
5280   X.509 serial numbers.
5281 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
5282 - Fixed compile warning regarding socklen_t on Mingw32, reported by
5283   Martin Lambers <marlam@marlam.de>.
5284 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
5285 - Gnulib is now used for the core library, enabling future code cleanups.
5286 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
5287   suggested by Daniel Stenberg <daniel@haxx.se>.
5288 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
5289 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
5290 - Disable zlib support if zlib.h is not present.
5291 - A number of internal cleanups.
5292 - API and ABI modifications:
5293   No changes since last version.
5295 * Version 1.2.6 (2005-07-16)
5296 - MiniLZO updated to version 2.01 and moved to separate directory.
5297 - Collision between system LZO header files and MiniLZO header file
5298   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
5299 - Will now test for liblzo functionality in liblzo2 too, reported by
5300   Thomas Klausner <tk@giga.or.at>.
5301 - Minilibtasn1 is now 0.2.14 (no code changes).
5302 - Some code changes to avoid GTK-DOC warnings.
5303 - API and ABI modifications:
5304   No changes since last version.
5306 * Version 1.2.5 (2005-07-03)
5307 - More builddir != srcdir fixes, reported by Mike Castle
5308   <dalgoda@ix.netcom.com>.
5309 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
5310   reported by Adam Langley <alangley@gmail.com>.
5311 - Corrected some stuff in minilzo detection. Pointed out by 
5312   Sergey Lipnevich.
5313 - MiniLZO updated to version 2.00.
5314 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
5315 - API and ABI modifications:
5316   No changes since last version.
5318 * Version 1.2.4 (2005-05-28)
5319 - Corrected some bugs that could affect 64 bit systems.
5320 - Some corrections in the header files to include the prototype
5321   of memmem properly (affected 64 bit systems). Report and patch
5322   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5323 - Introduced the --fix-key option to certtool, which can be used to
5324   regenerate the (optional) parameters in a private key. It should
5325   be used together with --key-info.
5326 - Corrected a bug in certificate chain verification that could lead
5327   to marking a trusted chain as non trusted, if the last certificate in
5328   the chain was a self signed one.
5329 - Gnulib portability files were updated.
5330 - License were updated to reflect new FSF address.
5331 - API and ABI modifications:
5332   No changes since last version.
5334 * Version 1.2.3 (2005-04-28)
5335 - Corrected bug in record packet parsing that could lead
5336   to a denial of service attack.
5337 - Corrected bug in RSA key export. Previously exported keys
5338   can be fixed using certtool. Use certtool -k <infile >outfile
5339 - API and ABI modifications:
5340     gnutls_x509_privkey_fix(): Add.
5342 * Version 1.2.2 (2005-04-25)
5343 - gnutls_error_to_alert() now considers
5344   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
5345 - Fixed error in session resuming that could cause a crash in a session.
5346 - Fixed pkcs12 friendly name and local key identifier decoding.
5347 - Internal cleanups, removed duplicate typedef/struct definitions,
5348   and made source code include external include file, to check
5349   function prototypes during compile time.
5350 - API and ABI modifications:
5351   No changes since last version.  At least not intentional, but due
5352   to the include header changes, there may be inadvertant changes,
5353   please let us know if you find any.
5355 * Version 1.2.1 (2005-04-04)
5356 - gnutls_bye() will no longer fail when RDWR is used and application
5357   data are available for reading.
5358 - Added more strict checks for the SRP parameters (g,n), when they
5359   are not in the included list.
5360 - Added warning to certtool when MD5 is being used for digital
5361   signatures.
5362 - Optimizations ("-O2 -finline-functions") are not enabled by default,
5363   instead the standard autoconf defaults are used.  Use `./configure
5364   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
5365 - Added the option --get-dh-params to certtool, in order to get the
5366   parameters included in the library primes and generators.
5367 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
5368   allow only trusted Version 1 CAs and introduced
5369   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
5370 - Nettle self tests now build properly, reported by Pierre
5371   <pierre42d@9online.fr>.
5372 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
5373   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5374 - If the library has been compiled with features disabled, a warning is 
5375   issued during the compilation of any program.
5376 - API and ABI modifications:
5377     gnutls_x509_crt_list_import(): Add
5378     gnutls_x509_crq_get_attribute_by_oid(): Add.
5379     gnutls_x509_crq_set_attribute_by_oid(): Add
5380     gnutls_x509_crt_set_extension_by_oid(): Add.
5381     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
5382     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
5384 * Version 1.2.0 (2005-01-27)
5385 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
5386 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
5387   gnutls_x509_crl_sign2().
5388 - Fixed license header in source code files.
5390 * Version 1.1.23 (2005-01-18)
5391 - It is now possible to generate PKCS#12 structures without private
5392   keys using "certtool --to-p12", suggested by Fabian Fagerholm
5393   <fabbe@paniq.net>.
5394 - Certtool now prints information for the RSA and DSA parameters of
5395   certificates and private keys.
5396 - Corrected the write of CRL distribution points.
5397 - The certificate chain verification function now checks certificates
5398   in the reverse order to minimize the spent resources.
5399 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5400 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
5401   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
5402   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
5403   required, instead of the string length.  That is, the value has been
5404   incremented by 1 to account for the terminating zero. Reported by
5405   Martin Lambers <marlam@web.de>.
5406 - Debug output shouldn't crash on platforms that doesn't handle NULL
5407   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
5408 - Sync included copy of libtasn1 with version 0.2.13.
5409 - Client X.509 authenticated connections via gnutls-cli should now work again.
5411 * Version 1.1.22 (2004-11-04)
5412 - Replace GNU LD version script with Libtool -export-symbols-regex,
5413   from Joe Orton <joe@manyfish.co.uk>.
5414 - Documentation improvements.
5415 - Code indented using 'indent -i4 -kr'.
5416 - The API manual is included in Devhelp format.  (Was in last release too,
5417   but the NEWS entry was forgotten.)
5418 - The OpenSSL compatibility code now use the internal crypto interface.
5419 - Added simple self test of OpenSSL compatibility library.
5420 - Internally, libtool convenience libraries are used.
5421 - Cleanups to configure.ac.
5423 * Version 1.1.21 (2004-10-27)
5424 - Print DN of certificates with unknown characters in them, but in hexform
5425   only.
5426 - Added second precision to the X.509 parsing and generation functions.
5427 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5428   actual OID.
5429 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5430   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5431 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5432   <stephane.loeuillet@tiscali.fr>.
5433 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5434   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5435 - Add self test of PKCS#12 functionality in "certtool", based on test
5436   vectors from Joe Orton <joe@manyfish.co.uk>.
5437 - Fix library order in libgnutls*-config --libs output, to permit
5438   static linking, reported by Yoann Vandoorselaere
5439   <yoann@prelude-ids.org>.
5441 * Version 1.1.20 (2004-10-12)
5442 - Fix compile problem in gl/getpass.c on some systems.
5444 * Version 1.1.19 (2004-10-07)
5445 - Fix memory leak in gnutls_certificate_verify_peers and
5446   gnutls_certificate_free_credentials, report and patch by Simon
5447   Posnjak <simon.posnjak@cetrtapot.si>.
5448 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5449   a key and no certificate to PKCS#12.
5450 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5451   <gp@familiehaase.de>.
5452 - Fixes faulty getpass implementation in libextra/opencdk/, reported
5453   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5454 - Uses memmem instead of strnstr in lib/.
5455 - Using more GNULib portability files, although not yet inside lib/.
5456 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
5457   Nikos deprecated gnutls_certificate_verify_peers in favor of
5458   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
5459 - Improvements to the manual.
5460 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5461 - Known bug: the library require snprintf.  This has not yet been
5462   fixed, but will be handled via GNULib later on.
5464 * Version 1.1.18 (2004-08-24)
5465 - Corrected handling of certificate with dates after year 2038.
5466 - Corrected DER decoder which could incorrectly treat input as BER and fail.
5467 - Correct certtool --smime-to-p7 end of line character handling.
5468 - Added example client and server for anonymous authentication.
5469 - Added self test that tests anonymous TLS client and server.
5470 - Added self tests of Nettle and generic crypto layer.
5471 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
5472   Online version at <http://www.gnu.org/software/gnutls/reference/>.
5473 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
5474 - Man pages for API functions are included.
5476 * Version 1.1.17 (2004-08-18)
5477 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5478   reported by Robey Pointer <robey@danger.com>.
5479 - Generic crypto interface for secret key ciphers, hashes and randomness added.
5480   See section "Experimental" within section "COMPILATION ISSUES" in README.
5481 - Removed length limit on passwords read by 'certtool'.
5482 - Documentation fixes.
5484 * Version 1.1.16 (2004-08-15)
5485 - Fix missing gnulib linker parameter when building certtool.
5486 - Add gnulib module 'progname', needed by module 'error'.
5487 - Improve building with srcdir != objdir.
5489 * Version 1.1.15 (2004-08-15)
5490 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
5491   PKCS #7 format.
5492 - Ported to Mac OS X / Darwin.
5493 - Ported to FreeBSD.
5495 * Version 1.1.14 (2004-08-09)
5496 - Documentation converted to Texinfo format.
5497 - Bug fix of test suite.
5498 - Configure now print build information, used by Autobuild.
5500 * Version 1.1.13 (2004-08-05)
5501 - Added simple self test suite.
5503 * Version 1.1.12 (2004-08-02)
5504 - Updated the SRP authentication to conform to the
5505   latest (yet unreleased) draft. Unfortunately this breaks
5506   compatibility with previous versions.
5507 - Changed the makefiles to be more portable.
5508 - SRP ciphersuites were moved to the gnutls library.
5509 - Added some default limits in the verification of certificate
5510   chains, to avoid denial of service attacks. Also added 
5511   gnutls_certificate_set_verify_limits() to override them.
5512   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5513 - Added gnutls_certificate_verify_peers2().
5515 * Version 1.1.11 (2004-07-16)
5516 - Added the '_t' suffix to all exported symbols.
5517 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
5518   <mak@greenhills.co.uk>.
5519 - Corrected a bug in certificate verification. Pointed out by
5520   Yoann Vandoorselaere <yoann@prelude-ids.org>
5521 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
5522   verification functions.
5523 - The ephemeral DH and RSA parameters are no longer stored in the
5524   session resume DB.
5525 - Do not free the SRP (prime and generator) parameters obtained from the 
5526   callback if they are the static ones defined in extra.h
5527 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5529 * Version 1.1.10 (2004-06-12)
5530 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5531 - Corrected bug in TLS renegotiation.
5532 - Corrected bug in OpenPGP key loading using a callback.
5533 - gnutls-srpcrypt was renamed to srptool
5534 - Allow handshake requests by the client.
5535 - Automatically disable certificate types that do not have corresponding
5536   certificates.
5537 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
5538 - Opencdk library is being included if not found.
5539 - certtool can now add ip address SAN extension.
5540 - certtool has now support for more X.520 DN attribute types.
5541 - Better handling of EOF in gnutls_record_recv().
5542 - _gnutls_deinit() is no longer used. Sessions are not
5543   automatically removed any more, on abnormal termination.
5544 - Corrected session resuming in SRP ciphersuites.
5545 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5546 - Added new functions to allow access to the ephemeral
5547   Diffie Hellman parameters.
5548 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5549   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5550 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
5551   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
5552   RSA-EXPORT key exchange.
5553 - Some fixes in the session resuming code.
5554 - Added gnutls_openpgp_keyring_check_id().
5556 * Version 1.1.9 (2004-04-14)
5557 - Added support for authority key identifier and the extended key usage
5558   X.509 extension fields. The certtoool was updated to support them.
5559 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5560 - Added batch support to certtool. Now it can use templates.
5562 * Version 1.1.8 (2004-04-07)
5563 - Implemented all the tests for the SRP group parameters in
5564   client side. This may lead to incompatibility with very
5565   old gnutls servers.
5566 - Corrected bug in RSA parameters handling which could cause
5567   unexpected crashes.
5568 - Optimized the copying of rsa_params.
5570 * Version 1.1.7 (2004-03-29)
5571 - Added gnutls_certificate_set_params_function() and 
5572   gnutls_anon_set_params_function() that set the RSA or DH
5573   parameters using a callback.
5574 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5575   and gnutls_x509_privkey_cpy().
5576 - Corrected a compilation issue when opencdk was installed in a
5577   non standard directory.
5578 - Deprecated: gnutls_srp_server_set_select_function(), 
5579   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
5581 * Version 1.1.6 (2004-02-24)
5582 - Several bug fixes, by Arne Thomassen.
5583 - Fixed a bug where 'server name' extension was always sent.
5585 * Version 1.1.5 (2004-01-06)
5586 - Added the gnutls_sign_algorithm type.
5588 * Version 1.1.4 (2004-01-04)
5589 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5590   If they are of highest priority then the abbreviated handshake
5591   is used.
5592 - Removed all references of missing files.
5593 - Changed handshake behaviour to send the lowest TLS version
5594   when an unsupported version was advertized. The current behaviour
5595   is to send the maximum version we support.
5596 - Corrected problem printing the DC attributes in a DN.
5598 * Version 1.1.3 (2003-12-30)
5599 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5600   hack).
5602 * Version 1.1.2 (2003-12-28)
5603 - Added CRL verification functionality to certtool.
5604 - Corrected the CRL distribution point extension handling.
5606 * Version 1.1.1 (2003-12-26)
5607 - Added PKCS #7 support to certtool utility.
5608 - Added support for reading and generating CRL distribution
5609   points extensions in certificates.
5610 - Added support for generating CRLs in the library and the
5611   certtool utility.
5612 - Added support for the Subject Key ID PKIX extension.
5614 * Version 1.1.0 (2003-12-21)
5615 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5616   are no longer returned by the handshake function. Ciphersuites that
5617   require temporary parameters are removed when such parameters do not exist.
5618 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5619   gnutls_certificate_server_retrieve_function(), to allow a client or a server
5620   to specify certificates for the handshake without storing them to the
5621   credentials structure.
5622 - Added support for generating and exporting DSA private keys.
5623 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
5624   certificate's key usage.
5625 - Added gnutls_openpgp_key_get_key_usage().
5627 * Version 1.0.25 (2005-04-27)
5628 - Corrected bug in record packet parsing that could lead
5629   to a denial of service attack.
5630 - Corrected bug in RSA key export.
5632 * Version 1.0.24 (2005-01-18)
5633 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5635 * Version 1.0.23 (2004-11-13)
5636 - Replace GNU LD version script with Libtool -export-symbols-regex,
5637   from Joe Orton <joe@manyfish.co.uk>.
5638 - Copy libtasn1 has been updated to version 0.2.11.
5639 - Corrected the write of CRL distribution points.
5640 - It is now possible to generate PKCS#12 structures without private
5641   keys using "certtool --to-p12", suggested by Fabian Fagerholm
5642   <fabbe@paniq.net>.
5644 * Version 1.0.22 (2004-10-28)
5645 - Print DN of certificates with unknown characters in them, but in hexform
5646   only.
5647 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5648   actual OID.
5649 - Added second precision to the X.509 parsing functions.
5650 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5651   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5652 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5653   <stephane.loeuillet@tiscali.fr>.
5654 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5655   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5656 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
5657 - Fix library order in libgnutls*-config --libs output, to permit
5658   static linking, reported by Yoann Vandoorselaere
5659   <yoann@prelude-ids.org>.
5661 * Version 1.0.21 (2004-10-07)
5662 - Fix memory leak in gnutls_certificate_verify_peers and
5663   gnutls_certificate_free_credentials, report and patch by Simon
5664   Posnjak <simon.posnjak@cetrtapot.si>.
5665 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5666   a key and no certificate to PKCS#12.
5667 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5668   <gp@familiehaase.de>.
5669 - Avoid redefining getpass if system already has it, reported by
5670   Yoann Vandoorselaere <yoann@prelude-ids.org>.
5671 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5672 - Known bug: the library require snprintf.
5674 * Version 1.0.20 (2004-08-18)
5675 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5676   reported by Robey Pointer <robey@danger.com>.
5678 * Version 1.0.19 (2004-08-09)
5679 - Bug fix of test suite.
5681 * Version 1.0.18 (2004-08-05)
5682 - Added simple self test suite.
5684 * Version 1.0.17 (2004-08-02)
5685 - Updated the SRP authentication to conform to the
5686   latest (yet unreleased) draft. Unfortunately this breaks
5687   compatibility with previous versions.
5688 - Changed the makefiles to be more portable.
5689 - Added some default limits in the verification of certificate
5690   chains, to avoid denial of service attacks. Also added 
5691   gnutls_certificate_set_verify_limits() to override them.
5692   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5693 - Added gnutls_certificate_verify_peers2().
5695 * Version 1.0.16 (2004-07-10)
5696 - Do not free the SRP (prime and generator) parameters obtained from the 
5697   callback if they are the static ones defined in extra.h.
5698 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5699 - Some fixes in the makefiles.
5701 * Version 1.0.15 (2004-06-29)
5702 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
5703   <mak@greenhills.co.uk>.
5704 - Corrected a bug in certificate verification. Pointed out by
5705   Yoann Vandoorselaere <yoann@prelude-ids.org>.
5707 * Version 1.0.14 (2004-06-12)
5708 - Automatically disable certificate types that do not have corresponding
5709   certificates.
5710 - Updates in the documentation.
5711 - certtool can now add ip address SAN extension.
5712 - certtool has now support for more X.520 DN attribute types.
5713 - Opencdk library is being included if not found.
5714 - Added gnutls_openpgp_keyring_check_id().
5715 - Corrected a serious bug in the included libtasn1 library.
5716 - Corrected session resuming in SRP ciphersuites.
5717 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5718 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5719   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5720 - Some fixes in the session resuming code.
5722 * Version 1.0.13 (2004-04-29)
5723 - Some complilation fixes.
5724 - Added the --xml parameter to the certtool utility.
5726 * Version 1.0.12 (2004-04-23)
5727 - Corrected bug in OpenPGP key loading using a callback.
5728 - Renamed gnutls-srpcrypt to srptool
5729 - Allow handshake requests by the client.
5730 * Things backported from the development branch:
5731 - Added support for authority key identifier and the extended key usage
5732   X.509 extension fields. The certtoool was updated to support them.
5733 - Added batch support to certtool. Now it can use templates.
5734 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5736 * Version 1.0.11 (2004-04-17)
5737 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5738 - Corrected bug in TLS renegotiation.
5740 * Version 1.0.10 (2004-04-03)
5741 - Corrected bug in RSA parameters handling which could cause
5742   unexpected crashes.
5743 - Corrected bug in SSL 3.0 authentication.
5745 * Version 1.0.9 (2004-03-29)
5746 - Added gnutls_certificate_set_params_function() and 
5747   gnutls_anon_set_params_function() that set the RSA or DH
5748   parameters using a callback.
5749 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5750   and gnutls_x509_privkey_cpy().
5751 - Corrected a compilation issue when opencdk was installed in a
5752   non standard directory.
5753 - Documented the changes need in multi-threaded application due
5754   to the new libgcrypt.
5756 * Version 1.0.8 (2004-02-28)
5757 - Corrected bug in mutual certificate authentication in SSL 3.0.
5759 * Version 1.0.7 (2004-02-25)
5760 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5761   hack).
5762 - Some updates in the documentation.
5764 * Version 1.0.6 (2004-02-12)
5765 * Backported things from the development branch (while maintaining
5766   backwards compatibility):
5767 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5768   If they are of highest priority then the abbreviated handshake
5769   is used.
5770 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5771   are no longer returned by the handshake function. Ciphersuites that
5772   require temporary parameters are removed when such parameters do not exist.
5773 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5774   gnutls_certificate_server_retrieve_function(), to allow a client or a server
5775   to specify certificates for the handshake without storing them to the
5776   credentials structure.
5777 - Added support for generating and exporting DSA private keys.
5779 * Version 1.0.5 (2004-02-11)
5780 - Fixed a bug where 'server name' extension was always sent.
5781 * Backported things from the development branch:
5782 - Added CRL verification functionality to certtool.
5783 - Corrected the CRL distribution point extension handling.
5784 - Added PKCS #7 support to certtool utility.
5785 - Added support for reading and generating CRL distribution
5786   points extensions in certificates.
5787 - Added support for generating CRLs in the library and the
5788   certtool utility.
5789 - Added support for the Subject Key ID PKIX extension.
5790 - Added the gnutls_sign_algorithm type.
5792 * Version 1.0.4 (2004-01-04)
5793 - Changed handshake behaviour to send the lowest TLS version
5794   when an unsupported version was advertized. The current behaviour
5795   is to send the maximum version we support.
5796 - certtool no longer asks the password in unencrypted private
5797   keys.
5798 - The source is now compiled to use the reentrant libc functions.
5800 * Version 1.0.3 (2003-12-21)
5801 - Corrected bug in gnutls_bye() which made it return an error code
5802   of INVALID_REQUEST instead of success.
5803 - Corrected a bug in the GNUTLS_KEY key usage definitions.
5805 * Version 1.0.2 (2003-12-18)
5806 - Corrected a bug in the RSA key generation. This was
5807   generating unusable RSA keys.
5809 * Version 1.0.1 (2003-12-10)
5810 - Some minor fixes in the makefiles. They now include CFLAGS
5811   from libgcrypt or opencdk if installed in a non standard directory.
5812 - Fixed the SRP detection test in gnutls-cli-debug.
5813 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
5815 * Version 1.0.0 (2003-12-04)
5816 - Exported the static SRP group parameters.
5817 - Some fixes in the certificate authenticated SRP ciphersuites.
5818 - Improved the support for draft-ietf-tls-srp-05. The two-phase
5819   handshake is now fully supported without any interaction with
5820   the application layer (except for a callback).
5822 * Version 0.9.99 (2003-11-28)
5823 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
5824   and gnutls_server_name_get() prototypes.
5825 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
5826   and gnutls_x509_crt_verify_data().
5827 - Some fixes in the openpgp authentication.
5828 - Removed the Twofish cipher.
5830 * Version 0.9.98 (2003-11-16)
5831 - The openssl compatibility layer was moved to gnutls-openssl
5832   library instead of being included in the gnutls-extra library.
5833 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
5834 - Building with openpgp support is now mandatory.
5835 - gnutls4 compatibility header is no longer included by default in
5836   gnutls.h.
5837 - gnutls8 function usage yelds a deprecation warning in gcc3.
5838 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
5839   functions have a raw_flag parameter added.
5840 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
5841   functions which return the available OIDs.
5843 * Version 0.9.97 (2003-11-11)
5844 - The certtool utility can now generate PKCS #12 structures
5845   without specifying a certificate.
5846 - Added capability to read CRLs to certtool.
5847 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
5848   to properly set the required buffer size.
5849 - Corrected a bug in libgcrypt detection.
5851 * Version 0.9.96 (2003-11-09)
5852 - Some changes to allow compilation with mingw32.
5853 - Several code cleanups.
5855 * Version 0.9.95 (2003-11-02)
5856 - Improved the verification functions. Added new verification
5857   output flags and removed the unused and redundant ones.
5858 - Improved the OpenPGP key support.
5859 - The prime utility was removed, and its functionality was moved
5860   to certtool.
5862 * Version 0.9.94 (2003-10-30)
5863 - Added manpages for the included programs.
5864 - Documented and improved the certtool utility. 
5865 - Added PKCS #12 support to certtool utility.
5867 * Version 0.9.93 (2003-10-26)
5868 - Corrected some compilation issues.
5869 - Improved the certtool command line utility.
5871 * Version 0.9.92 (2003-10-25)
5872 - The RFC2818 hostname verification is now case insensitive.
5873 - Added support for generating X.509 certificates.
5874 - Added the certtool, a tool for generating X.509 certificates
5876 * Version 0.9.91 (2003-10-17)
5877 - Fixed a compilation issue in the openpgp authentication part.
5879 * Version 0.9.90 (2003-10-08)
5880 - Updated the openpgp key API (depends on the unreleased new
5881   opencdk).
5883 * Version 0.9.8 (2003-10-02)
5884 - Updated the SRP implementation to follow the latest draft
5885   (draft-ietf-tls-srp-05).
5886 - Improved the gnutls-cli behaviour in error handling,
5887   and added a check for the peer's hostname.
5888 - Use versioned symbols in the library (where available).
5889 - RIJNDAEL ciphersuites were renamed to AES.
5891 * Version 0.9.7 (2003-08-25)
5892 - The tex files are now included in the distribution.
5893 - The library can now decrypt PKCS #12 files encrypted with
5894   the RC2-40 cipher.
5895 - The missing rfc2818_hostname object is now included.
5896 - Several corrections and bug fixes in the library by 
5897   Arne Thomassen <arne@arne-thomassen.de>.
5898 - CR is now allowed in the base64 decoder.
5900 * Version 0.9.6 (2003-06-28)
5901 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5902   functions which return a unique (per public key) ID. These can
5903   be used to check if the private key corresponds to a given certificate.
5904 - Corrections in the TLS layer openpgp certificate packet parser.
5905 - Corrected a bug in the record layer buffering, which affected
5906   the case where external pull function was used. Report and patch
5907   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5908 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5909   was freed.
5910 - SRP programs are now built by default.
5911 - Added API to read and write to PKCS #12 structures. Prototypes
5912   in gnutls/pkcs12.h.
5913 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5915 * Version 0.9.5 (2003-04-06)
5916 - Several improvements in the PKCS #7 handling
5917 - Eliminated several hard coded constants in MPI parameters.
5919 * Version 0.9.4 (2003-03-28)
5920 - Corrected a parsing error in the Certificate request message.
5921 - Corrected behaviour when a certificate request message is received.
5922   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5923   a no_certificate alert is sent instead.
5924 - Added functionality to generate PKCS #7 structures (with certificates).
5926 * Version 0.9.3 (2003-03-24)
5927 - Support for MD2 was dropped. 
5928 - Improved the error logging functions, by adding a level, and
5929   by allowing debugging messages just by increasing the level.
5930 - The diffie Hellman ciphersuites are now of higher priority than
5931   the plain RSA.
5932 - The RSA premaster secret version check can no longer be disabled.
5933 - Implemented the counter measure discussed in the paper "Attacking
5934   RSA-based Sessions in SSL/TLS", against the attack described in the
5935   same paper.
5936 - Added the functions: gnutls_handshake_get_last_in(), 
5937   gnutls_handshake_get_last_out().
5938 - The gnutls_certificate_set_rsa_params() was renamed to 
5939   gnutls_certificate_set_rsa_export_params().
5940 - Added the new functions: gnutls_certificate_set_x509_key()
5941   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5942   gnutls_x509_crt_export(), gnutls_x509_crl_export().
5943 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
5944   RSA private keys.
5946 * Version 0.9.2 (2003-03-15)
5947 - Some corrections in the memory mapping code (file is unmapped after 
5948   it is read).
5949 - Added support for PKCS#10 certificate requests generation.
5951 * Version 0.9.1 (2003-03-12)
5952 - Corrected a bug in 64 bit architectures, which affected the
5953   serial number calculation in the record layer.
5954 - Added gnutls_certificate_free_keys() which deletes all the
5955   private keys and certificates from the credentials structure.
5956 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5957   which caused some unexpected packet length errors. Report and patch
5958   by Ian Peters <itp@ximian.com>.
5959 - Added ability to generate RSA keys.
5960 - Increased the maximum parameter size in order to read some large keys
5961   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5962 - Added an strnstr() function and the requirement in some functions to
5963   use null terminated PEM structures is no more.
5964 - Use mmap() if available to read files.
5965 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5966   <r.kittinger@efkon.com>.
5968 * Version 0.9.0 (2003-03-03)
5969 - This version is not binary compatible with the previous ones.
5970 - The library notifies the application on empty and illegal SRP usernames, 
5971   so that proper notification (via an alert) is sent to the peer.
5972 - Added ability to send some messages back to the application using
5973   the gnutls_global_set_log_function().
5974 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5975   gnutls_malloc() to allocate the output parameters.
5976 - Added support for MD2 algorithm in certificate signature verification.
5977 - The RSA and DH parameter generation interface was changed. Added
5978   ability to import and export from and to PKCS3 structures. This 
5979   was needed to read parameters generated using the openssl dhparam tool.
5980 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5981   parameters are now included in the library. Also the credentials structure 
5982   can now hold only one temporary parameter of a kind.
5983 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5984   API, defined in gnutls/x509.h
5985 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5986   verification flags in the credentials structure. They will be used in the
5987   *verify_peers functions.
5988 - Added protection against the new TLS 1.0 record layer timing attack.
5989 - Added support for Certificate revocation lists. Functions defined
5990   in gnutls/x509.h
5991 - The only functions that were removed are:
5992   gnutls_x509_certificate_to_xml()
5993   gnutls_x509_extract_dn_string()
5994 - Ported to libtasn1 0.2.x
5996 * Version 0.8.1 (2003-01-22)
5997 - Improved the SRP support, to prevent attackers guessing the
5998   available usernames by brute force.
5999 - Improved the SRP detection in gnutls-cli-debug
6000 - Some fixes which now allow compilation.
6002 * Version 0.8.0 (2003-01-20)
6003 - Added gnutls_x509_extract_dn_string() which returns a 
6004   distinguished name in a single string.
6005 - Added gnutls_openpgp_extract_key_name_string() which returns
6006   an openpgp user ID in a single string.
6007 - Added gnutls_x509_extract_certificate_ca_status() which returns
6008   the CA status of the given certificate.
6009 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
6010 - If libtasn1 is not present in the system, it is included in 
6011   the main gnutls library.
6012 - If liblzo is present in the system, then the included minilzo
6013   will not be used, and libgnutls-extra will depend on liblzo.
6014 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
6015   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
6016   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
6018 * Version 0.6.0 (2002-12-08)
6019 - Added "gnutls/compat4.h" header. This is included in gnutls.h
6020   to emulate the old 0.4.x API.
6021 - Example programs are now stored in doc/examples/
6022 - Several improvements and updates in the documentation.
6023 - Added the certificate authenticated SRP cipher suites.
6024 - gnutls_x509_extract_certificate_dn_string() was updated to return
6025   an RFC2253 conforming string.
6026 - Added the SRP related functions:
6027    gnutls_srp_verifier()
6028    gnutls_srp_base64_encode()
6029    gnutls_srp_base64_decode()
6030 - Added the function gnutls_srp_set_server_credentials_function()
6031   to allow retrieving SRP parameters from an external backend - other
6032   than password files.
6033 - Added the function gnutls_openpgp_set_recv_key_function()
6034   which can be used to set a callback, to get OpenPGP keys.
6035 - Exported the functions:
6036    gnutls_malloc()
6037    gnutls_free()
6038   which should be used by callback functions.
6039 - Changed the semantics of gnutls_pem_base64_encode_alloc()
6040   and gnutls_pem_base64_decode_alloc(). In the default case
6041   were the gnutls library is used with malloc/realloc/free,
6042   these are binary compatible.
6044 * Version 0.5.11 (2002-11-05)
6045 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
6046   faults at exit.
6047 - Example programs found in the documentation can now be generated by
6048   running "make examples" in doc/tex directory.
6049 - Added more descriptive error strings, to gnutls_strerror().
6050 - Documented error codes, and the function reference list is now sorted.
6051 - Optimized buffering code.
6052 - gnutls_x509_extract_certificate_dn_string() was rewritten.
6053 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
6054   case where the memory buffer provided is not long enough.
6055 - Depends on the new OpenCDK 0.3.2.
6057 * Version 0.5.10 (2002-10-13)
6058 - Updated documentation.
6059 - Added server name extension. This allows clients to specify the
6060   name of the server they connect to. Useful to HTTPS.
6061 - Several corrections in the code base, mostly in signed/unsigned,
6062   checkings.
6064 * Version 0.5.9 (2002-10-10)
6065 - Corrected some code which worked fine in gcc 3.2, but not with any
6066   other compiler.
6067 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
6068   starttls implementations.
6069 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
6070   the private key type, of a DER encoded key.
6071 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
6072   certificate's distinguished name in a single string.
6073 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
6074   functions, to avoid calling all the *_priority() functions if the defaults
6075   are acceptable.
6076 - Added int gnutls_x509_check_certificates_hostname() which check whether
6077   the given hostname matches the owner of the given X.509 certificate.
6079 * Version 0.5.8 (2002-09-25)
6080 - Updated documentation.
6081 - Added gnutls_record_get_direction() which replaces the obsolete
6082   gnutls_handshake_get_direction().
6083 - Added function to convert error codes to alert descriptions
6084 - Added LZO compression
6086 * Version 0.5.7 (2002-09-11)
6087 - Some fixes in the memory allocation functions (realloc).
6088 - Improved the string functions used in XML certificate generation.
6089 - Removed dependency on libgdbm.
6090 - Corrected bug in gnutls_dh_params_set() which affected
6091   gnutls_dh_params_deinit().
6092 - Corrected bug in session resuming code in server side.
6094 * Version 0.5.6 (2002-09-06)
6095 - Corrected bugs in SRP implementation, which prevented gnutls 
6096   to interoperate with other implementations. (interoperability testing
6097   was done by David Taylor)
6098 - Corrected bug in cert_type extension.
6099 - Corrected extension type checks which used an 8 bit extension size,
6100   instead of 16 bits.
6101 - Added versioning in the XML output of certificate functions.
6102 - Removed the X.509 test suite.
6104 * Version 0.5.5 (2002-09-03)
6105 - Updated the SRP implementation to the latest draft. The blowfish
6106   crypt implementation was removed, since the new draft does not allow
6107   other hash algorithms except for the srpsha. 
6108 - Renamed all the constructed types in order to have more consistent
6109   names. 
6110 - Improved the certificate and key read functions. Now they can read 
6111   the certificate and the private key from the same file.
6112 - Updated and corrected documentation.
6114 * Version 0.5.4 (2002-08-27)
6115 - Fixes in TLS 1.0 PRF and SSL3 random functions.
6116 - gnutls_handshake_set_exportable_detection() was obsoleted.
6117 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
6118 - Corrected bug in DHE key exchange
6119 - Added support for temporary RSA keys which are needed for the
6120   export cipher suites.
6121 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
6123 * Version 0.5.3 (2002-08-23)
6124 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
6125   code from the unstable branch.
6127 * Version 0.5.2 (2002-08-22)
6128 - Added an error code that is returned in clients which connect
6129   to export only servers. This must be enabled using the
6130   gnutls_handshake_set_exportable_detection() function.
6131 - Updated openssl compatibility layer.
6132 - Added gnutls_handshake_get_direction() function which returns
6133   the state of the handshake when interrupted.
6135 * Version 0.5.1 (2002-07-17)
6136 - Corrected the m4 macros which used <gnutls.h> instead of
6137   <gnutls/gnutls.h>
6138 - Documentation fixes
6139 - Added gnutls_transport_set_ptr2() function, which accepts two
6140   different pointers, to be used while receiving, and 
6141   while sending data.
6142 - Semantic changes in gnutls_record_set_max_size(). The requested
6143   size is now immediately enforced at the output buffers.
6144 - gnutls_global_init_extra() now fails if the library versions do
6145   not match.
6146 - Fixes in client and server example programs. Null encryption can
6147   be used in these programs, to assist in debuging.
6148 - Fixes in zlib compression code.
6150 * Version 0.5.0 (2002-07-06)
6151 - Added X.509 certificate tests in tests/ directory
6152 - Removed stubs for SRP and Anonymous authentication. They served
6153   no purpose since they are always included, unless it was requested
6154   not to do so.
6155 - Added gnutls_handshake_set_private_extensions() function. This
6156   function can be used to enable private (gnutls specific) cipher suites
6157   and compression algorithms.
6158 - Added check for C99 macro support by the compiler.
6159 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
6160 - Added the new libtasn1 library.
6161 - Removed the gdbm backend. Applications are now responsible for the
6162   session resuming backend. The gnutls-serv application contains an
6163   simple example on how to use gdbm for resuming.
6164 - Headers for the gnutls library are now installed in $(includedir)/gnutls
6165 - Added an OpenSSL compatible interface (with some limitations).
6166 - Added functions to convert DER encoded certificates to XML format.
6168 * Version 0.4.4 (2002-06-24)
6169 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
6170   using keys of some specific size.
6172 * Version 0.4.3 (2002-05-23)
6173 - The gnutls-extra library now compiles fine, if the opencdk library is
6174   not present.
6175 - Several bug fixes.
6176 - Added gnutls_global_set_mem_func() function, to set the memory allocation
6177   functions, if other than the defaults are to be used.
6178 - The default memory allocation functions are now the ones in libc.
6180 * Version 0.4.2 (2002-05-21)
6181 - Separated ASN.1 structures parser documentation and TLS library
6182   documentation.
6183 - Added gnutls_handshake_set_rsa_pms() function, which disables the
6184   version check in RSA premaster secret.
6185 - Added gnutls_session_is_resumed() function, which reports if a session
6186   is a resumed one.
6187 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
6188   assist in callback functions.
6189 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
6190   random one.
6191 - Relicensed the library under the GNU Lesser General Public License
6192 - Added gnutls-extra library which contains the GPL covered code of gnutls.
6194 * Version 0.4.1 (2002-04-07)
6195 - Now uses alloca() for temporary variables
6196 - Optimized RSA signing
6197 - Added functions to return the peer's certificate activation and
6198   expiration time.
6199 - Corrected time function's behaviour (the time value returned no longer
6200   relate to local timezone).
6202 * Version 0.4.0 (2002-04-01)
6203 - Added support for RFC2630 (PKCS7) X.509 certificate sets
6204 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
6205   gnutls_openpgp_extract_key_pk_algorithm().
6206 - Several optimizations in the Handshake protocol
6207 - Several optimizations in RSA algorithm
6208 - Unified the return values because of small buffers.
6210 * Version 0.3.92 (2002-03-23)
6211 - Updated documentation
6212 - Combined error codes of ASN.1 parser and gnutls
6213 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
6214 - Added protection against CBC chosen plaintext attack (disabled by default)
6215 - Improved and optimized compression support
6217 * Version 0.3.91 (2002-03-03)
6218 - Added gnutls-cli-debug program
6219 - Corrections in session resumption
6220 - Rehandshake can now handle negotiation of different authentication
6221   type.
6222 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
6223   now being installed.
6225 * Version 0.3.90 (2002-02-24)
6226 - Handshake messages are not kept in memory any more. Now we use 
6227   less memory during a handshake
6228 - Added support for certificates with DSA parameters
6229 - Added DHE_DSS cipher suites
6230 - Key exchange methods changed so they do not depend on the 
6231   certificate type. Added certificate type negotiation TLS extension.
6232 - Added openpgp key support (EXPERIMENTAL)
6233 - Improved Diffie Hellman key exchange support.
6234 - Bug fixes in the RSA key exchange.
6235 - Added check for the requested TLS extensions
6236 - TLS extensions now use a 16 bit type field.
6237 - Added a minimal string library to assist in ASN.1 parsing
6238 - Changes in ASN.1 parser to work with the new bison
6239 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
6240   gnutls_x509_extract_subject_dns_name()
6241 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
6242 - gnutls_srp_server_set_cred_file() can now be called multiple times
6244 * Version 0.3.5 (2002-01-25)
6245 - Corrected the RSA key exchange method, to avoid attacks against
6246   PKCS-1 formating.
6248 * Version 0.3.4 (2002-01-20)
6249 - Corrected bugs in DHE_RSA key exchange method
6251 * Version 0.3.3 (2002-01-19)
6252 - Added gnutls_x509pki_verify_certificate()
6253 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
6254 - Bug fixes in srpcrypt (based on patch by Marc Huber)
6255 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
6256 - Corrected library versioning
6258 * Version 0.3.2 (2002-01-05)
6259 - Corrected bug which did not allow a client to accept multiple CA names
6260 - Added gnutls_fingerprint()
6261 - Added gnutls_x509pki_extract_certificate_serial()
6262 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
6263 - Corrected behaviour in version advertizing
6264 - Updated documentation
6265 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
6267 * Version 0.3.1 (2001-12-21)
6268 - Corrections in the configuration files
6269 - Fixes a bug in anonymous authentication
6271 * Version 0.3.0 (2001-12-17)
6272 - Corrected bug in new integer formatting (now we use the old format again)
6273 - Several corrections and usual cleanups
6275 * Version 0.2.91 (2001-12-10)
6276 - Fixes in MPI handling (fixes possible bug with signed integers)
6277 - Removed name indication extension
6278 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
6279 - Optimizations in server certificate callback.
6280 - Fixes in anonymous authentication
6281 - Corrections in client ciphersuite selection
6283 * Version 0.2.90 (2001-12-07)
6284 - gnutls_handshake(), gnutls_read() etc. functions no longer require
6285   the 'SOCKET cd' argument. This argument is set using the function
6286   gnutls_set_transport_ptr().
6287 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
6288   a list containing peer's certificate and issuers DER encoded.
6289 - Updated X.509 certificate handling API
6290 - Added callback to select the server certificate
6291 - More consistent function naming (changes in several function names)
6292 - Buffer overflow checking in ASN.1 structures parser
6293 - Updated documentation
6295 * Version 0.2.11 (2001-11-16)
6296 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
6297   is returned, then the caller should perform a handshake or send
6298   an alert to the peer.
6299 - Made receive buffer dynamic. Normally if no large chunks are received
6300   it occupies less space.
6301 - Added max_record_size extension
6302 - Bugfixes in session handling
6303 - Improved non blocking IO support in the Handshake Protocol
6304 - Usual bugfixes and cleanups
6305 - Documentation updated (includes ASN.1 documentation)
6307 * Version 0.2.10 (2001-11-05)
6308 - Corrected bugs and improved non blocking IO
6309 - Added hooks to use external database to store sessions
6310 - Usual cleanups
6312 * Version 0.2.9 (2001-10-27)
6313 - AUTH_INFO types and structures were moved to library internals
6314 - AUTH_FAILED is no longer returned in SRP authentication
6315   (any fatal error in SRP means auth failed)
6316 - Introduced GNUTLS_E_INTERRUPTED
6317 - Added support for non blocking IO
6318 - gnutls_recv() and gnutls_send() are now obsolete
6319 - Changed semantics of gnutls_rehandshake()
6321 * Version 0.2.4 (2001-10-12)
6322 - Better handling of X.509 certificate extensions
6323 - Added DHE_RSA ciphersuites
6324 - Updated the Name Indication (dnsname) extension
6325 - Improvements in Diffie Hellman primes handling
6327 * Version 0.2.3 (2001-09-19)
6328 - Memory optimizations in gnutls_recv()
6329 - Fixed several memory leaks
6330 - Added ability to specify callback for x509 client certificate selection
6331 - Better documentation
6333 * Version 0.2.2 (2001-08-21)
6334 - Several bugfixes (library and documentation)
6336 * Version 0.2.1 (2001-08-07)
6337 - SRP fixes
6339 * Version 0.2.0 (2001-08-07)
6340 - Partial support for X.509v3 Certificate extensions.
6341 - Added Internal memory handlers
6342 - Removed gnutls_x509_set_cn()
6343 - Added X.509 client authentication
6344 - Several bug fixes and protocol fixes
6346 * Version 0.1.9 (2001-07-30)
6347 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
6348 - SRP is updated to conform to the newest draft.
6349 - Added support for DNSNAME extension.
6350 - Reentracy fixes in ASN.1 Parsing.
6351 - Optimizations in hash/hmac functions
6352 - (Error) message handling has changed
6353 - Better Protocol Version handling
6354 - Added X.509 Certificate Verification
6355 - gnutls_read() semantics are now closer to read(2) - added EOF
6356 - Documented some part of gnutls in doc/tex/ using Latex
6358 * Version 0.1.4 (2001-06-22)
6359 - Corrected (srp) base64 encoding.
6360 - Changed bcrypt algorithm to include username.
6361 - Added RSA Ciphersuites (no certificate checking).
6362 - Fixes in SSL 2.0 client hello parsing.
6363 - Added ASN.1 and DER parsers.
6364 - Bugfixes in session resuming
6365 - Updated Ciphersuite selection algorithm
6366 - Added internal representation of X.509 structures.
6367 - Added global state
6369 * Version 0.1.3 (2001-06-01)
6370 - Updated API (and the way it is documented - we use inline documentation)
6371 - Added function to access alert messages.
6372 - Added support for renegotiating parameters.
6373 - Better and Faster Resume Database handling.
6374 - Several bugfixes
6376 * Version 0.1.2 (2001-05-14)
6377 - Updated API
6378 - Fixes in extension handling
6380 * Version 0.1.1 (2001-05-13)
6381 - Added compatibility with Stanford's libsrp library
6383 * Version 0.1.0 (2001-05-09)
6384 - Added SSL 2.0 client hello support
6385 - GNUTLS is a gnu library
6386 - Added support for TLS extensions.
6387 - Added support for SRP
6389 * Version 0.0.7 (2001-01-11)
6390 - Added server side session resuming (using gdbm)
6391 - Added twofish algorithm
6393 * Version 0.0.6 (2000-12-20)
6394 - Added client side session resuming
6395 - Better documentation (check doc/API)
6396 - Better socket handling (gnutls can be used with select())
6397 - Some primitive support for non blocking IO and socket options has been added.
6399 * Version 0.0.5 (2000-12-07)
6400 - Added Compression (using ZLIB)
6401 - Added SSL 3.0 support
6403 ----------------------------------------------------------------------
6404 Copying and distribution of this file, with or without modification,
6405 are permitted in any medium without royalty provided the copyright
6406 notice and this notice are preserved.