doc fix
[gnutls.git] / NEWS
blobb57d5f81511c642adbfd9a43a3081bc5b44bd5bc
1 GnuTLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000-2012 Free Software Foundation, Inc.
3 See the end for copying conditions.
5 * Version 3.1.0 (unreleased)
7 ** tpmtool: Added. It is a tool to generate private keys in the
8 TPM.
10 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
11 and --benchmark-tls-ciphers
13 ** certtool: generated PKCS #12 structures may hold more than one
14 private key. Patch by Lucas Fisher.
16 ** libgnutls: Added support for an old version of the DTLS protocol
17 used by openconnect vpn client for compatibility with Cisco's AnyConnect 
18 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
19 as it has issues. Implemented by David Woodhouse.
21 ** libgnutls: requires libnettle 2.5.
23 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
24 for encryption and signatures.
26 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
27 generic errors and signature verification errors in the verification
28 functions.
30 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
31 to simplify parsing in most PKCS #12 use cases.
33 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
34 the whole certificate chain (if any) to the credentials structure, instead
35 of only the end-user certificate.
37 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
38 and gnutls_x509_privkey_import_pkcs8(), return consistently 
39 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no 
40 password was provided.
42 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
43 by Alexandre Bique.
45 ** minitasn1: Upgraded to libtasn1 version 2.13.
47 ** API and ABI modifications:
48 GNUTLS_CERT_SIGNATURE_FAILURE: Added
49 GNUTLS_CAMELLIA_192_CBC: Added
50 gnutls_privkey_import_tpm_raw: Added
51 gnutls_privkey_import_pkcs11_url: Added
52 gnutls_privkey_import_openpgp_raw: Added
53 gnutls_privkey_import_x509_raw: Added
54 gnutls_privkey_import_ext2: Added
55 gnutls_tpm_privkey_generate: Added
56 gnutls_tpm_key_list_deinit: Added
57 gnutls_tpm_key_list_get_url: Added
58 gnutls_tpm_get_registered: Added
59 gnutls_tpm_privkey_delete: Added
60 gnutls_pubkey_import_tpm_raw: Added
61 gnutls_pubkey_import_tpm_url: Added
62 gnutls_x509_privkey_import2: Added
63 gnutls_x509_privkey_import_openssl: Added
64 gnutls_load_file: Added
65 gnutls_pubkey_verify_hash2: Added
66 gnutls_pkcs12_simple_parse: Added
67 gnutls_certificate_set_x509_system_trust: Added
68 gnutls_pkcs11_obj_list_import_url2: Added
69 gnutls_x509_trust_list_add_system_trust: Added
70 gnutls_x509_trust_list_add_trust_file: Added
71 gnutls_x509_trust_list_add_trust_mem: Added
72 gnutls_pk_to_sign: Added
73 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
74 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
77 * Version 3.0.19 (unreleased)
79 ** libgnutls: gnutls_record_check_pending() no longer
80 returns unprocessed data, and thus ensure the non-blocking
81 of the next call to gnutls_record_recv(). 
83 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
84 strict in hash selection, and allow a stronger hash to
85 be used than the appropriate, to improve interoperability
86 with openssl.
88 ** tests: Disabled floating point test, and corrections
89 in pkcs12 decoding tests.
91 ** API and ABI modifications:
92 gnutls_pubkey_verify_hash2: Added
95 * Version 3.0.18 (released 2012-04-02)
97 ** certtool: Avoid a Y2K38 bug when generating certificates.
98 Patch by Robert Millan.
100 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
101 is returned on premature termination (and added unit test).
103 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
105 ** libgnutls: Corrected VIA padlock detection for old 
106 VIA processors. Reported by Kris Karas.
108 ** libgnutls: Updated assembler files.
110 ** libgnutls: Time in generated certificates is stored
111 as GeneralizedTime instead of UTCTime (which only stores
112 2 digits of a year).
114 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
116 ** API and ABI modifications:
117 gnutls_x509_crt_set_private_key_usage_period: Added
118 gnutls_x509_crt_get_private_key_usage_period: Added
119 gnutls_x509_crq_set_private_key_usage_period: Added
120 gnutls_x509_crq_get_private_key_usage_period: Added
121 gnutls_session_get_random: Added
124 * Version 3.0.17 (released 2012-03-17)
126 ** command line apps: Always link with local libopts.
128 ** API and ABI modifications:
129 No changes since last version.
132 * Version 3.0.16 (released 2012-03-16)
134 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
136 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
138 ** libgnutls: included assembler files for MacOSX.
140 ** p11tool: Small fixes in handling of the --private command 
141 line option.
143 ** certtool: The template option allows for setting the domain
144 component (DC) option of the distinguished name, and the ocsp_uri
145 as well as the ca_issuers_uri options.
147 ** API and ABI modifications:
148 gnutls_x509_crt_set_authority_info_access: Added
151 * Version 3.0.15 (released 2012-03-02)
153 ** test suite: Only run under valgrind in the development
154 system (the full git repository)
156 ** command line apps: Link with local libopts if the 
157 installed is an old one.
159 ** libgnutls: Eliminate double free during SRP
160 authentication. Reported by Peter Penzov.
162 ** libgnutls: Corrections in record packet parsing.
163 Reported by Matthew Hall.
165 ** libgnutls: Cryptodev updates and fixes.
167 ** libgnutls: Corrected issue with select() that affected
168 FreeBSD. This prevented establishing DTLS sessions.
169 Reported by Andreas Metzler.
171 ** libgnutls: Corrected rehandshake and resumption
172 operations in DTLS. Reported by Sean Buckheister.
174 ** libgnutls: PKCS #11 objects that do not have ID
175 no longer crash listing. Reported by Sven Geggus.
177 ** API and ABI modifications:
178 No changes since last version.
181 * Version 3.0.14 (released 2012-02-24)
183 ** command line apps: Included libopts doesn't get installed
184 by default.
186 ** libgnutls: Eliminate double free on wrongly formatted
187 certificate list. Reported by Remi Gacogne.
189 ** libgnutls: cryptodev code corrected, updated to account
190 for hashes and GCM mode.
192 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
193 Report and fix by Sam Varshavchik.
195 ** API and ABI modifications:
196 No changes since last version.
199 * Version 3.0.13 (released 2012-02-18)
201 ** gnutls-cli: added the --ocsp option which will verify
202 the peer's certificate with OCSP.
204 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
205 will use an ssh-style authentication method.
207 ** gnutls-cli: if no --x509cafile is provided a default is
208 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
210 ** ocsptool: Added --ask parameter, to verify a certificate's
211 status from an ocsp server.
213 ** command line apps: Use gnu autogen (libopts) to parse command
214 line arguments and template files.
216 ** tests: Added stress test for DTLS packet losses and 
217 out-of-order receival. Contributed by Sean Buckheister.
219 ** libgnutls: Several updates and corrections in the DTLS
220 DTLS lost packet handling and retransmission timeouts.
221 Report and patches by Sean Buckheister.
223 ** libgnutls: Added new functions to easily allow the usage of
224 a trust on first use (SSH-style) authentication.
226 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
227 for the RFC6460 requirements.
229 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
230 to account for security level of 96-bits.
232 ** libgnutls: In client side if server does not advertise any
233 known CAs and only a single certificate is set in the credentials,
234 sent that one.
236 ** libgnutls: Added functions to parse authority key identifiers
237 when stored as a 'general name' and serial combo.
239 ** libgnutls: Added function to force explicit reinitialization
240 of PKCS #11 modules. This is required on the child process after
241 a fork (if PKCS #11 functionality is desirable).
243 ** libgnutls: Depend on p11-kit 0.11.
245 ** API and ABI modifications:
246 gnutls_dtls_get_timeout: Added
247 gnutls_verify_stored_pubkey: Added
248 gnutls_store_pubkey: Added
249 gnutls_store_commitment: Added
250 gnutls_x509_crt_get_authority_key_gn_serial: Added
251 gnutls_x509_crl_get_authority_key_gn_serial: Added
252 gnutls_pkcs11_reinit: Added
253 gnutls_ecc_curve_list: Added
254 gnutls_priority_certificate_type_list: Added
255 gnutls_priority_sign_list: Added
256 gnutls_priority_protocol_list: Added
257 gnutls_priority_compression_list: Added
258 gnutls_priority_ecc_curve_list: Added
259 gnutls_tdb_init: Added
260 gnutls_tdb_set_store_func: Added
261 gnutls_tdb_set_store_commitment_func: Added
262 gnutls_tdb_set_verify_func: Added
263 gnutls_tdb_deinit: Added
266 * Version 3.0.12 (released 2012-01-20)
268 ** libgnutls: Added OCSP support.
269 There is a new header file gnutls/ocsp.h and a set of new functions
270 under the gnutls_ocsp namespace.  Currently the functionality provided
271 is to parse and extract information from OCSP requests/responses, to
272 generate OCSP requests and to verify OCSP responses.  See the manual
273 for more information.  Run ./configure with --disable-ocsp to build
274 GnuTLS without OCSP support.
276 This work was sponsored by Smoothwall <http://smoothwall.net/>.
278 ** ocsptool: Added new command line tool.
279 The tool can parse OCSP request/responses, generate OCSP requests and
280 verify OCSP responses.  See the manual for more information.
282 ** certtool: --outder option now works for private
283 and public keys as well.
285 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
286 to warn when no or insufficient priorities were set.
288 ** libgnutls: Corrected an alignment issue in ECDH
289 key generation which prevented some keys from being
290 correctly aligned in rare circumstances.
292 ** libgnutls: Corrected memory leaks in DH parameter
293 generation and ecc_projective_check_point().
295 ** libgnutls: Added gnutls_x509_dn_oid_name() to 
296 return a descriptive name of a DN OID.
298 ** API and ABI modifications:
299 gnutls_pubkey_encrypt_data: Added
300 gnutls_x509_dn_oid_name: Added
301 gnutls_session_resumption_requested: Added
302 gnutls/ocsp.h: Added new header file.
303 gnutls_ocsp_print_formats_t: Added new type.
304 gnutls_ocsp_resp_status_t: Added new type.
305 gnutls_ocsp_cert_status_t: Added new type.
306 gnutls_x509_crl_reason_t: Added new type.
307 gnutls_ocsp_req_add_cert: Added.
308 gnutls_ocsp_req_add_cert_id: Added.
309 gnutls_ocsp_req_deinit: Added.
310 gnutls_ocsp_req_export: Added.
311 gnutls_ocsp_req_get_cert_id: Added.
312 gnutls_ocsp_req_get_extension: Added.
313 gnutls_ocsp_req_get_nonce: Added.
314 gnutls_ocsp_req_get_version: Added.
315 gnutls_ocsp_req_import: Added.
316 gnutls_ocsp_req_init: Added.
317 gnutls_ocsp_req_print: Added.
318 gnutls_ocsp_req_randomize_nonce: Added.
319 gnutls_ocsp_req_set_extension: Added.
320 gnutls_ocsp_req_set_nonce: Added.
321 gnutls_ocsp_resp_deinit: Added.
322 gnutls_ocsp_resp_export: Added.
323 gnutls_ocsp_resp_get_certs: Added.
324 gnutls_ocsp_resp_get_extension: Added.
325 gnutls_ocsp_resp_get_nonce: Added.
326 gnutls_ocsp_resp_get_produced: Added.
327 gnutls_ocsp_resp_get_responder: Added.
328 gnutls_ocsp_resp_get_response: Added.
329 gnutls_ocsp_resp_get_signature: Added.
330 gnutls_ocsp_resp_get_signature_algorithm: Added.
331 gnutls_ocsp_resp_get_single: Added.
332 gnutls_ocsp_resp_get_status: Added.
333 gnutls_ocsp_resp_get_version: Added.
334 gnutls_ocsp_resp_import: Added.
335 gnutls_ocsp_resp_init: Added.
336 gnutls_ocsp_resp_print: Added.
337 gnutls_ocsp_resp_verify: Added.
339 * Version 3.0.11 (released 2012-01-06)
341 ** libgnutls: Corrected functionality of 
342 gnutls_record_get_direction(). Reported by Philip Allison.
344 ** libgnutls: Provide less timing information when decoding
345 TLS/DTLS record packets. Patch by Nadhem Alfardan.
347 ** API and ABI modifications:
348 No changes since last version.
351 * Version 3.0.10 (released 2012-01-04)
353 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
354 in Linux as well as in BSD.
356 ** gnutls-cli: Fixed reading from windows terminals.
358 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
359 the stream is assumed to be base64 encoded (previously
360 the encoding was auto-detected). This avoids a decoding
361 issue in windows systems.
363 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
365 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
366 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
368 ** libgnutls: Added function gnutls_random_art() to convert 
369 fingerprints to images (currently ascii-art).
371 ** libgnutls: Corrected bug in DSA private key parsing, which
372 prevented the verification of the key.
374 ** API and ABI modifications:
375 gnutls_random_art: Added
378 * Version 3.0.9 (released 2011-12-13)
380 ** certtool: Added new parameter --dh-info.
382 ** certtool: -l option was overloaded so if combined with --priority
383 it will only list the ciphersuites that are enabled by the given
384 priority string.
386 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
387 changes the ciphersuite selection procedure. If specified the server
388 priorities will be used for selection instead of the client's.
390 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
391 and key exchange.
393 ** libgnutls: When session tickets are negotiated and used in a
394 session, a server will not store that session data into its cache.
396 ** libgnutls: Added the SECP192R1 curve.
398 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
399 allow listing the ciphersuites enabled in a priority structure.
400 It outputs an index to be used in gnutls_get_cipher_suite_info().
402 ** libgnutls: Optimizations in the elliptic curve code --timing
403 attacks resistant code is only used in ECDSA private key operations.
405 ** doc: man pages for API functions generation was fixed and are
406 now added again in the distribution.
408 ** API and ABI modifications:
409 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
410 gnutls_priority_get_cipher_suite_index: Added
413 * Version 3.0.8 (released 2011-11-12)
415 ** certtool: Certtool -e returns error code on verification
416 failure.
418 ** certtool: Verifies parameters of generated keys.
420 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
422 ** libgnutls: Provide less timing information when decoding
423 TLS/DTLS record packets.
425 ** doc: man pages for API functions were removed.
426 The reason was that the code that auto-generated the man pages missed
427 many APIs and we couldn't fix it (volunteers welcome).  See the info
428 manual or the GTK-DOC manual instead.
430 ** API and ABI modifications:
431 gnutls_x509_privkey_verify_params: Added
434 * Version 3.0.7 (released 2011-11-08)
436 ** libgnutls: Corrected fix in gnutls_session_get_data()
437 to report the actual session size when the provided buffer
438 is not enough.
440 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
441 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
443 ** API and ABI modifications:
444 No changes since last version.
447 * Version 3.0.6 (released 2011-11-07)
449 ** gnutls-guile: Compilation fixes.
451 ** libgnutls: Fixed possible buffer overflow in 
452 gnutls_session_get_data(). Reported and fix by Alban Crequy.
454 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
455 Reported by Fabrice Gautier.
457 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems. 
458 Thanks to Joseph Graham for providing access to such a system.
460 ** libgnutls: Correctly report ECC private key parsing errors.
461 Reported by Fabrice Gautier.
463 ** libgnutls: In ECDHE verify that the received point lies on
464 the selected curve. The ECDHE ciphersuites now take precendence
465 to plain DHE.
467 ** API and ABI modifications:
468 No changes since last version.
471 * Version 3.0.5 (released 2011-10-27)
473 ** libgnutls-extra: is no more
475 ** libgnutls: Corrections in order to compile with mingw32.
477 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
478 and new detection of PHE with support for partial hashing.
480 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix 
481 by Vincent Untz.
483 ** minitasn1: Upgraded to libtasn1 version 2.10.
485 ** API and ABI modifications:
486 No changes since last version.
489 * Version 3.0.4 (released 2011-10-15)
491 ** libgnutls-extra: gnutls_register_md5_handler() was
492 removed.
494 ** gnutls-cli-debug: Added more tests including AES-GCM,
495 SHA256 and elliptic curves.
497 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
498 the software version of the ciphers instead of hw accelerated 
499 (where available)
501 ** libgnutls: Public key ID calculation is consistent among
502 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
504 ** libgnutls: gnutls_privkey_t allows setting external callback
505 to perform signing or decryption. Can be set using
506 gnutls_privkey_import_ext()
508 ** libgnutls: A certificate credentials structure can be
509 used with a gnutls_privkey_t and a gnutls_pcert_st
510 structure using gnutls_certificate_set_key().
512 ** libgnutls: Fixes to enable external signing callback to
513 operate with TLS 1.2. 
515 ** libgnutls: Fixed crash when printing ECDSA certificate key 
516 ID. Reported by Erik Jensen.
518 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks 
519 show a 50x increase in AES speed and a 14x increase in VIA nano. Added 
520 support for hashes and HMACs.
522 ** libgnutls: Compilation fixed when p11-kit is not detected.
524 ** libgnutls: Fixed the deflate compression code.
526 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
527 Used to get the PKIX Authority Information Access (AIA) field.
529 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
531 ** libgnutls: Added ability to gnutls_privkey_t to operate with
532 signing callback function.
534 ** API and ABI modifications:
535 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
536 gnutls_privkey_import_ext: Added function.
537 gnutls_certificate_set_key: Added function.
538 gnutls_info_access_what_t (x509.h): Added enum.
539 GNUTLS_OID_AIA (x509.h): Added symbol.
540 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
541 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
543 * Version 3.0.3 (released 2011-09-18)
545 ** libgnutls: Added gnutls_record_get_discarded() to return the
546 number of discarded records in a DTLS session.
548 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
549 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
551 ** libgnutls: Memory leak fixes in credentials private key 
552 deinitialization. Reported by Dan Winship.
554 ** libgnutls: Memory leak fixes in ECC ciphersuites.
556 ** libgnutls: Do not send an empty extension structure in server 
557 hello. This affected old implementations that do not support extensions. 
558 Reported by J. Cameijo Cerdeira.
560 ** libgnutls: Allow CA importing of 0 certificates to succeed.
561 Reported by Jonathan Nieder <jrnieder@gmail.com> in
562 <http://bugs.debian.org/640639>.
564 ** libgnutls: Added support for VIA padlock AES optimizations.
565 (disabled by default)
567 ** libgnutls: Added support for elliptic curves in
568 PKCS #11.
570 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
571 to allow generating a key in a token.
573 ** p11tool: Added generate-rsa, generate-dsa and 
574 generate-ecc options to allow generating private
575 keys in the token.
577 ** libgnutls: gnutls_transport_set_lowat dummy macro was 
578 removed.
580 ** API and ABI modifications:
581 gnutls_pkcs11_privkey_generate: Added
582 gnutls_pubkey_import_ecc_raw: Added
583 gnutls_pubkey_import_ecc_x962: Added
584 gnutls_pubkey_get_pk_ecc_x962: Added
585 gnutls_record_get_discarded: Added
588 * Version 3.0.2 (released 2011-09-01)
590 ** libgnutls: OpenPGP certificate type is not enabled
591 by default.
593 ** libgnutls: Added %NO_EXTENSIONS priority string.
595 ** libgnutls: Corrected issue in gnutls_record_recv()
596 triggered on encryption or compression error.
598 ** libgnutls: Compatibility fixes in CPU ID detection 
599 for i386 and old GCC.
601 ** gnutls-cli: Benchmark applications were incorporated
602 with it.
604 ** libgnutls: Corrected parsing of XMPP subject
605 alternative names.
607 ** libgnutls: Allow for out-of-order ChangeCipherSpec
608 message in DTLS.
610 ** libgnutls: gnutls_certificate_set_x509_key() and
611 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
612 and allow the release of the private key during the
613 lifetime of the certificate structure.
615 ** API and ABI modifications:
616 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
619 * Version 3.0.1 (released 2011-08-20)
621 ** libgnutls: gnutls_certificate_set_x509_key_file() and 
622 friends support server name indication. If multiple 
623 certificates are set using these functions the proper one 
624 will be selected during a handshake. 
626 ** libgnutls: Added AES-256-GCM which was left out from
627 the previous release. Reported by Benjamin Hof.
629 ** libgnutls: When asking for a PKCS# 11 PIN multiple 
630 times, the flags in the callback were not being updated 
631 to reflect for PIN low count or final try.
633 ** libgnutls: Do not allow second instances of PKCS #11
634 modules.
636 ** libgnutls: fixed alignment issue in AES-NI code.
638 ** libgnutls: The config file at gnutls_pkcs11_init()
639 is being read if provided.
641 ** libgnutls: Ensure that a certificate list specified
642 using gnutls_certificate_set_x509_key() and friends, is 
643 sorted according to TLS specification (from subject to issuer).
645 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
646 gnutls_x509_crt_list_import. It checks whether the list to be 
647 imported is properly sorted.
649 ** crywrap: Added to the distribution. It is an application
650 that proxies TLS session to a port using a plaintext service.
652 ** doc: Many GTK-DOC improvements.
654 ** i18n: Translations were updated.
656 ** API and ABI modifications:
657 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
658 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
661 * Version 3.0.0 (released 2011-07-29)
663 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
664 Sjoerd Simons.
666 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
667 Metzler.
669 ** certtool: bug fixes in certificate request generation. Patch
670 by Petr PísaÅ™.
672 ** API and ABI modifications:
673 gnutls_pcert_list_import_x509_raw: ADDED
676 * Version 2.99.4 (released 2011-07-23)
678 ** doc: documentation updates.
680 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
681 to avoid thread-safety issues. Reported by Sam Varshavchik.
683 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
685 ** libgnutls: license upgraded to LGPLv3
687 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
688 for consistency.
690 ** API and ABI modifications:
691 No changes since last version.
694 * Version 2.99.3 (released 2011-06-18)
696 ** libgnutls: Added new PKCS #11 flags to force an object being private or
697 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
699 ** libgnutls: Added SUITEB128 and SUITEB192 priority
700 strings to enable the NSA SuiteB cryptography ciphersuites.
702 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
703 verify data provided the signature algorithm.
705 ** libgnutls: Simplified the handling of handshake messages to 
706 be hashed. Instead of hashing during the handshake process we now 
707 keep the data until handshake is over and hash them on request. 
708 This uses more memory but eliminates issues with TLS 1.2 and 
709 simplifies code.
711 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
712 instruction. Uses Andy Polyakov's assembly code.
714 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
715 gnutls_x509_trust_list_verify_named_crt() that allow having a
716 list of certificates in the trusted list that will be associated
717 with a name (e.g. server name) and will not be used as CAs.
719 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
720 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
721 Stef Walter.
723 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
725 ** API and ABI modifications:
726 gnutls_pubkey_verify_data2: ADDED
727 gnutls_ecc_curve_get: ADDED
728 gnutls_x509_trust_list_add_named_crt: ADDED
729 gnutls_x509_trust_list_verify_named_crt: ADDED
730 gnutls_x509_privkey_verify_data: REMOVED
731 gnutls_crypto_bigint_register: REMOVED
732 gnutls_crypto_cipher_register: REMOVED
733 gnutls_crypto_digest_register: REMOVED
734 gnutls_crypto_mac_register: REMOVED
735 gnutls_crypto_pk_register: REMOVED
736 gnutls_crypto_rnd_register: REMOVED
737 gnutls_crypto_single_cipher_register: REMOVED
738 gnutls_crypto_single_digest_register: REMOVED
739 gnutls_crypto_single_mac_register: REMOVED
740 GNUTLS_KX_ECDHE_PSK: New key exchange method
741 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
742 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
743 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
746 * Version 2.99.2 (released 2011-05-26)
748 ** libgnutls: Added Elliptic curve support. This is not
749 enabled by default. Requires priority strings:
750 +CURVE-ALL: to add all supported curves
751 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
752 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
753 +ANON-ECDHE: to add anonymous ECDH
755 ** libgnutls: PKCS #11 URLs conform to the latest draft
756 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
758 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
759 via URLs.
761 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
762 to get important auditing information including the corresponding session.
763 That might be useful to block DoS or other attacker from specific IPs.
765 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
766 the public key algorithm of the key.
768 ** libgnutls: Added gnutls_certificate_get_issuer() and
769 gnutls_x509_trust_list_get_issuer() to compensate for the
770 missing gnutls_certificate_get_x509_cas().
772 ** libgnutls: Added gnutls_x509_crq_verify() to allow
773 verification of the self signature in a certificate request.
774 This allows verifying whether the owner of the private key
775 is the generator of the request.
777 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
778 the self signature of the request.
780 ** API and ABI modifications:
781 gnutls_certificate_get_issuer: ADDED
782 gnutls_x509_trust_list_get_issuer: ADDED
783 gnutls_x509_crq_verify: ADDED
784 gnutls_global_set_audit_log_function: ADDED
785 gnutls_ecc_curve_get_name: ADDED
786 gnutls_ecc_curve_get_size: ADDED
787 gnutls_x509_privkey_import_ecc_raw: ADDED
788 gnutls_x509_privkey_export_ecc_raw: ADDED
789 gnutls_global_set_time_function: ADDED
791 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
792 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
793 GNUTLS_KX_ECDHE_RSA: New key exchange method
794 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
795 GNUTLS_KX_ANON_ECDH: New key exchange method
796 GNUTLS_PK_ECC: New public key algorithm
797 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
798 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
799 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
800 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm 
801 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
802 GNUTLS_ECC_CURVE_INVALID: New curve definition
803 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
804 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
805 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
806 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
809 * Version 2.99.1 (released 2011-04-23)
811 ** libgnutls: LZO support was removed.
813 ** libgnutls: Corrections in SSLv2 client hello parsing.
815 ** libgnutls: Added support for AES-NI if detected. Uses
816 Andy Polyakov's AES-NI code.
818 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered 
819 weak, several sites require it for connection. It is enabled for
820 "NORMAL" and "PERFORMANCE" priority strings.
822 ** libgnutls: depend on libdl.
824 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
826 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
827 function required GnuTLS to access system specific data, for no reason.
828 Use gnutls_transport_set_errno(), or your system's errno fascility
829 instead.
831 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
832 to set a callback to retrieve a certificate. The certificate is
833 received in a format that requires no processing from gnutls thus
834 it is suitable when performance is required.
836 ** API and ABI modifications:
837 gnutls_transport_set_global_errno: REMOVED
838 gnutls_certificate_set_retrieve_function2: ADDED
840 * Version 2.99.0 (released 2011-04-09)
842 ** libgnutls: Added Datagram TLS support.
844 ** libgnutls: Uses a single configure file and a single
845 gnulib library to save space.
847 ** libgnutls: Several bug fixes.
849 ** libgnutls: gnutls_transport_set_lowat() is no more.
851 ** libgnutls-openssl: modified to use modern gnutls' functions.
852 This introduces an ABI incompatibility with previous versions.
854 ** libgnutls: Corrected signature generation and verification
855 in the Certificate Verify message when in TLS 1.2. Reported
856 by Todd A. Ouska.
858 ** libgnutlsxx: The C++ interface returns exception on
859 every error and not only on fatal ones. This allows easier
860 handling of errors.
862 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored    
863 the PSK callback.
865 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
866 They have to be explicitly set.
868 ** libgnutls: During handshake message verification using DSS
869 use the hash algorithm required by it.
871 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
872 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
874 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
876 ** libgnutls-extra: Inner application extension was removed.
877 It was never standardized nor published as an RFC.
879 ** libgnutls: Added new certificate verification functions, that
880 can provide more details and are more efficient. Check 
881 gnutls_x509_trust_list_*.
883 ** certtool: Uses the new certificate verification functions for
884 --verify-chain.
886 ** certtool: Added new certificate verification functionality
887 using the --verify option. Combined with --load-ca-certificate
888 it can verify a certificate chain against a list of certificates.
890 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
892 ** API and ABI modifications:
893 gnutls_dtls_set_timeouts: ADDED
894 gnutls_dtls_get_mtu: ADDED
895 gnutls_dtls_get_data_mtu: ADDED
896 gnutls_dtls_set_mtu: ADDED
897 gnutls_dtls_cookie_send: ADDED
898 gnutls_dtls_cookie_verify: ADDED
899 gnutls_dtls_prestate_set: ADDED
900 gnutls_x509_trust_list_verify_crt: ADDED
901 gnutls_x509_trust_list_add_crls: ADDED
902 gnutls_x509_trust_list_add_cas: ADDED
903 gnutls_x509_trust_list_init: ADDED
904 gnutls_x509_trust_list_deinit: ADDED
905 gnutls_cipher_add_auth: ADDED
906 gnutls_cipher_tag: ADDED
907 gnutls_psk_netconf_derive_key: REMOVED
908 gnutls_certificate_verify_peers: REMOVED
909 gnutls_session_set_finished_function: REMOVED
910 gnutls_ext_register: REMOVED
911 gnutls_certificate_get_x509_crls: REMOVED
912 gnutls_certificate_get_x509_cas: REMOVED
913 gnutls_certificate_get_openpgp_keyring: REMOVED
914 gnutls_session_get_server_random: REMOVED
915 gnutls_session_get_client_random: REMOVED
916 gnutls_session_get_master_secret: REMOVED
917 gnutls_ia_allocate_client_credentials: REMOVED
918 gnutls_ia_allocate_server_credentials: REMOVED
919 gnutls_ia_enable: REMOVED
920 gnutls_ia_endphase_send: REMOVED
921 gnutls_ia_extract_inner_secret: REMOVED
922 gnutls_ia_free_client_credentials: REMOVED
923 gnutls_ia_free_server_credentials: REMOVED
924 gnutls_ia_generate_challenge: REMOVED
925 gnutls_ia_get_client_avp_ptr: REMOVED
926 gnutls_ia_get_server_avp_ptr: REMOVED
927 gnutls_ia_handshake: REMOVED
928 gnutls_ia_handshake_p: REMOVED
929 gnutls_ia_permute_inner_secret: REMOVED
930 gnutls_ia_recv: REMOVED
931 gnutls_ia_send: REMOVED
932 gnutls_ia_set_client_avp_function: REMOVED
933 gnutls_ia_set_client_avp_ptr: REMOVED
934 gnutls_ia_set_server_avp_function: REMOVED
935 gnutls_ia_set_server_avp_ptr: REMOVED
936 gnutls_ia_verify_endphase: REMOVED
939 * Version 2.12.2 (released 2011-04-08)
941 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
943 ** libgnutls: Several bug and memory leak fixes.
945 ** srptool: Accepts the -d option to enable debugging.
947 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
948 the allocation of a verifier. Reported by Andrew Wiseman.
950 ** API and ABI modifications:
951 No changes since last version.
954 * Version 2.12.1 (released 2011-04-02)
956 ** certtool: Generated certificate request with stricter permissions.
957 Reported by Luca Capello.
959 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
961 ** libgnutls: Corrected windows system_errno() function prototype.
963 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
965 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
966 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
968 ** API and ABI modifications:
969 No changes since last version.
974 * Version 2.12.0 (released 2011-03-24)
976 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
977 the incompatibility with TLS other than 1.2.
979 ** libgnutls: Modified signature algorithm selection in client
980 certificate request, to avoid failures in DSA certificates.
982 ** libgnutls: Instead of failing with internal error, return 
983 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
984 key with the negotiated protocol is encountered.
986 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
988 ** libgnutls: Force state update when fork is detected in the nettle
989 rng.
991 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
992 subkey instead of setting explicitly one.
994 ** libgnutls: Corrected default behavior in record version of Client Hellos.
996 ** libgnutls-openssl: modified to use modern gnutls' functions.
997 This introduces an ABI incompatibility with previous versions.
999 ** API and ABI modifications:
1000 gnutls_pubkey_import_openpgp: MODIFIED
1003 * Version 2.11.7
1005 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
1006 replaced by gnutls_privkey_sign_hash2().
1008 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
1009 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
1010 gnutls_x509_crt_verify_hash return the negative error code 
1011 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
1012 checking.
1014 ** libgnutls: Added helper functions for signature verification:
1015 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
1017 ** libgnutls: Modified gnutls_privkey_sign_data().
1019 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
1020 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
1021 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
1022 deprecated for gnutls_x509_crl_privkey_sign(),
1023 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
1024 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
1025 gnutls_pubkey_verify_data() respectively.
1027 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
1028 integers.
1030 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
1031 and gnutls_x509_crt_list_import2().
1033 ** crypto.h: Fix use with C++.
1034 Reported by "Brendan Doherty" <brendand@gentrack.com>.
1036 ** API and ABI modifications:
1037 gnutls_x509_crl_list_import: ADDED
1038 gnutls_x509_crl_list_import2: ADDED
1039 gnutls_x509_crt_list_import2: ADDED
1040 gnutls_x509_crl_get_raw_issuer_dn: ADDED
1041 gnutls_pubkey_import_privkey: ADDED
1042 gnutls_pubkey_verify_data: ADDED
1043 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
1044 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
1045 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1046 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1047 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
1048 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1049 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1050 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
1051 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1052 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1053 gnutls_session_set_finished_function: DEPRECATED
1054 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
1055 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1056 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
1057 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
1058 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1059 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
1060 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
1061 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
1063 * Version 2.11.6 (released 2010-12-06)
1065 ** libgnutls: Record version of Client Hellos is now set by default to
1066 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
1067 priority string.
1069 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
1070 This makes us comply with RFC3279. Reported by Michael Rommel.
1072 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
1074 ** API and ABI modifications:
1075 No changes since last version.
1077 * Version 2.11.5 (released 2010-12-01)
1079 ** libgnutls: Reverted default behavior for verification and
1080 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
1081 V1 trusted CAs are allowed, unless the new flag is specified.
1083 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
1084 Reported by Jeffrey Walton.
1086 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
1087 as priority strings. Those allow to set all the supported algorithms
1088 at once.
1090 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
1092 ** gnutls-cli: Print channel binding only in verbose mode.
1093 Before it printed it after the 'Compression:' output, thus breaking
1094 Emacs starttls.el string searches.
1096 ** API and ABI modifications:
1097 gnutls_pkcs11_token_init: New function
1098 gnutls_pkcs11_token_set_pin: New function
1100 * Version 2.11.4 (released 2010-10-15)
1102 ** libgnutls: Add new API gnutls_session_channel_binding.
1103 The function is used to get the channel binding data.  Currently only
1104 the "tls-unique" (RFC 5929) channel binding type is supported, through
1105 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
1106 the manual.
1108 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
1110 ** doc: Added pkcs11.h header file to GTK-DOC manual.
1112 ** build: Update gnulib files.
1114 ** i18n: Update translations.
1116 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
1118 ** API and ABI modifications:
1119 gnutls_session_channel_binding: New function.
1120 gnutls_channel_binding_t: New enumeration.
1121 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
1122 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
1124 * Version 2.11.3 (released 2010-10-14)
1126 ** Indent code to follow the GNU Coding Standard.
1127 You should be able to unpack the 2.11.2 release and run 'make indent'
1128 twice to get exactly the same content as 2.11.3 except for generated
1129 files.  Using GNU Indent 2.2.11.
1131 ** API and ABI modifications:
1132 No changes since last version.
1134 * Version 2.11.2 (released 2010-10-08)
1136 ** libgnutls: Several bug fixes on session resumption
1137 and session tickets support.
1139 ** libgnutls: Add new extended key usage ipsecIKE.
1141 ** certtool: Renamed PKCS #11 options to: --p11-provider,
1142 --p11-export-url, --p11-list-certs, --p11-list-certs,
1143 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
1144 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
1145 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
1146 --p11-delete-url
1148 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
1149 introduced with the new nettle code.
1151 ** libgnutls: Corrected advertizing issue for session tickets.
1153 ** API and ABI modifications:
1154 gnutls_x509_crt_get_subject_unique_id: ADDED.
1155 gnutls_x509_crt_get_issuer_unique_id: ADDED.
1157 * Version 2.11.1 (released 2010-09-14)
1159 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
1160 to use the libgcrypt back end.
1162 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
1163 backend crypto library.
1165 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
1167 ** libgnutls: Several updates in the buffering internal interface.
1169 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
1170 tabs are being skipped.
1172 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
1174 ** libgnutls: The %COMPAT flag now allows larger records that violate the
1175 TLS spec.
1177 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
1178 system calls. Applications that depended on it being 1 should explicitly call
1179 gnutls_transport_set_lowat().
1181 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
1182 to ECRYPT II recommendations. Mappings were moved to a single location
1183 and DSA keys are handled differently (since DSA2 allows for 1024,2048
1184 and 3072 keys only).
1186 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1187 gnutls_x509_privkey_import_pkcs8() without a password, if it
1188 is unable to decode the key.
1190 ** libgnutls: HMAC-MD5 no longer used by default.
1192 ** API and ABI modifications:
1193 gnutls_openpgp_privkey_sec_param: ADDED
1194 gnutls_x509_privkey_sec_param: ADDED
1196 * Version 2.11.0 (released 2010-07-22)
1198 ** libgnutls: support scattered write using writev(). This takes
1199 advantage of the new buffering layer and allows queuing of packets
1200 and flushing them. This is currently used for handshake messages
1201 only.
1203 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
1204 alternative locking procedures. By default the system available
1205 locking is used. In *NIX pthreads are used and in windows the
1206 critical section API. This follows a different approach than the
1207 previous versions that depended on libgcrypt initialization. The
1208 locks are now set by default in systems that support it. Programs
1209 that used gcry_control() to set thread locks should insert it into
1210 a block of
1211 #if GNUTLS_VERSION_NUMBER <= 0x020b00
1212         gcry_control(...)
1213 #endif
1215 ** libgnutls: Added support for reading DN from EV-certificates.
1216 New DN values:
1217 jurisdictionOfIncorporationLocalityName,
1218 jurisdictionOfIncorporationStateOrProvinceName,
1219 jurisdictionOfIncorporationCountryName
1221 ** libgnutls: Added support for DSA signing/verifying with bit 
1222 length over 1024.
1224 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
1225 has to be called to register any required md5 handlers.
1227 ** libgnutls: Internal buffering code was replaced by simpler
1228 code contributed by Jonathan Bastien-Filiatrault.
1230 ** libgnutls: Internal API for extensions augmented to allow
1231 safe storing and loading of data on resumption. This allows writing
1232 self-contained extensions (when possible). As a side effect
1233 the OPRFI extension was removed.
1235 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
1237 ** libgnutls: Added PKCS #11 support and an API to access objects in
1238 gnutls/pkcs11.h. Currently certificates and public keys can be
1239 imported from tokens, and operations can be performed on private keys.
1241 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
1243 ** libgnutls: Added initial support for the nettle library. It uses
1244 the system's random generator for seeding. That is /dev/urandom in Linux, 
1245 system calls in Win32 and EGD on other systems.
1247 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
1248     works even when resuming a session.
1250 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
1251 similar gnutls_certificate_set_server_retrieve_function() and
1252 gnutls_certificate_set_client_retrieve_function(). In addition it support
1253 PKCS #11 private keys.
1255 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
1256 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
1258 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
1259 sizes for private keys using a human understandable scale.
1261 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
1262 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
1263 --pkcs11-delete-url, --pkcs11-write
1265 certtool: The --pkcs-cipher is taken into account when generating a
1266 private key. The default cipher used now is aes-128. The old behavior can
1267 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1269 certtool: Added --certificate-pubkey to print the public key of the
1270 certificate.
1272 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
1273 can now accept a PKCS #11 URL in addition to a file. This will allow for
1274 example to use the Gnome-keyring trusted certificate list to verify
1275 connections using a url such as:
1276 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
1278 ** API and ABI modifications:
1279 gnutls_certificate_set_server_retrieve_function: DEPRECATED
1280 gnutls_certificate_set_client_retrieve_function: DEPRECATED
1281 gnutls_sign_callback_set: DEPRECATED
1282 gnutls_global_set_mutex: ADDED
1283 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
1284 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
1285 gnutls_x509_privkey_export_rsa_raw2: ADDED
1286 gnutls_rnd: ADDED
1287 gnutls_sec_param_to_pk_bits: ADDED
1288 gnutls_pk_bits_to_sec_param: ADDED
1289 gnutls_sec_param_get_name: ADDED
1290 gnutls_pkcs11_type_get_name: ADDED
1291 gnutls_certificate_set_retrieve_function: ADDED
1292 gnutls_pkcs11_init: ADDED
1293 gnutls_pkcs11_deinit: ADDED
1294 gnutls_pkcs11_set_pin_function: ADDED
1295 gnutls_pkcs11_set_token_function: ADDED
1296 gnutls_pkcs11_add_provider: ADDED
1297 gnutls_pkcs11_obj_init: ADDED
1298 gnutls_pkcs11_obj_import_url: ADDED
1299 gnutls_pkcs11_obj_export_url: ADDED
1300 gnutls_pkcs11_obj_deinit: ADDED
1301 gnutls_pkcs11_obj_export: ADDED
1302 gnutls_pkcs11_obj_list_import_url: ADDED
1303 gnutls_pkcs11_obj_export: ADDED
1304 gnutls_x509_crt_import_pkcs11: ADDED
1305 gnutls_pkcs11_obj_get_type: ADDED
1306 gnutls_x509_crt_list_import_pkcs11: ADDED
1307 gnutls_x509_crt_import_pkcs11_url: ADDED
1308 gnutls_pkcs11_obj_get_info: ADDED
1309 gnutls_pkcs11_token_get_info: ADDED
1310 gnutls_pkcs11_token_get_url: ADDED
1311 gnutls_pkcs11_privkey_init: ADDED
1312 gnutls_pkcs11_privkey_deinit: ADDED
1313 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
1314 gnutls_pkcs11_privkey_get_info: ADDED
1315 gnutls_pkcs11_privkey_import_url: ADDED
1316 gnutls_pkcs11_privkey_sign_data: ADDED
1317 gnutls_pkcs11_privkey_sign_hash: ADDED
1318 gnutls_pkcs11_privkey_decrypt_data: ADDED
1319 gnutls_privkey_init: ADDED
1320 gnutls_privkey_deinit: ADDED
1321 gnutls_privkey_get_pk_algorithm: ADDED
1322 gnutls_privkey_get_type: ADDED
1323 gnutls_privkey_import_pkcs11: ADDED
1324 gnutls_privkey_import_x509: ADDED
1325 gnutls_privkey_import_openpgp: ADDED
1326 gnutls_privkey_sign_data: ADDED
1327 gnutls_privkey_sign_hash: ADDED
1328 gnutls_privkey_decrypt_data: ADDED
1329 gnutls_pkcs11_privkey_export_url: ADDED
1330 gnutls_x509_crq_privkey_sign: ADDED
1331 gnutls_x509_crl_privkey_sign: ADDED
1332 gnutls_x509_crt_privkey_sign: ADDED
1333 gnutls_pubkey_init: ADDED
1334 gnutls_pubkey_deinit: ADDED
1335 gnutls_pubkey_get_pk_algorithm: ADDED
1336 gnutls_pubkey_import_x509: ADDED
1337 gnutls_pubkey_import_openpgp: ADDED
1338 gnutls_pubkey_get_pk_rsa_raw: ADDED
1339 gnutls_pubkey_get_pk_dsa_raw: ADDED
1340 gnutls_pubkey_export: ADDED
1341 gnutls_pubkey_get_key_id: ADDED
1342 gnutls_pubkey_get_key_usage: ADDED
1343 gnutls_pubkey_verify_hash: ADDED
1344 gnutls_pubkey_get_verify_algorithm: ADDED
1345 gnutls_pkcs11_type_get_name: ADDED
1346 gnutls_pubkey_import_pkcs11_url: ADDED
1347 gnutls_pubkey_import: ADDED
1348 gnutls_pubkey_import_pkcs11: ADDED
1349 gnutls_pubkey_import_dsa_raw: ADDED
1350 gnutls_pubkey_import_rsa_raw: ADDED
1351 gnutls_x509_crt_set_pubkey: ADDED
1352 gnutls_x509_crq_set_pubkey: ADDED
1353 gnutls_pkcs11_copy_x509_crt: ADDED
1354 gnutls_pkcs11_copy_x509_privkey: ADDED
1355 gnutls_pkcs11_delete_url: ADDED
1357 * Version 2.10.1 (released 2010-07-25)
1359 ** libgnutls: Added support for broken certificates that indicate RSA
1360 with strange OIDs.
1362 ** gnutls-cli: Allow verification using V1 CAs.
1364 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1365 gnutls_x509_privkey_import_pkcs8() without a password, if it
1366 is unable to decode the key.
1368 ** libgnutls: Correctly deinitialize crypto API functions to prevent
1369 a memory leak.  Reported by Mads Kiilerich.
1371 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
1372 issue a warning, that the output key might not be working everywhere.
1374 ** certtool: The --pkcs-cipher is taken into account when generating a
1375 private key. The default cipher used now is aes-128. The old behavior
1376 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1378 ** API and ABI modifications:
1379 No changes since last version.
1381 * Version 2.10.0 (released 2010-06-25)
1383 ** API and ABI modifications:
1384 No changes since last version.
1386 * Version 2.9.12 (released 2010-06-17)
1388 ** gnutls-cli: Make --starttls work again.
1389 Problem introduced in patch to use read() instead of fgets() committed
1390 on 2010-01-27.
1392 ** API and ABI modifications:
1393 No changes since last version.
1395 * Version 2.9.11 (released 2010-06-07)
1397 ** libgnutls: Removed two APIs related to safe renegotiation.
1398 Use priority strings instead.  The APIs were
1399 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
1400 (Remember that we don't promise ABI stability during development
1401 series, so this doesn't cause an shared library ABI increment.)
1403 ** tests: More self testing of safe renegotiation extension.
1404 See tests/safe-renegotiation/README for more information.
1406 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
1408 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
1410 ** API and ABI modifications:
1411 gnutls_safe_negotiation_set_initial: REMOVED.
1412 gnutls_safe_renegotiation_set: REMOVED.
1414 * Version 2.9.10 (released 2010-04-22)
1416 ** libgnutls: Time verification extended to trusted certificate list.
1417 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
1418 specified.
1420 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
1421 Based on patch by Pavan Konjarla.  Adds new constant
1422 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
1424 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
1425 Solves the issue discussed in:
1426 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
1427 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
1428 Note that to allow connecting to unpatched servers the full protection
1429 is only enabled if the priority string %SAFE_RENEGOTIATION is
1430 specified. You can check whether protection is in place by querying
1431 gnutls_safe_renegotiation_status().  New error codes
1432 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
1433 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
1435 ** libgnutls: When checking openpgp self signature also check the signatures
1436 ** of all subkeys.
1437 Ilari Liusvaara noticed and reported the issue and provided test
1438 vectors as well.
1440 ** libgnutls: Added cryptodev support (/dev/crypto).
1441 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
1442 benchmark utility for AES.  Adds new error codes
1443 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
1445 ** libgnutls: Exported API to access encryption and hash algorithms.
1446 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
1447 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
1448 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
1449 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
1450 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
1451 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
1452 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
1454 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
1455 verification of certificate upon receipt rather than waiting until the
1456 end of the handshake.
1458 ** libgnutls: Don't send alerts during handshake.
1459 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
1461 ** certtool: Corrected two issues that affected certificate request generation.
1462 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
1463 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
1464 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
1465 those parameters there since other implementations don't do either and having 
1466 them does not seem to offer anything (anyway you need the signer's certificate
1467 to verify thus public key will be available). Found thanks to Boyan Kasarov.
1468 This however has the side-effect that public key IDs shown by certtool are
1469 now different than previous gnutls releases.
1470 (3) the option --pgp-certificate-info will verify self signatures
1472 ** certtool: Allow exporting of Certificate requests on DER format.
1474 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
1476 ** gnutls-cli: Handle reading binary data from server.
1477 Reported by and tiny patch from Vitaly Mayatskikh
1478 <v.mayatskih@gmail.com> in
1479 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
1481 ** minitasn1: Upgraded to libtasn1 version 2.6.
1483 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
1484 ** Added Italian and Simplified Chinese translation.
1485 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
1486 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
1488 ** doc: The GTK-DOC manual is significantly improved.
1490 ** API and ABI modifications:
1491 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
1492 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
1493 %UNSAFE_RENEGOTIATION: Added to priority strings.
1494 GNUTLS_DIG_SHA224: ADDED.
1495 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
1496 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
1497 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
1498 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
1499 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
1500 GNUTLS_MAC_SHA224: ADDED.
1501 GNUTLS_OID_X520_NAME: ADDED.
1502 GNUTLS_OID_X520_POSTALCODE: ADDED.
1503 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
1504 GNUTLS_VERSION_MAX: ADDED.
1505 gnutls_certificate_set_verify_function: ADDED.
1506 gnutls_cipher_decrypt: ADDED.
1507 gnutls_cipher_deinit: ADDED.
1508 gnutls_cipher_encrypt: ADDED.
1509 gnutls_cipher_get_block_size: ADDED.
1510 gnutls_cipher_init: ADDED.
1511 gnutls_hash: ADDED.
1512 gnutls_hash_deinit: ADDED.
1513 gnutls_hash_fast: ADDED.
1514 gnutls_hash_get_len: ADDED.
1515 gnutls_hash_init: ADDED.
1516 gnutls_hash_output: ADDED.
1517 gnutls_hmac: ADDED.
1518 gnutls_hmac_deinit: ADDED.
1519 gnutls_hmac_fast: ADDED.
1520 gnutls_hmac_get_len: ADDED.
1521 gnutls_hmac_init: ADDED.
1522 gnutls_hmac_output: ADDED.
1523 gnutls_safe_negotiation_set_initial: ADDED.
1524 gnutls_safe_renegotiation_set: ADDED.
1525 gnutls_safe_renegotiation_status: ADDED.
1527 * Version 2.9.9 (released 2009-11-09)
1529 ** libgnutls: Cleanups and several bug fixes.
1530 Found by Steve Grubb and Tomas Mraz.
1532 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1534 ** Fix --disable-valgrind-tests.
1535 Reported by Ingmar Vanhassel in
1536 <https://savannah.gnu.org/support/?107029>.
1538 ** API and ABI modifications:
1539 No changes since last version.
1541 * Version 2.9.8 (released 2009-11-05)
1543 ** libgnutls: Fix for memory leaks on interrupted handshake.
1544 Reported by Tang Tong.
1546 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
1547 ** extension and certificate verify field.
1548 This requires changes for TLS 1.2 servers and clients that use
1549 callbacks for certificate retrieval.  They are now required to check
1550 with gnutls_sign_algorithm_get_requested() whether the certificate
1551 they send complies with the peer's preferences in signature
1552 algorithms.
1554 ** libgnutls: In server side when resuming a session do not overwrite the 
1555 ** initial session data with the resumed session data.
1557 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
1558 ** encryption.
1559 This affects also PKCS #12 encoded files.  This adds the following new
1560 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
1561 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
1563 ** libgnutls: Fix PKCS#12 encoding.
1564 The error you would get was "The OID is not supported.".  Problem
1565 introduced for the v2.8.x branch in 2.7.6.
1567 ** certtool: Added the --pkcs-cipher option.
1568 To explicitely specify the encryption algorithm to use.
1570 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
1572 ** tests: Fix time bomb in chainverify self-test.
1573 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1574 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
1576 ** tests: Fix expired cert in chainverify self-test.
1578 ** i18n: Vietnamese translation updated.
1579 Thanks to Clytie Siddall.
1581 ** API and ABI modifications:
1582 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
1583 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
1584 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
1585 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
1586 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
1587 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
1588 gnutls_sign_algorithm_get_requested: ADDED.
1590 * Version 2.9.7 (released 2009-10-06)
1592 ** libgnutls: TLS 1.2 server mode fixes.
1593 Now interoperates against Opera.  Contributed by Daiki Ueno.
1595 ** libgnutlsxx: Fix link problems.
1596 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
1598 ** guile: Compatibility with guile 2.x.
1599 By Ludovic Courtes <ludovic.courtes@laas.fr>.
1601 ** API and ABI modifications:
1602 No changes since last version.
1604 * Version 2.9.6 (released 2009-09-22)
1606 ** libgnutls: Enable Camellia ciphers by default.
1608 ** API and ABI modifications:
1609 No changes since last version.
1611 * Version 2.9.5 (released 2009-09-10)
1613 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
1614 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
1615 gnutls_x509_crt_get_issuer_alt_name, and
1616 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
1617 Hards <bradh@frogmouth.net>.
1619 ** API and ABI modifications:
1620 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
1621 gnutls_x509_crt_get_issuer_alt_name: ADDED.
1622 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
1624 * Version 2.9.4 (released 2009-09-03)
1626 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
1627 The new supported ciphersuites are AES-128/256 in CBC mode with
1628 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
1629 SHA-256 is now the preferred default MAC (however it is only used with
1630 TLS 1.2).
1632 ** libgnutls: Make OpenPGP hostname checking work again.
1633 The patch to resolve the X.509 CN/SAN issue accidentally broken
1634 OpenPGP hostname comparison.
1636 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
1637 Reported by Howard Chu <hyc@symas.com> in
1638 <https://savannah.gnu.org/support/?106975>.
1640 ** Fix use of deprecated types internally.
1641 Use of deprecated types in GnuTLS from now on will lead to a compile
1642 error, to prevent this from happening again.
1644 ** API and ABI modifications:
1645 No changes since last version.
1647 * Version 2.9.3 (released 2009-08-19)
1649 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
1650 The new APIs are gnutls_session_ticket_enable_client,
1651 gnutls_session_ticket_enable_server, and
1652 gnutls_session_ticket_key_generate.
1654 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
1656 ** API and ABI modifications:
1657 gnutls_session_ticket_key_generate: ADDED.
1658 gnutls_session_ticket_enable_client: ADDED.
1659 gnutls_session_ticket_enable_server: ADDED.
1661 * Version 2.9.2 (released 2009-08-14)
1663 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
1664 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
1665 into 1) not printing the entire CN/SAN field value when printing a
1666 certificate and 2) cause incorrect positive matches when matching a
1667 hostname against a certificate.  Some CAs apparently have poor
1668 checking of CN/SAN values and issue these (arguable invalid)
1669 certificates.  Combined, this can be used by attackers to become a
1670 MITM on server-authenticated TLS sessions.  The problem is mitigated
1671 since attackers needs to get one certificate per site they want to
1672 attack, and the attacker reveals his tracks by applying for a
1673 certificate at the CA.  It does not apply to client authenticated TLS
1674 sessions.  Research presented independently by Dan Kaminsky and Moxie
1675 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
1676 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
1678 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
1679 The function may fail incorrectly when an earlier certificate was
1680 imported to the same gnutls_x509_crt_t structure.
1682 ** minitasn1: Internal copy updated to libtasn1 v2.3.
1684 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
1685 Before it always returned false.  Reported by Peter Hendrickson
1686 <pdh@wiredyne.com> in
1687 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
1689 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
1690 The error resulted in truncated strings when printing unknown OIDs in
1691 X.509 certificate DNs.  Reported by Tim Kosse
1692 <tim.kosse@filezilla-project.org> in
1693 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1695 ** libgnutls: Fix PKCS#12 decryption from password.
1696 The encryption key derived from the password was incorrect for (on
1697 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
1698 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1699 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1701 ** libgnutls: Return correct bit lengths of some MPIs.
1702 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1703 gnutls_dh_get_peers_public_bits.  Before the reported value was
1704 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
1705 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1707 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1708 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1709 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1711 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1713 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1714 Before we required that the runtime library used the same (or more
1715 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
1716 that the runtime usage is above the minimum required.  Reported by
1717 Marco d'Itri <md@linux.it> via Andreas Metzler
1718 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1720 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
1722 ** tests: Improved test vectors in self-test pkcs12_s2k.
1724 ** tests: Added new self-test dn2 to detect off-by-one size error.
1726 ** tests: Fix failure in "chainverify" because a certificate have expired.
1728 ** API and ABI modifications:
1729 No changes since last version.
1731 * Version 2.9.1 (released 2009-06-08)
1733 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1734 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1735 <http://bugs.gentoo.org/272388>.
1737 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
1739 ** Reduce stack usage for some CRQ functions.
1741 ** Doc fixes for CRQ functions.
1743 ** API and ABI modifications:
1744 No changes since last version.
1746 * Version 2.9.0 (released 2009-05-28)
1748 ** Doc fixes.
1750 ** API and ABI modifications:
1751 No changes since last version.
1753 * Version 2.8.6 (released 2010-03-15)
1755 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
1756 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
1757 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1759 Note: As a side effect of this change, the "public key identifier"
1760 value computed for a certificate using this version of GnuTLS will be
1761 different from values computed using earlier versions of GnuTLS.
1763 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
1764 ** optional SignatureAlgorithm parameter field.
1765 VeriSign rejected these CSRs.  They are stricly speaking not needed
1766 since you need the signer's certificate to verify the certificate
1767 signature anyway.  Reported by Wilankar Trupti
1768 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1770 ** libgnutls: When checking openpgp self signature also check the signatures
1771 ** of all subkeys.
1772 Ilari Liusvaara noticed and reported the issue and provided test
1773 vectors as well.
1775 ** libgnutls: Cleanups and several bug fixes.
1776 Found by Steve Grubb and Tomas Mraz.
1778 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1780 ** Fix --disable-valgrind-tests.
1781 Reported by Ingmar Vanhassel in
1782 <https://savannah.gnu.org/support/?107029>.
1784 ** examples: Use the new APIs for printing X.509 certificate information.
1786 ** Fix build failures on Solaris.
1787 Thanks to Dagobert Michelsen <dam@opencsw.org>.
1789 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
1790 ** translations.  Added Simplified Chinese translation.
1792 ** API and ABI modifications:
1793 No changes since last version.
1795 * Version 2.8.5 (released 2009-11-02)
1797 ** libgnutls: In server side when resuming a session do not overwrite the 
1798 ** initial session data with the resumed session data.
1800 ** libgnutls: Fix PKCS#12 encoding.
1801 The error you would get was "The OID is not supported.".  Problem
1802 introduced for the v2.8.x branch in 2.7.6.
1804 ** guile: Compatibility with guile 2.x.
1805 By Ludovic Courtes <ludovic.courtes@laas.fr>.
1807 ** tests: Fix expired cert in chainverify self-test.
1809 ** tests: Fix time bomb in chainverify self-test.
1810 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1811 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
1813 ** API and ABI modifications:
1814 No changes since last version.
1816 * Version 2.8.4 (released 2009-09-18)
1818 ** libgnutls: Enable Camellia ciphers by default.
1820 ** libgnutls: Make OpenPGP hostname checking work again.
1821 The patch to resolve the X.509 CN/SAN issue accidentally broken
1822 OpenPGP hostname comparison.
1824 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
1825 Reported by Howard Chu <hyc@symas.com> in
1826 <https://savannah.gnu.org/support/?106975>.
1828 ** API and ABI modifications:
1829 No changes since last version.
1831 * Version 2.8.3 (released 2009-08-13)
1833 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
1834 Code intended to be removed would lead to an read-out-bound error in
1835 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
1836 code have been allocated for the vulnerability: [CVE-2009-2730].
1838 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
1839 The function may fail incorrectly when an earlier certificate was
1840 imported to the same gnutls_x509_crt_t structure.
1842 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
1844 ** tests: Made self-test mini-eagain take less time.
1846 ** doc: Typo fixes.
1848 ** API and ABI modifications:
1849 No changes since last version.
1851 * Version 2.8.2 (released 2009-08-10)
1853 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
1854 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
1855 into 1) not printing the entire CN/SAN field value when printing a
1856 certificate and 2) cause incorrect positive matches when matching a
1857 hostname against a certificate.  Some CAs apparently have poor
1858 checking of CN/SAN values and issue these (arguable invalid)
1859 certificates.  Combined, this can be used by attackers to become a
1860 MITM on server-authenticated TLS sessions.  The problem is mitigated
1861 since attackers needs to get one certificate per site they want to
1862 attack, and the attacker reveals his tracks by applying for a
1863 certificate at the CA.  It does not apply to client authenticated TLS
1864 sessions.  Research presented independently by Dan Kaminsky and Moxie
1865 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
1866 for providing one part of the patch.  [GNUTLS-SA-2009-4].
1868 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
1869 Before it always returned false.  Reported by Peter Hendrickson
1870 <pdh@wiredyne.com> in
1871 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
1873 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
1874 The error resulted in truncated strings when printing unknown OIDs in
1875 X.509 certificate DNs.  Reported by Tim Kosse
1876 <tim.kosse@filezilla-project.org> in
1877 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1879 ** libgnutls: Return correct bit lengths of some MPIs.
1880 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1881 gnutls_dh_get_peers_public_bits.  Before the reported value was
1882 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
1883 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1885 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1886 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1887 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1889 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1891 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1892 Before we required that the runtime library used the same (or more
1893 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
1894 that the runtime usage is above the minimum required.  Reported by
1895 Marco d'Itri <md@linux.it> via Andreas Metzler
1896 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1898 ** minitasn1: Internal copy updated to libtasn1 v2.3.
1900 ** tests: Fix failure in "chainverify" because a certificate have expired.
1902 ** API and ABI modifications:
1903 No changes since last version.
1905 * Version 2.8.1 (released 2009-06-10)
1907 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1908 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1909 <http://bugs.gentoo.org/272388>.
1911 ** libgnutls: Fix PKCS#12 decryption from password.
1912 The encryption key derived from the password was incorrect for (on
1913 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
1914 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1915 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1917 ** API and ABI modifications:
1918 No changes since last version.
1920 * Version 2.8.0 (released 2009-05-27)
1922 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
1924 ** Major changes compared to the v2.4 branch:
1926 *** lib: Linker version scripts reduces number of exported symbols.
1928 *** lib: Limit exported symbols on systems without LD linker scripts.
1930 *** libgnutls: Fix namespace issue with version symbols.
1932 *** libgnutls: Add functions to verify a hash against a certificate.
1933 gnutls_x509_crt_verify_hash: ADDED
1934 gnutls_x509_crt_get_verify_algorithm: ADDED
1936 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1938 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1940 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1942 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1944 *** gnutls-serv: No longer disable MAC padding by default.
1946 *** gnutls-cli: Certificate information output format changed.
1948 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1949 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1951 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1953 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1955 *** libgnutls: gnutls_handshake when sending client hello during a
1956 rehandshake, will not offer a version number larger than the current.
1958 *** libgnutls: New interface to get key id for certificate requests.
1959 gnutls_x509_crq_get_key_id: ADDED.
1961 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
1963 *** certtool: --verify-chain now prints results of using library verification.
1965 *** libgnutls: Libgcrypt initialization changed.
1967 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1969 *** gnutls-cli: Return non-zero exit code on error conditions.
1971 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1973 *** certtool: allow setting arbitrary key purpose object identifiers.
1975 *** libgnutls: Change detection of when to use a linker version script.
1976 Use --enable-ld-version-script or --disable-ld-version-script to
1977 override auto-detection logic.
1979 *** Fix warnings and build GnuTLS with more warnings enabled.
1981 *** New API to set X.509 credentials from PKCS#12 memory structure.
1982 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1984 *** Old libgnutls.m4 and libgnutls-config scripts removed.
1985 Please use pkg-config instead.
1987 *** libgnutls: Added functions to handle CRL extensions.
1988 gnutls_x509_crl_get_authority_key_id: ADDED
1989 gnutls_x509_crl_get_number: ADDED
1990 gnutls_x509_crl_get_extension_oid: ADDED
1991 gnutls_x509_crl_get_extension_info: ADDED
1992 gnutls_x509_crl_get_extension_data: ADDED
1993 gnutls_x509_crl_set_authority_key_id: ADDED
1994 gnutls_x509_crl_set_number: ADDED
1996 *** libgnutls: Added functions to handle X.509 extensions in Certificate
1997 Requests.
1998 gnutls_x509_crq_get_key_rsa_raw: ADDED
1999 gnutls_x509_crq_get_attribute_info: ADDED
2000 gnutls_x509_crq_get_attribute_data: ADDED
2001 gnutls_x509_crq_get_extension_info: ADDED
2002 gnutls_x509_crq_get_extension_data: ADDED
2003 gnutls_x509_crq_get_key_usage: ADDED
2004 gnutls_x509_crq_get_basic_constraints: ADDED
2005 gnutls_x509_crq_get_subject_alt_name: ADDED
2006 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2007 gnutls_x509_crq_get_extension_by_oid: ADDED
2008 gnutls_x509_crq_set_subject_alt_name: ADDED
2009 gnutls_x509_crq_set_basic_constraints: ADDED
2010 gnutls_x509_crq_set_key_usage: ADDED
2011 gnutls_x509_crq_get_key_purpose_oid: ADDED
2012 gnutls_x509_crq_set_key_purpose_oid: ADDED
2013 gnutls_x509_crq_print: ADDED
2014 gnutls_x509_crt_set_crq_extensions: ADDED
2016 *** certtool: Print and set CRL and CRQ extensions.
2018 *** minitasn1: Internal copy updated to libtasn1 v2.1.
2020 *** examples: Now released into the public domain.
2022 *** The Texinfo and GTK-DOC manuals were improved.
2024 *** Several self-tests were added and others improved.
2026 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
2027 No offically supported interfaces have been modified or removed.  The
2028 library should be completely backwards compatible on both the source
2029 and binary level.
2031 The shared library no longer exports some symbols that have never been
2032 officially supported, i.e., not mentioned in any of the header files.
2033 The symbols are:
2035   _gnutls*
2036   gnutls_asn1_tab
2037   
2038 Normally when symbols are removed, the shared library version has to
2039 be incremented.  This leads to a significant cost for everyone using
2040 the library.  Because none of the above symbols have ever been
2041 intended for use by well-behaved applications, we decided that the it
2042 would be better for those applications to pay the price rather than
2043 incurring problems on the majority of applications.
2045 If it turns out that applications have been using unofficial
2046 interfaces, we will need to release a follow-on release on the v2.8
2047 branch to exports additional interfaces.  However, initial testing
2048 suggests that few if any applications have been using any of the
2049 internal symbols.
2051 Although not a new change compared to 2.6.x, we'd like to remind you
2052 interfaces have been modified so that X.509 chain verification now
2053 also checks activation/expiration times on certificates.  The affected
2054 functions are:
2056 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2057 gnutls_certificate_verify_peers: Likewise.
2058 gnutls_certificate_verify_peers2: Likewise.
2059 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2060 GNUTLS_CERT_EXPIRED: ADDED.
2061 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2063 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
2064 we gave our rationale for it in earlier release notes.
2066 The following symbols have been added to the library:
2068 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2069 gnutls_x509_crl_get_authority_key_id: ADDED
2070 gnutls_x509_crl_get_extension_data: ADDED
2071 gnutls_x509_crl_get_extension_info: ADDED
2072 gnutls_x509_crl_get_extension_oid: ADDED
2073 gnutls_x509_crl_get_number: ADDED
2074 gnutls_x509_crl_set_authority_key_id: ADDED
2075 gnutls_x509_crl_set_number: ADDED
2076 gnutls_x509_crq_get_attribute_data: ADDED
2077 gnutls_x509_crq_get_attribute_info: ADDED
2078 gnutls_x509_crq_get_basic_constraints: ADDED
2079 gnutls_x509_crq_get_extension_by_oid: ADDED
2080 gnutls_x509_crq_get_extension_data: ADDED
2081 gnutls_x509_crq_get_extension_info: ADDED
2082 gnutls_x509_crq_get_key_id: ADDED.
2083 gnutls_x509_crq_get_key_purpose_oid: ADDED
2084 gnutls_x509_crq_get_key_rsa_raw: ADDED
2085 gnutls_x509_crq_get_key_usage: ADDED
2086 gnutls_x509_crq_get_subject_alt_name: ADDED
2087 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2088 gnutls_x509_crq_print: ADDED
2089 gnutls_x509_crq_set_basic_constraints: ADDED
2090 gnutls_x509_crq_set_key_purpose_oid: ADDED
2091 gnutls_x509_crq_set_key_usage: ADDED
2092 gnutls_x509_crq_set_subject_alt_name: ADDED
2093 gnutls_x509_crt_get_verify_algorithm: ADDED
2094 gnutls_x509_crt_set_crq_extensions: ADDED
2095 gnutls_x509_crt_verify_hash: ADDED
2097 The following interfaces have been added to the header files:
2099 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2100 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2101 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2102 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2103 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2104 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2106 The following interfaces have been deprecated:
2108 LIBGNUTLS_VERSION: DEPRECATED.
2109 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2110 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2111 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2112 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2113 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2115 * Version 2.7.14 (released 2009-05-26)
2117 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
2118 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
2119 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
2120 deprecated.
2122 ** Doc: Several typo fixes in documentation.
2123 Reported by Peter Hendrickson <pdh@wiredyne.com>.
2125 ** API and ABI modifications:
2126 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2127 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2129 * Version 2.7.13 (released 2009-05-25)
2131 ** libgnutls: Fix version of some exported symbols in the shared library.
2132 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2133 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
2135 ** tests: Handle recently expired certificates in chainverify self-test.
2136 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2137 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
2139 ** API and ABI modifications:
2140 No changes since last version.
2142 * Version 2.7.12 (released 2009-05-20)
2144 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
2146 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
2147 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2148 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
2150 ** Fix build failures.
2151 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
2152 G. Christensen" <tgc@jupiterrise.com> in
2153 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
2155 ** minitasn1: Internal copy updated to libtasn1 v2.2.
2156 GnuTLS should work fine with libtasn1 v1.x and that is still
2157 supported.
2159 ** API and ABI modifications:
2160 No changes since last version.
2162 * Version 2.7.11 (released 2009-05-18)
2164 ** minitasn1: Fix build failure when using internal libtasn1.
2165 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2166 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
2168 ** libgnutls: Fix build failure with --disable-cxx.
2169 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2170 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
2172 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
2173 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2174 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
2176 ** Building with many warning flags now requires --enable-gcc-warnings.
2177 This avoids crying wolf for normal compiles.
2179 ** API and ABI modifications:
2180 No changes since last version.
2182 * Version 2.7.10 (released 2009-05-13)
2184 ** examples: Now released into the public domain.
2185 This makes the license of the example code compatible with more
2186 licenses, including the (L)GPL.
2188 ** minitasn1: Internal copy updated to libtasn1 v2.1.
2189 GnuTLS should work fine with libtasn1 v1.x and that is still
2190 supported.
2192 ** libgnutls: Fix crash in signature verification
2193 The fix for the CVE-2009-1415 problem wasn't merged completely.
2195 ** doc: Fixes for GTK-DOC output.
2197 ** API and ABI modifications:
2198 No changes since last version.
2200 * Version 2.7.9 (released 2009-05-11)
2202 ** doc: Fix strings in man page of gnutls_priority_init.
2204 ** doc: Fix tables of error codes and supported algorithms.
2206 ** Fix build failure when cross-compiled using MinGW.
2208 ** Fix build failure when LZO is enabled.
2209 Reported by Arfrever Frehtes Taifersar Arahesis
2210 <arfrever.fta@gmail.com> in
2211 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
2213 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
2214 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2215 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
2217 ** Fix warnings in self-tests.
2219 ** API and ABI modifications:
2220 No changes since last version.
2222 * Version 2.7.8 (released 2009-05-03)
2224 ** libgnutls: Fix DSA key generation.
2225 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2227 ** libgnutls: Check expiration/activation time on untrusted certificates.
2228 Merged from stable branch.  Reported by Romain Francoise
2229 <romain@orebokech.com>.  This changes the semantics of
2230 gnutls_x509_crt_list_verify, which in turn is used by
2231 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
2232 We add two new gnutls_certificate_status_t codes for reporting the new
2233 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
2234 We also add a new gnutls_certificate_verify_flags flag,
2235 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2236 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
2238 ** lib: Linker version scripts reduces number of exported symbols.
2239 The linker version script now lists all exported ABIs explicitly, to
2240 avoid accidentally exporting unintended functions.  Compared to
2241 before, most symbols beginning with _gnutls* are no longer exported.
2242 These functions have never been intended for use by applications, and
2243 there were no prototypes for these function in the public header
2244 files.  Thus we believe it is possible to do this without incrementing
2245 the library ABI version which normally has to be done when removing an
2246 interface.
2248 ** lib: Limit exported symbols on systems without LD linker scripts.
2249 Before all symbols were exported.  Now we limit the exported symbols
2250 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
2251 _gnutls*.  This is a superset of the actual supported ABI, but still
2252 an improvement compared to before.  This is implemented using Libtool
2253 -export-symbols-regex.  It is more portable than linker version
2254 scripts.
2256 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
2257 This should have been done in the last release.
2259 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2260 Reported by Peter Hendrickson <pdh@wiredyne.com> in
2261 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
2263 ** doc: Improved sections for the info manual.
2264 We now follow the advice given by the texinfo manual on which
2265 directory categories to use.  In particular, libgnutls moved from the
2266 'GNU Libraries' section to the 'Software libraries' and the command
2267 line tools moved from 'Network Applications' to 'System
2268 Administration'.
2270 ** API and ABI modifications:
2271 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2272 gnutls_certificate_verify_peers: Likewise.
2273 gnutls_certificate_verify_peers2: Likewise.
2274 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2275 GNUTLS_CERT_EXPIRED: ADDED.
2276 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2278 * Version 2.7.7 (released 2009-04-20)
2280 ** libgnutls: Applied patch by Cedric Bail to add functions
2281 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
2283 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
2284 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2285 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
2287 ** minitasn1: Internal copy updated to libtasn1 v1.8.
2288 GnuTLS is also internally ready to be used with libtasn1 v2.0.
2290 ** doc: Fix build failure of errcodes/printlist.
2291 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2292 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
2294 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2295 It is currently only used by the core library.  This will enable a new
2296 domain 'gnutls' for translations of the command line tools.
2298 ** Corrected possible memory corruption on signature verification failure. 
2299 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
2301 ** API and ABI modifications:
2302 gnutls_x509_crt_verify_hash: ADDED
2303 gnutls_x509_crt_get_verify_algorithm: ADDED
2305 * Version 2.7.6 (released 2009-02-27)
2307 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2308 This applies both to generating certificates and certificate requests.
2310 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
2312 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2313 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
2314 be used for chain verification.
2316 ** gnutls-serv: No longer disable MAC padding by default.
2317 Use --priority NORMAL:%COMPAT to disable MAC padding again.
2319 ** gnutls-cli: Certificate information output format changed.
2320 The tool now uses libgnutls' functions to print certificate
2321 information.  This avoids code duplication.
2323 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2324 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2325 They can be used to override the default certificate chain validation
2326 behaviour.
2328 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
2329 specify the client hello message record version. Used to overcome buggy 
2330 TLS servers. Report by Martin von Gagern.
2332 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2334 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2336 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
2338 ** API and ABI modifications:
2339 No changes since last version.
2341 * Version 2.7.5 (released 2009-02-06)
2343 ** libgnutls: Accept chains where intermediary certs are trusted.
2344 Before GnuTLS needed to validate the entire chain back to a
2345 self-signed certificate.  GnuTLS will now stop looking when it has
2346 found an intermediary trusted certificate.  The new behaviour is
2347 useful when chains, for example, contains a top-level CA, an
2348 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2349 To avoid chain validation errors due to the RSA-MD5 cert, you can
2350 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2351 The signature on trusted certificates are not checked, so the chain
2352 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2353 <deengert@anl.gov> in
2354 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2356 ** libgnutls: result_size in gnutls_hex_encode now holds
2357 the size of the result. Report by John Brooks <special@dereferenced.net>.
2359 ** libgnutls: gnutls_handshake when sending client hello during a
2360 rehandshake, will not offer a version number larger than the current.
2361 Reported by Tristan Hill <stan@saticed.me.uk>.
2363 ** libgnutls: Permit V1 Certificate Authorities properly.
2364 Before they were mistakenly rejected even though
2365 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2366 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2367 "Douglas E. Engert" <deengert@anl.gov> in
2368 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2370 ** API and ABI modifications:
2371 No changes since last version.
2373 * Version 2.7.4 (released 2009-01-07)
2375 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2376 This is a bugfix -- the previous attempt to do this from internal x509
2377 certificate verification procedures did not return the correct value
2378 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2379 <dkg@fifthhorseman.net> in
2380 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2381 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2382 Gillmor <dkg@fifthhorseman.net>.
2384 ** libgnutls: New interface to get key id for certificate requests.
2385 Patch from David Marín Carreño <davefx@gmail.com> in
2386 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
2388 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
2390 ** certtool: --verify-chain now prints results of using library verification.
2391 Earlier, certtool --verify-chain used its own validation algorithm
2392 which wasn't guaranteed to give the same result as the libgnutls
2393 internal validation algorithm.  Now this command print a new final
2394 line with header 'Chain verification output:' that contains the result
2395 from using the internal verification algorithm on the same chain.
2397 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
2399 ** API and ABI modifications:
2400 gnutls_x509_crq_get_key_id: ADDED.
2402 * Version 2.7.3 (released 2008-12-10)
2404 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2405 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2406 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2407 Andreas Metzler <ametzler@downhill.at.eu.org> in
2408 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2410 ** libgnutls: Libgcrypt initialization changed.
2411 If libgcrypt has not already been initialized, GnuTLS will now
2412 initialize libgcrypt with disabled secure memory.  Initialize
2413 libgcrypt explicitly in your application if you want to enable secure
2414 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
2415 allocation functions, which doesn't use secure memory, so there is no
2416 real change in behaviour.
2418 ** libgnutls: Fix memory leak in PSK authentication.
2419 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2420 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2422 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2424 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2425 It needs to be invoked before libgcrypt is initialized.
2427 ** gnutls-cli: Return non-zero exit code on error conditions.
2429 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2431 ** tests: Added chainverify self-test that tests X.509 chain verifications.
2433 ** API and ABI modifications:
2434 No changes since last version.
2436 * Version 2.7.2 (released 2008-11-18)
2438 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2439 The flaw makes it possible for man in the middle attackers (i.e.,
2440 active attackers) to assume any name and trick GnuTLS clients into
2441 trusting that name.  Thanks for report and analysis from Martin von
2442 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2444 Any updates with more details about this vulnerability will be added
2445 to <http://www.gnu.org/software/gnutls/security.html>
2447 ** libgnutls: Fix namespace issue with version symbols.
2448 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
2449 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
2450 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
2451 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
2452 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
2453 work but are deprecated.
2455 ** certtool: allow setting arbitrary key purpose object identifiers.
2457 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
2459 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2460 Reported by Kevin Quick <quick@sparq.org> in
2461 <https://savannah.gnu.org/support/index.php?106454>.
2463 ** libgnutls-extra: Make building with LZO compression work again.
2464 Build failure reported by Arfrever Frehtes Taifersar Arahesis
2465 <arfrever.fta@gmail.com> in
2466 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
2468 ** libgnutls: Change detection of when to use a linker version script.
2469 Use --enable-ld-version-script or --disable-ld-version-script to
2470 override auto-detection logic.
2472 ** doc: Change license on the manual to GFDLv1.3+.
2474 ** doc: GTK-DOC fixes for new splitted configuration system.
2476 ** doc: Texinfo stylesheet uses white background.
2478 ** tests: Add cve-2008-4989.c self-test.
2479 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
2480 follow-on problem with crashes on length 1 certificate chains.
2482 ** gnulib: Deprecated modules removed.
2483 Modules include memchr and memcmp.
2485 ** Fix warnings and build GnuTLS with more warnings enabled.
2487 ** minitasn1: Internal copy updated to libtasn1 v1.7.
2489 ** API and ABI modifications:
2490 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2491 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2492 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2493 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2494 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2495 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2496 LIBGNUTLS_VERSION: DEPRECATED.
2497 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2498 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2499 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2500 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2502 * Version 2.7.1 (released 2008-10-31)
2504 ** certtool: print a PKCS #8 key even if it is not encrypted.
2506 ** Old libgnutls.m4 and libgnutls-config scripts removed.
2507 Please use pkg-config instead.
2509 ** Configuration system modified.
2510 There is now a configure script in lib/ and libextra/ as well, because
2511 gnulib works better with a config.h per gnulib directory.
2513 ** API and ABI modifications:
2514 No changes since last version.
2516 * Version 2.7.0 (released 2008-10-16)
2518 ** libgnutls: Added functions to handle CRL extensions.
2520 ** libgnutls: Added functions to handle X.509 extensions in Certificate
2521 Requests.
2523 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
2524 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
2526 ** certtool: Print and set CRL and CRQ extensions.
2528 ** libgnutls-extra: Protect internal symbols with static.
2529 Fixes problem when linking certtool statically.  Tiny patch from Aaron
2530 Ucko <ucko@ncbi.nlm.nih.gov>.
2532 ** libgnutls-openssl: fix out of bounds access.
2533 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
2534 from Thomas Viehmann <tv@beamnet.de>.
2536 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
2538 ** tests: Make tests compile when using internal libtasn1.
2539 Patch by ludo@gnu.org (Ludovic Courtès).
2541 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
2542 We now require a libgcrypt that has Camellia constants declared in
2543 gcrypt.h, which means v1.3.0 or later.
2545 ** API and ABI modifications:
2546 gnutls_x509_crl_get_authority_key_id: ADDED
2547 gnutls_x509_crl_get_number: ADDED
2548 gnutls_x509_crl_get_extension_oid: ADDED
2549 gnutls_x509_crl_get_extension_info: ADDED
2550 gnutls_x509_crl_get_extension_data: ADDED
2551 gnutls_x509_crl_set_authority_key_id: ADDED
2552 gnutls_x509_crl_set_number: ADDED
2553 gnutls_x509_crq_get_key_rsa_raw: ADDED
2554 gnutls_x509_crq_get_attribute_info: ADDED
2555 gnutls_x509_crq_get_attribute_data: ADDED
2556 gnutls_x509_crq_get_extension_info: ADDED
2557 gnutls_x509_crq_get_extension_data: ADDED
2558 gnutls_x509_crq_get_key_usage: ADDED
2559 gnutls_x509_crq_get_basic_constraints: ADDED
2560 gnutls_x509_crq_get_subject_alt_name: ADDED
2561 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2562 gnutls_x509_crq_get_extension_by_oid: ADDED
2563 gnutls_x509_crq_set_subject_alt_name: ADDED
2564 gnutls_x509_crq_set_basic_constraints: ADDED
2565 gnutls_x509_crq_set_key_usage: ADDED
2566 gnutls_x509_crq_get_key_purpose_oid: ADDED
2567 gnutls_x509_crq_set_key_purpose_oid: ADDED
2568 gnutls_x509_crq_print: ADDED
2569 gnutls_x509_crt_set_crq_extensions: ADDED
2571 * Version 2.6.6 (released 2009-04-30)
2573 ** libgnutls: Corrected double free on signature verification failure.
2574 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
2575 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
2577 ** libgnutls: Fix DSA key generation.
2578 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
2579 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
2580 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2582 ** libgnutls: Check expiration/activation time on untrusted certificates.
2583 Reported by Romain Francoise <romain@orebokech.com>.  Before the
2584 library did not check activation/expiration times on certificates, and
2585 was documented as not doing so.  We have realized that many
2586 applications that use libgnutls, including gnutls-cli, fail to perform
2587 proper checks.  Implementing similar logic in all applications leads
2588 to code duplication.  Hence, we decided to check whether the current
2589 time (as reported by the time function) is within the
2590 activation/expiration period of certificates when verifying untrusted
2591 certificates.
2593 This changes the semantics of gnutls_x509_crt_list_verify, which in
2594 turn is used by gnutls_certificate_verify_peers and
2595 gnutls_certificate_verify_peers2.  We add two new
2596 gnutls_certificate_status_t codes for reporting the new error
2597 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
2598 add a new gnutls_certificate_verify_flags flag,
2599 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2600 behaviour.
2602 More details about the vulnerabilities will be posted at
2603 <http://www.gnu.org/software/gnutls/security.html>.
2605 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
2606 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
2607 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
2609 ** tests: Fix linking of tests/openpgp/keyring self-test.
2610 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
2612 ** API and ABI modifications:
2613 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2614 gnutls_certificate_verify_peers: Likewise.
2615 gnutls_certificate_verify_peers2: Likewise.
2616 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2617 GNUTLS_CERT_EXPIRED: ADDED.
2618 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2620 * Version 2.6.5 (released 2009-04-11)
2622 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
2623 specify the client hello message record version. Used to overcome buggy
2624 TLS servers. Report by Martin von Gagern.
2626 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
2627 Libtasn1 0.3.4 or later is required.  This is to align with the
2628 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
2630 ** API and ABI modifications:
2631 No changes since last version.
2633 * Version 2.6.4 (released 2009-02-06)
2635 ** libgnutls: Accept chains where intermediary certs are trusted.
2636 Before GnuTLS needed to validate the entire chain back to a
2637 self-signed certificate.  GnuTLS will now stop looking when it has
2638 found an intermediary trusted certificate.  The new behaviour is
2639 useful when chains, for example, contains a top-level CA, an
2640 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2641 To avoid chain validation errors due to the RSA-MD5 cert, you can
2642 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2643 The signature on trusted certificates are not checked, so the chain
2644 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2645 <deengert@anl.gov> in
2646 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2648 ** libgnutls: result_size in gnutls_hex_encode now holds
2649 the size of the result. Report by John Brooks <special@dereferenced.net>.
2651 ** libgnutls: gnutls_handshake when sending client hello during a
2652 rehandshake, will not offer a version number larger than the current.
2653 Reported by Tristan Hill <stan@saticed.me.uk>.
2655 ** libgnutls: Permit V1 Certificate Authorities properly.
2656 Before they were mistakenly rejected even though
2657 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2658 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2659 "Douglas E. Engert" <deengert@anl.gov> in
2660 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2662 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2663 This is a bugfix -- the previous attempt to do this from internal x509
2664 certificate verification procedures did not return the correct value
2665 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2666 <dkg@fifthhorseman.net> in
2667 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2668 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2669 Gillmor <dkg@fifthhorseman.net>.
2671 ** libgnutls: Fix compile error with Sun CC.
2672 Reported by Jeff Cai <jeff.cai@sun.com> in
2673 <https://savannah.gnu.org/support/?106549>.
2675 ** API and ABI modifications:
2676 No changes since last version.
2678 * Version 2.6.3 (released 2008-12-12)
2680 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2681 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2682 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2683 Andreas Metzler <ametzler@downhill.at.eu.org> in
2684 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2686 ** libgnutls: Fix memory leak in PSK authentication.
2687 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2688 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2690 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2691 It needs to be invoked before libgcrypt is initialized.
2693 ** gnutls-cli: Return non-zero exit code on error conditions.
2695 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2697 ** API and ABI modifications:
2698 No changes since last version.
2700 * Version 2.6.2 (released 2008-11-12)
2702 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2703 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2704 problem for certificate chains that contained just one self-signed
2705 certificate.  Reported by Michael Meskes <meskes@debian.org> in
2706 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2708 ** API and ABI modifications:
2709 No changes since last version.
2711 * Version 2.6.1 (released 2008-11-10)
2713 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2714 The flaw makes it possible for man in the middle attackers (i.e.,
2715 active attackers) to assume any name and trick GnuTLS clients into
2716 trusting that name.  Thanks for report and analysis from Martin von
2717 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2719 Any updates with more details about this vulnerability will be added
2720 to <http://www.gnu.org/software/gnutls/security.html>
2722 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2723 Reported by Kevin Quick <quick@sparq.org> in
2724 <https://savannah.gnu.org/support/index.php?106454>.
2726 ** libgnutls-extra: Protect internal symbols with static.
2727 Fixes problem when linking certtool statically.  Tiny patch from Aaron
2728 Ucko <ucko@ncbi.nlm.nih.gov>.
2730 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
2731 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
2732 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
2734 ** certtool: Print a PKCS #8 key even if it is not encrypted.
2736 ** tests: Make tests compile when using internal libtasn1.
2737 Patch by ludo@gnu.org (Ludovic Courtès).
2739 ** API and ABI modifications:
2740 No changes since last version.
2742 * Version 2.6.0 (released 2008-10-06)
2744 ** libgnutls: Correct printing and parsing of IPv6 addresses.
2746 ** libgnutls-openssl: fix out of bounds access.
2747 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
2748 from Thomas Viehmann <tv@beamnet.de>.
2750 ** certtool: Use inet_pton for parsing IPv6 addresses.
2752 ** Major changes compared to the v2.4 branch:
2754 *** Added API to replace and update the crypto backend.
2756 *** certtool: can add several subject alternative names via template file.
2758 *** opencdk: Parse (but not decrypt) encrypted secret keys.
2760 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2761 either set or append alternative names. It can also handle binary structures
2762 such as IP addresses.
2764 *** libgnutls: New function to set minimum acceptable SRP bits.
2765 The function is gnutls_srp_set_prime_bits.
2767 *** libgnutls: Add interface to deal with public key and signature algorithms.
2768 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2769 gnutls_sign_list, and gnutls_sign_get_id.
2771 *** libgnutls: New interfaces to get name of public key and signing algorithms.
2772 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2774 *** libgnutls: New API to get a string corresponding to a error symbol.
2775 The function is gnutls_strerror_name.
2777 *** libgnutls: New API to set the public parameters in a certificate request
2778 *** from a private key.
2779 The function is gnutls_x509_crq_set_key_rsa_raw.
2781 *** libgnutls: New API to set a callback to extract TLS Finished data.
2782 The function to register is gnutls_session_set_finished_function and
2783 it takes a callback of the gnutls_finished_callback_func type.
2785 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
2787 *** libgnutls: New interface to register a new TLS extension handler.
2788 The new function gnutls_ext_register can be used to register handlers
2789 for specific TLS extension types.  The callback functions have the new
2790 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
2791 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
2792 well.
2794 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
2795 The function is gnutls_register_md5_handler.  When libgcrypt is in
2796 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
2797 the PRF.
2799 *** API/ABI changes in GnuTLS 2.6
2800 No functions have been removed or modified.  The library should be
2801 fully backwards compatible on both the source and binary level.
2803 A new header file <gnutls/crypto.h> have been added.  It contains
2804 definitions related to replacing the internal crypto functionality.
2805 All definitions and the header itself is experimental but supported.
2807 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
2808 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
2809 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
2811 The following functions have been added to libgnutls:
2813 GNUTLS_MASTER_SIZE
2814 GNUTLS_RANDOM_SIZE
2815 gnutls_crypto_bigint_register2
2816 gnutls_crypto_cipher_register2
2817 gnutls_crypto_digest_register2
2818 gnutls_crypto_mac_register2
2819 gnutls_crypto_pk_register2
2820 gnutls_crypto_rnd_register2
2821 gnutls_crypto_single_cipher_register2
2822 gnutls_crypto_single_digest_register2
2823 gnutls_crypto_single_mac_register2
2824 gnutls_ext_register
2825 gnutls_pk_get_id
2826 gnutls_pk_get_name
2827 gnutls_pk_list
2828 gnutls_session_set_finished_function
2829 gnutls_sign_get_id
2830 gnutls_sign_get_name
2831 gnutls_sign_list
2832 gnutls_srp_set_prime_bits:
2833 gnutls_strerror_name
2834 gnutls_x509_crq_set_key_rsa_raw
2835 gnutls_x509_crt_set_crl_dist_points2
2836 gnutls_x509_crt_set_subject_alt_name
2838 The following functions have been added to libgnutls-extra:
2840 gnutls_register_md5_handler
2842 ** API and ABI modifications:
2843 No changes since last version.
2845 * Version 2.5.9 (released 2008-09-29)
2847 ** libgnutls: Fix several memory leaks.
2848 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2850 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
2851 Report and patch by Jonathan Manktelow.
2853 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
2854 The parameters are now allocated in the structure itself.
2856 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
2858 ** tests: Scripts now use EXEEXT properly.
2859 Modern libtool doesn't create wrapper script, so the self tests need
2860 to invoke certtool.exe under MinGW32+Wine.
2862 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
2863 Automake warnings are now also enabled.
2865 ** API and ABI modifications:
2866 gnutls_pk_params_st: MODIFIED
2868 * Version 2.5.8 (released 2008-09-21)
2870 ** certtool: updated so it can add several subject alternative names using
2871 the template file.
2873 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2874 either set or append alternative names. It can also handle binary structures
2875 such as IP addresses.
2877 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
2879 ** libgnutls: New function to set minimum acceptable SRP bits.
2880 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
2881 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
2883 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
2884 Also fix overflows in calls to those functions.  Reported by Werner
2885 Koch <wk@gnupg.org>.
2887 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
2888 The function is gnutls_register_md5_handler.  When libgcrypt is in
2889 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
2890 the PRF.
2892 ** Opencdk: Add calls to gnutls_assert to ease debugging.
2894 ** Indent code.
2896 ** API and ABI modifications:
2897 gnutls_srp_set_prime_bits: ADDED
2898 gnutls_register_md5_handler: ADDED
2899 gnutls_x509_crt_set_crl_dist_points2: ADDED
2900 gnutls_x509_crt_set_subject_alt_name: ADDED
2902 * Version 2.5.7 (released 2008-09-16)
2904 ** libgnutls: New interfaces to get name of public key and signing algorithms.
2905 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2907 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
2909 ** libgnutls: Fix libgnutls shared library version.
2910 It wasn't properly incremented after adding symbols in the last
2911 release.
2913 ** manual: Now mention supported public key and public key signing algorithms.
2915 ** tests/openssl: initialize gnutls before use.
2917 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
2919 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
2921 ** API and ABI modifications:
2922 gnutls_sign_get_name: ADDED
2923 gnutls_pk_get_name: ADDED
2925 * Version 2.5.6 (released 2008-09-08)
2927 ** libgnutls: Add interface to deal with public key and signature algorithms.
2928 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2929 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
2930 Varshavchik <mrsam@courier-mta.com>.
2932 ** libgnutls: Refactor and clean up some code.
2934 ** libgnutls: Fix compile error with Sun CC.
2936 ** gnutls-cli: Improve --list output to include public key and signature algs.
2938 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
2939 Use standard --version to get license info.
2941 ** gnutls-cli.1: Document all new parameters.
2942 Thanks to James Westby <jw+debian@jameswestby.net>.
2944 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
2945 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2947 ** API and ABI modifications:
2948 gnutls_pk_list: ADDED
2949 gnutls_pk_get_id: ADDED
2950 gnutls_sign_list: ADDED
2951 gnutls_sign_get_id: ADDED
2953 * Version 2.5.5 (released 2008-08-29)
2955 ** libgnutls: New API to get a string corresponding to a error symbol.
2956 The function is gnutls_strerror_name.
2958 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
2959 Reported by "jth.net ApS" <info@jth.net>.
2961 ** libgnutls: Fix segmentation fault when generating private keys.
2962 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2964 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
2965 The code has not worked since v0.9.0 and apparently nobody has missed
2966 it, so we decided to remove the code rather than fix it.  If you have
2967 old certificate chains stored in PKCS#7 format, you can convert them
2968 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
2969 by Christian Grothoff <christian@grothoff.org>.
2971 ** opencdk: Parse (but not decrypt) encrypted secret keys.
2972 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2974 ** libgnutls: Fix many warnings.
2976 ** Included copy of libtasn1 is upgraded to version 1.5.
2978 ** Add French translation, thanks to Nicolas Provost.
2980 ** API and ABI modifications:
2981 gnutls_strerror_name: ADDED
2983 * Version 2.5.4 (released 2008-08-19)
2985 ** Fix secure memory initialization of libgcrypt.
2986 Reported by Joe Orton <joe@manyfish.co.uk> in
2987 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
2989 ** Doc fixes.
2990 Reference to NIST SP 800-57 in the manual on key size recommendations.
2991 Added 'Since:' tags to new APIs for gtk-doc.
2993 ** API and ABI modifications:
2994 No changes since last version.
2996 * Version 2.5.3 (released 2008-08-14)
2998 ** libgnutls: New API to set the public parameters in a certificate request
2999 ** from a private key.
3000 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
3001 discussion with "Zach C." <fxchip@gmail.com>.
3003 ** libgnutls: New API to set a callback to extract TLS Finished data.
3004 The function to register is gnutls_session_set_finished_function and
3005 it takes a callback of the gnutls_finished_callback_func type.
3007 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
3008 Reported in <https://savannah.gnu.org/support/?106453>.
3010 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
3011 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
3012 names are mapped to the new names in compat.h.  These mappings will
3013 likely be removed more quickly than other mappings in that file due to
3014 the namespace violation.
3016 ** libgnutlsxx: Make it build when SRP is disabled.
3018 ** doc: Add doxygen files in doc/doxygen/.
3020 ** API and ABI modifications:
3021 gnutls_x509_crq_set_key_rsa_raw: ADDED
3022 gnutls_session_set_finished_function: ADDED
3023 gnutls_finished_callback_func: ADDED
3024 GNUTLS_MASTER_SIZE: ADDED
3025 GNUTLS_RANDOM_SIZE: ADDED
3026 TLS_MASTER_SIZE: DEPRECATED
3027 TLS_RANDOM_SIZE: DEPRECATED
3029 * Version 2.5.2 (released 2008-07-08)
3031 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
3032 The prime and generator was swapped.
3034 ** libgnutls: New interface to register a new TLS extension handler.
3035 The new function gnutls_ext_register can be used to register handlers
3036 for specific TLS extension types.  The callback functions have the new
3037 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
3038 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
3039 well.
3041 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
3042 This was made possible by using the new gnutls_ext_register interface.
3043 The TLS/IA functionality has only been supported through the
3044 libgnutls-extra library, so it makes sense for the code to belong
3045 there too.
3047 ** API and ABI modifications:
3048 gnutls_ext_recv_func: ADDED
3049 gnutls_ext_send_func: ADDED
3050 gnutls_ext_parse_type_t: ADDED
3051 gnutls_ext_register: ADDED
3053 * Version 2.5.1 (released 2008-07-02)
3055 ** Indent code.
3057 ** API and ABI modifications:
3058 No changes since last version.
3060 * Version 2.5.0 (released 2008-07-02)
3062 ** Port fixes from v2.4.1 release, see below.
3064 ** Added API to replace and update the crypto backend.
3065 The header gnutls/crypto.h is now officially supported, and declares
3066 the symbols below.
3068 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
3070 ** Update gnulib and translations.
3071 The gnulib gc crypto code has been removed since it was never finished
3072 and is no longer even used.  An internal non-libgcrypt crypto
3073 implementation may be added in the future, but we'll decide that later
3076 ** API and ABI modifications:
3077 gnutls_crypto_bigint_register2: ADDED.
3078 gnutls_crypto_cipher_register2: ADDED.
3079 gnutls_crypto_digest_register2: ADDED.
3080 gnutls_crypto_mac_register2: ADDED.
3081 gnutls_crypto_pk_register2: ADDED.
3082 gnutls_crypto_rnd_register2: ADDED.
3083 gnutls_crypto_single_cipher_register2: ADDED.
3084 gnutls_crypto_single_digest_register2: ADDED.
3085 gnutls_crypto_single_mac_register2: ADDED.
3087 * Version 2.4.3 (released 2009-02-06)
3089 ** libgnutls: Accept chains where intermediary certs are trusted.
3090 Before GnuTLS needed to validate the entire chain back to a
3091 self-signed certificate.  GnuTLS will now stop looking when it has
3092 found an intermediary trusted certificate.  The new behaviour is
3093 useful when chains, for example, contains a top-level CA, an
3094 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3095 To avoid chain validation errors due to the RSA-MD5 cert, you can
3096 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3097 The signature on trusted certificates are not checked, so the chain
3098 has a chance to validate correctly.  Reported by "Douglas E. Engert"
3099 <deengert@anl.gov> in
3100 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3102 ** libgnutls: Permit V1 Certificate Authorities properly.
3103 Before they were mistakenly rejected even though
3104 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3105 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
3106 "Douglas E. Engert" <deengert@anl.gov> in
3107 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3109 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3110 This is a bugfix -- the previous attempt to do this from internal x509
3111 certificate verification procedures did not return the correct value
3112 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
3113 <dkg@fifthhorseman.net> in
3114 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3115 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3116 Gillmor <dkg@fifthhorseman.net>.
3118 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3119 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3120 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3121 Andreas Metzler <ametzler@downhill.at.eu.org> in
3122 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3124 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3125 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3126 problem for certificate chains that contained just one self-signed
3127 certificate.  Reported by Michael Meskes <meskes@debian.org> in
3128 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3130 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3131 The flaw makes it possible for man in the middle attackers (i.e.,
3132 active attackers) to assume any name and trick GnuTLS clients into
3133 trusting that name.  Thanks for report and analysis from Martin von
3134 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
3136 Any updates with more details about this vulnerability will be added
3137 to <http://www.gnu.org/software/gnutls/security.html>
3139 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
3140 Report and patch by Jonathan Manktelow.
3142 ** libgnutls: Avoid use of non-thread safe strerror.
3144 ** API and ABI modifications:
3145 No changes since last version.
3147 * Version 2.4.2 (released 2008-09-15)
3149 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
3151 ** libgnutls: Corrected memory leak in X.509 functions.
3152 Thanks to Colin Leroy <colin@colino.net>.
3154 ** libgnutls: Fix compile error with Sun CC.
3156 ** gnutls-cli.1: Document all new parameters.
3157 Thanks to James Westby <jw+debian@jameswestby.net>.
3159 ** tests/openssl: initialize gnutls before use.
3160 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
3161 <ludovic.courtes@laas.fr>.
3163 ** doc/: Fix texinfo markup for old texinfo versions.
3165 ** Included copy of libtasn1 is upgraded to version 1.5.
3167 ** API and ABI modifications:
3168 No changes since last version.
3170 * Version 2.4.1 (released 2008-06-30)
3172 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
3173 If the gnutls_handshake function is called for a normal session, which
3174 can happen for re-handshakes, the library would crash because it tried
3175 to hash some data using a libgcrypt handle that had been deallocated.
3176 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
3177 with more details about this vulnerability will be added to
3178 <http://www.gnu.org/software/gnutls/security.html>
3180 ** libgnutls: Fix memory leaks when doing a re-handshake.
3181 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
3182 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
3184 ** Fix compiler warnings.
3185 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3186 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
3188 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
3189 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3190 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
3192 ** srptool: Fix a problem where --verify check does not succeed.
3193 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
3194 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
3196 ** API and ABI modifications:
3197 No changes since last version.
3199 * Version 2.4.0 (released 2008-06-19)
3201 ** Major changes compared to the v2.2 branch:
3203 *** The OpenPGP sub-system has been improved and now supports subkeys.
3205 *** The PSK sub-system has been improved and now supports password
3206 *** derivation and PSK identity hints.
3207 The password derivation algorithms support is documented in
3208 draft-ietf-netconf-tls-02.txt.
3210 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
3211 This aligns terminology with OpenPGP, which doesn't use DER encoding.
3212 The old parameters will continue to work for some time.
3214 *** Certtool now confirm passwords and changes permissions of private key files.
3216 *** The default handshake size limit has been increased to 48kb.
3217 It appears as if some valid handshakes are large due to sending many
3218 CA certificates.  (The earlier limit was 16kb.)
3220 *** LZO compression is now disabled by default.
3221 The main reason is that LZO compression in TLS is not standardized,
3222 but license compatiblity issues with minilzo triggered us to make this
3223 decision now.
3225 *** Improvements for cross-compilation to Windows and OpenWRT.
3227 *** The look of the GTK-DOC manual has been improved.
3228 Major developer visible changes compared to the v2.2 branch:
3230 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
3232 *** New APIs to access the raw X.509 Subject and Issuer DN's and
3233 *** elements from the certificate credentials structure.
3234 Thanks to Joe Orton.
3236 *** New APIs to improve working with username/passwords and PSK.
3238 *** Names of constants to affect certificate printing changed.
3239 The constants are used for OpenPGP too, which the names didn't
3240 reflect, so the following name change has been made:
3242             Old name                         New name
3243      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
3244      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
3245      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
3247 The old names will be mapped to the new names for some time.
3249 *** The function gnutls_openpgp_privkey_get_id has been renamed to
3250 *** gnutls_openpgp_privkey_get_key_id.
3251 A compatibility mapping exists to avoid breaking API backwards
3252 compatibility.
3254 *** Replaced all uses of alloca with malloc and free.
3256 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
3257 We have been unable to find a documented rationale for this practice.
3259 *** Of course, many smaller fixes have been made, see the ChangeLog file.
3261 *** API/ABI changes in GnuTLS 2.4
3262 All OpenPGP related functions have been moved from libgnutls-extra to
3263 libgnutls, and several new functions have been added (see below).
3264 Before making the release, we discussed whether moving functions from
3265 libgnutls-extra to libgnutls would require us to increment the ABI
3266 version, but the general opinion was that this would not be required.
3267 All older functions continue to work the same.  We are open to the
3268 possibility that this decision will lead to problem on some platform,
3269 and if it turns out that the Right Thing should have been to increment
3270 the shared library version, we would need to release an update within
3271 the 2.4.x branch that increments the shared library version.
3273 This release adds the following functions:
3275   gnutls_psk_client_get_hint
3276   gnutls_psk_set_server_credentials_hint
3277   gnutls_psk_netconf_derive_key
3279     Used to get/set the PSK identity hint, and derive PSK keys from
3280     passwords a'la netconf.
3282   gnutls_x509_dn_deinit
3283   gnutls_x509_dn_export
3284   gnutls_x509_dn_import
3285   gnutls_x509_dn_init
3287     Used to handle X.509 Certificate DN's directly.
3289   gnutls_hex2bin
3291     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
3292     secrets.
3294   gnutls_certificate_get_x509_cas
3295   gnutls_certificate_get_x509_crls
3296   gnutls_certificate_get_openpgp_keyring
3298     Functions for direct access to credential elements.
3300   gnutls_openpgp_crt_get_auth_subkey
3301   gnutls_openpgp_crt_get_key_id
3302   gnutls_openpgp_crt_get_pk_dsa_raw
3303   gnutls_openpgp_crt_get_pk_rsa_raw
3304   gnutls_openpgp_crt_get_preferred_key_id
3305   gnutls_openpgp_crt_get_revoked_status
3306   gnutls_openpgp_crt_get_subkey_count
3307   gnutls_openpgp_crt_get_subkey_creation_time
3308   gnutls_openpgp_crt_get_subkey_expiration_time
3309   gnutls_openpgp_crt_get_subkey_fingerprint
3310   gnutls_openpgp_crt_get_subkey_id
3311   gnutls_openpgp_crt_get_subkey_idx
3312   gnutls_openpgp_crt_get_subkey_pk_algorithm
3313   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
3314   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
3315   gnutls_openpgp_crt_get_subkey_revoked_status
3316   gnutls_openpgp_crt_get_subkey_usage
3317   gnutls_openpgp_crt_print
3318   gnutls_openpgp_crt_set_preferred_key_id
3319   gnutls_openpgp_keyring_get_crt
3320   gnutls_openpgp_keyring_get_crt_count
3321   gnutls_openpgp_privkey_export
3322   gnutls_openpgp_privkey_export_dsa_raw
3323   gnutls_openpgp_privkey_export_rsa_raw
3324   gnutls_openpgp_privkey_export_subkey_dsa_raw
3325   gnutls_openpgp_privkey_export_subkey_rsa_raw
3326   gnutls_openpgp_privkey_get_fingerprint
3327   gnutls_openpgp_privkey_get_key_id
3328   gnutls_openpgp_privkey_get_pk_algorithm
3329   gnutls_openpgp_privkey_get_preferred_key_id
3330   gnutls_openpgp_privkey_get_revoked_status
3331   gnutls_openpgp_privkey_get_subkey_count
3332   gnutls_openpgp_privkey_get_subkey_creation_time
3333   gnutls_openpgp_privkey_get_subkey_expiration_time
3334   gnutls_openpgp_privkey_get_subkey_fingerprint
3335   gnutls_openpgp_privkey_get_subkey_id
3336   gnutls_openpgp_privkey_get_subkey_idx
3337   gnutls_openpgp_privkey_get_subkey_pk_algorithm
3338   gnutls_openpgp_privkey_get_subkey_revoked_status
3339   gnutls_openpgp_privkey_set_preferred_key_id
3341     New OpenPGP related functions.
3343     The function gnutls_openpgp_crt_get_key_id is the same as the old
3344     from gnutls_openpgp_crt_get_id, see above.
3346 The release also adds a new header file 'gnutls/crypto.h', however it
3347 is currently not used.
3349 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
3350 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3352 ** API and ABI modifications:
3353 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
3354 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
3356 * Version 2.3.15 (released 2008-06-15)
3358 ** Disable the openpgp-certs self-tests.
3359 It results in failure under Wine and doesn't work on Debian buildds.
3361 ** API and ABI modifications:
3362 No changes since last version.
3364 * Version 2.3.14 (released 2008-06-11)
3366 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
3367 An OpenPGP certificate is now only considered verified if all the user
3368 IDs are verified.
3370 ** Examples: Make C++ example compile.
3371 Earlier it may have failed with an unresolved reference to strlen.
3373 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
3374 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
3376 ** API and ABI modifications:
3377 No changes since last version.
3379 * Version 2.3.13 (released 2008-06-07)
3381 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
3383 ** doc/: Add psktool to info index.  Some minor cleanups.
3385 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
3387 ** tests/: Added libgcrypt.supp which can be used with valgrind.
3388 The file suppresses the known libgcrypt memory leaks, so they aren't
3389 printed when you run valgrind on the gnutls self-tests.  Use it as
3390 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
3391 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
3392 ~/.valgrindrc file.
3394 ** tests/: Reduce amount of debugging output by default.
3395 Use --verbose for each test to get the full output.
3397 ** tests/: Fix memory leaks in several self-tests.
3398 None of the self tests should be leaking memory when running valgrind
3399 or similar tools.  (Known exceptions are dhepskself, pskself, and
3400 set_pkcs12_cred, which appear likely to be due to memory leaks in the
3401 library.)
3403 ** API and ABI modifications:
3404 No changes since last version.
3406 * Version 2.3.12 (released 2008-06-04)
3408 ** Merge gnutls_with_netconf branch.
3410 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
3411 The function is gnutls_psk_client_get_hint.
3413 *** libgnutls [PSK]: New API to set PSK identity hint in server.
3414 The function is gnutls_psk_set_server_credentials_hint.
3416 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
3417 In the client, the message is parsed and the application can use
3418 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
3419 message is sent if the application has specified a PSK identity hint
3420 using gnutls_psk_set_server_credentials_hint.
3422 *** libgnutls [PSK]: Support Netconf PSK key derivation.
3423 The function gnutls_psk_netconf_derive_key supports the PSK key
3424 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
3425 test netconf-psk.c.
3427 *** psktool: Support new --netconf-hint to generate PSK key from password.
3428 Uses the Netconf algorithm to derive PSK key from password.
3430 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
3432 *** gnutls-cli: Always support PSK modes, through a callback.
3433 The callback will derive a PSK key using Netconf algorithm.  It will
3434 print the PSK identity hint to help the user.
3436 *** New PSK example client and server.
3437 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
3439 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
3440 The code didn't work properly on platforms where 'char' is unsigned,
3441 when you set version 0.  Reported by Laurence Withers
3442 <l@lwithers.me.uk> in
3443 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
3445 ** libgnutls-openssl: added RAND_pseudo_bytes API.
3446 Patch from Robert Millan <rmh@aybabtu.com>.
3448 ** API and ABI modifications:
3449 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
3450 gnutls_psk_client_get_hint: ADDED.
3451 gnutls_psk_set_server_credentials_hint: ADDED.
3452 gnutls_psk_netconf_derive_key: ADDED
3454 * Version 2.3.11 (released 2008-05-20)
3456 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
3457 The flaw would result in incorrectly terminated sessions with the
3458 error "Decryption has failed" when the server sends a small packet
3459 (typically when the session is closed).  Reported by Andreas Metzler
3460 <ametzler@downhill.at.eu.org> in
3461 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
3463 ** Don't use gnulib headers when building C++ library.
3464 Fixes builds under Windows.
3466 ** Make umask a requirement.
3467 We don't know of any system that lacks it, even GNU CoreUtils use it
3468 unconditionally.
3470 ** Update gnulib files.
3471 Fixes a problem where it pulled in a replacement for memcmp under
3472 MinGW, which caused the C++ example to fail to build.
3474 ** API and ABI modifications:
3475 No changes since last version.
3477 * Version 2.3.10 (released 2008-05-19)
3479 ** Added wide wildcard hostname matching.
3480 Tiny patch by Jean-Philippe Garcia Ballester.
3482 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
3483 Thanks to CERT-FI for finding the bugs and providing detailed reports,
3484 which allowed the bugs to be reproduced and fixed easily.  Patches
3485 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
3486 with more details about these vulnerabilities will be added to
3487 <http://www.gnu.org/software/gnutls/security.html>
3489 *** [GNUTLS-SA-2008-1-1]
3490 *** libgnutls: Fix crash when sending invalid server name.
3491 The crash can be triggered remotely before authentication, which can
3492 lead to a Daniel of Service attack to disable the server.  The bug
3493 cause gnutls to store more session resumption data than what was
3494 allocated for, thus overwriting unallocated memory.
3496 *** [GNUTLS-SA-2008-1-2]
3497 *** libgnutls: Fix crash when sending repeated client hellos.
3498 The crash can be triggered remotely before authentication, which can
3499 lead to a Daniel of Service attack to disable the server.  The bug
3500 triggers a null-pointer dereference.
3502 *** [GNUTLS-SA-2008-1-3]
3503 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
3504 The crash can be triggered remotely before authentication, which can
3505 lead to a Daniel of Service attack to disable the server.  The bug
3506 cause gnutls to read memory beyond the end of the received record.
3508 ** libgnutlsxx: Updated API according to patches from Eduardo 
3509 Villanueva Che (discussion at
3510 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
3512 ** Use umask to restrict permissions to owner before creating a file.
3514 ** API and ABI modifications:
3515 No changes since last version.
3517 * Version 2.3.9 (released 2008-05-16)
3519 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
3520 Based on report and tiny patches from
3521 <jared.jennings.ctr@eglin.af.mil>, see
3522 <https://savannah.gnu.org/support/index.php?106342>.
3524 ** libgnutls: Translation fixes.
3526 ** gnutls-cli: Fix so that PSK authentication works.
3527 Also improve manual to give example for gnutls-cli PSK authentication.
3529 ** certtool: Encrypting a private key now require a confirmed password.
3530 Before './certtool -k -8' would merely ask for a password once.
3531 Reported by Daniel 'NebuchadnezzaR' Dehennin
3532 <nebuchadnezzar@asgardr.info> see
3533 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
3535 ** certtool: When writing private keys to files, change permissions of file.
3536 Now the file which the private key is saved to is chmod'ed 0600.
3537 Reported by martin f krafft <madduck@debian.org> see
3538 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
3540 ** guile: Fix -fgnu89-inline test.
3542 ** Removed --enable-profile-mode.
3543 The code linked gnutls with the libfc project (Function Check) which
3544 appears to have been stalled since around 2002.
3546 ** Clean up header file checks by ./configure.
3548 ** Update of gnulib files.
3550 ** API and ABI modifications:
3551 No changes since last version.
3553 * Version 2.3.8 (released 2008-04-29)
3555 ** libgnutls: Increase default handshake packet size limit to 48kb.
3556 The old limit was 16kb and some servers send huge list of trusted CAs,
3557 thus running into the limit.  FYI, applications can further increase
3558 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
3559 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3560 <marc@mclemente.net> for reporting and providing test servers.
3562 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
3563 Returned when the handshake data size is too large.  Before
3564 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
3565 error situations.
3567 ** libgnutls: Hide definitions in crypto.h.
3568 We have decided that the APIs defined in crypto.h are not stable
3569 enough for v2.4, so don't use any of those functions.
3571 ** gnutls-cli: exit when hostname doesn't match certificate.
3572 Use --insecure to avoid hostname comparison.
3574 ** certtool: --inder and --outder replaced by --inraw and --outraw.
3575 The reason is to align terminology with OpenPGP, which doesn't use
3576 DER.  The old parameters will continue to work for some time.
3578 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
3580 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
3582 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
3583 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
3584 vasprintf symbol from the libgcrypt library which caused problems.
3586 ** Update of gnulib files.
3588 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
3590 ** API and ABI modifications:
3591 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
3593 * Version 2.3.7 (released 2008-04-21)
3595 ** opencdk now properly sets the key usage bits into openpgp keys.
3597 ** gnutls-cli: Fix crash on TLS handshake failures.
3598 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
3599 This is similar to <http://bugs.debian.org/429183>.
3601 ** certtool: with --generate-request and newly generated keys, print the key.
3603 ** Build fixes for MinGW.
3604 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
3605 with -lws2_32 when needed.  Use ASCII only isprint() when printing
3606 X.509 certificate information, to avoid non-ASCII but printable
3607 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
3608 reports.
3610 ** Update internal copy of libtasn1 to version 1.4.
3612 ** API and ABI modifications:
3613 No changes since last version.
3615 * Version 2.3.6 (released 2008-04-17)
3617 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
3618 ** Improve documentation for gnutls_x509_crq_sign2.
3619 Based on report from "John Brooks" <aspecialj@gmail.com> in
3620 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
3622 ** tests/pathlen: run diff without parameters to improve portability.
3623 Based on HPUX build hints in
3624 <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>.
3626 ** Don't use %e specifier with strftime, it doesn't work under Windows.
3627 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3628 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
3630 ** Remove all uses of gnutls_alloca/gnutls_afree.
3631 Use normal gnutls_malloc instead.  One reason is increased portability
3632 to Windows, the other is that several of the uses may be unsafe
3633 because the size of data allocated could be large.  Reported by
3634 Massimo Gaspari <massimo.gaspari@alice.it> in
3635 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
3637 ** Build Guile code with -fgnu89-inline only when supported.
3638 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
3639 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
3641 ** Several GTK-DOC related fixes.
3643 ** Clean up OpenCDK related code.
3644 GnuTLS now requires its internal OpenCDK code rather than the external
3645 GPL library OpenCDK.  Unfortunately, we don't have resources to
3646 maintain an external library (help welcome).
3648 ** API and ABI modifications:
3649 No changes since last version.
3651 * Version 2.3.5 (released 2008-04-14)
3653 ** Build fix for MinGW and --disable-shared.
3654 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3655 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
3657 ** Document how to generate CRLs.
3658 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
3660 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3662 ** Several minor fixes in the OpenPGP interface.
3663 Thanks to Daniel Kahn Gillmor.
3665 ** Fix fopen file descriptor leak in PSK server code.
3666 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3667 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3669 ** Translations files not stored directly in git to avoid merge conflicts.
3671 ** New APIs to let applications replace the RNG used.
3672 Update all RNG callers in the code to use the new interface.
3674 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
3676 ** Update gnulib files.
3678 ** API and ABI modifications:
3679 gnutls_crypto_rnd_register: ADDED
3680 gnutls_rnd_level_t: ADDED
3681 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
3682 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
3683 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
3684 gnutls_crypto_rnd_st: ADDED
3685 GNUTLS_DIG_SHA224: ADDED
3686 GNUTLS_SIGN_RSA_SHA224: ADDED
3687 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
3689 * Version 2.3.4 (released 2008-03-19)
3691 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
3692 They weren't renamed in the public header file.
3694 ** Added functions to register a cipher/mac/digest. This allows to 
3695 override the included ones.
3697 ** Fix a bunch of compiler warnings.
3699 ** API and ABI modifications:
3700 gnutls_crypto_cipher_st: ADDED
3701 gnutls_crypto_mac_st: ADDED
3702 gnutls_crypto_digest_st: ADDED
3703 gnutls_crypto_cipher_register: ADDED
3704 gnutls_crypto_mac_register: ADDED
3705 gnutls_crypto_digest_register: ADDED
3706 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
3708 * Version 2.3.3 (released 2008-03-10)
3710 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
3711 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3713 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
3714 We could not find any modern justification for enabling these flags by
3715 default.  If you know of some platform that needs one of the flags to
3716 work properly, please let us know.  (Actually introduced in v2.3.0 but
3717 not documented until now.)
3719 ** Importing many CA certificates are now considerably faster.
3720 This affect gnutls_certificate_set_x509_trust_mem,
3721 gnutls_certificate_set_x509_trust, and
3722 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
3723 from O(2*n^2) to O(n).  When adding 206 files containing 408
3724 certificates, using gnutls_certificate_set_x509_trust_file, the time
3725 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
3726 to trigger the problem.  See also
3727 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
3729 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
3730 ** to be explicit that it takes zero terminated data.
3732 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
3734 ** Documentation fixes for the GTK-DOC manual.
3736 ** Fix compilation error related to __FUNCTION__ on some systems.
3737 Reported by Tim Mooney, see
3738 <https://savannah.gnu.org/support/?106267>.
3740 ** Updated translations.
3742 ** Update gnulib files.
3744 ** API and ABI modifications:
3745 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
3746                 and char* instead of void* for output buffer.
3748 * Version 2.3.2 (released 2008-02-26)
3750 ** Fix srcdir!=objdir failure in openpgpself test.
3752 ** Improved API documentation output from GTK-DOC.
3754 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
3756 ** Renamed gnutls_certificate_export_x509_cas and friends.
3757 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
3759 ** Internal header files cleanup.
3761 ** API and ABI modifications:
3762 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
3763 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
3764 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
3765 gnutls_x509_dn_export: ADDED
3767 * Version 2.3.1 (released 2008-02-21)
3769 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
3770 The included copy of OpenCDK has been stripped down and re-licensed
3771 under the LGPL.
3773 ** Cipher priority string handling now handle strings that starts with NULL.
3774 Thanks to Laurence Withers <l@lwithers.me.uk>.
3776 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
3778 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3779 by Daniel Stenberg.
3781 ** Increased the default certificate verification chain limits and allowed
3782 for checks without limitation.
3784 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3785 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3786 strings and return the proper size.
3788 ** Add section 'On Record Padding' to the manual.
3789 This collects all problems related to record padding with
3790 Nokia/Sony-Ericsson phones that we know about.
3792 ** Several improvements in the OpenPGP authentication.
3793 Now subkeys can be used for authentication, according to
3794 draft-mavrogiannopoulos-rfc5081bis-00.txt.
3796 ** certtool can print information on OpenPGP certificates and keys.
3798 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
3799 Patch by Joe Orton.
3801 ** Added gnutls_certificate_export_x509_cas and other functions to
3802 export elements from the certificate credentials structure.  Based on
3803 suggestion from Joe Orton.
3805 ** Doc fixes.
3806 Clarify that srp_base64 is not the same as normal base64.
3808 ** Fix non-portable use of brace expansion in makefiles.
3810 ** API and ABI modifications:
3811 gnutls_certificate_export_x509_cas: ADDED
3812 gnutls_certificate_export_x509_crls: ADDED
3813 gnutls_certificate_export_openpgp_keyring: ADDED
3814 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
3815 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
3816 gnutls_openpgp_crt_get_revoked_status: ADDED
3817 gnutls_openpgp_crt_get_subkey_count: ADDED
3818 gnutls_openpgp_crt_get_subkey_idx: ADDED
3819 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
3820 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
3821 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
3822 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
3823 gnutls_openpgp_crt_get_subkey_id: ADDED
3824 gnutls_openpgp_crt_get_subkey_usage: ADDED
3825 gnutls_openpgp_privkey_get_fingerprint: ADDED
3826 gnutls_openpgp_privkey_get_key_id: ADDED
3827 gnutls_openpgp_privkey_get_subkey_count: ADDED
3828 gnutls_openpgp_privkey_get_subkey_idx: ADDED
3829 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
3830 gnutls_openpgp_privkey_get_revoked_status: ADDED
3831 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
3832 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
3833 gnutls_openpgp_privkey_get_subkey_id: ADDED
3834 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
3835 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
3836 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
3837 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
3838 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
3839 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
3840 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
3841 gnutls_openpgp_privkey_export_dsa_raw: ADDED
3842 gnutls_openpgp_privkey_export_rsa_raw: ADDED
3843 gnutls_openpgp_privkey_export: ADDED
3844 gnutls_certificate_set_openpgp_key_file2: ADDED
3845 gnutls_certificate_set_openpgp_key_mem2: ADDED
3846 gnutls_x509_dn_init: ADDED
3847 gnutls_x509_dn_import: ADDED
3848 gnutls_x509_dn_deinit: ADDED
3849 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
3850 gnutls_hex2bin: ADDED
3851 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
3852 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
3853 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
3854                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
3856 * Version 2.3.0 (released 2008-01-08)
3858 ** LZO compression is now disabled by default.
3859 The reason is that LZO compression is not standardized in TLS.  If you
3860 wish to experiment with it, you will have to supply --with-lzo when
3861 invoking ./configure.  The internal copy of minilzo is no longer
3862 included with GnuTLS, so you will need to install liblzo or liblzo2 on
3863 your system to have --with-lzo to be effective.
3865 ** More than one server name field is now sent to the server properly.
3866 Thanks to mark.phillips@virgin.net.
3868 ** Fixes the post_client_hello_function(). The extensions are now parsed
3869 in a callback friendly way.
3871 ** Fix for certificate selection in servers with certificate callbacks.
3873 ** Updated translations.
3875 ** Update gnulib files.
3877 ** API and ABI modifications:
3878 No changes since last version.
3880 * Version 2.2.5 (released 2008-05-19)
3882 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
3883 The flaw would result in incorrectly terminated sessions with the
3884 error "Decryption has failed" when the server sends a small packet
3885 (typically when the session is closed).  Reported by Andreas Metzler
3886 <ametzler@downhill.at.eu.org> in
3887 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
3889 ** API and ABI modifications:
3890 No changes since last version.
3892 * Version 2.2.4 (released 2008-05-19)
3894 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
3895 Thanks to CERT-FI for finding the bugs and providing detailed reports,
3896 which allowed the bugs to be reproduced and fixed easily.  Patches
3897 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
3898 with more details about these vulnerabilities will be added to
3899 <http://www.gnu.org/software/gnutls/security.html>
3901 *** [GNUTLS-SA-2008-1-1]
3902 *** libgnutls: Fix crash when sending invalid server name.
3903 The crash can be triggered remotely before authentication, which can
3904 lead to a Daniel of Service attack to disable the server.  The bug
3905 cause gnutls to store more session resumption data than what was
3906 allocated for, thus overwriting unallocated memory.
3908 *** [GNUTLS-SA-2008-1-2]
3909 *** libgnutls: Fix crash when sending repeated client hellos.
3910 The crash can be triggered remotely before authentication, which can
3911 lead to a Daniel of Service attack to disable the server.  The bug
3912 triggers a null-pointer dereference.
3914 *** [GNUTLS-SA-2008-1-3]
3915 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
3916 The crash can be triggered remotely before authentication, which can
3917 lead to a Daniel of Service attack to disable the server.  The bug
3918 cause gnutls to read memory beyond the end of the received record.
3920 ** API and ABI modifications:
3921 No changes since last version.
3923 * Version 2.2.3 (released 2008-05-06)
3925 ** Increase default handshake packet size limit to 48kb.
3926 The old limit was 16kb and some servers send huge list of trusted CAs,
3927 thus running into the limit.  FYI, applications can further increase
3928 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
3929 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3930 <marc@mclemente.net> for reporting and providing test servers.
3932 ** Fix compilation error related to __FUNCTION__ on some systems.
3933 Reported by Tim Mooney, see
3934 <https://savannah.gnu.org/support/?106267>.
3936 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3938 ** Fix fopen file descriptor leak in PSK server code.
3939 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3940 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3942 ** Build Guile code with -fgnu89-inline only when supported.
3943 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
3944 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
3946 ** Make Camellia encryption work.
3947 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
3948 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
3950 ** API and ABI modifications:
3951 No changes since last version.
3953 * Version 2.2.2 (released 2008-02-21)
3955 ** Cipher priority string handling now handle strings that starts with NULL.
3956 Thanks to Laurence Withers <l@lwithers.me.uk>.
3958 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3959 by Daniel Stenberg.
3961 ** Increased the default certificate verification chain limits and allowed
3962 for checks without limitation.
3964 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3965 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3966 strings and return the proper size.
3968 ** API and ABI modifications:
3969 No changes since last version.
3971 * Version 2.2.1 (released 2008-01-17)
3973 ** Prevent linking libextra against previously installed libgnutls.
3974 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
3975 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
3977 ** Fixes the post_client_hello_function(). The extensions are now parsed
3978 in a callback friendly way.
3980 ** Fix for certificate selection in servers with certificate callbacks.
3982 ** API and ABI modifications:
3983 No changes since last version.
3985 * Version 2.2.0 (released 2007-12-14)
3987 ** Update internal copy of libtasn1 to version 1.2.
3989 ** Certtool --verify-chain now handle inputs larger than 64kb.
3990 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
3991 recent versions of libgcrypt.  The problem was that Wine with the
3992 libgcrypt RNG generates huge amounts of debugging output.
3994 ** Translation updates.
3995 Added Dutch translation.  Updated Polish and Swedish translation.
3997 ** Major changes compared to the v2.0 branch:
3999 *** SRP support aligned with newly published RFC 5054.
4001 *** OpenPGP support aligned with newly published RFC 5081.
4003 *** Support for DSA2 keys.
4005 *** Support for Camellia cipher.
4007 *** Support for Opaque PRF Input extension.
4009 *** PKCS#8 parser now handle DSA keys.
4011 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
4012 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
4013 versions, such as 2.01 which is included with GnuTLS, is available
4014 under GPLv2 or later.  If this incompatibility causes problems, we
4015 recommend you to disable LZO using --without-lzo.  LZO compression is
4016 not a standard TLS compression algorithm, so the impact should be
4017 minimal.
4019 *** Functions for disabling record protocol padding.
4020 Works around bugs on Nokia/Ericsson phones.
4022 *** New functions gnutls_priority_set() for setting cipher priorities easily.
4023 Priorities like "COMPAT" also enables other work arounds, such as
4024 disabling padding.
4026 *** Other minor improvements and bug fixes.
4028 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
4029 To adapt to changes in the TLS extension specifications for OpenPGP
4030 and SRP, the GnuTLS API had to be modified.  This means breaking the
4031 API and ABI backwards compatibility.  That is something we try to
4032 avoid unless it is necessary.  We decided to also remove the already
4033 deprecated stub functions for X.509 to XML conversion and TLS
4034 authorization (see below) when we had the opportunity.
4036 Generally, most applications does not need to be modified.  Just
4037 re-compile them against the latest GnuTLS release, and it should work
4038 fine.
4040 Applications that use the OpenPGP or SRP features needs to be
4041 modified.  Below is a list of the modified APIs and discussion of what
4042 the minimal things you need to modify in your application to make it
4043 work with GnuTLS 2.2.
4045 Note that GnuTLS 2.2 also introduces new APIs -- such as
4046 gnutls_set_priority() that is superior to
4047 gnutls_set_default_priority() -- that you may want to start using.
4048 However, using those new APIs is not required to use GnuTLS 2.2 since
4049 the old functions continue are still supported.  This text only
4050 discuss what you minimally have to modify.
4052 *** XML related changes
4053 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
4054 deprecated and only returned an error code since GnuTLS version
4055 1.2.11.  Nobody has complained, so users doesn't seem to miss the
4056 functionality.  We don't know of any other library to convert X.509
4057 certificates into XML format, but we decided (long ago) that GnuTLS
4058 isn't the right place for this kind of functionality.  If you want
4059 help to find some other library to use here, please explain and
4060 discuss your use case on help-gnutls@gnu.org.
4062 *** TLS Authorization related changes
4063 Everything related to TLS authorizations have been removed, they were
4064 only stub functions that returned an error code:
4066  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
4067  gnutls_authz_data_format_type_t
4068  gnutls_authz_recv_callback_func
4069  gnutls_authz_send_callback_func
4070  gnutls_authz_enable
4071  gnutls_authz_send_x509_attr_cert
4072  gnutls_authz_send_saml_assertion
4073  gnutls_authz_send_x509_attr_cert_url
4074  gnutls_authz_send_saml_assertion_url
4076 *** SRP related changes
4077 The callback gnutls_srp_client_credentials_function has a new
4078 prototype, and its semantic has changed.  You need to rewrite the
4079 callback, see the updated function documentation and SRP example code
4080 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
4081 information.
4083 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
4084 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
4085 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
4086 used.  There are #define's to map the old names to the new.  You may
4087 run into problems if you have a switch-case with cases for both SRP
4088 alerts, since they are now mapped to the same value.  The solution is
4089 to drop the SRP alerts from such switch cases, as they are now
4090 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
4092 *** OpenPGP related changes
4093 The function `gnutls_certificate_set_openpgp_keyserver' have been
4094 removed.  There is no replacement functionality inside GnuTLS.  If you
4095 need keyserver functionality, consider using the GnuPG tools.
4097 All functions, types, and error codes related to OpenPGP trustdb
4098 format have been removed.  The trustdb format is a non-standard
4099 GnuPG-specific format, and we recommend you to use key rings instead.
4100 The following have been removed:
4102  gnutls_certificate_set_openpgp_trustdb
4103  gnutls_openpgp_trustdb_init
4104  gnutls_openpgp_trustdb_deinit
4105  gnutls_openpgp_trustdb_import
4106  gnutls_openpgp_key_verify_trustdb
4107  gnutls_openpgp_trustdb_t
4108  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
4110 The following functions has an added parameter of the (new) type
4111 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
4112 (binary or base64).  The functions are:
4113  gnutls_certificate_set_openpgp_key_file
4114  gnutls_certificate_set_openpgp_key_mem
4115  gnutls_certificate_set_openpgp_keyring_mem
4116  gnutls_certificate_set_openpgp_keyring_file
4118 To improve terminology and align with the X.509 interface, some
4119 functions have been renamed.  Compatibility mappings exists.  The old
4120 and new names of the affected functions and types are:
4122         Old name                                New name
4123  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
4124  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
4125  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
4126  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
4127  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
4128  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
4129  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
4130  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
4131  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
4132  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
4133  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
4134  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
4135  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
4136  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
4137  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
4138  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
4139  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
4140  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
4141  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
4143 ** API and ABI modifications:
4144 No changes since last version.
4146 * Version 2.1.8 (released 2007-12-10)
4148 ** The GPL version has been changed from version 2 to version 3.
4149 This affects the self-tests, command-line tools, the libgnutls-extra
4150 library, the relevant guile parts, and the build environment.
4152 ** Added gnutls_x509_crt_get_subject_alt_name2().
4154 ** Corrected a segfault when setting an empty gnutls_priority_t
4155 at gnutls_priority_set().
4157 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
4158 Fixes a problem with spurious -L/usr/lib additions.
4160 ** API and ABI modifications:
4161 gnutls_x509_crt_get_subject_alt_name2: ADD.
4163 * Version 2.1.7 (released 2007-11-29)
4165 ** PKCS #8 parser can now encode/decode DSA keys.
4167 ** Updated gnutls_set_default_priority2() now renamed to
4168 gnutls_priority_set() and gnutls_priority_set_direct() which
4169 accept a string to indicate preferences of ciphersuite parameters.
4171 ** gnutls-cli and gnutls-serv now have a --priority option to set
4172 the priority string.
4174 ** The gnutls_*_convert_priority() functions were deprecated by
4175 the gnutls_priority_set() and gnutls_priority_set_direct().
4177 ** Internal copy of OpenCDK upgraded to version 0.6.6.
4179 ** API and ABI modifications:
4180 gnutls_priority_init: ADD.
4181 gnutls_priority_deinit: ADD.
4182 gnutls_priority_set: ADD.
4183 gnutls_priority_set_direct: ADD.
4184 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
4185 gnutls_mac_convert_priority: REMOVED
4186 gnutls_compression_convert_priority: REMOVED
4187 gnutls_protocol_convert_priority: REMOVED
4188 gnutls_kx_convert_priority: REMOVED
4189 gnutls_cipher_convert_priority: REMOVED
4190 gnutls_certificate_type_convert_priority: REMOVED
4191 gnutls_set_default_priority: UNDEPRECATED
4192 gnutls_set_default_priority_export: UNDEPRECATED
4194 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
4195 GNUTLS_CIPHER_UNKNOWN: ADD.
4196 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
4197 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
4198 GNUTLS_KX_UNKNOWN: ADD.
4199 GNUTLS_COMP_UNKNOWN: ADD.
4200 GNUTLS_CRT_UNKNOWN: ADD.
4201 gnutls_mac_get_id: ADD.
4202 gnutls_compression_get_id: ADD.
4203 gnutls_cipher_get_id: ADD.
4204 gnutls_kx_get_id: ADD.
4205 gnutls_protocol_get_id: ADD.
4206 gnutls_certificate_type_get_id: ADD.
4207 gnutls_handshake_post_client_hello_func: ADD.
4208 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
4210 * Version 2.1.6 (released 2007-11-15)
4212 ** Corrected bug in decompression of expanded compression data.
4214 ** Added the --to-p8 option to certtool to convert private keys
4215 to PKCS #8 keys.
4217 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
4219 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
4220 private keys.
4222 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
4223 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
4224 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
4225 documented.  This caused some problems (e.g., debian #450854).  To
4226 avoid backwards compatibility problems, this release revert this
4227 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
4228 done in GnuTLS 2.0.x and earlier, and add a new error code
4229 GNUTLS_E_UNKNOWN_ALGORITHM.
4231 ** Fixes several gtk-doc warnings.
4233 ** API and ABI modifications:
4234 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
4235 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
4236 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
4238 * Version 2.1.5 (released 2007-11-01)
4240 ** Fix PKCS#3 parameter export problem.
4242 ** Improve certtool queries, they now print the default value.
4244 ** Fix ABI version.
4246 ** Update gnulib files.
4248 ** API and ABI modifications:
4249 No changes since last version.
4251 * Version 2.1.4 (released 2007-10-27)
4253 ** Added the --v1 option to certtool, to allow generating X.509
4254 version 1 certificates. 
4256 ** certtool: Add option --disable-quick-random to enable the old behaviour
4257 of using /dev/random to generate keys.
4259 ** Added priority functions that accept strings.
4261 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
4262 priorities preferences.
4264 ** Added gnutls_record_disable_padding() to allow servers talking to 
4265 buggy clients that complain if the TLS 1.0 record protocol padding is
4266 used.
4268 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
4269 all supported compatibility options (like disabling padding).
4271 ** The gnutls_certificate_set_openpgp_* functions were modified to include
4272 the format. This makes the interface consistent with the x509 functions.
4274 ** Internal copy of OpenCDK upgraded to version 0.6.5.
4276 ** Update gnulib files.
4278 ** API and ABI modifications:
4279 gnutls_certificate_set_openpgp_key_mem: MODIFIED
4280 gnutls_certificate_set_openpgp_key_file: MODIFIED
4281 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
4282 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
4283 gnutls_set_default_priority: DEPRECATED
4284 gnutls_set_default_priority_export: DEPRECATED
4285 gnutls_set_default_priority2: ADDED
4286 gnutls_session_enable_compatibility_mode: ADDED
4287 gnutls_record_disable_padding: ADDED
4288 gnutls_mac_convert_priority: ADDED
4289 gnutls_compression_convert_priority: ADDED
4290 gnutls_protocol_convert_priority: ADDED
4291 gnutls_kx_convert_priority: ADDED
4292 gnutls_cipher_convert_priority: ADDED
4293 gnutls_certificate_type_convert_priority: ADDED
4294 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
4295 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
4296 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
4297 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
4298 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
4299 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
4300 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
4301 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
4302 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
4303 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
4304 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
4305 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
4306 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
4307 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
4308 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
4309 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
4310 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
4311 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
4313 * Version 2.1.3 (released 2007-10-17)
4315 ** TLS authorization support removed.
4316 This technique may be patented in the future, and it is not of crucial
4317 importance for the Internet community.  After deliberation we have
4318 concluded that the best thing we can do in this situation is to
4319 encourage society not to adopt this technique.  We have decided to
4320 lead the way with our own actions.
4322 ** Re-enabled the 256 bit ciphers in the default priorities.
4324 ** Corrected bugs in openpgp key verification using a keyring (both in
4325 gnutls and opencdk)
4327 ** API and ABI modifications:
4328 gnutls_certificate_set_openpgp_keyserver: REMOVED
4329 gnutls_authz_data_format_type_t,
4330 gnutls_authz_recv_callback_func,
4331 gnutls_authz_send_callback_func,
4332 gnutls_authz_enable,
4333 gnutls_authz_send_x509_attr_cert,
4334 gnutls_authz_send_saml_assertion,
4335 gnutls_authz_send_x509_attr_cert_url,
4336 gnutls_authz_send_saml_assertion_url: REMOVED.
4337 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
4338     gnutls_supplemental_data_format_type_t enum type becomes empty.
4340 * Version 2.1.2 (released 2007-10-14)
4342 ** Removed all the trustdb code from openpgp authentication.
4343 We now use only the well-specified keyrings.
4345 ** The 256 bit ciphers are not enabled in the default priorities.
4347 ** Added support for DSA2 using libgcrypt 1.3.0.
4349 ** certtool: Fixed data corruption when using --outder.
4351 ** Removed all the xml related stubs and functions.
4353 ** Added capability to set a callback after the client hello is received
4354 by the server in order to adjust parameters before the handshake.
4356 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
4358 ** Corrected bug which did not allow a server to run without supporting
4359 certificates.
4361 ** Updated the DN parser which now prints wrongly decoded values as hex
4362 strings.
4364 ** certtool: Add option --quick-random.
4365 For generating low security test credentials.
4367 ** API and ABI modifications:
4368 gnutls_x509_crt_to_xml: REMOVED
4369 gnutls_openpgp_key_to_xml: REMOVED
4370 gnutls_openpgp_key_verify_trustdb: REMOVED
4371 gnutls_openpgp_trustdb_init: REMOVED
4372 gnutls_openpgp_trustdb_deinit: REMOVED
4373 gnutls_openpgp_trustdb_import: REMOVED
4374 gnutls_certificate_set_openpgp_trustdb: REMOVED
4375 gnutls_srp_client_credentials_function: CHANGED
4376 gnutls_handshake_set_post_client_hello_function: ADDED
4377 gnutls_mac_get_key_size: ADDED
4378 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
4379 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
4380 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
4382 * Version 2.1.1 (released 2007-09-24)
4384 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
4385 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
4386 compiled with Camellia support.  See the libgcrypt documentation on
4387 how to enable it.  Unconditionally disable it using the configure
4388 option --disable-camellia.  Fixes #1.
4390 ** Properly document in the NEWS file the API change in the last release.
4392 ** API and ABI modifications:
4393 No changes since last version.
4395 * Version 2.1.0 (released 2007-09-20)
4397 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
4398 The support is disabled by default.  Since no value has been allocated
4399 by the IANA for this extension yet, you will need to provide one
4400 yourself by invoking './configure --enable-opaque-prf-input=42'.
4401 Fixes #2.
4403 ** Example code: Fix compilation flaw under MinGW.
4405 ** API and ABI modifications:
4406 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
4407 gnutls_oprfi_enable_client: ADD, new function.
4408 gnutls_oprfi_enable_server: ADD, new function.
4410 * Version 2.0.4 (released 2007-11-16)
4412 ** Corrected bug in decompression of expanded compression data.           
4414 ** API and ABI modifications:
4415 No changes since last version.
4417 * Version 2.0.3 (released 2007-11-10)
4419 ** This version backports several fixes from the 2.1.x branch.
4421 ** Fixed PKCS #3 parameter export.
4423 ** Added gnutls_record_disable_padding() to allow servers talking to
4424 buggy clients that complain if the TLS 1.0 record protocol padding is
4425 used.
4427 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
4428 all supported compatibility options (like disabling padding).
4430 ** Corrected bug which did not allow a server to run without supporting
4431 certificates.
4433 ** API and ABI modifications:
4434 gnutls_session_enable_compatibility_mode: ADDED
4435 gnutls_record_disable_padding: ADDED
4437 * Version 2.0.2 (released 2007-10-17)
4439 ** TLS authorization support removed.
4440 This technique may be patented in the future, and it is not of crucial
4441 importance for the Internet community.  After deliberation we have
4442 concluded that the best thing we can do in this situation is to
4443 encourage society not to adopt this technique.  We have decided to
4444 lead the way with our own actions.
4446 ** certtool: Fixed data corruption when using --outder.
4448 ** Fix configure-time Guile detection.
4450 ** API and ABI modifications:
4451 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
4452     gnutls_supplemental_data_format_type_t enum type becomes empty.
4454 * Version 2.0.1 (released 2007-09-20)
4456 ** New directory doc/credentials/ with test credentials.
4457 This collects the test credentials from the web page and from src/.
4458 The script gnutls-http-serv has also been moved to that directory.
4460 ** Update SRP extension type and cipher suite with official IANA values.
4461 This breaks backwards compatibility with SRP in older versions of
4462 GnuTLS, but this is intentional to speed up the adoption of the
4463 official values.  The old values we used were incorrect.
4465 ** Guile: Fix `x509-certificate-dn-oid'
4467 ** API and ABI modifications:
4468 No changes since last version.
4470 * Version 2.0.0 (released 2007-09-04)
4472 ** Included copy of Libtasn1 upgraded to version 1.1.
4474 ** Disable building of some examples if anonymous ciphers are disabled.
4476 ** Don't build examples for disabled features.
4478 ** API and ABI modifications:
4479 No changes since last version.
4481 * Version 1.7.19 (released 2007-08-27)
4483 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
4484 This solves connection problems in mutt, see
4485 <http://bugs.debian.org/439640>.
4487 ** Update gnulib files.
4488 In particular, the getpass module -- with its dependencies on getline,
4489 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
4490 library) directory to the gl/ directory (only used by the command line
4491 tools).  The reason is that getpass is now only used by the
4492 command-line tools, and reducing the number of gnulib modules linked
4493 to the core library helps portability and reduces size.
4495 ** Fix warnings.
4497 ** Disable building of PGP examples if PGP is disabled.
4499 ** Included copy of OpenCDK upgraded to version 0.6.4.
4501 ** API and ABI modifications:
4502 No changes since last version.
4504 * Version 1.7.18 (released 2007-08-16)
4506 ** Install images for the info manual.
4507 This has a side effect of renaming the images.  See
4508 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
4509 discussions on the approach chosen.
4511 ** Fix pointer mix to variables of different size.
4512 Patch extracted from
4513 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
4515 ** Fix warnings during build.
4516 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
4518 ** API and ABI modifications:
4519 No changes since last version.
4521 * Version 1.7.17 (released 2007-08-15)
4523 ** New functions to perform external signing.
4524 Set the signing callback function (of the gnutls_sign_func prototype)
4525 using the gnutls_sign_callback_set function.  In the callback, you may
4526 find the new functions gnutls_x509_privkey_sign_hash and
4527 gnutls_openpgp_privkey_sign_hash useful.  A new function
4528 gnutls_sign_callback_get is also added, to retrieve the function
4529 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
4530 comments and testing.
4532 ** New self test of client and server authenticated X.509 TLS sessions.
4533 See tests/x509self.c and tests/x509signself.c.  The latter also tests
4534 the new external signing callback interface.
4536 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
4537 These two actually describe the outer limits of a range of error codes
4538 reserved to the application.  All of the errors are treated as fatal
4539 by the library (it has to since it doesn't know the semantics of the
4540 error codes).  This can be useful in callbacks, to signal some
4541 application-specific error condition, which will usually eventually
4542 cause some gnutls API to return the same error code as the callback,
4543 which then can be inspected by the application.  Note that error codes
4544 are negative.
4546 ** gnutls_set_default_priority now disable TLS 1.2 by default.
4547 The RFC is not released yet, and we're approaching a major release so
4548 let's not enable it just yet.
4550 ** Fix namespace so that gnutls_*_t is used consistently.
4551 Before, many places in the GnuTLS code used the old deprecated type
4552 names without the '_t' suffix.
4554 ** Build fixes for Guile code.
4555 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
4557 ** More documentation fixes.
4558 In particular, the section headings were modified for casing.  By
4559 Ludovic Courtes <ludovic.courtes@laas.fr>.
4561 ** Updated Polish and Swedish translations.
4562 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
4563 <po@danielnylander.se>.
4565 ** API and ABI modifications:
4566 gnutls_sign_func: ADD, new type for sign callback.
4567 gnutls_sign_callback_set: ADD, new function to set sign callback.
4568 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
4569 gnutls_x509_privkey_sign_hash,
4570 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
4571 GNUTLS_E_APPLICATION_ERROR_MIN,
4572 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
4574 * Version 1.7.16 (released 2007-08-07)
4576 ** Fix sanity checks and return values in certificate selection.
4577 In some cases, GnuTLS omitted to report suitable error codes when no
4578 suitable certificate was found.
4580 ** Fix gnutls-cli starttls EOF on Mac OS X.
4581 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
4583 ** Documentation fixes.
4584 In particular, the section headings were modified for casing.  By
4585 Ludovic Courtes <ludovic.courtes@laas.fr>.
4587 ** Update gnulib files.
4589 ** API and ABI modifications:
4590 No changes since last version.
4592 * Version 1.7.15 (released 2007-07-02)
4594 ** Fix self-tests key-id under mingw32.
4596 ** Test that the Guile header files are recent enough to work.
4597 Before we just tested that the command line tool 'guile' was recent
4598 enough, which may not be sufficient if you still have an old
4599 libguile.h header installed.
4601 ** Guile bindings are now installed under $prefix by default.
4602 Use --without-guile-site-dir to install it under $pkgdatadir/site/
4603 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
4604 Use --with-guile-site-dir=/your/own/path to specify the path manually.
4605 The default, --with-guile-site-dir, will install the Guile bindings
4606 under $datadir/guile/site.  There is a new section 'Guile
4607 Preparations' in the manual that discuss these issues.
4609 ** Fix run-time library path ordering in linking the Guile bindings.
4611 ** Improved manual on downloading, installing, getting help, bug reports etc.
4612 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
4614 ** Add Malay message translations.
4615 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
4617 ** API and ABI modifications:
4618 No changes since last version.
4620 * Version 1.7.14 (released 2007-06-26)
4622 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
4623 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4625 ** Fix memory leak during DSA signature verification.
4626 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4628 ** Fix crash in gnutls-cli when TLS handshake fails.
4629 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
4630 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
4631 <http://bugs.debian.org/429183>.
4633 ** Minor OpenPGP fixes in stream_to_datum.
4634 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
4635 <ludovic.courtes@laas.fr>.
4637 ** Fix off-by-one in TLS 1.2 handshake.
4638 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4640 ** Minor Guile binding self-test cleanup.
4641 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4643 ** Update gnulib files.
4645 ** API and ABI modifications:
4646 No changes since last version.
4648 * Version 1.7.13 (released 2007-06-11)
4650 ** OpenCDK copy updated to version 0.6.3.
4652 ** Build fixes for GnuTLS Guile bindings.
4653 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4655 ** Build fix for GTK-DOC manual.
4657 ** Update gnulib files.
4659 ** API and ABI modifications:
4660 No changes since last version.
4662 * Version 1.7.12 (released 2007-06-08)
4664 ** Guile bindings for GnuTLS have been included.
4665 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
4666 new chapter 'Guile Bindings' in the manual.
4668 ** Have PKCS8 parser return better error codes.
4669 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
4670 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
4671 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
4673 ** Fix mem leak for sessions with client authentication via certificates.
4674 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
4675 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
4677 ** Fix mem leaks.
4678 Reported by Dennis Vshivkov <walrus@amur.ru>, see
4679 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
4680 self-test tests/parse_ca.c to test regressions.
4682 ** Fix build failures related to missing images in manual.
4683 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4685 ** Update gnulib files.
4687 ** API and ABI modifications:
4688 No changes since last version.
4690 * Version 1.7.11 (released 2007-05-26)
4692 ** Include opencdk.h in the release.
4693 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4695 ** API and ABI modifications:
4696 No changes since last version.
4698 * Version 1.7.10 (released 2007-05-25)
4700 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4701 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
4703 ** Update of gnulib files.
4705 ** GnuTLS is now developed in GIT instead of CVS.
4706 See <http://repo.or.cz/w/gnutls.git> for a public repository.
4708 ** API and ABI modifications:
4709 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4710 gnutls_x509_crt_get_raw_dn: ADD.
4712 * Version 1.7.9 (released 2007-05-12)
4714 ** X.509 certificates are preferred over OpenPGP keys.
4715 This is a change in the semantics of gnutls_set_default_priority.
4717 ** The included copy of OpenCDK has been updated to 0.6.1.
4718 There has been some API changes in OpenCDK, and the GnuTLS layer have
4719 been modified as well.  Note that while there are API/ABI incompatible
4720 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
4721 its API/ABI have not changed.  From this version on, GnuTLS requires
4722 OpenCDK 0.6.0 or later.
4724 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
4726 ** Change certtool's default serial number from 0 to a time-based value.
4728 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4729 Before, we remove the parameters field, which resulted in a slightly
4730 different DER encoding which in turn caused signature verification
4731 failures of GnuTLS-generated RSA certificates in some other
4732 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
4733 you read, this may or may not be correct, but our new behaviour appear
4734 to be consistent with other widely used implementations.
4736 ** Fix mem leaks in gnutls_x509_crt_print.
4738 ** API and ABI modifications:
4739 No changes since last version.
4741 * Version 1.7.8 (released 2007-04-16)
4743 ** Added examples for the authorization extension.
4744 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
4746 ** The examples only use gnutls_set_default_priority().
4747 The exception is when DH_ANON is needed.
4749 ** Improve gnutls_set_default_priority() priorities.
4750 The new approach is for it to try and negotiate all secure and
4751 standard mechanisms available.  Currently, DH_ANON ciphersuites and
4752 LZO compressions are not enabled by default, because they are,
4753 respectively, insecure and non-standardized.  Note that TLS 1.2 will
4754 not be enabled by default in non-experimental release until it has
4755 been approved by the IETF.
4757 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
4758 This means that to get DH_ANON and LZO compression, you'll need to
4759 specify that manually using '--kx anon' or '--comp lzo'.
4761 ** Minor fixes to the human display format of X.509 certificates.
4763 ** New APIs to extract Distinguished Name's from X.509 certificates.
4764 Based on patch from Howard Chu <hyc@symas.com>.
4766 ** Improved library searching for opencdk.
4767 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
4768 The deprecated opencdk.m4 is no longer used.
4770 ** New APIs to list supported algorithms in the library.
4771 The APIs are gnutls_cipher_list, gnutls_mac_list,
4772 gnutls_compression_list, gnutls_protocol_list,
4773 gnutls_certificate_type_list, gnutls_kx_list, and
4774 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
4776 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
4778 ** New configure option --disable-tls-authorization to disable tls-authz.
4780 ** Fix prototype for `gnutls_psk_set_client_credentials'.
4781 The last parameter was renamed from 'flags' to 'format' and the type
4782 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
4783 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
4784 (Ludovic Courtès).
4786 ** Fix allocation in gnutls_certificate_set_openpgp_key.
4787 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
4789 ** API and ABI modifications:
4790 gnutls_x509_dn_t: ADD.
4791 gnutls_x509_ava_st: ADD.
4792 gnutls_x509_crt_get_subject,
4793 gnutls_x509_crt_get_issuer: ADD.
4794 gnutls_x509_dn_get_rdn_ava: ADD.
4795 gnutls_cipher_list: ADD.
4796 gnutls_mac_list: ADD.
4797 gnutls_compression_list: ADD.
4798 gnutls_protocol_list: ADD.
4799 gnutls_certificate_type_list: ADD.
4800 gnutls_kx_list: ADD.
4801 gnutls_cipher_suite_info: ADD.
4803 * Version 1.7.7 (released 2007-02-22)
4805 ** Support for supplemental handshake messages and authorization data.
4806 Supplemental data is described in RFC 4680 and the authorization
4807 extensions in draft-housley-tls-authz-extns-07.
4809 ** Support for authorization data in gnutls-cli and gnutls-serv.
4810 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
4812 ** Fix for gnutls_x509_crt_check_hostname.
4813 Before it would have reported that the certificate matched a hostname
4814 when it did not have any dNSName or any CN field.  Report and tiny
4815 patch from "Richard W.M. Jones" <rjones@redhat.com>.
4817 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
4818 Tests regressions of the bug, and several other features.
4820 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
4821 Before there were no support for iPAddress SAN's during comparison.
4823 ** New API to print information about CRL's.
4824 The function is gnutls_x509_crl_print.
4826 ** New API to extract signature value from CRL's.
4827 The function is gnutls_x509_crl_get_signature.
4829 ** Support for directoryName Subject Alternative Name's.
4830 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
4831 string in the provided buffer.
4833 ** Internal improvements to certtool.
4834 It uses gnutls_x509_crl_print to print CRL information.  It uses some
4835 more gnulib modules to simplify error handling.
4837 ** API and ABI modifications:
4838 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
4839 gnutls_supplemental_data_format_type_t: ADD.
4840 gnutls_authz_data_format_type_t: ADD.
4841 gnutls_supplemental_get_name: ADD.
4842 gnutls_authz_recv_callback_func,
4843 gnutls_authz_send_callback_func: ADD, callback prototypes.
4844 gnutls_authz_enable: ADD.
4845 gnutls_authz_send_x509_attr_cert,
4846 gnutls_authz_send_saml_assertion,
4847 gnutls_authz_send_x509_attr_cert_url,
4848 gnutls_authz_send_saml_assertion_url: ADD.
4849 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
4850 gnutls_x509_crl_print: ADD.
4851 gnutls_x509_crl_get_signature: ADD.
4853 * Version 1.7.6 (released 2007-02-12)
4855 ** Support for 'otherName' Subject Alternative Names.
4856 The existing API gnutls_x509_crt_get_subject_alt_name may now return
4857 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
4858 To find out the otherName OID (necessary for proper parsing of the
4859 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
4860 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
4861 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
4862 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
4864 ** Certtool can print otherName SAN values for certificates.
4865 For known otherName OIDs (currently only id-on-xmppAddr as defined by
4866 RFC 3920), it will also print the name.
4868 ** Fix TLS 1.2 RSA signing in servers.
4869 Before it used the old-style MD5+SHA1 signature, but the TLS
4870 signatures should be normal PKCS#1 signatures.  FYI, we use and
4871 require that DigestInfo parameters are present and NULL for TLS 1.2.
4873 ** Add APIs to access X.509 extensions sequentially.
4874 The existing APIs gnutls_x509_crt_get_extension_oid() and
4875 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
4876 inspect the extensions in the order defined by the certificate.
4878 ** Add API to extract signature value from X.509 certificates.
4879 The function is gnutls_x509_crt_get_signature.
4881 ** Fix crash when generating proxy certificates in batch mode.
4882 If you don't specify a proxy policy in batch mode, it will use
4883 id-ppl-inheritALL.
4885 ** Add API to print information about X.509 certificates.
4886 The function is gnutls_x509_crt_print.
4888 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
4889 One consequence of this is that the output syntax has changed
4890 slightly.  Some more fields are printed.
4892 ** Doc fixes.
4894 ** API and ABI modifications:
4895 gnutls_x509_crt_print: ADD
4896 gnutls_certificate_print_formats_t: ADD, new enum.
4897 gnutls_x509_crt_get_signature: ADD.
4898 gnutls_x509_crt_get_extension_data: ADD.
4899 gnutls_x509_crt_get_extension_info: ADD.
4900 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
4901 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
4902 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
4904 * Version 1.7.5 (released 2007-02-06)
4906 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
4907 ** is set.
4909 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
4911 ** Fix --list output for gnutls-cli and gnutls-serv.
4912 Mention TLS1.2, SHA512 etc.
4914 ** Manual contains new section on setting up a test HTTP server.
4915 A server set up following those descriptions are available online via
4916 <http://www.gnutls.org/server.html>.
4918 ** Update of gnulib files.
4920 ** API and ABI modifications:
4921 No changes since last version.
4923 * Version 1.7.4 (released 2007-02-05)
4925 ** Support for RSA signing using SHA-256/384/512.
4926 A new self test "sha2" tries to build a long X.509 certificate chain
4927 testing all new hashes.
4929 ** The gnutls-serv tool now use static DH parameters if none are supplied.
4931 ** Discuss proxy certificates in the manual.
4933 ** Improve bibliographical citations in the manual.
4935 ** Update of gnulib files.
4937 ** Fix certtool template handling of pathLenConstraints.
4938 It now defaults to -1 instead of 0, which causes the field to be
4939 missing unless the template specify it.
4941 ** API and ABI modifications:
4942 GNUTLS_MAC_SHA256,
4943 GNUTLS_MAC_SHA384,
4944 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
4945 GNUTLS_DIG_SHA256,
4946 GNUTLS_DIG_SHA384,
4947 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
4948 GNUTLS_SIGN_RSA_SHA256,
4949 GNUTLS_SIGN_RSA_SHA384,
4950 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
4952 * Version 1.7.3 (released 2007-02-01)
4954 ** New option to certtool: --generate-proxy.
4955 This will generate a Proxy Certificate from an end entity certificate.
4956 Proxy Certificates are documented in RFC 3820.  You will need to
4957 specify the proxy certificate's private key with --load-privkey, the
4958 user certificate with --load-certificate and the private key used to
4959 sign the new proxy certificate with --load-ca-privkey.  Certtool will
4960 query for proxy path length and the policy language OID.  Currently
4961 only OIDs that have an empty policy are supported (which includes the
4962 two OIDs defined by RFC 3820).
4964 ** Certtool --certificate-info now prints information for Proxy Certificates.
4965 Before the proxy extension was just printed as DER encoded data.
4967 ** New APIs to set proxy subject names and get/set proxy cert extension.
4969 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
4971 ** Added self-test to test for regressions of pathLenConstraint bug.
4972 Incidentally, this also test (some) other regressions or changes in
4973 the output from certtool --certificate-info.
4975 ** When certtool generates CA certificates, pressing enter on the path
4976 ** length constraint query will now remove the field.
4977 Before it set the path length constraint to 0, which is a rather poor
4978 default.
4980 ** Certtool now print times in UTC when printing certificate/CRL info.
4982 ** Add better fix to work around C++ compiler bug on Mac OS X.
4983 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
4985 ** Fix import of ASCII armored OpenPGP keys.
4986 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
4988 ** Update of gnulib files.
4990 ** API and ABI modifications:
4991 gnutls_x509_crt_set_proxy_dn: ADD.
4992 gnutls_x509_crt_set_proxy: ADD.
4993 gnutls_x509_crt_get_proxy: ADD.
4995 * Version 1.7.2 (released 2007-01-14)
4997 ** Certtool now print the value of the pathLenConstraints field for certs.
4999 ** Certtool now query for path length constraints when generating CA certs.
5000 For batch uses, the certtool configuration name is "path_len".
5001 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
5003 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
5004 The new functions gnutls_x509_crt_get_basic_constraints and
5005 gnutls_x509_crt_set_basic_constraints provide a superset of the
5006 functionality in the old gnutls_x509_crt_get_ca_status and
5007 gnutls_x509_crt_set_ca_status (respectively), but the old functions
5008 will continue to be supported.
5010 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
5011 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
5012 OpenCDK release with this patch will be made soon, which should bump
5013 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
5015 ** Certtool --to-p12 can now store more than one certificate in the blob.
5016 Before it could only store one certificate, but now it will read and
5017 store as many certificate there are from the --load-certificate file.
5018 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
5020 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
5021 In particular, the OpenPGP function variables are no longer part of
5022 the exported libgnutls interface, and no header files from
5023 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
5024 were never intended for non-internal purposes, and thus this does not
5025 imply a change in the external API/ABI.
5027 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
5028 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5030 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
5031 Before these parameters were set to make GnuTLS build under mingw32,
5032 however, they appear to no longer be necessary.
5034 ** A minor fix to the C++ library to make it build.
5035 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
5037 ** Update of gnulib files.
5039 ** API and ABI modifications:
5040 gnutls_x509_crt_get_basic_constraints: ADD.
5041 gnutls_x509_crt_set_basic_constraints: ADD.
5042 cdk_pubkey_to_sexp: ADD (in opencdk).
5043 cdk_seckey_to_sexp: ADD (in opencdk).
5045 * Version 1.7.1 (released 2006-12-28)
5047 ** TLS 1.2 server side fix.
5048 The Certificate Request sent did not contain the list of supported
5049 hashes field, thus violating the protocol.  It will now contain an
5050 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5052 ** TLS 1.2 DSA signature verification fix.
5053 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5055 ** Fix the list of trusted CAs that server's send to clients.
5056 Before, the list contained issuer DN's instead of subject DN's of the
5057 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
5059 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
5060 Also added a self-test in tests/certificate_set_x509_crl.c to test the
5061 function.  Reported by Max Kellermann <max@duempel.org>.
5063 ** Encode UID fields in DN's as DirectoryString.
5064 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
5065 incorrect, it should have used DirectoryString.  Now it will use
5066 DirectoryString for the UID field, but for backwards compatibility it
5067 will also accept IA5String UID's.  Reported by Max Kellermann
5068 <max@duempel.org>.
5070 ** Improve out-of-sourcedir builds from CVS.
5071 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5073 ** Bootstrap tools changed.
5074 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
5075 building GnuTLS from CVS.  Libtool 1.5.22 is used.
5077 ** Fixed a syntax error in lib/gnutls.asn.
5078 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
5080 ** Added German translation of GnuTLS messages.
5082 ** Update of gnulib files.
5084 ** API and ABI modifications:
5085 No changes since last version.
5087 * Version 1.7.0 (released 2006-11-29)
5089 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
5090 The details is that the protocol priority set by
5091 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
5092 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
5094 ** Preliminary support for TLS 1.2.
5095 The client has been successfully tested against
5096 https://www.mikestoolbox.org:4433/.
5098 ** Anonself test now print a lot of debugging info, including TLS version.
5100 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
5102 ** Update of gnulib files.
5104 ** API and ABI modifications:
5105 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
5107 *** Pulled up from stable 1.6.x branch:
5109 ** Fix ./configure failure with non-GCC compilers.
5110 This fixes the following error message:
5111 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
5112 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
5114 * Version 1.6.3 (released 2007-05-26)
5116 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
5117 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
5118 from the 1.7.x branch, see
5119 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
5121 ** Have PKCS8 parser return better error codes.
5122 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
5123 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
5124 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
5126 ** Fix mem leak for sessions with client authentication via certificates.
5127 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
5128 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
5130 ** Fix building of 'tlsia' self test.
5131 Earlier some gcc are known to build tlsia linking to
5132 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
5133 the build directory, even though command line parameters look OK.
5134 Changing order of some parameters fixes it.
5136 ** API and ABI modifications:
5137 gnutls_x509_crt_get_raw_issuer_dn: ADD.
5138 gnutls_x509_crt_get_raw_dn: ADD.
5140 * Version 1.6.2 (released 2007-04-18)
5142 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
5143 Before, we remove the parameters field, which resulted in a slightly
5144 different DER encoding which in turn caused signature verification
5145 failures of GnuTLS-generated RSA certificates in some other
5146 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
5147 you read, this may or may not be correct, but our new behaviour appear
5148 to be consistent with other widely used implementations.
5150 ** Regenerate the PKIX ASN.1 syntax tree.
5151 For some reason, after changing the ASN.1 type of ldap-UID in the last
5152 release, the generated C file built from the ASN.1 schema was not
5153 refreshed.  This can cause problems when reading/writing UID
5154 components inside X.500 Distinguished Names.  Reported by devel
5155 <dev001@pas-world.com>.
5157 ** Updated translations.
5159 ** API and ABI modifications:
5160 No changes since last version.
5162 * Version 1.6.1 (released 2006-12-28)
5164 ** Fix the list of trusted CAs that server's send to clients.
5165 Before, the list contained issuer DN's instead of subject DN's of the
5166 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
5168 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
5169 Reported by Max Kellermann <max@duempel.org>.
5171 ** Encode UID fields in DN's as DirectoryString.
5172 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
5173 incorrect, it should have used DirectoryString.  Now it will use
5174 DirectoryString for the UID field, but for backwards compatibility it
5175 will also accept IA5String UID's.  Reported by Max Kellermann
5176 <max@duempel.org>.
5178 ** Fix ./configure failure with non-GCC compilers.
5179 This fixes the following error message:
5180 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
5181 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
5183 ** API and ABI modifications:
5184 No changes since last version.
5186 * Version 1.6.0 (released 2006-11-17)
5188 ** No changes since 1.5.5.
5189 The major changes compared to the 1.4.x branch are:
5191 *** A GnuTLS C++ library is part of the official distribution.
5192 Currently there are no examples or documentation, but hopefully this
5193 will change.  See gnutlsxx.h for the API.
5195 *** Windows is a supported platform.
5196 There are, however, two know bugs.  One is related to select() in
5197 command line tools (not, nota bene, in the library), the other is a
5198 problem with libgcrypt that causes delays.  Help is needed to resolve
5199 those issues, so we feel we can't delay the release because of this.
5201 *** New APIs for custom push/pull function error reporting.
5202 The new APIs are gnutls_transport_set_errno and
5203 gnutls_transport_set_global_errno.  See the release notes for version
5204 1.5.4 for more information.
5206 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
5208 * Version 1.5.5 (released 2006-11-16)
5210 ** Correctly bump shared library version after adding new APIs.
5211 This was forgotten in the last release.
5213 ** Fix unsigned vs signed problem in ex-x509-info.c example.
5214 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
5216 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
5218 ** Update of gnulib files.
5220 ** API and ABI modifications:
5221 No changes since last version.
5223 * Version 1.5.4 (released 2006-11-07)
5225 ** New API functions to set errno in push/pull functions.
5226 Under Windows, setting the errno variable in a push/pull replacement
5227 may end up setting the wrong errno variable, and GnuTLS send/recv
5228 functions become confused about the real errno returned from a failed
5229 push/pull function.  Therefor, we have added two APIs to set the errno
5230 variable used by GnuTLS.  The APIs can also help to keep things
5231 thread-safe, by avoiding potentially global variables.  Typically,
5232 instead of setting errno in your push/pull function, you will call one
5233 of these functions.  It is recommended to use
5234 gnutls_transport_set_errno, but if you don't have the session variable
5235 easily accessible in the push/pull replacement function, you can use
5236 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
5237 <tim.kosse@filezilla-project.org>.
5239 void gnutls_transport_set_errno (gnutls_session_t session, int err);
5240 void gnutls_transport_set_global_errno (int err);
5242 ** When calling `recv' or `send' Windows errors are handled properly.
5243 The Windows recv/send functions doesn't use errno, and GnuTLS now use
5244 WSAGetLastError to access the error condition instead.
5246 ** Several OpenPGP API fixes.
5247 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
5248 important fix is to change the return value of
5249 gnutls_openpgp_privkey_get_pk_algorithm and
5250 gnutls_openpgp_key_get_pk_algorithm from 'int' to
5251 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
5252 compatible with 'int').
5254 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
5255 ** version, try to negotiate the highest version support by the GnuTLS server,
5256 ** instead of the lowest.
5257 Reported by <Pasi.Eronen@nokia.com>.
5259 ** Replace old constructs with use of gnulib modules.
5260 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
5261 the code.  If the headers doesn't exist on the target system, gnulib
5262 will make sure its replacement header files are used instead.
5264 ** Fix SOVERSION computation for *.def files.
5265 This fixes build errors similar to "No rule to make target
5266 `libgnutls-`expr', needed by `all-am'." when building for Windows.
5268 ** gnutls_check-version uses strverscmp from gnulib.
5270 ** Update of gnulib files.
5272 ** API and ABI modifications:
5273 gnutls_transport_set_errno: ADD
5274 gnutls_transport_set_global_errno: ADD
5276 * Version 1.5.3 (released 2006-10-26)
5278 ** Add new self-test of RSA-MD5 signature chains.
5279 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
5280 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
5281 and is based on the work by Marc Stevens et al, see
5282 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
5284 ** Re-factor self tests.
5286 ** The include copy of Libtasn1 is updated to version 0.3.7.
5288 ** The included copy of OpenCDK is updated to version 0.5.11.
5290 ** Fix the filename of the *.def file on Windows after library version bump.
5292 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
5293 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
5294 gnulib modules.  Earlier we could only use the LGPL'ed module from
5295 gnulib, because two gnulib directories in the same project didn't
5296 work.
5298 ** API and ABI modifications:
5299 No changes since last version.
5301 * Version 1.5.2 (released 2006-10-03)
5303 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
5304 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
5305 shared library version than this version, so you'll have to remove
5306 them and possibly relink your applications.  The reason for this is
5307 that no API/ABI changes have been made since the 1.4.x branch, and
5308 that incrementing the shared library version was a mistake.  Reported
5309 by Andreas Metzler <ametzler@downhill.at.eu.org>.
5311 ** Fix off-by-one error when computing length to malloc.
5312 The code is used by gnutls_openpgp_add_keyring_file and
5313 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
5314 <agl@imperialviolet.org>.
5316 ** Add version script for the GnuTLS C++ library.
5317 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5319 ** Fix the C++ compiler detection logic.
5320 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5322 ** Update of gnulib files.
5324 ** API and ABI modifications:
5325 No changes since last version.
5327 * Version 1.5.1 (released 2006-09-21)
5329 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
5330 ** Crypto 06 rump session attack.
5331 In particular, we check that the digestAlgorithm.parameters field is
5332 missing or empty, to avoid that it can contain "garbage" that may be
5333 used to alter the numeric properties of the signature.  See
5334 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
5335 not exactly the same as the problem we fix here).  Reported by Yutaka
5336 OIWA <y.oiwa@aist.go.jp>.
5338 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
5339 up to date information.
5341 ** Add self test to test for above flaw.
5343 ** Fix gnutls-cli-debug regarding resume support detection.
5344 Earlier, if the session-id from the server had a length of 0, it would
5345 indicate that the server supports resumption, which isn't the case.
5346 Reported by Kataja Kai <kai.kataja@op.fi>.
5348 ** Fix building of examples on FreeBSD by including netinet/in.h.
5349 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
5351 ** Fix certtool bug that caused the private key to not be loaded when
5352 generating a certificate with --load-request, which in turn triggered
5353 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
5354 by Sascha Ziemann <sascha.ziemann@secunet.com>.
5356 ** gnutls-cli and gnutls-serv works on Windows.
5357 The problem was the select() call that doesn't work on file
5358 descriptors (stdin) on Windows.  We borrowed some code from plibc to
5359 solve this.  It appears to be somewhat unreliable though.
5361 ** Autoconf 2.60 is now used.
5363 ** API and ABI modifications:
5364 No changes since last version.
5366 * Version 1.5.0 (released 2006-08-13)
5368 ** Change SRP and Cert-Type extensions to match IANA registry.
5370 ** Fixed bug in OpenPGP authentication handshake.
5372 ** Improvements for building under MinGW.
5373 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
5374 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
5375 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
5376 at run-time from ws2_32.dll, and falls back on a simple replacement if
5377 it is not available.  Builds the library with -mms-bitfields
5378 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
5379 create *.def files, which are installed.
5381 ** The examples now (conditionally) include config.h and link to gnulib.
5382 No other source changes were necessary, so the examples should
5383 continue to be possible to use stand-alone without any autoconf or
5384 gnulib stuff.
5386 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
5387 You may unconditionally disable it with --disable-cxx.  See
5388 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
5389 implementation.
5391 ** Made command line tool '--version' behave according to GNU Standards.
5392 This enables 'make distcheck' to succeed.
5394 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
5396 ** Make --without-included-libtasn1 work.
5397 Reported by Daniel Black <dragonheart@gentoo.org>.
5399 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
5400 See http://www.gnu.org/software/gnutls/security.html regardging
5401 GNUTLS-SA-2006-2 for more up to date information.  Reported by
5402 satyakumar <satyam_kkd@hyd.hellosoft.com>.
5404 ** API and ABI modifications:
5405 No changes since last version.
5407 * Version 1.4.5 (released 2006-11-06)
5409 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
5410 ** version, try to negotiate the highest version support by the GnuTLS server,
5411 ** instead of the lowest.
5412 Reported by <Pasi.Eronen@nokia.com>.
5414 ** Fix typo in doc/examples/ex-serv-pgp.c.
5415 Reported by Adam Langley" <agl@imperialviolet.org>.
5417 ** API and ABI modifications:
5418 No changes since last version.
5420 * Version 1.4.4 (released 2006-09-12)
5422 ** Relax the test that caught signatures that exploit the variant of
5423 ** Bleichenbacher's Crypto 06 rump session attack on our
5424 ** verification logic flaw.
5425 In particular, we now permit the digestAlgorithm.parameters field to
5426 be present but empty, whereas in 1.4.3 we actually checked that the
5427 field was absent.
5429 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
5430 The messages are only printed in debug mode, which is not recommended
5431 for normal use, and thus logging this situation cannot be abused as an
5432 oracle in typical recommended situations.
5434 ** API and ABI modifications:
5435 No changes since last version.
5437 * Version 1.4.3 (released 2006-09-08)
5439 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
5440 ** Crypto 06 rump session attack.
5441 In particular, we check that the digestAlgorithm.parameters field is
5442 empty, to avoid that it can contain "garbage" that may be used to
5443 alter the numeric properties of the signature.  See
5444 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
5445 not exactly the same as the problem we fix here).  Reported by Yutaka
5446 OIWA <y.oiwa@aist.go.jp>.
5448 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
5449 up to date information.
5451 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
5452 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
5453 Reported by Werner Koch <wk@gnupg.org>.
5455 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
5456 up to date information.
5458 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
5460 ** API and ABI modifications:
5461 No changes since last version.
5463 * Version 1.4.2 (released 2006-08-12)
5465 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
5466 This can happen if you call gnutls_certificate_verify_peers2 and have
5467 a certain mix of local CA certificates and the peer send special
5468 certificates, that together trigger certain behaviour.  It is not
5469 known at this point whether the crash can be triggered without the
5470 special local CA certificate, and thus turn this into a remote crash
5471 of clients that verify server certificates when they talk to a server
5472 with the special server certificate.  See GNUTLS-SA-2006-2 on
5473 http://www.gnu.org/software/gnutls/security.html for more up to date
5474 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
5476 ** Change SRP and Cert-Type extensions to match IANA registry.
5478 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
5480 ** Make --without-included-libtasn1 work.
5481 Reported by Daniel Black <dragonheart@gentoo.org>.
5483 ** API and ABI modifications:
5484 No changes since last version.
5486 * Version 1.4.1 (released 2006-06-14)
5488 ** Replaced inactive ifdefs to enable openpgp support in test programs.
5490 ** Fixed bug in OpenPGP authentication handshake.
5492 ** Fixed typographical in man pages.
5494 ** Build fixes of the manual.
5496 ** Added Swedish translation.
5498 ** API and ABI modifications:
5499 No changes since last version.
5501 * Version 1.4.0 (released 2006-05-15)
5503 ** Remove GnuTLS 0.8.x compatibility functions.
5505 ** The libgcrypt RNG is initialized in gnutls_global_init().
5507 ** TLS/IA API changes from Emile van Bergen.
5508 A dummy credential structure is not needed now, if you wish to use the
5509 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
5510 a session.
5512 ** The self-tests are now run under valgrind, if it is installed.
5514 ** Libtasn1 is updated to 0.3.4, and that version is now required.
5516 ** The command line tools now use getaddrinfo and support IPv6.
5518 ** API and ABI modifications:
5519 _gnutls_x509_get_raw_crt_activation_time,
5520 _gnutls_x509_get_raw_crt_expiration_time: Removed.
5521 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
5522 gnutls_ia_enable: Added.
5524 * Version 1.3.5 (released 2006-03-08)
5526 ** Error messages are now translated using GNU Gettext.
5528 ** The function gnutls_x509_crt_to_xml now return an internal error.
5529 This means that the code to convert X.509 certificates to XML format
5530 does not work any more.  The reason is that the function called
5531 libtasn1 internal functions.  It seems unclean for libtasn1 to export
5532 the APIs needed here.  Instead it would be better to implement XML
5533 support inside libtasn1 properly.  If you need this functionality
5534 strongly, please consider looking into implementing this suggested
5535 approach instead.  As a workaround, you may also modify lib/x509/xml.c
5536 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
5538 ** Libraries are now built with libtool's -no-undefined.
5539 This helps producing libraries for Windows using mingw32.
5541 ** Doc fixes to explain that gnutls_record_send can block.
5543 ** Libtasn1 0.3.1 or later is now required.
5544 The include copy has been updated too.
5546 ** gnutls-cli can now recognize services and port numbers with the -p option.
5548 ** API and ABI modifications:
5549 No changes since last version.
5551 * Version 1.3.4 (released 2006-02-09)
5553 ** Fix read of out bounds bug in DER parser.
5554 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
5555 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
5556 previous bug fix.  The included libtasn1 version in GnuTLS has been
5557 updated.
5559 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
5560 longer invalidate a session if the underlying send fails, but it will 
5561 prevent future writes. That is to allow reading the already received data.
5562 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
5564 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
5565 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
5566 more than one certificates were added. Report and patch by Max Kellermann.
5568 ** Fix build problems of OpenCDK on AIX.
5569 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
5571 ** API and ABI modifications:
5572 No changes since last version.
5574 * Version 1.3.3 (released 2006-01-12)
5576 ** New API to access the TLS master secret.
5577 When possible, you should use the TLS PRF functions instead.
5578 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
5580 ** Improved handling when multiple libraries use GnuTLS at the same time.
5581 Now gnutls_global_init() can be called multiple times, and
5582 gnutls_global_deinit() will only deallocate the structure when it has
5583 been called as many times as gnutls_global_init() was called.
5585 ** Added a self test of TLS resume functionality.
5587 ** Fix crash in TLS resume code, caused by TLS/IA changes.
5589 ** Documentation fixes about thread unsafety, prompted by
5590 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
5591 In particular, gnutls_global_init() and gnutls_global_deinit() are not
5592 thread safe.  Careful callers may want to protect the call using a
5593 mutex.  The problem could also be ignored, which would cause a memory
5594 leak under rare conditions when two threads invoke the function
5595 roughly at the same time.
5597 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
5599 ** The code was indented again, including the external header files.
5601 ** API and ABI modifications:
5602 New functions to retrieve the master secret value:
5603   gnutls_session_get_master_secret
5605 Add a 'const' keyword to existing API:
5606   gnutls_x509_crq_get_challenge_password
5608 * Version 1.3.2 (released 2005-12-15)
5610 ** GnuTLS now support TLS Inner application (TLS/IA).
5611 This is per draft-funk-tls-inner-application-extension-01.  This
5612 functionality is added to libgnutls-extra, so it is licensed under the
5613 GNU General Public License.
5615 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
5616 The PRF is used by some protocols building on TLS, such as EAP-PEAP
5617 and EAP-TTLS.  One function to access the raw PRF and one to access
5618 the PRF seeded with the client/server random fields are provided.
5619 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
5621 ** New APIs to acceess the client and server random fields in a session.
5622 These fields can be useful by protocols using TLS.  Note that these
5623 fields are typically used as input to the TLS PRF, and if this is your
5624 intended use, you should use the TLS PRF API that use the
5625 client/server random field directly.  Suggested by Jouni Malinen
5626 <jkmaline@cc.hut.fi>.
5628 ** Internal type cleanups.
5629 The uint8, uint16, uint32 types have been replaced by uint8_t,
5630 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
5631 correct types on platforms that lack them.  The uint type have been
5632 replaced by unsigned.
5634 ** API and ABI modifications:
5635 New functions to invoke the TLS Pseudo-Random-Function (PRF):
5636   gnutls_prf
5637   gnutls_prf_raw
5639 New functions to retrieve the session's client and server random values:
5640   gnutls_session_get_server_random
5641   gnutls_session_get_client_random
5643 New function, to perform TLS/IA handshake:
5644   gnutls_ia_handshake
5646 New function to decide whether to do a TLS/IA handshake:
5647   gnutls_ia_handshake_p
5649 New functions to allocate a TLS/IA credential:
5650   gnutls_ia_allocate_client_credentials
5651   gnutls_ia_free_client_credentials
5652   gnutls_ia_allocate_server_credentials
5653   gnutls_ia_free_server_credentials
5655 New functions to handle the AVP callback:
5656   gnutls_ia_set_client_avp_function
5657   gnutls_ia_set_client_avp_ptr
5658   gnutls_ia_get_client_avp_ptr
5659   gnutls_ia_set_server_avp_function
5660   gnutls_ia_set_server_avp_ptr
5661   gnutls_ia_get_server_avp_ptr
5663 New functions, to toggle TLS/IA application phases:
5664   gnutls_ia_require_inner_phase
5666 New function to mix session keys with inner secret:
5667   gnutls_ia_permute_inner_secret
5669 Low-level API (used internally by gnutls_ia_handshake):
5670   gnutls_ia_endphase_send
5671   gnutls_ia_send
5672   gnutls_ia_recv
5674 New functions that can be used after successful TLS/IA negotiation:
5675   gnutls_ia_generate_challenge
5676   gnutls_ia_extract_inner_secret
5678 Enum type with TLS/IA modes:
5679   gnutls_ia_mode_t
5681 Enum type with TLS/IA packet types:
5682   gnutls_ia_apptype_t
5684 Enum values for TLS/IA alerts:
5685   GNUTLS_A_INNER_APPLICATION_FAILURE
5686   GNUTLS_A_INNER_APPLICATION_VERIFICATION
5688 New error codes, to signal when an application phase has finished:
5689   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
5690   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
5692 New error code to signal TLS/IA verify failure:
5693   GNUTLS_E_IA_VERIFY_FAILED
5695 * Version 1.3.1 (released 2005-12-08)
5697 ** Support for DHE-PSK cipher suites has been added.
5698 This method offers perfect forward secrecy.
5700 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5701 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5703 ** Corrected a bug in certtool for 64 bit machines. Reported
5704 by Max Kellermann <max@duempel.org>.
5706 ** New function to set a X.509 private key and certificate pairs, and/or
5707 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
5708 <emile@e-advies.nl>.
5710 The integrity of the PKCS#12 file is protected through a password
5711 based MAC; public-key based signatures for integrity protection are
5712 not supported.  PKCS#12 bags may be encrypted using password derived
5713 symmetric keys, public-key based encryption is not supported.  The
5714 PKCS#8 keys may be encrypted using passwords.  The API use the same
5715 password for all operations.  We believe that any more flexibility
5716 create too much complexity that would hurt overall security, but may
5717 add more PKCS#12 related APIs if real-world experience indicate
5718 otherwise.
5720 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
5721 reported by Emile van Bergen <emile@e-advies.nl>.
5722 This will enable "certtool -k -8" to parse those keys.
5724 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
5725 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
5726 certtool would have encrypted the key using an empty password.
5728 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
5729 Earlier it would have prompted the user for it, even if --password was
5730 supplied.
5732 ** Added self test of PKCS#8 parsing.
5733 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
5734 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
5735 tests/pkcs8.
5737 ** API and ABI modifications:
5738 New function to set X.509 credentials from a PKCS#12 file:
5739   gnutls_certificate_set_x509_simple_pkcs12_file
5741 New gnutls_kx_algorithm_t enum type:
5742   GNUTLS_KX_DHE_PSK
5744 New API to return session data (basically same as gnutls_session_get_data):
5745   gnutls_session_get_data2
5747 New API to set PSK Diffie-Hellman parameters:
5748   gnutls_psk_set_server_dh_params
5750 * Version 1.3.0 (2005-11-15)
5752 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
5753 This add several new APIs, see below.  Read the updated manual for
5754 more information.  A new self test "pskself" has been added, that will
5755 test this functionality.
5757 ** The session resumption data are now system independent.
5759 ** The code has been re-indented to conform to the GNU coding style.
5761 ** Removed the RIPEMD ciphersuites.
5763 ** Added a discussion of the internals of gnutls in manual.
5765 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
5767 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
5769 ** Make sure config.h is included first in a few files, from Albert Chin.
5771 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
5773 ** Don't install SRP programs and man pages if --disable-srp-authentication,
5774 from Albert Chin.
5776 ** API and ABI modifications:
5777 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
5779 New gnutls_credentials_type_t credential type:
5780   GNUTLS_CRD_PSK
5782 New credential types:
5783   gnutls_psk_server_credentials_t
5784   gnutls_psk_client_credentials_t
5786 New functions to allocate PSK credentials:
5787   gnutls_psk_allocate_client_credentials
5788   gnutls_psk_free_client_credentials
5789   gnutls_psk_free_server_credentials
5790   gnutls_psk_allocate_server_credentials
5792 New enum type for PSK key flags:
5793   gnutls_psk_key_flags
5795 New function prototypes for credential callback:
5796   gnutls_psk_client_credentials_function
5797   gnutls_psk_server_credentials_function
5799 New function to set PSK username and key:
5800   gnutls_psk_set_client_credentials
5802 New function to set PSK passwd file:
5803   gnutls_psk_set_server_credentials_file
5805 New function to extract PSK user in server:
5806   gnutls_psk_server_get_username
5808 New functions to set PSK callback:
5809   gnutls_psk_set_server_credentials_function
5810   gnutls_psk_set_client_credentials_function
5812 Use size_t instead of int for output size parameter:
5813   gnutls_srp_base64_encode
5814   gnutls_srp_base64_decode
5816 * Version 1.2.11 (2006-05-11)
5817 - The function gnutls_x509_crt_to_xml is not supported any more, and
5818   return an internal error.  The reason is that the function called
5819   internal libtasn1 functions which are no longer exported from
5820   libtasn1.
5821 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
5822 - Updated gnulib compatibility files.
5823 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
5824   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
5825 - API and ABI modifications:
5826   No changes since last version.
5828 * Version 1.2.10 (2006-02-09)
5829 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
5830   <admin@gleg.net>, and debugging help from Protover SSL.
5831 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
5832   The included version has been updated too.
5833 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5834   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5835 - Corrected a bug in certtool for 64 bit machines. Reported
5836   by Max Kellermann <max@duempel.org>.
5837 - Corrected bugs in gnutls_certificate_set_x509_crl() and
5838   gnutls_certificate_set_x509_trust(), that caused memory corruption if
5839   more than one certificates were added. Report and patch by Max Kellermann.
5840 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
5841   longer invalidate a session if the underlying send fails, but it will 
5842   prevent future writes. That is to allow reading the already received data.
5843   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
5845 * Version 1.2.9 (2005-11-07)
5846 - Documentation was updated and improved.
5847 - RSA-MD2 is now supported for verifying digital signatures.
5848 - Due to cryptographic advances, verifying untrusted X.509
5849   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
5850   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
5851   applications that must remain interoperable, you can use the
5852   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
5853   flags when verifying certificates.  Naturally, this is not
5854   recommended default behaviour for applications.  To enable the
5855   broken algorithms, call gnutls_certificate_set_verify_flags with the
5856   proper flag, to change the verification mode used by
5857   gnutls_certificate_verify_peers2.
5858 - Make it possible to send empty data through gnutls_record_send,
5859   to align with the send(2) API.
5860 - Some changes in the certificate receiving part of handshake to prevent
5861   some possible errors with non-blocking servers.
5862 - Added numeric version symbols to permit simple CPP-based feature
5863   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
5864 - The (experimental) low-level crypto alternative to libgcrypt used
5865   earlier (Nettle) has been replaced with crypto code from gnulib.
5866   This leads to easier re-use of these components in other projects,
5867   leading to more review and simpler maintenance.  The new configure
5868   parameter --with-builtin-crypto replace the old --with-nettle, and
5869   must be used if you wish to enable this functionality.  See README
5870   under "Experimental" for more information.  Internally, GnuTLS has
5871   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
5872   API is similar to the old crypto/gc.h, because the gnulib code were
5873   based on GnuTLS's gc.h.
5874 - Fix compiler warning in the "anonself" self test.
5875 - API and ABI modifications:
5876 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
5877                              This doesn't reflect a change in behaviour,
5878                              so we don't break backwards compatibility.
5879 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
5880 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
5881 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
5882 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
5883                                   Use when calling
5884                                   gnutls_x509_crt_list_verify,
5885                                   gnutls_x509_crt_verify, or
5886                                   gnutls_certificate_set_verify_flags.
5887 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
5888                                 used when broken signature algorithms
5889                                 is used (currently RSA-MD2/MD5).
5890 LIBGNUTLS_VERSION_MAJOR,
5891 LIBGNUTLS_VERSION_MINOR,
5892 LIBGNUTLS_VERSION_PATCH,
5893 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
5894                           version number, can be used for feature existence
5895                           tests.
5897 * Version 1.2.8 (2005-10-07)
5898 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
5899 - Don't install the auxilliary libexamples library used by the
5900   examples in doc/examples/ on "make install", report and tiny patch
5901   from Thomas Klausner <tk@giga.or.at>.
5902 - If you pass a X.509 CA or PGP trust database to the command line
5903   tool, it will now abort the connection if the server certificate
5904   validation fails.  Use the parameter --insecure to continue even
5905   after certificate validation failures.  Inspired from discussion
5906   with Alexander Kotelnikov <sacha@myxomop.com>.
5907 - The test for socklen_t has been moved to gnulib.
5908 - Link failures for duplicate or missing "program_name" symbol has been fixed,
5909   patch from Martin Lambers <marlam@marlam.de>.
5910 - The command line tool and the examples no longer uses mmap or bzero,
5911   to make them more portable, patch from Martin Lambers
5912   <marlam@marlam.de>.
5913 - Made the PKCS #12 API handle null passwords. Based on patch by
5914   Anton Altaparmakov <aia21@cam.ac.uk>.
5915 - The GTK-DOC manual should build with current released tools.
5916   (But a copy of the output is included, so the tools are not required.)
5917 - The inet_ntop function is now used through gnulib.
5918 - API and ABI modifications:
5919   No changes since last version.
5921 * Version 1.2.7 (2005-09-09)
5922 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
5923 - Certtool now complains when reading out-of-range X.509 serial
5924   numbers, suggested by Fran <e_agf@yahoo.es>.
5925 - Certtool now uses the readline library (when available) when reading
5926   X.509 serial numbers.
5927 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
5928 - Fixed compile warning regarding socklen_t on Mingw32, reported by
5929   Martin Lambers <marlam@marlam.de>.
5930 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
5931 - Gnulib is now used for the core library, enabling future code cleanups.
5932 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
5933   suggested by Daniel Stenberg <daniel@haxx.se>.
5934 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
5935 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
5936 - Disable zlib support if zlib.h is not present.
5937 - A number of internal cleanups.
5938 - API and ABI modifications:
5939   No changes since last version.
5941 * Version 1.2.6 (2005-07-16)
5942 - MiniLZO updated to version 2.01 and moved to separate directory.
5943 - Collision between system LZO header files and MiniLZO header file
5944   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
5945 - Will now test for liblzo functionality in liblzo2 too, reported by
5946   Thomas Klausner <tk@giga.or.at>.
5947 - Minilibtasn1 is now 0.2.14 (no code changes).
5948 - Some code changes to avoid GTK-DOC warnings.
5949 - API and ABI modifications:
5950   No changes since last version.
5952 * Version 1.2.5 (2005-07-03)
5953 - More builddir != srcdir fixes, reported by Mike Castle
5954   <dalgoda@ix.netcom.com>.
5955 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
5956   reported by Adam Langley <alangley@gmail.com>.
5957 - Corrected some stuff in minilzo detection. Pointed out by 
5958   Sergey Lipnevich.
5959 - MiniLZO updated to version 2.00.
5960 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
5961 - API and ABI modifications:
5962   No changes since last version.
5964 * Version 1.2.4 (2005-05-28)
5965 - Corrected some bugs that could affect 64 bit systems.
5966 - Some corrections in the header files to include the prototype
5967   of memmem properly (affected 64 bit systems). Report and patch
5968   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5969 - Introduced the --fix-key option to certtool, which can be used to
5970   regenerate the (optional) parameters in a private key. It should
5971   be used together with --key-info.
5972 - Corrected a bug in certificate chain verification that could lead
5973   to marking a trusted chain as non trusted, if the last certificate in
5974   the chain was a self signed one.
5975 - Gnulib portability files were updated.
5976 - License were updated to reflect new FSF address.
5977 - API and ABI modifications:
5978   No changes since last version.
5980 * Version 1.2.3 (2005-04-28)
5981 - Corrected bug in record packet parsing that could lead
5982   to a denial of service attack.
5983 - Corrected bug in RSA key export. Previously exported keys
5984   can be fixed using certtool. Use certtool -k <infile >outfile
5985 - API and ABI modifications:
5986     gnutls_x509_privkey_fix(): Add.
5988 * Version 1.2.2 (2005-04-25)
5989 - gnutls_error_to_alert() now considers
5990   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
5991 - Fixed error in session resuming that could cause a crash in a session.
5992 - Fixed pkcs12 friendly name and local key identifier decoding.
5993 - Internal cleanups, removed duplicate typedef/struct definitions,
5994   and made source code include external include file, to check
5995   function prototypes during compile time.
5996 - API and ABI modifications:
5997   No changes since last version.  At least not intentional, but due
5998   to the include header changes, there may be inadvertant changes,
5999   please let us know if you find any.
6001 * Version 1.2.1 (2005-04-04)
6002 - gnutls_bye() will no longer fail when RDWR is used and application
6003   data are available for reading.
6004 - Added more strict checks for the SRP parameters (g,n), when they
6005   are not in the included list.
6006 - Added warning to certtool when MD5 is being used for digital
6007   signatures.
6008 - Optimizations ("-O2 -finline-functions") are not enabled by default,
6009   instead the standard autoconf defaults are used.  Use `./configure
6010   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
6011 - Added the option --get-dh-params to certtool, in order to get the
6012   parameters included in the library primes and generators.
6013 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
6014   allow only trusted Version 1 CAs and introduced
6015   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
6016 - Nettle self tests now build properly, reported by Pierre
6017   <pierre42d@9online.fr>.
6018 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
6019   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6020 - If the library has been compiled with features disabled, a warning is 
6021   issued during the compilation of any program.
6022 - API and ABI modifications:
6023     gnutls_x509_crt_list_import(): Add
6024     gnutls_x509_crq_get_attribute_by_oid(): Add.
6025     gnutls_x509_crq_set_attribute_by_oid(): Add
6026     gnutls_x509_crt_set_extension_by_oid(): Add.
6027     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
6028     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
6030 * Version 1.2.0 (2005-01-27)
6031 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
6032 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
6033   gnutls_x509_crl_sign2().
6034 - Fixed license header in source code files.
6036 * Version 1.1.23 (2005-01-18)
6037 - It is now possible to generate PKCS#12 structures without private
6038   keys using "certtool --to-p12", suggested by Fabian Fagerholm
6039   <fabbe@paniq.net>.
6040 - Certtool now prints information for the RSA and DSA parameters of
6041   certificates and private keys.
6042 - Corrected the write of CRL distribution points.
6043 - The certificate chain verification function now checks certificates
6044   in the reverse order to minimize the spent resources.
6045 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
6046 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
6047   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
6048   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
6049   required, instead of the string length.  That is, the value has been
6050   incremented by 1 to account for the terminating zero. Reported by
6051   Martin Lambers <marlam@web.de>.
6052 - Debug output shouldn't crash on platforms that doesn't handle NULL
6053   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
6054 - Sync included copy of libtasn1 with version 0.2.13.
6055 - Client X.509 authenticated connections via gnutls-cli should now work again.
6057 * Version 1.1.22 (2004-11-04)
6058 - Replace GNU LD version script with Libtool -export-symbols-regex,
6059   from Joe Orton <joe@manyfish.co.uk>.
6060 - Documentation improvements.
6061 - Code indented using 'indent -i4 -kr'.
6062 - The API manual is included in Devhelp format.  (Was in last release too,
6063   but the NEWS entry was forgotten.)
6064 - The OpenSSL compatibility code now use the internal crypto interface.
6065 - Added simple self test of OpenSSL compatibility library.
6066 - Internally, libtool convenience libraries are used.
6067 - Cleanups to configure.ac.
6069 * Version 1.1.21 (2004-10-27)
6070 - Print DN of certificates with unknown characters in them, but in hexform
6071   only.
6072 - Added second precision to the X.509 parsing and generation functions.
6073 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
6074   actual OID.
6075 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
6076   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
6077 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
6078   <stephane.loeuillet@tiscali.fr>.
6079 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
6080   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
6081 - Add self test of PKCS#12 functionality in "certtool", based on test
6082   vectors from Joe Orton <joe@manyfish.co.uk>.
6083 - Fix library order in libgnutls*-config --libs output, to permit
6084   static linking, reported by Yoann Vandoorselaere
6085   <yoann@prelude-ids.org>.
6087 * Version 1.1.20 (2004-10-12)
6088 - Fix compile problem in gl/getpass.c on some systems.
6090 * Version 1.1.19 (2004-10-07)
6091 - Fix memory leak in gnutls_certificate_verify_peers and
6092   gnutls_certificate_free_credentials, report and patch by Simon
6093   Posnjak <simon.posnjak@cetrtapot.si>.
6094 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
6095   a key and no certificate to PKCS#12.
6096 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
6097   <gp@familiehaase.de>.
6098 - Fixes faulty getpass implementation in libextra/opencdk/, reported
6099   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6100 - Uses memmem instead of strnstr in lib/.
6101 - Using more GNULib portability files, although not yet inside lib/.
6102 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
6103   Nikos deprecated gnutls_certificate_verify_peers in favor of
6104   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
6105 - Improvements to the manual.
6106 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
6107 - Known bug: the library require snprintf.  This has not yet been
6108   fixed, but will be handled via GNULib later on.
6110 * Version 1.1.18 (2004-08-24)
6111 - Corrected handling of certificate with dates after year 2038.
6112 - Corrected DER decoder which could incorrectly treat input as BER and fail.
6113 - Correct certtool --smime-to-p7 end of line character handling.
6114 - Added example client and server for anonymous authentication.
6115 - Added self test that tests anonymous TLS client and server.
6116 - Added self tests of Nettle and generic crypto layer.
6117 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
6118   Online version at <http://www.gnu.org/software/gnutls/reference/>.
6119 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
6120 - Man pages for API functions are included.
6122 * Version 1.1.17 (2004-08-18)
6123 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
6124   reported by Robey Pointer <robey@danger.com>.
6125 - Generic crypto interface for secret key ciphers, hashes and randomness added.
6126   See section "Experimental" within section "COMPILATION ISSUES" in README.
6127 - Removed length limit on passwords read by 'certtool'.
6128 - Documentation fixes.
6130 * Version 1.1.16 (2004-08-15)
6131 - Fix missing gnulib linker parameter when building certtool.
6132 - Add gnulib module 'progname', needed by module 'error'.
6133 - Improve building with srcdir != objdir.
6135 * Version 1.1.15 (2004-08-15)
6136 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
6137   PKCS #7 format.
6138 - Ported to Mac OS X / Darwin.
6139 - Ported to FreeBSD.
6141 * Version 1.1.14 (2004-08-09)
6142 - Documentation converted to Texinfo format.
6143 - Bug fix of test suite.
6144 - Configure now print build information, used by Autobuild.
6146 * Version 1.1.13 (2004-08-05)
6147 - Added simple self test suite.
6149 * Version 1.1.12 (2004-08-02)
6150 - Updated the SRP authentication to conform to the
6151   latest (yet unreleased) draft. Unfortunately this breaks
6152   compatibility with previous versions.
6153 - Changed the makefiles to be more portable.
6154 - SRP ciphersuites were moved to the gnutls library.
6155 - Added some default limits in the verification of certificate
6156   chains, to avoid denial of service attacks. Also added 
6157   gnutls_certificate_set_verify_limits() to override them.
6158   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
6159 - Added gnutls_certificate_verify_peers2().
6161 * Version 1.1.11 (2004-07-16)
6162 - Added the '_t' suffix to all exported symbols.
6163 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
6164   <mak@greenhills.co.uk>.
6165 - Corrected a bug in certificate verification. Pointed out by
6166   Yoann Vandoorselaere <yoann@prelude-ids.org>
6167 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
6168   verification functions.
6169 - The ephemeral DH and RSA parameters are no longer stored in the
6170   session resume DB.
6171 - Do not free the SRP (prime and generator) parameters obtained from the 
6172   callback if they are the static ones defined in extra.h
6173 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
6175 * Version 1.1.10 (2004-06-12)
6176 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
6177 - Corrected bug in TLS renegotiation.
6178 - Corrected bug in OpenPGP key loading using a callback.
6179 - gnutls-srpcrypt was renamed to srptool
6180 - Allow handshake requests by the client.
6181 - Automatically disable certificate types that do not have corresponding
6182   certificates.
6183 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
6184 - Opencdk library is being included if not found.
6185 - certtool can now add ip address SAN extension.
6186 - certtool has now support for more X.520 DN attribute types.
6187 - Better handling of EOF in gnutls_record_recv().
6188 - _gnutls_deinit() is no longer used. Sessions are not
6189   automatically removed any more, on abnormal termination.
6190 - Corrected session resuming in SRP ciphersuites.
6191 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
6192 - Added new functions to allow access to the ephemeral
6193   Diffie Hellman parameters.
6194 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
6195   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
6196 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
6197   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
6198   RSA-EXPORT key exchange.
6199 - Some fixes in the session resuming code.
6200 - Added gnutls_openpgp_keyring_check_id().
6202 * Version 1.1.9 (2004-04-14)
6203 - Added support for authority key identifier and the extended key usage
6204   X.509 extension fields. The certtoool was updated to support them.
6205 - The RC2 cipher is no more included. The one in libgcrypt is now used.
6206 - Added batch support to certtool. Now it can use templates.
6208 * Version 1.1.8 (2004-04-07)
6209 - Implemented all the tests for the SRP group parameters in
6210   client side. This may lead to incompatibility with very
6211   old gnutls servers.
6212 - Corrected bug in RSA parameters handling which could cause
6213   unexpected crashes.
6214 - Optimized the copying of rsa_params.
6216 * Version 1.1.7 (2004-03-29)
6217 - Added gnutls_certificate_set_params_function() and 
6218   gnutls_anon_set_params_function() that set the RSA or DH
6219   parameters using a callback.
6220 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
6221   and gnutls_x509_privkey_cpy().
6222 - Corrected a compilation issue when opencdk was installed in a
6223   non standard directory.
6224 - Deprecated: gnutls_srp_server_set_select_function(), 
6225   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
6227 * Version 1.1.6 (2004-02-24)
6228 - Several bug fixes, by Arne Thomassen.
6229 - Fixed a bug where 'server name' extension was always sent.
6231 * Version 1.1.5 (2004-01-06)
6232 - Added the gnutls_sign_algorithm type.
6234 * Version 1.1.4 (2004-01-04)
6235 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
6236   If they are of highest priority then the abbreviated handshake
6237   is used.
6238 - Removed all references of missing files.
6239 - Changed handshake behaviour to send the lowest TLS version
6240   when an unsupported version was advertized. The current behaviour
6241   is to send the maximum version we support.
6242 - Corrected problem printing the DC attributes in a DN.
6244 * Version 1.1.3 (2003-12-30)
6245 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
6246   hack).
6248 * Version 1.1.2 (2003-12-28)
6249 - Added CRL verification functionality to certtool.
6250 - Corrected the CRL distribution point extension handling.
6252 * Version 1.1.1 (2003-12-26)
6253 - Added PKCS #7 support to certtool utility.
6254 - Added support for reading and generating CRL distribution
6255   points extensions in certificates.
6256 - Added support for generating CRLs in the library and the
6257   certtool utility.
6258 - Added support for the Subject Key ID PKIX extension.
6260 * Version 1.1.0 (2003-12-21)
6261 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
6262   are no longer returned by the handshake function. Ciphersuites that
6263   require temporary parameters are removed when such parameters do not exist.
6264 - Added the callbacks gnutls_certificate_client_retrieve_function() and
6265   gnutls_certificate_server_retrieve_function(), to allow a client or a server
6266   to specify certificates for the handshake without storing them to the
6267   credentials structure.
6268 - Added support for generating and exporting DSA private keys.
6269 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
6270   certificate's key usage.
6271 - Added gnutls_openpgp_key_get_key_usage().
6273 * Version 1.0.25 (2005-04-27)
6274 - Corrected bug in record packet parsing that could lead
6275   to a denial of service attack.
6276 - Corrected bug in RSA key export.
6278 * Version 1.0.24 (2005-01-18)
6279 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
6281 * Version 1.0.23 (2004-11-13)
6282 - Replace GNU LD version script with Libtool -export-symbols-regex,
6283   from Joe Orton <joe@manyfish.co.uk>.
6284 - Copy libtasn1 has been updated to version 0.2.11.
6285 - Corrected the write of CRL distribution points.
6286 - It is now possible to generate PKCS#12 structures without private
6287   keys using "certtool --to-p12", suggested by Fabian Fagerholm
6288   <fabbe@paniq.net>.
6290 * Version 1.0.22 (2004-10-28)
6291 - Print DN of certificates with unknown characters in them, but in hexform
6292   only.
6293 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
6294   actual OID.
6295 - Added second precision to the X.509 parsing functions.
6296 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
6297   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
6298 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
6299   <stephane.loeuillet@tiscali.fr>.
6300 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
6301   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
6302 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
6303 - Fix library order in libgnutls*-config --libs output, to permit
6304   static linking, reported by Yoann Vandoorselaere
6305   <yoann@prelude-ids.org>.
6307 * Version 1.0.21 (2004-10-07)
6308 - Fix memory leak in gnutls_certificate_verify_peers and
6309   gnutls_certificate_free_credentials, report and patch by Simon
6310   Posnjak <simon.posnjak@cetrtapot.si>.
6311 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
6312   a key and no certificate to PKCS#12.
6313 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
6314   <gp@familiehaase.de>.
6315 - Avoid redefining getpass if system already has it, reported by
6316   Yoann Vandoorselaere <yoann@prelude-ids.org>.
6317 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
6318 - Known bug: the library require snprintf.
6320 * Version 1.0.20 (2004-08-18)
6321 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
6322   reported by Robey Pointer <robey@danger.com>.
6324 * Version 1.0.19 (2004-08-09)
6325 - Bug fix of test suite.
6327 * Version 1.0.18 (2004-08-05)
6328 - Added simple self test suite.
6330 * Version 1.0.17 (2004-08-02)
6331 - Updated the SRP authentication to conform to the
6332   latest (yet unreleased) draft. Unfortunately this breaks
6333   compatibility with previous versions.
6334 - Changed the makefiles to be more portable.
6335 - Added some default limits in the verification of certificate
6336   chains, to avoid denial of service attacks. Also added 
6337   gnutls_certificate_set_verify_limits() to override them.
6338   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
6339 - Added gnutls_certificate_verify_peers2().
6341 * Version 1.0.16 (2004-07-10)
6342 - Do not free the SRP (prime and generator) parameters obtained from the 
6343   callback if they are the static ones defined in extra.h.
6344 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
6345 - Some fixes in the makefiles.
6347 * Version 1.0.15 (2004-06-29)
6348 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
6349   <mak@greenhills.co.uk>.
6350 - Corrected a bug in certificate verification. Pointed out by
6351   Yoann Vandoorselaere <yoann@prelude-ids.org>.
6353 * Version 1.0.14 (2004-06-12)
6354 - Automatically disable certificate types that do not have corresponding
6355   certificates.
6356 - Updates in the documentation.
6357 - certtool can now add ip address SAN extension.
6358 - certtool has now support for more X.520 DN attribute types.
6359 - Opencdk library is being included if not found.
6360 - Added gnutls_openpgp_keyring_check_id().
6361 - Corrected a serious bug in the included libtasn1 library.
6362 - Corrected session resuming in SRP ciphersuites.
6363 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
6364 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
6365   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
6366 - Some fixes in the session resuming code.
6368 * Version 1.0.13 (2004-04-29)
6369 - Some complilation fixes.
6370 - Added the --xml parameter to the certtool utility.
6372 * Version 1.0.12 (2004-04-23)
6373 - Corrected bug in OpenPGP key loading using a callback.
6374 - Renamed gnutls-srpcrypt to srptool
6375 - Allow handshake requests by the client.
6376 * Things backported from the development branch:
6377 - Added support for authority key identifier and the extended key usage
6378   X.509 extension fields. The certtoool was updated to support them.
6379 - Added batch support to certtool. Now it can use templates.
6380 - The RC2 cipher is no more included. The one in libgcrypt is now used.
6382 * Version 1.0.11 (2004-04-17)
6383 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
6384 - Corrected bug in TLS renegotiation.
6386 * Version 1.0.10 (2004-04-03)
6387 - Corrected bug in RSA parameters handling which could cause
6388   unexpected crashes.
6389 - Corrected bug in SSL 3.0 authentication.
6391 * Version 1.0.9 (2004-03-29)
6392 - Added gnutls_certificate_set_params_function() and 
6393   gnutls_anon_set_params_function() that set the RSA or DH
6394   parameters using a callback.
6395 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
6396   and gnutls_x509_privkey_cpy().
6397 - Corrected a compilation issue when opencdk was installed in a
6398   non standard directory.
6399 - Documented the changes need in multi-threaded application due
6400   to the new libgcrypt.
6402 * Version 1.0.8 (2004-02-28)
6403 - Corrected bug in mutual certificate authentication in SSL 3.0.
6405 * Version 1.0.7 (2004-02-25)
6406 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
6407   hack).
6408 - Some updates in the documentation.
6410 * Version 1.0.6 (2004-02-12)
6411 * Backported things from the development branch (while maintaining
6412   backwards compatibility):
6413 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
6414   If they are of highest priority then the abbreviated handshake
6415   is used.
6416 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
6417   are no longer returned by the handshake function. Ciphersuites that
6418   require temporary parameters are removed when such parameters do not exist.
6419 - Added the callbacks gnutls_certificate_client_retrieve_function() and
6420   gnutls_certificate_server_retrieve_function(), to allow a client or a server
6421   to specify certificates for the handshake without storing them to the
6422   credentials structure.
6423 - Added support for generating and exporting DSA private keys.
6425 * Version 1.0.5 (2004-02-11)
6426 - Fixed a bug where 'server name' extension was always sent.
6427 * Backported things from the development branch:
6428 - Added CRL verification functionality to certtool.
6429 - Corrected the CRL distribution point extension handling.
6430 - Added PKCS #7 support to certtool utility.
6431 - Added support for reading and generating CRL distribution
6432   points extensions in certificates.
6433 - Added support for generating CRLs in the library and the
6434   certtool utility.
6435 - Added support for the Subject Key ID PKIX extension.
6436 - Added the gnutls_sign_algorithm type.
6438 * Version 1.0.4 (2004-01-04)
6439 - Changed handshake behaviour to send the lowest TLS version
6440   when an unsupported version was advertized. The current behaviour
6441   is to send the maximum version we support.
6442 - certtool no longer asks the password in unencrypted private
6443   keys.
6444 - The source is now compiled to use the reentrant libc functions.
6446 * Version 1.0.3 (2003-12-21)
6447 - Corrected bug in gnutls_bye() which made it return an error code
6448   of INVALID_REQUEST instead of success.
6449 - Corrected a bug in the GNUTLS_KEY key usage definitions.
6451 * Version 1.0.2 (2003-12-18)
6452 - Corrected a bug in the RSA key generation. This was
6453   generating unusable RSA keys.
6455 * Version 1.0.1 (2003-12-10)
6456 - Some minor fixes in the makefiles. They now include CFLAGS
6457   from libgcrypt or opencdk if installed in a non standard directory.
6458 - Fixed the SRP detection test in gnutls-cli-debug.
6459 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
6461 * Version 1.0.0 (2003-12-04)
6462 - Exported the static SRP group parameters.
6463 - Some fixes in the certificate authenticated SRP ciphersuites.
6464 - Improved the support for draft-ietf-tls-srp-05. The two-phase
6465   handshake is now fully supported without any interaction with
6466   the application layer (except for a callback).
6468 * Version 0.9.99 (2003-11-28)
6469 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
6470   and gnutls_server_name_get() prototypes.
6471 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
6472   and gnutls_x509_crt_verify_data().
6473 - Some fixes in the openpgp authentication.
6474 - Removed the Twofish cipher.
6476 * Version 0.9.98 (2003-11-16)
6477 - The openssl compatibility layer was moved to gnutls-openssl
6478   library instead of being included in the gnutls-extra library.
6479 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
6480 - Building with openpgp support is now mandatory.
6481 - gnutls4 compatibility header is no longer included by default in
6482   gnutls.h.
6483 - gnutls8 function usage yelds a deprecation warning in gcc3.
6484 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
6485   functions have a raw_flag parameter added.
6486 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
6487   functions which return the available OIDs.
6489 * Version 0.9.97 (2003-11-11)
6490 - The certtool utility can now generate PKCS #12 structures
6491   without specifying a certificate.
6492 - Added capability to read CRLs to certtool.
6493 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
6494   to properly set the required buffer size.
6495 - Corrected a bug in libgcrypt detection.
6497 * Version 0.9.96 (2003-11-09)
6498 - Some changes to allow compilation with mingw32.
6499 - Several code cleanups.
6501 * Version 0.9.95 (2003-11-02)
6502 - Improved the verification functions. Added new verification
6503   output flags and removed the unused and redundant ones.
6504 - Improved the OpenPGP key support.
6505 - The prime utility was removed, and its functionality was moved
6506   to certtool.
6508 * Version 0.9.94 (2003-10-30)
6509 - Added manpages for the included programs.
6510 - Documented and improved the certtool utility. 
6511 - Added PKCS #12 support to certtool utility.
6513 * Version 0.9.93 (2003-10-26)
6514 - Corrected some compilation issues.
6515 - Improved the certtool command line utility.
6517 * Version 0.9.92 (2003-10-25)
6518 - The RFC2818 hostname verification is now case insensitive.
6519 - Added support for generating X.509 certificates.
6520 - Added the certtool, a tool for generating X.509 certificates
6522 * Version 0.9.91 (2003-10-17)
6523 - Fixed a compilation issue in the openpgp authentication part.
6525 * Version 0.9.90 (2003-10-08)
6526 - Updated the openpgp key API (depends on the unreleased new
6527   opencdk).
6529 * Version 0.9.8 (2003-10-02)
6530 - Updated the SRP implementation to follow the latest draft
6531   (draft-ietf-tls-srp-05).
6532 - Improved the gnutls-cli behaviour in error handling,
6533   and added a check for the peer's hostname.
6534 - Use versioned symbols in the library (where available).
6535 - RIJNDAEL ciphersuites were renamed to AES.
6537 * Version 0.9.7 (2003-08-25)
6538 - The tex files are now included in the distribution.
6539 - The library can now decrypt PKCS #12 files encrypted with
6540   the RC2-40 cipher.
6541 - The missing rfc2818_hostname object is now included.
6542 - Several corrections and bug fixes in the library by 
6543   Arne Thomassen <arne@arne-thomassen.de>.
6544 - CR is now allowed in the base64 decoder.
6546 * Version 0.9.6 (2003-06-28)
6547 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
6548   functions which return a unique (per public key) ID. These can
6549   be used to check if the private key corresponds to a given certificate.
6550 - Corrections in the TLS layer openpgp certificate packet parser.
6551 - Corrected a bug in the record layer buffering, which affected
6552   the case where external pull function was used. Report and patch
6553   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
6554 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
6555   was freed.
6556 - SRP programs are now built by default.
6557 - Added API to read and write to PKCS #12 structures. Prototypes
6558   in gnutls/pkcs12.h.
6559 - The gnutls_transport_ptr type was changed to a pointer type (void*).
6561 * Version 0.9.5 (2003-04-06)
6562 - Several improvements in the PKCS #7 handling
6563 - Eliminated several hard coded constants in MPI parameters.
6565 * Version 0.9.4 (2003-03-28)
6566 - Corrected a parsing error in the Certificate request message.
6567 - Corrected behaviour when a certificate request message is received.
6568   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
6569   a no_certificate alert is sent instead.
6570 - Added functionality to generate PKCS #7 structures (with certificates).
6572 * Version 0.9.3 (2003-03-24)
6573 - Support for MD2 was dropped. 
6574 - Improved the error logging functions, by adding a level, and
6575   by allowing debugging messages just by increasing the level.
6576 - The diffie Hellman ciphersuites are now of higher priority than
6577   the plain RSA.
6578 - The RSA premaster secret version check can no longer be disabled.
6579 - Implemented the counter measure discussed in the paper "Attacking
6580   RSA-based Sessions in SSL/TLS", against the attack described in the
6581   same paper.
6582 - Added the functions: gnutls_handshake_get_last_in(), 
6583   gnutls_handshake_get_last_out().
6584 - The gnutls_certificate_set_rsa_params() was renamed to 
6585   gnutls_certificate_set_rsa_export_params().
6586 - Added the new functions: gnutls_certificate_set_x509_key()
6587   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
6588   gnutls_x509_crt_export(), gnutls_x509_crl_export().
6589 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
6590   RSA private keys.
6592 * Version 0.9.2 (2003-03-15)
6593 - Some corrections in the memory mapping code (file is unmapped after 
6594   it is read).
6595 - Added support for PKCS#10 certificate requests generation.
6597 * Version 0.9.1 (2003-03-12)
6598 - Corrected a bug in 64 bit architectures, which affected the
6599   serial number calculation in the record layer.
6600 - Added gnutls_certificate_free_keys() which deletes all the
6601   private keys and certificates from the credentials structure.
6602 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
6603   which caused some unexpected packet length errors. Report and patch
6604   by Ian Peters <itp@ximian.com>.
6605 - Added ability to generate RSA keys.
6606 - Increased the maximum parameter size in order to read some large keys
6607   by some CAs. Patch by Ian Peters <itp@ximian.com>.
6608 - Added an strnstr() function and the requirement in some functions to
6609   use null terminated PEM structures is no more.
6610 - Use mmap() if available to read files.
6611 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
6612   <r.kittinger@efkon.com>.
6614 * Version 0.9.0 (2003-03-03)
6615 - This version is not binary compatible with the previous ones.
6616 - The library notifies the application on empty and illegal SRP usernames, 
6617   so that proper notification (via an alert) is sent to the peer.
6618 - Added ability to send some messages back to the application using
6619   the gnutls_global_set_log_function().
6620 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
6621   gnutls_malloc() to allocate the output parameters.
6622 - Added support for MD2 algorithm in certificate signature verification.
6623 - The RSA and DH parameter generation interface was changed. Added
6624   ability to import and export from and to PKCS3 structures. This 
6625   was needed to read parameters generated using the openssl dhparam tool.
6626 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
6627   parameters are now included in the library. Also the credentials structure 
6628   can now hold only one temporary parameter of a kind.
6629 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
6630   API, defined in gnutls/x509.h
6631 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
6632   verification flags in the credentials structure. They will be used in the
6633   *verify_peers functions.
6634 - Added protection against the new TLS 1.0 record layer timing attack.
6635 - Added support for Certificate revocation lists. Functions defined
6636   in gnutls/x509.h
6637 - The only functions that were removed are:
6638   gnutls_x509_certificate_to_xml()
6639   gnutls_x509_extract_dn_string()
6640 - Ported to libtasn1 0.2.x
6642 * Version 0.8.1 (2003-01-22)
6643 - Improved the SRP support, to prevent attackers guessing the
6644   available usernames by brute force.
6645 - Improved the SRP detection in gnutls-cli-debug
6646 - Some fixes which now allow compilation.
6648 * Version 0.8.0 (2003-01-20)
6649 - Added gnutls_x509_extract_dn_string() which returns a 
6650   distinguished name in a single string.
6651 - Added gnutls_openpgp_extract_key_name_string() which returns
6652   an openpgp user ID in a single string.
6653 - Added gnutls_x509_extract_certificate_ca_status() which returns
6654   the CA status of the given certificate.
6655 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
6656 - If libtasn1 is not present in the system, it is included in 
6657   the main gnutls library.
6658 - If liblzo is present in the system, then the included minilzo
6659   will not be used, and libgnutls-extra will depend on liblzo.
6660 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
6661   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
6662   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
6664 * Version 0.6.0 (2002-12-08)
6665 - Added "gnutls/compat4.h" header. This is included in gnutls.h
6666   to emulate the old 0.4.x API.
6667 - Example programs are now stored in doc/examples/
6668 - Several improvements and updates in the documentation.
6669 - Added the certificate authenticated SRP cipher suites.
6670 - gnutls_x509_extract_certificate_dn_string() was updated to return
6671   an RFC2253 conforming string.
6672 - Added the SRP related functions:
6673    gnutls_srp_verifier()
6674    gnutls_srp_base64_encode()
6675    gnutls_srp_base64_decode()
6676 - Added the function gnutls_srp_set_server_credentials_function()
6677   to allow retrieving SRP parameters from an external backend - other
6678   than password files.
6679 - Added the function gnutls_openpgp_set_recv_key_function()
6680   which can be used to set a callback, to get OpenPGP keys.
6681 - Exported the functions:
6682    gnutls_malloc()
6683    gnutls_free()
6684   which should be used by callback functions.
6685 - Changed the semantics of gnutls_pem_base64_encode_alloc()
6686   and gnutls_pem_base64_decode_alloc(). In the default case
6687   were the gnutls library is used with malloc/realloc/free,
6688   these are binary compatible.
6690 * Version 0.5.11 (2002-11-05)
6691 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
6692   faults at exit.
6693 - Example programs found in the documentation can now be generated by
6694   running "make examples" in doc/tex directory.
6695 - Added more descriptive error strings, to gnutls_strerror().
6696 - Documented error codes, and the function reference list is now sorted.
6697 - Optimized buffering code.
6698 - gnutls_x509_extract_certificate_dn_string() was rewritten.
6699 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
6700   case where the memory buffer provided is not long enough.
6701 - Depends on the new OpenCDK 0.3.2.
6703 * Version 0.5.10 (2002-10-13)
6704 - Updated documentation.
6705 - Added server name extension. This allows clients to specify the
6706   name of the server they connect to. Useful to HTTPS.
6707 - Several corrections in the code base, mostly in signed/unsigned,
6708   checkings.
6710 * Version 0.5.9 (2002-10-10)
6711 - Corrected some code which worked fine in gcc 3.2, but not with any
6712   other compiler.
6713 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
6714   starttls implementations.
6715 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
6716   the private key type, of a DER encoded key.
6717 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
6718   certificate's distinguished name in a single string.
6719 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
6720   functions, to avoid calling all the *_priority() functions if the defaults
6721   are acceptable.
6722 - Added int gnutls_x509_check_certificates_hostname() which check whether
6723   the given hostname matches the owner of the given X.509 certificate.
6725 * Version 0.5.8 (2002-09-25)
6726 - Updated documentation.
6727 - Added gnutls_record_get_direction() which replaces the obsolete
6728   gnutls_handshake_get_direction().
6729 - Added function to convert error codes to alert descriptions
6730 - Added LZO compression
6732 * Version 0.5.7 (2002-09-11)
6733 - Some fixes in the memory allocation functions (realloc).
6734 - Improved the string functions used in XML certificate generation.
6735 - Removed dependency on libgdbm.
6736 - Corrected bug in gnutls_dh_params_set() which affected
6737   gnutls_dh_params_deinit().
6738 - Corrected bug in session resuming code in server side.
6740 * Version 0.5.6 (2002-09-06)
6741 - Corrected bugs in SRP implementation, which prevented gnutls 
6742   to interoperate with other implementations. (interoperability testing
6743   was done by David Taylor)
6744 - Corrected bug in cert_type extension.
6745 - Corrected extension type checks which used an 8 bit extension size,
6746   instead of 16 bits.
6747 - Added versioning in the XML output of certificate functions.
6748 - Removed the X.509 test suite.
6750 * Version 0.5.5 (2002-09-03)
6751 - Updated the SRP implementation to the latest draft. The blowfish
6752   crypt implementation was removed, since the new draft does not allow
6753   other hash algorithms except for the srpsha. 
6754 - Renamed all the constructed types in order to have more consistent
6755   names. 
6756 - Improved the certificate and key read functions. Now they can read 
6757   the certificate and the private key from the same file.
6758 - Updated and corrected documentation.
6760 * Version 0.5.4 (2002-08-27)
6761 - Fixes in TLS 1.0 PRF and SSL3 random functions.
6762 - gnutls_handshake_set_exportable_detection() was obsoleted.
6763 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
6764 - Corrected bug in DHE key exchange
6765 - Added support for temporary RSA keys which are needed for the
6766   export cipher suites.
6767 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
6769 * Version 0.5.3 (2002-08-23)
6770 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
6771   code from the unstable branch.
6773 * Version 0.5.2 (2002-08-22)
6774 - Added an error code that is returned in clients which connect
6775   to export only servers. This must be enabled using the
6776   gnutls_handshake_set_exportable_detection() function.
6777 - Updated openssl compatibility layer.
6778 - Added gnutls_handshake_get_direction() function which returns
6779   the state of the handshake when interrupted.
6781 * Version 0.5.1 (2002-07-17)
6782 - Corrected the m4 macros which used <gnutls.h> instead of
6783   <gnutls/gnutls.h>
6784 - Documentation fixes
6785 - Added gnutls_transport_set_ptr2() function, which accepts two
6786   different pointers, to be used while receiving, and 
6787   while sending data.
6788 - Semantic changes in gnutls_record_set_max_size(). The requested
6789   size is now immediately enforced at the output buffers.
6790 - gnutls_global_init_extra() now fails if the library versions do
6791   not match.
6792 - Fixes in client and server example programs. Null encryption can
6793   be used in these programs, to assist in debuging.
6794 - Fixes in zlib compression code.
6796 * Version 0.5.0 (2002-07-06)
6797 - Added X.509 certificate tests in tests/ directory
6798 - Removed stubs for SRP and Anonymous authentication. They served
6799   no purpose since they are always included, unless it was requested
6800   not to do so.
6801 - Added gnutls_handshake_set_private_extensions() function. This
6802   function can be used to enable private (gnutls specific) cipher suites
6803   and compression algorithms.
6804 - Added check for C99 macro support by the compiler.
6805 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
6806 - Added the new libtasn1 library.
6807 - Removed the gdbm backend. Applications are now responsible for the
6808   session resuming backend. The gnutls-serv application contains an
6809   simple example on how to use gdbm for resuming.
6810 - Headers for the gnutls library are now installed in $(includedir)/gnutls
6811 - Added an OpenSSL compatible interface (with some limitations).
6812 - Added functions to convert DER encoded certificates to XML format.
6814 * Version 0.4.4 (2002-06-24)
6815 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
6816   using keys of some specific size.
6818 * Version 0.4.3 (2002-05-23)
6819 - The gnutls-extra library now compiles fine, if the opencdk library is
6820   not present.
6821 - Several bug fixes.
6822 - Added gnutls_global_set_mem_func() function, to set the memory allocation
6823   functions, if other than the defaults are to be used.
6824 - The default memory allocation functions are now the ones in libc.
6826 * Version 0.4.2 (2002-05-21)
6827 - Separated ASN.1 structures parser documentation and TLS library
6828   documentation.
6829 - Added gnutls_handshake_set_rsa_pms() function, which disables the
6830   version check in RSA premaster secret.
6831 - Added gnutls_session_is_resumed() function, which reports if a session
6832   is a resumed one.
6833 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
6834   assist in callback functions.
6835 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
6836   random one.
6837 - Relicensed the library under the GNU Lesser General Public License
6838 - Added gnutls-extra library which contains the GPL covered code of gnutls.
6840 * Version 0.4.1 (2002-04-07)
6841 - Now uses alloca() for temporary variables
6842 - Optimized RSA signing
6843 - Added functions to return the peer's certificate activation and
6844   expiration time.
6845 - Corrected time function's behaviour (the time value returned no longer
6846   relate to local timezone).
6848 * Version 0.4.0 (2002-04-01)
6849 - Added support for RFC2630 (PKCS7) X.509 certificate sets
6850 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
6851   gnutls_openpgp_extract_key_pk_algorithm().
6852 - Several optimizations in the Handshake protocol
6853 - Several optimizations in RSA algorithm
6854 - Unified the return values because of small buffers.
6856 * Version 0.3.92 (2002-03-23)
6857 - Updated documentation
6858 - Combined error codes of ASN.1 parser and gnutls
6859 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
6860 - Added protection against CBC chosen plaintext attack (disabled by default)
6861 - Improved and optimized compression support
6863 * Version 0.3.91 (2002-03-03)
6864 - Added gnutls-cli-debug program
6865 - Corrections in session resumption
6866 - Rehandshake can now handle negotiation of different authentication
6867   type.
6868 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
6869   now being installed.
6871 * Version 0.3.90 (2002-02-24)
6872 - Handshake messages are not kept in memory any more. Now we use 
6873   less memory during a handshake
6874 - Added support for certificates with DSA parameters
6875 - Added DHE_DSS cipher suites
6876 - Key exchange methods changed so they do not depend on the 
6877   certificate type. Added certificate type negotiation TLS extension.
6878 - Added openpgp key support (EXPERIMENTAL)
6879 - Improved Diffie Hellman key exchange support.
6880 - Bug fixes in the RSA key exchange.
6881 - Added check for the requested TLS extensions
6882 - TLS extensions now use a 16 bit type field.
6883 - Added a minimal string library to assist in ASN.1 parsing
6884 - Changes in ASN.1 parser to work with the new bison
6885 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
6886   gnutls_x509_extract_subject_dns_name()
6887 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
6888 - gnutls_srp_server_set_cred_file() can now be called multiple times
6890 * Version 0.3.5 (2002-01-25)
6891 - Corrected the RSA key exchange method, to avoid attacks against
6892   PKCS-1 formating.
6894 * Version 0.3.4 (2002-01-20)
6895 - Corrected bugs in DHE_RSA key exchange method
6897 * Version 0.3.3 (2002-01-19)
6898 - Added gnutls_x509pki_verify_certificate()
6899 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
6900 - Bug fixes in srpcrypt (based on patch by Marc Huber)
6901 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
6902 - Corrected library versioning
6904 * Version 0.3.2 (2002-01-05)
6905 - Corrected bug which did not allow a client to accept multiple CA names
6906 - Added gnutls_fingerprint()
6907 - Added gnutls_x509pki_extract_certificate_serial()
6908 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
6909 - Corrected behaviour in version advertizing
6910 - Updated documentation
6911 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
6913 * Version 0.3.1 (2001-12-21)
6914 - Corrections in the configuration files
6915 - Fixes a bug in anonymous authentication
6917 * Version 0.3.0 (2001-12-17)
6918 - Corrected bug in new integer formatting (now we use the old format again)
6919 - Several corrections and usual cleanups
6921 * Version 0.2.91 (2001-12-10)
6922 - Fixes in MPI handling (fixes possible bug with signed integers)
6923 - Removed name indication extension
6924 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
6925 - Optimizations in server certificate callback.
6926 - Fixes in anonymous authentication
6927 - Corrections in client ciphersuite selection
6929 * Version 0.2.90 (2001-12-07)
6930 - gnutls_handshake(), gnutls_read() etc. functions no longer require
6931   the 'SOCKET cd' argument. This argument is set using the function
6932   gnutls_set_transport_ptr().
6933 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
6934   a list containing peer's certificate and issuers DER encoded.
6935 - Updated X.509 certificate handling API
6936 - Added callback to select the server certificate
6937 - More consistent function naming (changes in several function names)
6938 - Buffer overflow checking in ASN.1 structures parser
6939 - Updated documentation
6941 * Version 0.2.11 (2001-11-16)
6942 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
6943   is returned, then the caller should perform a handshake or send
6944   an alert to the peer.
6945 - Made receive buffer dynamic. Normally if no large chunks are received
6946   it occupies less space.
6947 - Added max_record_size extension
6948 - Bugfixes in session handling
6949 - Improved non blocking IO support in the Handshake Protocol
6950 - Usual bugfixes and cleanups
6951 - Documentation updated (includes ASN.1 documentation)
6953 * Version 0.2.10 (2001-11-05)
6954 - Corrected bugs and improved non blocking IO
6955 - Added hooks to use external database to store sessions
6956 - Usual cleanups
6958 * Version 0.2.9 (2001-10-27)
6959 - AUTH_INFO types and structures were moved to library internals
6960 - AUTH_FAILED is no longer returned in SRP authentication
6961   (any fatal error in SRP means auth failed)
6962 - Introduced GNUTLS_E_INTERRUPTED
6963 - Added support for non blocking IO
6964 - gnutls_recv() and gnutls_send() are now obsolete
6965 - Changed semantics of gnutls_rehandshake()
6967 * Version 0.2.4 (2001-10-12)
6968 - Better handling of X.509 certificate extensions
6969 - Added DHE_RSA ciphersuites
6970 - Updated the Name Indication (dnsname) extension
6971 - Improvements in Diffie Hellman primes handling
6973 * Version 0.2.3 (2001-09-19)
6974 - Memory optimizations in gnutls_recv()
6975 - Fixed several memory leaks
6976 - Added ability to specify callback for x509 client certificate selection
6977 - Better documentation
6979 * Version 0.2.2 (2001-08-21)
6980 - Several bugfixes (library and documentation)
6982 * Version 0.2.1 (2001-08-07)
6983 - SRP fixes
6985 * Version 0.2.0 (2001-08-07)
6986 - Partial support for X.509v3 Certificate extensions.
6987 - Added Internal memory handlers
6988 - Removed gnutls_x509_set_cn()
6989 - Added X.509 client authentication
6990 - Several bug fixes and protocol fixes
6992 * Version 0.1.9 (2001-07-30)
6993 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
6994 - SRP is updated to conform to the newest draft.
6995 - Added support for DNSNAME extension.
6996 - Reentracy fixes in ASN.1 Parsing.
6997 - Optimizations in hash/hmac functions
6998 - (Error) message handling has changed
6999 - Better Protocol Version handling
7000 - Added X.509 Certificate Verification
7001 - gnutls_read() semantics are now closer to read(2) - added EOF
7002 - Documented some part of gnutls in doc/tex/ using Latex
7004 * Version 0.1.4 (2001-06-22)
7005 - Corrected (srp) base64 encoding.
7006 - Changed bcrypt algorithm to include username.
7007 - Added RSA Ciphersuites (no certificate checking).
7008 - Fixes in SSL 2.0 client hello parsing.
7009 - Added ASN.1 and DER parsers.
7010 - Bugfixes in session resuming
7011 - Updated Ciphersuite selection algorithm
7012 - Added internal representation of X.509 structures.
7013 - Added global state
7015 * Version 0.1.3 (2001-06-01)
7016 - Updated API (and the way it is documented - we use inline documentation)
7017 - Added function to access alert messages.
7018 - Added support for renegotiating parameters.
7019 - Better and Faster Resume Database handling.
7020 - Several bugfixes
7022 * Version 0.1.2 (2001-05-14)
7023 - Updated API
7024 - Fixes in extension handling
7026 * Version 0.1.1 (2001-05-13)
7027 - Added compatibility with Stanford's libsrp library
7029 * Version 0.1.0 (2001-05-09)
7030 - Added SSL 2.0 client hello support
7031 - GNUTLS is a gnu library
7032 - Added support for TLS extensions.
7033 - Added support for SRP
7035 * Version 0.0.7 (2001-01-11)
7036 - Added server side session resuming (using gdbm)
7037 - Added twofish algorithm
7039 * Version 0.0.6 (2000-12-20)
7040 - Added client side session resuming
7041 - Better documentation (check doc/API)
7042 - Better socket handling (gnutls can be used with select())
7043 - Some primitive support for non blocking IO and socket options has been added.
7045 * Version 0.0.5 (2000-12-07)
7046 - Added Compression (using ZLIB)
7047 - Added SSL 3.0 support
7049 ----------------------------------------------------------------------
7050 Copying and distribution of this file, with or without modification,
7051 are permitted in any medium without royalty provided the copyright
7052 notice and this notice are preserved.