updated todo list
[gnutls.git] / NEWS
blob75eefb5d61a33fb3c7b4a6974af5c8b2ad3a45e9
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.6 (unreleased)
7 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
9 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
10 policy qualifiers.
12 ** API and ABI modifications:
13 No changes since last version.
16 * Version 3.1.5 (released 2012-11-24)
18 ** libgnutls: Added functions to parse the certificates policies
19 extension.
21 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
22 Name by translating it to UTF-8 (works on windows or systems with iconv).
24 ** libgnutls: Added PKCS #11 key generation function that returns the 
25 public key on generation.
27 ** libgnutls: Corrected bug in priority string parsing, that mostly 
28 affected combined levels. Patch by Tim Kosse.
30 ** certtool: The --pubkey-info option can be combined with the
31 --load-privkey or --load-request to print the corresponding public keys.
33 ** certtool: It is able to set certificate policies via a template.
35 ** certtool: Added --hex-numbers option which prints big numbers in 
36 an easier to parse format.
38 ** p11tool: After key generation, outputs the public key (useful in
39 tokens that do not store the public key).
41 ** danetool: It is being built even without libgnutls-dane (the
42 --check functionality is disabled though).
44 ** API and ABI modifications:
45 gnutls_pkcs11_privkey_generate2: Added
46 gnutls_x509_crt_get_policy: Added
47 gnutls_x509_crt_set_policy: Added
48 gnutls_x509_policy_release: Added
49 gnutls_pubkey_import_x509_crq: Added
50 gnutls_pubkey_print: Added
51 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
54 * Version 3.1.4 (released 2012-11-10)
56 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
57 the available revocation data validity.
59 ** libgnutls: Added gnutls_certificate_verification_status_print(),
60 a function to print the verification status code in human readable text.
62 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
64 ** libgnutls: Simplified certificate verification by adding
65 gnutls_certificate_verify_peers3().
67 ** libgnutls: Added support for extension to establish keys for SRTP.
68 Contributed by Martin Storsjo.
70 ** libgnutls: The X.509 verification functions check the key
71 usage bits and pathlen constraints and on failure output 
72 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
74 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
76 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
77 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
79 ** libgnutls: Always tolerate key usage violation errors from the side
80 of the peer, but also notify via an audit message.
82 ** gnutls-cli: Added --local-dns option.
84 ** danetool: Corrected bug that prevented loading PEM files.
86 ** danetool: Added --check option to allow querying and verifying
87 a site's DANE data.
89 ** libgnutls-dane: Added pkg-config file for the library.
91 ** API and ABI modifications:
92 gnutls_session_get_id2: Added
93 gnutls_sign_is_secure: Added
94 gnutls_certificate_verify_peers3: Added
95 gnutls_ocsp_status_request_is_checked: Added
96 gnutls_certificate_verification_status_print: Added
97 gnutls_srtp_set_profile: Added
98 gnutls_srtp_set_profile_direct: Added
99 gnutls_srtp_get_selected_profile: Added
100 gnutls_srtp_get_profile_name: Added
101 gnutls_srtp_get_profile_id: Added
102 gnutls_srtp_get_keys: Added
103 gnutls_srtp_get_mki: Added
104 gnutls_srtp_set_mki: Added
105 gnutls_srtp_profile_t: Added
106 dane_cert_type_name: Added
107 dane_match_type_name: Added
108 dane_cert_usage_name: Added
109 dane_verification_status_print: Added
110 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
111 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
112 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
113 GNUTLS_CERT_UNEXPECTED_OWNER: Added
114 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
117 * Version 3.1.3 (released 2012-10-12)
119 ** libgnutls: Added support for the OCSP Certificate Status
120 extension.
122 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
123 certificate status extension in verification.
125 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
127 ** libgnutls: Increased maximum password length in the PKCS #12
128 functions.
130 ** libgnutls: Fixed the receipt of session tickets during session resumption.
131 Reported by danblack at http://savannah.gnu.org/support/?108146
133 ** libgnutls: Added functions to export structures in an allocated buffer.
135 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
136 response corresponds to the given certificate.
138 ** libgnutls: In client side gnutls_init() enables the session ticket and
139 OCSP certificate status request extensions by default. The flag
140 GNUTLS_NO_EXTENSIONS can be used to prevent that.
142 ** libgnutls: Several updates in the OpenPGP code. The generating code
143 is fully RFC6091 compliant and RFC5081 support is only supported in client
144 mode.
146 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC 
147 certificate verification.
149 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
151 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
153 ** API and ABI modifications:
154 gnutls_certificate_get_peers_subkey_id: Added
155 gnutls_certificate_set_ocsp_status_request_function: Added
156 gnutls_certificate_set_ocsp_status_request_file: Added
157 gnutls_ocsp_status_request_enable_client: Added
158 gnutls_ocsp_status_request_get: Added
159 gnutls_ocsp_resp_check_crt: Added
160 gnutls_dh_params_export2_pkcs3: Added
161 gnutls_pubkey_export2: Added
162 gnutls_x509_crt_export2: Added
163 gnutls_x509_dn_export2: Added
164 gnutls_x509_crl_export2: Added
165 gnutls_pkcs7_export2: Added
166 gnutls_x509_privkey_export2: Added
167 gnutls_x509_privkey_export2_pkcs8: Added
168 gnutls_x509_crq_export2: Added
169 gnutls_openpgp_crt_export2: Added
170 gnutls_openpgp_privkey_export2: Added
171 gnutls_pkcs11_obj_export2: Added
172 gnutls_pkcs12_export2: Added
173 gnutls_pubkey_import_openpgp_raw: Added
174 gnutls_pubkey_import_x509_raw: Added
175 dane_state_init: Added
176 dane_state_deinit: Added
177 dane_query_tlsa: Added
178 dane_query_status: Added
179 dane_query_entries: Added
180 dane_query_data: Added
181 dane_query_deinit: Added
182 dane_verify_session_crt: Added
183 dane_verify_crt: Added
184 dane_strerror: Added
187 * Version 3.1.2 (released 2012-09-26)
189 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
190 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
191 of certificates in the windows platform.
193 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
195 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
196 (the work was done during Google Summer of Code).
198 ** libgnutls: Added X.509 certificate verification flag 
199 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
200 of unsorted certificate chains and is enabled by default for
201 TLS certificate verification (if gnutls_certificate_set_verify_flags() 
202 does not override it).
204 ** libgnutls: Prints warning on certificates that contain keys of
205 an insecure level. If the %COMPAT priority flag is not specified
206 the TLS connection fails.
208 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
209 if interrupted during the retrasmition of handshake data.
211 ** libgnutls: Better mingw32 support (patch by LRN).
213 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
214 key usage violation errors (they are far too common to ignore).
216 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
217 which provides a tool to counter compression-related attacks where
218 parts of the data are controlled by the attacker _and_ are placed in
219 separate records (use with care - do not use compression if not sure).
221 ** libgnutls: Depends on libtasn1 2.14 or later.
223 ** certtool: Prints the number of bits of the public key algorithm
224 parameter in a private key.
226 ** API and ABI modifications:
227 gnutls_x509_privkey_get_pk_algorithm2: Added
228 gnutls_heartbeat_ping: Added
229 gnutls_heartbeat_pong: Added
230 gnutls_heartbeat_allowed: Added
231 gnutls_heartbeat_enable: Added
232 gnutls_heartbeat_set_timeouts: Added
233 gnutls_heartbeat_get_timeout: Added
234 GNUTLS_SEC_PARAM_WEAK: Added
235 GNUTLS_SEC_PARAM_INSECURE: Added
237 * Version 3.1.1 (released 2012-09-02)
239 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
241 ** certtool: Changes in password handling of certtool.
242 Ask password when required and only if the '--password' option is not
243 given. If the '--password' option is given during key generation then 
244 assume the PKCS #8 file format, instead of ignoring the password.
246 ** tpmtool: No longer asks for key password in registered keys.
248 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
249 wmNAF is now used for point multiplication and other optimizations.
250 (the major part of the work was done during Google Summer of Code).
252 ** libgnutls: The default pull_timeout_function only uses select
253 instead of a combination of select() and recv() to prevent issues
254 when used in stream sockets in some systems.
256 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
257 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
258 openssl.
260 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
261 cards. Thanks to Andreas Schwier from cardcontact.de for providing
262 me with ECDSA capable smart cards.
264 ** API and ABI modifications:
265 gnutls_sign_algorithm_get: Added
266 gnutls_sign_get_hash_algorithm: Added
267 gnutls_sign_get_pk_algorithm: Added
270 * Version 3.1.0 (released 2012-08-15)
272 ** libgnutls: Added direct support for TPM as a cryptographic module 
273 in gnutls/tpm.h. TPM keys can be used in functions accepting files
274 using URLs of the following types:
275   tpmkey:file=/path/to/file
276   tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
278 ** libgnutls: Priority string level keywords can be combined.
279 For example the string "SECURE256:+SUITEB128" is now allowed.
281 ** libgnutls: requires libnettle 2.5.
283 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
284 for encryption and signatures.
286 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
287 generic errors and signature verification errors in the verification
288 functions.
290 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
291 to simplify parsing in most PKCS #12 use cases.
293 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
294 the whole certificate chain (if any) to the credentials structure, instead
295 of only the end-user certificate.
297 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
298 and gnutls_x509_privkey_import_pkcs8(), return consistently 
299 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no 
300 password was provided.
302 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
303 allows to set the maximum time spent in a handshake.
305 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
306 by Alexandre Bique.
308 ** tpmtool: Added. It is a tool to generate private keys in the
309 TPM.
311 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
312 and --benchmark-tls-ciphers
314 ** certtool: generated PKCS #12 structures may hold more than one
315 private key. Patch by Lucas Fisher.
317 ** certtool: Added option --null-password to generate/decrypt keys
318 that use a NULL password (in schemas that distinguish between NULL
319 an empty passwords).
321 ** minitasn1: Upgraded to libtasn1 version 2.13.
323 ** API and ABI modifications:
324 GNUTLS_CERT_SIGNATURE_FAILURE: Added
325 GNUTLS_CAMELLIA_192_CBC: Added
326 GNUTLS_PKCS_NULL_PASSWORD: Added
327 gnutls_url_is_supported: Added
328 gnutls_pkcs11_obj_list_import_url2: Added
329 gnutls_pkcs11_obj_set_pin_function: Added
330 gnutls_pkcs11_privkey_set_pin_function: Added
331 gnutls_pkcs11_get_pin_function: Added
332 gnutls_privkey_import_tpm_raw: Added
333 gnutls_privkey_import_tpm_url: Added
334 gnutls_privkey_import_pkcs11_url: Added
335 gnutls_privkey_import_openpgp_raw: Added
336 gnutls_privkey_import_x509_raw: Added
337 gnutls_privkey_import_ext2: Added
338 gnutls_privkey_import_url: Added
339 gnutls_privkey_set_pin_function: Added
340 gnutls_tpm_privkey_generate: Added
341 gnutls_tpm_key_list_deinit: Added
342 gnutls_tpm_key_list_get_url: Added
343 gnutls_tpm_get_registered: Added
344 gnutls_tpm_privkey_delete: Added
345 gnutls_pubkey_import_tpm_raw: Added
346 gnutls_pubkey_import_tpm_url: Added
347 gnutls_pubkey_import_url: Added
348 gnutls_pubkey_verify_hash2: Added
349 gnutls_pubkey_set_pin_function: Added
350 gnutls_x509_privkey_import2: Added
351 gnutls_x509_privkey_import_openssl: Added
352 gnutls_x509_crt_set_pin_function: Added
353 gnutls_load_file: Added
354 gnutls_pkcs12_simple_parse: Added
355 gnutls_certificate_set_x509_system_trust: Added
356 gnutls_certificate_set_pin_function: Added
357 gnutls_x509_trust_list_add_system_trust: Added
358 gnutls_x509_trust_list_add_trust_file: Added
359 gnutls_x509_trust_list_add_trust_mem: Added
360 gnutls_pk_to_sign: Added
361 gnutls_handshake_set_timeout: Added
362 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
363 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
366 * Version 3.0.22 (released 2012-08-04)
368 ** libgnutls: gnutls_certificate_set_x509_system_trust()
369 is now supported on OpenBSD.
371 ** libgnutls: When verifying a certificate chain make sure it is chain.
372 If the chain is wronly interrupted at some point then truncate it,
373 and only try to verify the correct part. Patch by David Woodhouse
375 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
376 which now may (again) accept a NULL password.
378 ** certtool: Allow the user to choose the hash algorithm
379 when signing certificate request or certificate revocation list.
380 Patch by Petr PísaÅ™.
382 ** API and ABI modifications:
383 No changes since last version.
386 * Version 3.0.21 (released 2012-07-02)
388 ** libgnutls: fixed bug in gnutls_x509_privkey_import() 
389 that prevented the loading of EC private keys when DER
390 encoded. Reported by David Woodhouse.
392 ** libgnutls: In DTLS larger to mtu records result to 
393 GNUTLS_E_LARGE_PACKET instead of being truncated.
395 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
396 on patch by David Woodhouse.
398 ** libgnutls: Fixed memory leak in PKCS #8 key import.
400 ** libgnutls: Added support for an old version of the DTLS protocol
401 used by openconnect vpn client for compatibility with Cisco's AnyConnect 
402 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
403 as it has issues.
405 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs 
406 if only the label is specified. Patch by David Woodhouse.
408 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
409 is returned.
411 ** API and ABI modifications:
412 gnutls_dtls_set_data_mtu: Added
413 gnutls_session_set_premaster: Added
416 * Version 3.0.20 (released 2012-06-05)
418 ** libgnutls: Corrected bug which prevented the parsing of
419 handshake packets spanning multiple records.
421 ** libgnutls: Check key identifiers when checking for an issuer.
423 ** libgnutls: Added gnutls_pubkey_verify_hash2()
425 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
426 that loads the trusted CA certificates from system locations
427 (e.g. trusted storage in windows and CA bundle files in other systems).
429 ** certtool: Added support for the URI subject alternative
430 name type in certtool.
432 ** certtool: Increase to 128 the maximum number of distinct options
433 (e.g. dns_names) allowed.
435 ** gnutls-cli: If --print-cert is given, print the certificate, 
436 even on verification failure.
438 ** API and ABI modifications:
439 gnutls_pk_to_sign: Added
440 gnutls_pubkey_verify_hash2: Added
441 gnutls_certificate_set_x509_system_trust: Added
444 * Version 3.0.19 (released 2012-04-22)
446 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
447 is assumed to be a file that stores the pin. Based on patch
448 by David Smith.
450 ** libgnutls: gnutls_record_check_pending() no longer
451 returns unprocessed data, and thus ensure the non-blocking
452 of the next call to gnutls_record_recv(). 
454 ** libgnutls: Added strict tests in Diffie-Hellman and
455 SRP key exchange public keys.
457 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
458 strict in hash selection, and allow a stronger hash to
459 be used than the appropriate, to improve interoperability
460 with openssl.
462 ** tests: Disabled floating point test, and corrections
463 in pkcs12 decoding tests.
465 ** API and ABI modifications:
466 No changes since last version.
469 * Version 3.0.18 (released 2012-04-02)
471 ** certtool: Avoid a Y2K38 bug when generating certificates.
472 Patch by Robert Millan.
474 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
475 is returned on premature termination (and added unit test).
477 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
479 ** libgnutls: Corrected VIA padlock detection for old 
480 VIA processors. Reported by Kris Karas.
482 ** libgnutls: Updated assembler files.
484 ** libgnutls: Time in generated certificates is stored
485 as GeneralizedTime instead of UTCTime (which only stores
486 2 digits of a year).
488 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
490 ** API and ABI modifications:
491 gnutls_x509_crt_set_private_key_usage_period: Added
492 gnutls_x509_crt_get_private_key_usage_period: Added
493 gnutls_x509_crq_set_private_key_usage_period: Added
494 gnutls_x509_crq_get_private_key_usage_period: Added
495 gnutls_session_get_random: Added
498 * Version 3.0.17 (released 2012-03-17)
500 ** command line apps: Always link with local libopts.
502 ** API and ABI modifications:
503 No changes since last version.
506 * Version 3.0.16 (released 2012-03-16)
508 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
510 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
512 ** libgnutls: included assembler files for MacOSX.
514 ** p11tool: Small fixes in handling of the --private command 
515 line option.
517 ** certtool: The template option allows for setting the domain
518 component (DC) option of the distinguished name, and the ocsp_uri
519 as well as the ca_issuers_uri options.
521 ** API and ABI modifications:
522 gnutls_x509_crt_set_authority_info_access: Added
525 * Version 3.0.15 (released 2012-03-02)
527 ** test suite: Only run under valgrind in the development
528 system (the full git repository)
530 ** command line apps: Link with local libopts if the 
531 installed is an old one.
533 ** libgnutls: Eliminate double free during SRP
534 authentication. Reported by Peter Penzov.
536 ** libgnutls: Corrections in record packet parsing.
537 Reported by Matthew Hall.
539 ** libgnutls: Cryptodev updates and fixes.
541 ** libgnutls: Corrected issue with select() that affected
542 FreeBSD. This prevented establishing DTLS sessions.
543 Reported by Andreas Metzler.
545 ** libgnutls: Corrected rehandshake and resumption
546 operations in DTLS. Reported by Sean Buckheister.
548 ** libgnutls: PKCS #11 objects that do not have ID
549 no longer crash listing. Reported by Sven Geggus.
551 ** API and ABI modifications:
552 No changes since last version.
555 * Version 3.0.14 (released 2012-02-24)
557 ** command line apps: Included libopts doesn't get installed
558 by default.
560 ** libgnutls: Eliminate double free on wrongly formatted
561 certificate list. Reported by Remi Gacogne.
563 ** libgnutls: cryptodev code corrected, updated to account
564 for hashes and GCM mode.
566 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
567 Report and fix by Sam Varshavchik.
569 ** API and ABI modifications:
570 No changes since last version.
573 * Version 3.0.13 (released 2012-02-18)
575 ** gnutls-cli: added the --ocsp option which will verify
576 the peer's certificate with OCSP.
578 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
579 will use an ssh-style authentication method.
581 ** gnutls-cli: if no --x509cafile is provided a default is
582 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
584 ** ocsptool: Added --ask parameter, to verify a certificate's
585 status from an ocsp server.
587 ** command line apps: Use gnu autogen (libopts) to parse command
588 line arguments and template files.
590 ** tests: Added stress test for DTLS packet losses and 
591 out-of-order receival. Contributed by Sean Buckheister.
593 ** libgnutls: Several updates and corrections in the DTLS
594 DTLS lost packet handling and retransmission timeouts.
595 Report and patches by Sean Buckheister.
597 ** libgnutls: Added new functions to easily allow the usage of
598 a trust on first use (SSH-style) authentication.
600 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
601 for the RFC6460 requirements.
603 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
604 to account for security level of 96-bits.
606 ** libgnutls: In client side if server does not advertise any
607 known CAs and only a single certificate is set in the credentials,
608 sent that one.
610 ** libgnutls: Added functions to parse authority key identifiers
611 when stored as a 'general name' and serial combo.
613 ** libgnutls: Added function to force explicit reinitialization
614 of PKCS #11 modules. This is required on the child process after
615 a fork (if PKCS #11 functionality is desirable).
617 ** libgnutls: Depend on p11-kit 0.11.
619 ** API and ABI modifications:
620 gnutls_dtls_get_timeout: Added
621 gnutls_verify_stored_pubkey: Added
622 gnutls_store_pubkey: Added
623 gnutls_store_commitment: Added
624 gnutls_x509_crt_get_authority_key_gn_serial: Added
625 gnutls_x509_crl_get_authority_key_gn_serial: Added
626 gnutls_pkcs11_reinit: Added
627 gnutls_ecc_curve_list: Added
628 gnutls_priority_certificate_type_list: Added
629 gnutls_priority_sign_list: Added
630 gnutls_priority_protocol_list: Added
631 gnutls_priority_compression_list: Added
632 gnutls_priority_ecc_curve_list: Added
633 gnutls_tdb_init: Added
634 gnutls_tdb_set_store_func: Added
635 gnutls_tdb_set_store_commitment_func: Added
636 gnutls_tdb_set_verify_func: Added
637 gnutls_tdb_deinit: Added
640 * Version 3.0.12 (released 2012-01-20)
642 ** libgnutls: Added OCSP support.
643 There is a new header file gnutls/ocsp.h and a set of new functions
644 under the gnutls_ocsp namespace.  Currently the functionality provided
645 is to parse and extract information from OCSP requests/responses, to
646 generate OCSP requests and to verify OCSP responses.  See the manual
647 for more information.  Run ./configure with --disable-ocsp to build
648 GnuTLS without OCSP support.
650 This work was sponsored by Smoothwall <http://smoothwall.net/>.
652 ** ocsptool: Added new command line tool.
653 The tool can parse OCSP request/responses, generate OCSP requests and
654 verify OCSP responses.  See the manual for more information.
656 ** certtool: --outder option now works for private
657 and public keys as well.
659 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
660 to warn when no or insufficient priorities were set.
662 ** libgnutls: Corrected an alignment issue in ECDH
663 key generation which prevented some keys from being
664 correctly aligned in rare circumstances.
666 ** libgnutls: Corrected memory leaks in DH parameter
667 generation and ecc_projective_check_point().
669 ** libgnutls: Added gnutls_x509_dn_oid_name() to 
670 return a descriptive name of a DN OID.
672 ** API and ABI modifications:
673 gnutls_pubkey_encrypt_data: Added
674 gnutls_x509_dn_oid_name: Added
675 gnutls_session_resumption_requested: Added
676 gnutls/ocsp.h: Added new header file.
677 gnutls_ocsp_print_formats_t: Added new type.
678 gnutls_ocsp_resp_status_t: Added new type.
679 gnutls_ocsp_cert_status_t: Added new type.
680 gnutls_x509_crl_reason_t: Added new type.
681 gnutls_ocsp_req_add_cert: Added.
682 gnutls_ocsp_req_add_cert_id: Added.
683 gnutls_ocsp_req_deinit: Added.
684 gnutls_ocsp_req_export: Added.
685 gnutls_ocsp_req_get_cert_id: Added.
686 gnutls_ocsp_req_get_extension: Added.
687 gnutls_ocsp_req_get_nonce: Added.
688 gnutls_ocsp_req_get_version: Added.
689 gnutls_ocsp_req_import: Added.
690 gnutls_ocsp_req_init: Added.
691 gnutls_ocsp_req_print: Added.
692 gnutls_ocsp_req_randomize_nonce: Added.
693 gnutls_ocsp_req_set_extension: Added.
694 gnutls_ocsp_req_set_nonce: Added.
695 gnutls_ocsp_resp_deinit: Added.
696 gnutls_ocsp_resp_export: Added.
697 gnutls_ocsp_resp_get_certs: Added.
698 gnutls_ocsp_resp_get_extension: Added.
699 gnutls_ocsp_resp_get_nonce: Added.
700 gnutls_ocsp_resp_get_produced: Added.
701 gnutls_ocsp_resp_get_responder: Added.
702 gnutls_ocsp_resp_get_response: Added.
703 gnutls_ocsp_resp_get_signature: Added.
704 gnutls_ocsp_resp_get_signature_algorithm: Added.
705 gnutls_ocsp_resp_get_single: Added.
706 gnutls_ocsp_resp_get_status: Added.
707 gnutls_ocsp_resp_get_version: Added.
708 gnutls_ocsp_resp_import: Added.
709 gnutls_ocsp_resp_init: Added.
710 gnutls_ocsp_resp_print: Added.
711 gnutls_ocsp_resp_verify: Added.
713 * Version 3.0.11 (released 2012-01-06)
715 ** libgnutls: Corrected functionality of 
716 gnutls_record_get_direction(). Reported by Philip Allison.
718 ** libgnutls: Provide less timing information when decoding
719 TLS/DTLS record packets. Patch by Nadhem Alfardan.
721 ** API and ABI modifications:
722 No changes since last version.
725 * Version 3.0.10 (released 2012-01-04)
727 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
728 in Linux as well as in BSD.
730 ** gnutls-cli: Fixed reading from windows terminals.
732 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
733 the stream is assumed to be base64 encoded (previously
734 the encoding was auto-detected). This avoids a decoding
735 issue in windows systems.
737 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
739 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
740 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
742 ** libgnutls: Added function gnutls_random_art() to convert 
743 fingerprints to images (currently ascii-art).
745 ** libgnutls: Corrected bug in DSA private key parsing, which
746 prevented the verification of the key.
748 ** API and ABI modifications:
749 gnutls_random_art: Added
752 * Version 3.0.9 (released 2011-12-13)
754 ** certtool: Added new parameter --dh-info.
756 ** certtool: -l option was overloaded so if combined with --priority
757 it will only list the ciphersuites that are enabled by the given
758 priority string.
760 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
761 changes the ciphersuite selection procedure. If specified the server
762 priorities will be used for selection instead of the client's.
764 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
765 and key exchange.
767 ** libgnutls: When session tickets are negotiated and used in a
768 session, a server will not store that session data into its cache.
770 ** libgnutls: Added the SECP192R1 curve.
772 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
773 allow listing the ciphersuites enabled in a priority structure.
774 It outputs an index to be used in gnutls_get_cipher_suite_info().
776 ** libgnutls: Optimizations in the elliptic curve code --timing
777 attacks resistant code is only used in ECDSA private key operations.
779 ** doc: man pages for API functions generation was fixed and are
780 now added again in the distribution.
782 ** API and ABI modifications:
783 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
784 gnutls_priority_get_cipher_suite_index: Added
787 * Version 3.0.8 (released 2011-11-12)
789 ** certtool: Certtool -e returns error code on verification
790 failure.
792 ** certtool: Verifies parameters of generated keys.
794 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
796 ** libgnutls: Provide less timing information when decoding
797 TLS/DTLS record packets.
799 ** doc: man pages for API functions were removed.
800 The reason was that the code that auto-generated the man pages missed
801 many APIs and we couldn't fix it (volunteers welcome).  See the info
802 manual or the GTK-DOC manual instead.
804 ** API and ABI modifications:
805 gnutls_x509_privkey_verify_params: Added
808 * Version 3.0.7 (released 2011-11-08)
810 ** libgnutls: Corrected fix in gnutls_session_get_data()
811 to report the actual session size when the provided buffer
812 is not enough.
814 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
815 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
817 ** API and ABI modifications:
818 No changes since last version.
821 * Version 3.0.6 (released 2011-11-07)
823 ** gnutls-guile: Compilation fixes.
825 ** libgnutls: Fixed possible buffer overflow in 
826 gnutls_session_get_data(). Reported and fix by Alban Crequy.
828 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
829 Reported by Fabrice Gautier.
831 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems. 
832 Thanks to Joseph Graham for providing access to such a system.
834 ** libgnutls: Correctly report ECC private key parsing errors.
835 Reported by Fabrice Gautier.
837 ** libgnutls: In ECDHE verify that the received point lies on
838 the selected curve. The ECDHE ciphersuites now take precendence
839 to plain DHE.
841 ** API and ABI modifications:
842 No changes since last version.
845 * Version 3.0.5 (released 2011-10-27)
847 ** libgnutls-extra: is no more
849 ** libgnutls: Corrections in order to compile with mingw32.
851 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
852 and new detection of PHE with support for partial hashing.
854 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix 
855 by Vincent Untz.
857 ** minitasn1: Upgraded to libtasn1 version 2.10.
859 ** API and ABI modifications:
860 No changes since last version.
863 * Version 3.0.4 (released 2011-10-15)
865 ** libgnutls-extra: gnutls_register_md5_handler() was
866 removed.
868 ** gnutls-cli-debug: Added more tests including AES-GCM,
869 SHA256 and elliptic curves.
871 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
872 the software version of the ciphers instead of hw accelerated 
873 (where available)
875 ** libgnutls: Public key ID calculation is consistent among
876 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
878 ** libgnutls: gnutls_privkey_t allows setting external callback
879 to perform signing or decryption. Can be set using
880 gnutls_privkey_import_ext()
882 ** libgnutls: A certificate credentials structure can be
883 used with a gnutls_privkey_t and a gnutls_pcert_st
884 structure using gnutls_certificate_set_key().
886 ** libgnutls: Fixes to enable external signing callback to
887 operate with TLS 1.2. 
889 ** libgnutls: Fixed crash when printing ECDSA certificate key 
890 ID. Reported by Erik Jensen.
892 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks 
893 show a 50x increase in AES speed and a 14x increase in VIA nano. Added 
894 support for hashes and HMACs.
896 ** libgnutls: Compilation fixed when p11-kit is not detected.
898 ** libgnutls: Fixed the deflate compression code.
900 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
901 Used to get the PKIX Authority Information Access (AIA) field.
903 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
905 ** libgnutls: Added ability to gnutls_privkey_t to operate with
906 signing callback function.
908 ** API and ABI modifications:
909 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
910 gnutls_privkey_import_ext: Added function.
911 gnutls_certificate_set_key: Added function.
912 gnutls_info_access_what_t (x509.h): Added enum.
913 GNUTLS_OID_AIA (x509.h): Added symbol.
914 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
915 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
917 * Version 3.0.3 (released 2011-09-18)
919 ** libgnutls: Added gnutls_record_get_discarded() to return the
920 number of discarded records in a DTLS session.
922 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
923 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
925 ** libgnutls: Memory leak fixes in credentials private key 
926 deinitialization. Reported by Dan Winship.
928 ** libgnutls: Memory leak fixes in ECC ciphersuites.
930 ** libgnutls: Do not send an empty extension structure in server 
931 hello. This affected old implementations that do not support extensions. 
932 Reported by J. Cameijo Cerdeira.
934 ** libgnutls: Allow CA importing of 0 certificates to succeed.
935 Reported by Jonathan Nieder <jrnieder@gmail.com> in
936 <http://bugs.debian.org/640639>.
938 ** libgnutls: Added support for VIA padlock AES optimizations.
939 (disabled by default)
941 ** libgnutls: Added support for elliptic curves in
942 PKCS #11.
944 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
945 to allow generating a key in a token.
947 ** p11tool: Added generate-rsa, generate-dsa and 
948 generate-ecc options to allow generating private
949 keys in the token.
951 ** libgnutls: gnutls_transport_set_lowat dummy macro was 
952 removed.
954 ** API and ABI modifications:
955 gnutls_pkcs11_privkey_generate: Added
956 gnutls_pubkey_import_ecc_raw: Added
957 gnutls_pubkey_import_ecc_x962: Added
958 gnutls_pubkey_get_pk_ecc_x962: Added
959 gnutls_record_get_discarded: Added
962 * Version 3.0.2 (released 2011-09-01)
964 ** libgnutls: OpenPGP certificate type is not enabled
965 by default.
967 ** libgnutls: Added %NO_EXTENSIONS priority string.
969 ** libgnutls: Corrected issue in gnutls_record_recv()
970 triggered on encryption or compression error.
972 ** libgnutls: Compatibility fixes in CPU ID detection 
973 for i386 and old GCC.
975 ** gnutls-cli: Benchmark applications were incorporated
976 with it.
978 ** libgnutls: Corrected parsing of XMPP subject
979 alternative names.
981 ** libgnutls: Allow for out-of-order ChangeCipherSpec
982 message in DTLS.
984 ** libgnutls: gnutls_certificate_set_x509_key() and
985 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
986 and allow the release of the private key during the
987 lifetime of the certificate structure.
989 ** API and ABI modifications:
990 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
993 * Version 3.0.1 (released 2011-08-20)
995 ** libgnutls: gnutls_certificate_set_x509_key_file() and 
996 friends support server name indication. If multiple 
997 certificates are set using these functions the proper one 
998 will be selected during a handshake. 
1000 ** libgnutls: Added AES-256-GCM which was left out from
1001 the previous release. Reported by Benjamin Hof.
1003 ** libgnutls: When asking for a PKCS# 11 PIN multiple 
1004 times, the flags in the callback were not being updated 
1005 to reflect for PIN low count or final try.
1007 ** libgnutls: Do not allow second instances of PKCS #11
1008 modules.
1010 ** libgnutls: fixed alignment issue in AES-NI code.
1012 ** libgnutls: The config file at gnutls_pkcs11_init()
1013 is being read if provided.
1015 ** libgnutls: Ensure that a certificate list specified
1016 using gnutls_certificate_set_x509_key() and friends, is 
1017 sorted according to TLS specification (from subject to issuer).
1019 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1020 gnutls_x509_crt_list_import. It checks whether the list to be 
1021 imported is properly sorted.
1023 ** crywrap: Added to the distribution. It is an application
1024 that proxies TLS session to a port using a plaintext service.
1026 ** doc: Many GTK-DOC improvements.
1028 ** i18n: Translations were updated.
1030 ** API and ABI modifications:
1031 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1032 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1035 * Version 3.0.0 (released 2011-07-29)
1037 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1038 Sjoerd Simons.
1040 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1041 Metzler.
1043 ** certtool: bug fixes in certificate request generation. Patch
1044 by Petr PísaÅ™.
1046 ** API and ABI modifications:
1047 gnutls_pcert_list_import_x509_raw: ADDED
1050 * Version 2.99.4 (released 2011-07-23)
1052 ** doc: documentation updates.
1054 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1055 to avoid thread-safety issues. Reported by Sam Varshavchik.
1057 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1059 ** libgnutls: license upgraded to LGPLv3
1061 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1062 for consistency.
1064 ** API and ABI modifications:
1065 No changes since last version.
1068 * Version 2.99.3 (released 2011-06-18)
1070 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1071 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1073 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1074 strings to enable the NSA SuiteB cryptography ciphersuites.
1076 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1077 verify data provided the signature algorithm.
1079 ** libgnutls: Simplified the handling of handshake messages to 
1080 be hashed. Instead of hashing during the handshake process we now 
1081 keep the data until handshake is over and hash them on request. 
1082 This uses more memory but eliminates issues with TLS 1.2 and 
1083 simplifies code.
1085 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1086 instruction. Uses Andy Polyakov's assembly code.
1088 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1089 gnutls_x509_trust_list_verify_named_crt() that allow having a
1090 list of certificates in the trusted list that will be associated
1091 with a name (e.g. server name) and will not be used as CAs.
1093 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1094 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1095 Stef Walter.
1097 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1099 ** API and ABI modifications:
1100 gnutls_pubkey_verify_data2: ADDED
1101 gnutls_ecc_curve_get: ADDED
1102 gnutls_x509_trust_list_add_named_crt: ADDED
1103 gnutls_x509_trust_list_verify_named_crt: ADDED
1104 gnutls_x509_privkey_verify_data: REMOVED
1105 gnutls_crypto_bigint_register: REMOVED
1106 gnutls_crypto_cipher_register: REMOVED
1107 gnutls_crypto_digest_register: REMOVED
1108 gnutls_crypto_mac_register: REMOVED
1109 gnutls_crypto_pk_register: REMOVED
1110 gnutls_crypto_rnd_register: REMOVED
1111 gnutls_crypto_single_cipher_register: REMOVED
1112 gnutls_crypto_single_digest_register: REMOVED
1113 gnutls_crypto_single_mac_register: REMOVED
1114 GNUTLS_KX_ECDHE_PSK: New key exchange method
1115 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1116 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1117 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1120 * Version 2.99.2 (released 2011-05-26)
1122 ** libgnutls: Added Elliptic curve support. This is not
1123 enabled by default. Requires priority strings:
1124 +CURVE-ALL: to add all supported curves
1125 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1126 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1127 +ANON-ECDHE: to add anonymous ECDH
1129 ** libgnutls: PKCS #11 URLs conform to the latest draft
1130 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1132 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1133 via URLs.
1135 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1136 to get important auditing information including the corresponding session.
1137 That might be useful to block DoS or other attacker from specific IPs.
1139 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1140 the public key algorithm of the key.
1142 ** libgnutls: Added gnutls_certificate_get_issuer() and
1143 gnutls_x509_trust_list_get_issuer() to compensate for the
1144 missing gnutls_certificate_get_x509_cas().
1146 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1147 verification of the self signature in a certificate request.
1148 This allows verifying whether the owner of the private key
1149 is the generator of the request.
1151 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1152 the self signature of the request.
1154 ** API and ABI modifications:
1155 gnutls_certificate_get_issuer: ADDED
1156 gnutls_x509_trust_list_get_issuer: ADDED
1157 gnutls_x509_crq_verify: ADDED
1158 gnutls_global_set_audit_log_function: ADDED
1159 gnutls_ecc_curve_get_name: ADDED
1160 gnutls_ecc_curve_get_size: ADDED
1161 gnutls_x509_privkey_import_ecc_raw: ADDED
1162 gnutls_x509_privkey_export_ecc_raw: ADDED
1163 gnutls_global_set_time_function: ADDED
1165 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1166 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1167 GNUTLS_KX_ECDHE_RSA: New key exchange method
1168 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1169 GNUTLS_KX_ANON_ECDH: New key exchange method
1170 GNUTLS_PK_ECC: New public key algorithm
1171 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1172 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1173 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1174 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm 
1175 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1176 GNUTLS_ECC_CURVE_INVALID: New curve definition
1177 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1178 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1179 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1180 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1183 * Version 2.99.1 (released 2011-04-23)
1185 ** libgnutls: LZO support was removed.
1187 ** libgnutls: Corrections in SSLv2 client hello parsing.
1189 ** libgnutls: Added support for AES-NI if detected. Uses
1190 Andy Polyakov's AES-NI code.
1192 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered 
1193 weak, several sites require it for connection. It is enabled for
1194 "NORMAL" and "PERFORMANCE" priority strings.
1196 ** libgnutls: depend on libdl.
1198 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1200 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1201 function required GnuTLS to access system specific data, for no reason.
1202 Use gnutls_transport_set_errno(), or your system's errno fascility
1203 instead.
1205 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1206 to set a callback to retrieve a certificate. The certificate is
1207 received in a format that requires no processing from gnutls thus
1208 it is suitable when performance is required.
1210 ** API and ABI modifications:
1211 gnutls_transport_set_global_errno: REMOVED
1212 gnutls_certificate_set_retrieve_function2: ADDED
1214 * Version 2.99.0 (released 2011-04-09)
1216 ** libgnutls: Added Datagram TLS support.
1218 ** libgnutls: Uses a single configure file and a single
1219 gnulib library to save space.
1221 ** libgnutls: Several bug fixes.
1223 ** libgnutls: gnutls_transport_set_lowat() is no more.
1225 ** libgnutls-openssl: modified to use modern gnutls' functions.
1226 This introduces an ABI incompatibility with previous versions.
1228 ** libgnutls: Corrected signature generation and verification
1229 in the Certificate Verify message when in TLS 1.2. Reported
1230 by Todd A. Ouska.
1232 ** libgnutlsxx: The C++ interface returns exception on
1233 every error and not only on fatal ones. This allows easier
1234 handling of errors.
1236 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored    
1237 the PSK callback.
1239 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
1240 They have to be explicitly set.
1242 ** libgnutls: During handshake message verification using DSS
1243 use the hash algorithm required by it.
1245 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
1246 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
1248 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
1250 ** libgnutls-extra: Inner application extension was removed.
1251 It was never standardized nor published as an RFC.
1253 ** libgnutls: Added new certificate verification functions, that
1254 can provide more details and are more efficient. Check 
1255 gnutls_x509_trust_list_*.
1257 ** certtool: Uses the new certificate verification functions for
1258 --verify-chain.
1260 ** certtool: Added new certificate verification functionality
1261 using the --verify option. Combined with --load-ca-certificate
1262 it can verify a certificate chain against a list of certificates.
1264 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
1266 ** API and ABI modifications:
1267 gnutls_dtls_set_timeouts: ADDED
1268 gnutls_dtls_get_mtu: ADDED
1269 gnutls_dtls_get_data_mtu: ADDED
1270 gnutls_dtls_set_mtu: ADDED
1271 gnutls_dtls_cookie_send: ADDED
1272 gnutls_dtls_cookie_verify: ADDED
1273 gnutls_dtls_prestate_set: ADDED
1274 gnutls_x509_trust_list_verify_crt: ADDED
1275 gnutls_x509_trust_list_add_crls: ADDED
1276 gnutls_x509_trust_list_add_cas: ADDED
1277 gnutls_x509_trust_list_init: ADDED
1278 gnutls_x509_trust_list_deinit: ADDED
1279 gnutls_cipher_add_auth: ADDED
1280 gnutls_cipher_tag: ADDED
1281 gnutls_psk_netconf_derive_key: REMOVED
1282 gnutls_certificate_verify_peers: REMOVED
1283 gnutls_session_set_finished_function: REMOVED
1284 gnutls_ext_register: REMOVED
1285 gnutls_certificate_get_x509_crls: REMOVED
1286 gnutls_certificate_get_x509_cas: REMOVED
1287 gnutls_certificate_get_openpgp_keyring: REMOVED
1288 gnutls_session_get_server_random: REMOVED
1289 gnutls_session_get_client_random: REMOVED
1290 gnutls_session_get_master_secret: REMOVED
1291 gnutls_ia_allocate_client_credentials: REMOVED
1292 gnutls_ia_allocate_server_credentials: REMOVED
1293 gnutls_ia_enable: REMOVED
1294 gnutls_ia_endphase_send: REMOVED
1295 gnutls_ia_extract_inner_secret: REMOVED
1296 gnutls_ia_free_client_credentials: REMOVED
1297 gnutls_ia_free_server_credentials: REMOVED
1298 gnutls_ia_generate_challenge: REMOVED
1299 gnutls_ia_get_client_avp_ptr: REMOVED
1300 gnutls_ia_get_server_avp_ptr: REMOVED
1301 gnutls_ia_handshake: REMOVED
1302 gnutls_ia_handshake_p: REMOVED
1303 gnutls_ia_permute_inner_secret: REMOVED
1304 gnutls_ia_recv: REMOVED
1305 gnutls_ia_send: REMOVED
1306 gnutls_ia_set_client_avp_function: REMOVED
1307 gnutls_ia_set_client_avp_ptr: REMOVED
1308 gnutls_ia_set_server_avp_function: REMOVED
1309 gnutls_ia_set_server_avp_ptr: REMOVED
1310 gnutls_ia_verify_endphase: REMOVED
1313 * Version 2.12.2 (released 2011-04-08)
1315 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
1317 ** libgnutls: Several bug and memory leak fixes.
1319 ** srptool: Accepts the -d option to enable debugging.
1321 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
1322 the allocation of a verifier. Reported by Andrew Wiseman.
1324 ** API and ABI modifications:
1325 No changes since last version.
1328 * Version 2.12.1 (released 2011-04-02)
1330 ** certtool: Generated certificate request with stricter permissions.
1331 Reported by Luca Capello.
1333 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
1335 ** libgnutls: Corrected windows system_errno() function prototype.
1337 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
1339 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
1340 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
1342 ** API and ABI modifications:
1343 No changes since last version.
1348 * Version 2.12.0 (released 2011-03-24)
1350 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
1351 the incompatibility with TLS other than 1.2.
1353 ** libgnutls: Modified signature algorithm selection in client
1354 certificate request, to avoid failures in DSA certificates.
1356 ** libgnutls: Instead of failing with internal error, return 
1357 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
1358 key with the negotiated protocol is encountered.
1360 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
1362 ** libgnutls: Force state update when fork is detected in the nettle
1363 rng.
1365 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
1366 subkey instead of setting explicitly one.
1368 ** libgnutls: Corrected default behavior in record version of Client Hellos.
1370 ** libgnutls-openssl: modified to use modern gnutls' functions.
1371 This introduces an ABI incompatibility with previous versions.
1373 ** API and ABI modifications:
1374 gnutls_pubkey_import_openpgp: MODIFIED
1377 * Version 2.11.7
1379 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
1380 replaced by gnutls_privkey_sign_hash2().
1382 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
1383 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
1384 gnutls_x509_crt_verify_hash return the negative error code 
1385 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
1386 checking.
1388 ** libgnutls: Added helper functions for signature verification:
1389 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
1391 ** libgnutls: Modified gnutls_privkey_sign_data().
1393 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
1394 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
1395 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
1396 deprecated for gnutls_x509_crl_privkey_sign(),
1397 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
1398 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
1399 gnutls_pubkey_verify_data() respectively.
1401 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
1402 integers.
1404 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
1405 and gnutls_x509_crt_list_import2().
1407 ** crypto.h: Fix use with C++.
1408 Reported by "Brendan Doherty" <brendand@gentrack.com>.
1410 ** API and ABI modifications:
1411 gnutls_x509_crl_list_import: ADDED
1412 gnutls_x509_crl_list_import2: ADDED
1413 gnutls_x509_crt_list_import2: ADDED
1414 gnutls_x509_crl_get_raw_issuer_dn: ADDED
1415 gnutls_pubkey_import_privkey: ADDED
1416 gnutls_pubkey_verify_data: ADDED
1417 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
1418 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
1419 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1420 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1421 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
1422 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1423 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1424 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
1425 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1426 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1427 gnutls_session_set_finished_function: DEPRECATED
1428 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
1429 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1430 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
1431 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
1432 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1433 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
1434 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
1435 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
1437 * Version 2.11.6 (released 2010-12-06)
1439 ** libgnutls: Record version of Client Hellos is now set by default to
1440 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
1441 priority string.
1443 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
1444 This makes us comply with RFC3279. Reported by Michael Rommel.
1446 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
1448 ** API and ABI modifications:
1449 No changes since last version.
1451 * Version 2.11.5 (released 2010-12-01)
1453 ** libgnutls: Reverted default behavior for verification and
1454 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
1455 V1 trusted CAs are allowed, unless the new flag is specified.
1457 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
1458 Reported by Jeffrey Walton.
1460 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
1461 as priority strings. Those allow to set all the supported algorithms
1462 at once.
1464 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
1466 ** gnutls-cli: Print channel binding only in verbose mode.
1467 Before it printed it after the 'Compression:' output, thus breaking
1468 Emacs starttls.el string searches.
1470 ** API and ABI modifications:
1471 gnutls_pkcs11_token_init: New function
1472 gnutls_pkcs11_token_set_pin: New function
1474 * Version 2.11.4 (released 2010-10-15)
1476 ** libgnutls: Add new API gnutls_session_channel_binding.
1477 The function is used to get the channel binding data.  Currently only
1478 the "tls-unique" (RFC 5929) channel binding type is supported, through
1479 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
1480 the manual.
1482 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
1484 ** doc: Added pkcs11.h header file to GTK-DOC manual.
1486 ** build: Update gnulib files.
1488 ** i18n: Update translations.
1490 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
1492 ** API and ABI modifications:
1493 gnutls_session_channel_binding: New function.
1494 gnutls_channel_binding_t: New enumeration.
1495 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
1496 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
1498 * Version 2.11.3 (released 2010-10-14)
1500 ** Indent code to follow the GNU Coding Standard.
1501 You should be able to unpack the 2.11.2 release and run 'make indent'
1502 twice to get exactly the same content as 2.11.3 except for generated
1503 files.  Using GNU Indent 2.2.11.
1505 ** API and ABI modifications:
1506 No changes since last version.
1508 * Version 2.11.2 (released 2010-10-08)
1510 ** libgnutls: Several bug fixes on session resumption
1511 and session tickets support.
1513 ** libgnutls: Add new extended key usage ipsecIKE.
1515 ** certtool: Renamed PKCS #11 options to: --p11-provider,
1516 --p11-export-url, --p11-list-certs, --p11-list-certs,
1517 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
1518 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
1519 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
1520 --p11-delete-url
1522 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
1523 introduced with the new nettle code.
1525 ** libgnutls: Corrected advertizing issue for session tickets.
1527 ** API and ABI modifications:
1528 gnutls_x509_crt_get_subject_unique_id: ADDED.
1529 gnutls_x509_crt_get_issuer_unique_id: ADDED.
1531 * Version 2.11.1 (released 2010-09-14)
1533 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
1534 to use the libgcrypt back end.
1536 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
1537 backend crypto library.
1539 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
1541 ** libgnutls: Several updates in the buffering internal interface.
1543 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
1544 tabs are being skipped.
1546 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
1548 ** libgnutls: The %COMPAT flag now allows larger records that violate the
1549 TLS spec.
1551 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
1552 system calls. Applications that depended on it being 1 should explicitly call
1553 gnutls_transport_set_lowat().
1555 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
1556 to ECRYPT II recommendations. Mappings were moved to a single location
1557 and DSA keys are handled differently (since DSA2 allows for 1024,2048
1558 and 3072 keys only).
1560 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1561 gnutls_x509_privkey_import_pkcs8() without a password, if it
1562 is unable to decode the key.
1564 ** libgnutls: HMAC-MD5 no longer used by default.
1566 ** API and ABI modifications:
1567 gnutls_openpgp_privkey_sec_param: ADDED
1568 gnutls_x509_privkey_sec_param: ADDED
1570 * Version 2.11.0 (released 2010-07-22)
1572 ** libgnutls: support scattered write using writev(). This takes
1573 advantage of the new buffering layer and allows queuing of packets
1574 and flushing them. This is currently used for handshake messages
1575 only.
1577 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
1578 alternative locking procedures. By default the system available
1579 locking is used. In *NIX pthreads are used and in windows the
1580 critical section API. This follows a different approach than the
1581 previous versions that depended on libgcrypt initialization. The
1582 locks are now set by default in systems that support it. Programs
1583 that used gcry_control() to set thread locks should insert it into
1584 a block of
1585 #if GNUTLS_VERSION_NUMBER <= 0x020b00
1586         gcry_control(...)
1587 #endif
1589 ** libgnutls: Added support for reading DN from EV-certificates.
1590 New DN values:
1591 jurisdictionOfIncorporationLocalityName,
1592 jurisdictionOfIncorporationStateOrProvinceName,
1593 jurisdictionOfIncorporationCountryName
1595 ** libgnutls: Added support for DSA signing/verifying with bit 
1596 length over 1024.
1598 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
1599 has to be called to register any required md5 handlers.
1601 ** libgnutls: Internal buffering code was replaced by simpler
1602 code contributed by Jonathan Bastien-Filiatrault.
1604 ** libgnutls: Internal API for extensions augmented to allow
1605 safe storing and loading of data on resumption. This allows writing
1606 self-contained extensions (when possible). As a side effect
1607 the OPRFI extension was removed.
1609 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
1611 ** libgnutls: Added PKCS #11 support and an API to access objects in
1612 gnutls/pkcs11.h. Currently certificates and public keys can be
1613 imported from tokens, and operations can be performed on private keys.
1615 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
1617 ** libgnutls: Added initial support for the nettle library. It uses
1618 the system's random generator for seeding. That is /dev/urandom in Linux, 
1619 system calls in Win32 and EGD on other systems.
1621 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
1622     works even when resuming a session.
1624 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
1625 similar gnutls_certificate_set_server_retrieve_function() and
1626 gnutls_certificate_set_client_retrieve_function(). In addition it support
1627 PKCS #11 private keys.
1629 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
1630 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
1632 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
1633 sizes for private keys using a human understandable scale.
1635 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
1636 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
1637 --pkcs11-delete-url, --pkcs11-write
1639 certtool: The --pkcs-cipher is taken into account when generating a
1640 private key. The default cipher used now is aes-128. The old behavior can
1641 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1643 certtool: Added --certificate-pubkey to print the public key of the
1644 certificate.
1646 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
1647 can now accept a PKCS #11 URL in addition to a file. This will allow for
1648 example to use the Gnome-keyring trusted certificate list to verify
1649 connections using a url such as:
1650 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
1652 ** API and ABI modifications:
1653 gnutls_certificate_set_server_retrieve_function: DEPRECATED
1654 gnutls_certificate_set_client_retrieve_function: DEPRECATED
1655 gnutls_sign_callback_set: DEPRECATED
1656 gnutls_global_set_mutex: ADDED
1657 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
1658 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
1659 gnutls_x509_privkey_export_rsa_raw2: ADDED
1660 gnutls_rnd: ADDED
1661 gnutls_sec_param_to_pk_bits: ADDED
1662 gnutls_pk_bits_to_sec_param: ADDED
1663 gnutls_sec_param_get_name: ADDED
1664 gnutls_pkcs11_type_get_name: ADDED
1665 gnutls_certificate_set_retrieve_function: ADDED
1666 gnutls_pkcs11_init: ADDED
1667 gnutls_pkcs11_deinit: ADDED
1668 gnutls_pkcs11_set_pin_function: ADDED
1669 gnutls_pkcs11_set_token_function: ADDED
1670 gnutls_pkcs11_add_provider: ADDED
1671 gnutls_pkcs11_obj_init: ADDED
1672 gnutls_pkcs11_obj_import_url: ADDED
1673 gnutls_pkcs11_obj_export_url: ADDED
1674 gnutls_pkcs11_obj_deinit: ADDED
1675 gnutls_pkcs11_obj_export: ADDED
1676 gnutls_pkcs11_obj_list_import_url: ADDED
1677 gnutls_pkcs11_obj_export: ADDED
1678 gnutls_x509_crt_import_pkcs11: ADDED
1679 gnutls_pkcs11_obj_get_type: ADDED
1680 gnutls_x509_crt_list_import_pkcs11: ADDED
1681 gnutls_x509_crt_import_pkcs11_url: ADDED
1682 gnutls_pkcs11_obj_get_info: ADDED
1683 gnutls_pkcs11_token_get_info: ADDED
1684 gnutls_pkcs11_token_get_url: ADDED
1685 gnutls_pkcs11_privkey_init: ADDED
1686 gnutls_pkcs11_privkey_deinit: ADDED
1687 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
1688 gnutls_pkcs11_privkey_get_info: ADDED
1689 gnutls_pkcs11_privkey_import_url: ADDED
1690 gnutls_pkcs11_privkey_sign_data: ADDED
1691 gnutls_pkcs11_privkey_sign_hash: ADDED
1692 gnutls_pkcs11_privkey_decrypt_data: ADDED
1693 gnutls_privkey_init: ADDED
1694 gnutls_privkey_deinit: ADDED
1695 gnutls_privkey_get_pk_algorithm: ADDED
1696 gnutls_privkey_get_type: ADDED
1697 gnutls_privkey_import_pkcs11: ADDED
1698 gnutls_privkey_import_x509: ADDED
1699 gnutls_privkey_import_openpgp: ADDED
1700 gnutls_privkey_sign_data: ADDED
1701 gnutls_privkey_sign_hash: ADDED
1702 gnutls_privkey_decrypt_data: ADDED
1703 gnutls_pkcs11_privkey_export_url: ADDED
1704 gnutls_x509_crq_privkey_sign: ADDED
1705 gnutls_x509_crl_privkey_sign: ADDED
1706 gnutls_x509_crt_privkey_sign: ADDED
1707 gnutls_pubkey_init: ADDED
1708 gnutls_pubkey_deinit: ADDED
1709 gnutls_pubkey_get_pk_algorithm: ADDED
1710 gnutls_pubkey_import_x509: ADDED
1711 gnutls_pubkey_import_openpgp: ADDED
1712 gnutls_pubkey_get_pk_rsa_raw: ADDED
1713 gnutls_pubkey_get_pk_dsa_raw: ADDED
1714 gnutls_pubkey_export: ADDED
1715 gnutls_pubkey_get_key_id: ADDED
1716 gnutls_pubkey_get_key_usage: ADDED
1717 gnutls_pubkey_verify_hash: ADDED
1718 gnutls_pubkey_get_verify_algorithm: ADDED
1719 gnutls_pkcs11_type_get_name: ADDED
1720 gnutls_pubkey_import_pkcs11_url: ADDED
1721 gnutls_pubkey_import: ADDED
1722 gnutls_pubkey_import_pkcs11: ADDED
1723 gnutls_pubkey_import_dsa_raw: ADDED
1724 gnutls_pubkey_import_rsa_raw: ADDED
1725 gnutls_x509_crt_set_pubkey: ADDED
1726 gnutls_x509_crq_set_pubkey: ADDED
1727 gnutls_pkcs11_copy_x509_crt: ADDED
1728 gnutls_pkcs11_copy_x509_privkey: ADDED
1729 gnutls_pkcs11_delete_url: ADDED
1731 * Version 2.10.1 (released 2010-07-25)
1733 ** libgnutls: Added support for broken certificates that indicate RSA
1734 with strange OIDs.
1736 ** gnutls-cli: Allow verification using V1 CAs.
1738 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1739 gnutls_x509_privkey_import_pkcs8() without a password, if it
1740 is unable to decode the key.
1742 ** libgnutls: Correctly deinitialize crypto API functions to prevent
1743 a memory leak.  Reported by Mads Kiilerich.
1745 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
1746 issue a warning, that the output key might not be working everywhere.
1748 ** certtool: The --pkcs-cipher is taken into account when generating a
1749 private key. The default cipher used now is aes-128. The old behavior
1750 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1752 ** API and ABI modifications:
1753 No changes since last version.
1755 * Version 2.10.0 (released 2010-06-25)
1757 ** API and ABI modifications:
1758 No changes since last version.
1760 * Version 2.9.12 (released 2010-06-17)
1762 ** gnutls-cli: Make --starttls work again.
1763 Problem introduced in patch to use read() instead of fgets() committed
1764 on 2010-01-27.
1766 ** API and ABI modifications:
1767 No changes since last version.
1769 * Version 2.9.11 (released 2010-06-07)
1771 ** libgnutls: Removed two APIs related to safe renegotiation.
1772 Use priority strings instead.  The APIs were
1773 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
1774 (Remember that we don't promise ABI stability during development
1775 series, so this doesn't cause an shared library ABI increment.)
1777 ** tests: More self testing of safe renegotiation extension.
1778 See tests/safe-renegotiation/README for more information.
1780 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
1782 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
1784 ** API and ABI modifications:
1785 gnutls_safe_negotiation_set_initial: REMOVED.
1786 gnutls_safe_renegotiation_set: REMOVED.
1788 * Version 2.9.10 (released 2010-04-22)
1790 ** libgnutls: Time verification extended to trusted certificate list.
1791 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
1792 specified.
1794 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
1795 Based on patch by Pavan Konjarla.  Adds new constant
1796 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
1798 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
1799 Solves the issue discussed in:
1800 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
1801 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
1802 Note that to allow connecting to unpatched servers the full protection
1803 is only enabled if the priority string %SAFE_RENEGOTIATION is
1804 specified. You can check whether protection is in place by querying
1805 gnutls_safe_renegotiation_status().  New error codes
1806 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
1807 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
1809 ** libgnutls: When checking openpgp self signature also check the signatures
1810 ** of all subkeys.
1811 Ilari Liusvaara noticed and reported the issue and provided test
1812 vectors as well.
1814 ** libgnutls: Added cryptodev support (/dev/crypto).
1815 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
1816 benchmark utility for AES.  Adds new error codes
1817 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
1819 ** libgnutls: Exported API to access encryption and hash algorithms.
1820 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
1821 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
1822 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
1823 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
1824 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
1825 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
1826 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
1828 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
1829 verification of certificate upon receipt rather than waiting until the
1830 end of the handshake.
1832 ** libgnutls: Don't send alerts during handshake.
1833 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
1835 ** certtool: Corrected two issues that affected certificate request generation.
1836 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
1837 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
1838 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
1839 those parameters there since other implementations don't do either and having 
1840 them does not seem to offer anything (anyway you need the signer's certificate
1841 to verify thus public key will be available). Found thanks to Boyan Kasarov.
1842 This however has the side-effect that public key IDs shown by certtool are
1843 now different than previous gnutls releases.
1844 (3) the option --pgp-certificate-info will verify self signatures
1846 ** certtool: Allow exporting of Certificate requests on DER format.
1848 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
1850 ** gnutls-cli: Handle reading binary data from server.
1851 Reported by and tiny patch from Vitaly Mayatskikh
1852 <v.mayatskih@gmail.com> in
1853 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
1855 ** minitasn1: Upgraded to libtasn1 version 2.6.
1857 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
1858 ** Added Italian and Simplified Chinese translation.
1859 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
1860 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
1862 ** doc: The GTK-DOC manual is significantly improved.
1864 ** API and ABI modifications:
1865 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
1866 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
1867 %UNSAFE_RENEGOTIATION: Added to priority strings.
1868 GNUTLS_DIG_SHA224: ADDED.
1869 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
1870 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
1871 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
1872 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
1873 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
1874 GNUTLS_MAC_SHA224: ADDED.
1875 GNUTLS_OID_X520_NAME: ADDED.
1876 GNUTLS_OID_X520_POSTALCODE: ADDED.
1877 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
1878 GNUTLS_VERSION_MAX: ADDED.
1879 gnutls_certificate_set_verify_function: ADDED.
1880 gnutls_cipher_decrypt: ADDED.
1881 gnutls_cipher_deinit: ADDED.
1882 gnutls_cipher_encrypt: ADDED.
1883 gnutls_cipher_get_block_size: ADDED.
1884 gnutls_cipher_init: ADDED.
1885 gnutls_hash: ADDED.
1886 gnutls_hash_deinit: ADDED.
1887 gnutls_hash_fast: ADDED.
1888 gnutls_hash_get_len: ADDED.
1889 gnutls_hash_init: ADDED.
1890 gnutls_hash_output: ADDED.
1891 gnutls_hmac: ADDED.
1892 gnutls_hmac_deinit: ADDED.
1893 gnutls_hmac_fast: ADDED.
1894 gnutls_hmac_get_len: ADDED.
1895 gnutls_hmac_init: ADDED.
1896 gnutls_hmac_output: ADDED.
1897 gnutls_safe_negotiation_set_initial: ADDED.
1898 gnutls_safe_renegotiation_set: ADDED.
1899 gnutls_safe_renegotiation_status: ADDED.
1901 * Version 2.9.9 (released 2009-11-09)
1903 ** libgnutls: Cleanups and several bug fixes.
1904 Found by Steve Grubb and Tomas Mraz.
1906 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1908 ** Fix --disable-valgrind-tests.
1909 Reported by Ingmar Vanhassel in
1910 <https://savannah.gnu.org/support/?107029>.
1912 ** API and ABI modifications:
1913 No changes since last version.
1915 * Version 2.9.8 (released 2009-11-05)
1917 ** libgnutls: Fix for memory leaks on interrupted handshake.
1918 Reported by Tang Tong.
1920 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
1921 ** extension and certificate verify field.
1922 This requires changes for TLS 1.2 servers and clients that use
1923 callbacks for certificate retrieval.  They are now required to check
1924 with gnutls_sign_algorithm_get_requested() whether the certificate
1925 they send complies with the peer's preferences in signature
1926 algorithms.
1928 ** libgnutls: In server side when resuming a session do not overwrite the 
1929 ** initial session data with the resumed session data.
1931 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
1932 ** encryption.
1933 This affects also PKCS #12 encoded files.  This adds the following new
1934 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
1935 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
1937 ** libgnutls: Fix PKCS#12 encoding.
1938 The error you would get was "The OID is not supported.".  Problem
1939 introduced for the v2.8.x branch in 2.7.6.
1941 ** certtool: Added the --pkcs-cipher option.
1942 To explicitely specify the encryption algorithm to use.
1944 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
1946 ** tests: Fix time bomb in chainverify self-test.
1947 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1948 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
1950 ** tests: Fix expired cert in chainverify self-test.
1952 ** i18n: Vietnamese translation updated.
1953 Thanks to Clytie Siddall.
1955 ** API and ABI modifications:
1956 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
1957 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
1958 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
1959 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
1960 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
1961 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
1962 gnutls_sign_algorithm_get_requested: ADDED.
1964 * Version 2.9.7 (released 2009-10-06)
1966 ** libgnutls: TLS 1.2 server mode fixes.
1967 Now interoperates against Opera.  Contributed by Daiki Ueno.
1969 ** libgnutlsxx: Fix link problems.
1970 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
1972 ** guile: Compatibility with guile 2.x.
1973 By Ludovic Courtes <ludovic.courtes@laas.fr>.
1975 ** API and ABI modifications:
1976 No changes since last version.
1978 * Version 2.9.6 (released 2009-09-22)
1980 ** libgnutls: Enable Camellia ciphers by default.
1982 ** API and ABI modifications:
1983 No changes since last version.
1985 * Version 2.9.5 (released 2009-09-10)
1987 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
1988 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
1989 gnutls_x509_crt_get_issuer_alt_name, and
1990 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
1991 Hards <bradh@frogmouth.net>.
1993 ** API and ABI modifications:
1994 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
1995 gnutls_x509_crt_get_issuer_alt_name: ADDED.
1996 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
1998 * Version 2.9.4 (released 2009-09-03)
2000 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2001 The new supported ciphersuites are AES-128/256 in CBC mode with
2002 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
2003 SHA-256 is now the preferred default MAC (however it is only used with
2004 TLS 1.2).
2006 ** libgnutls: Make OpenPGP hostname checking work again.
2007 The patch to resolve the X.509 CN/SAN issue accidentally broken
2008 OpenPGP hostname comparison.
2010 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2011 Reported by Howard Chu <hyc@symas.com> in
2012 <https://savannah.gnu.org/support/?106975>.
2014 ** Fix use of deprecated types internally.
2015 Use of deprecated types in GnuTLS from now on will lead to a compile
2016 error, to prevent this from happening again.
2018 ** API and ABI modifications:
2019 No changes since last version.
2021 * Version 2.9.3 (released 2009-08-19)
2023 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2024 The new APIs are gnutls_session_ticket_enable_client,
2025 gnutls_session_ticket_enable_server, and
2026 gnutls_session_ticket_key_generate.
2028 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2030 ** API and ABI modifications:
2031 gnutls_session_ticket_key_generate: ADDED.
2032 gnutls_session_ticket_enable_client: ADDED.
2033 gnutls_session_ticket_enable_server: ADDED.
2035 * Version 2.9.2 (released 2009-08-14)
2037 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2038 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2039 into 1) not printing the entire CN/SAN field value when printing a
2040 certificate and 2) cause incorrect positive matches when matching a
2041 hostname against a certificate.  Some CAs apparently have poor
2042 checking of CN/SAN values and issue these (arguable invalid)
2043 certificates.  Combined, this can be used by attackers to become a
2044 MITM on server-authenticated TLS sessions.  The problem is mitigated
2045 since attackers needs to get one certificate per site they want to
2046 attack, and the attacker reveals his tracks by applying for a
2047 certificate at the CA.  It does not apply to client authenticated TLS
2048 sessions.  Research presented independently by Dan Kaminsky and Moxie
2049 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
2050 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
2052 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2053 The function may fail incorrectly when an earlier certificate was
2054 imported to the same gnutls_x509_crt_t structure.
2056 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2058 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2059 Before it always returned false.  Reported by Peter Hendrickson
2060 <pdh@wiredyne.com> in
2061 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2063 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2064 The error resulted in truncated strings when printing unknown OIDs in
2065 X.509 certificate DNs.  Reported by Tim Kosse
2066 <tim.kosse@filezilla-project.org> in
2067 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2069 ** libgnutls: Fix PKCS#12 decryption from password.
2070 The encryption key derived from the password was incorrect for (on
2071 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
2072 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2073 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2075 ** libgnutls: Return correct bit lengths of some MPIs.
2076 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2077 gnutls_dh_get_peers_public_bits.  Before the reported value was
2078 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
2079 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2081 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2082 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2083 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2085 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2087 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2088 Before we required that the runtime library used the same (or more
2089 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
2090 that the runtime usage is above the minimum required.  Reported by
2091 Marco d'Itri <md@linux.it> via Andreas Metzler
2092 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2094 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2096 ** tests: Improved test vectors in self-test pkcs12_s2k.
2098 ** tests: Added new self-test dn2 to detect off-by-one size error.
2100 ** tests: Fix failure in "chainverify" because a certificate have expired.
2102 ** API and ABI modifications:
2103 No changes since last version.
2105 * Version 2.9.1 (released 2009-06-08)
2107 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2108 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2109 <http://bugs.gentoo.org/272388>.
2111 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2113 ** Reduce stack usage for some CRQ functions.
2115 ** Doc fixes for CRQ functions.
2117 ** API and ABI modifications:
2118 No changes since last version.
2120 * Version 2.9.0 (released 2009-05-28)
2122 ** Doc fixes.
2124 ** API and ABI modifications:
2125 No changes since last version.
2127 * Version 2.8.6 (released 2010-03-15)
2129 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2130 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
2131 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2133 Note: As a side effect of this change, the "public key identifier"
2134 value computed for a certificate using this version of GnuTLS will be
2135 different from values computed using earlier versions of GnuTLS.
2137 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2138 ** optional SignatureAlgorithm parameter field.
2139 VeriSign rejected these CSRs.  They are stricly speaking not needed
2140 since you need the signer's certificate to verify the certificate
2141 signature anyway.  Reported by Wilankar Trupti
2142 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2144 ** libgnutls: When checking openpgp self signature also check the signatures
2145 ** of all subkeys.
2146 Ilari Liusvaara noticed and reported the issue and provided test
2147 vectors as well.
2149 ** libgnutls: Cleanups and several bug fixes.
2150 Found by Steve Grubb and Tomas Mraz.
2152 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2154 ** Fix --disable-valgrind-tests.
2155 Reported by Ingmar Vanhassel in
2156 <https://savannah.gnu.org/support/?107029>.
2158 ** examples: Use the new APIs for printing X.509 certificate information.
2160 ** Fix build failures on Solaris.
2161 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2163 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2164 ** translations.  Added Simplified Chinese translation.
2166 ** API and ABI modifications:
2167 No changes since last version.
2169 * Version 2.8.5 (released 2009-11-02)
2171 ** libgnutls: In server side when resuming a session do not overwrite the 
2172 ** initial session data with the resumed session data.
2174 ** libgnutls: Fix PKCS#12 encoding.
2175 The error you would get was "The OID is not supported.".  Problem
2176 introduced for the v2.8.x branch in 2.7.6.
2178 ** guile: Compatibility with guile 2.x.
2179 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2181 ** tests: Fix expired cert in chainverify self-test.
2183 ** tests: Fix time bomb in chainverify self-test.
2184 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2185 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2187 ** API and ABI modifications:
2188 No changes since last version.
2190 * Version 2.8.4 (released 2009-09-18)
2192 ** libgnutls: Enable Camellia ciphers by default.
2194 ** libgnutls: Make OpenPGP hostname checking work again.
2195 The patch to resolve the X.509 CN/SAN issue accidentally broken
2196 OpenPGP hostname comparison.
2198 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2199 Reported by Howard Chu <hyc@symas.com> in
2200 <https://savannah.gnu.org/support/?106975>.
2202 ** API and ABI modifications:
2203 No changes since last version.
2205 * Version 2.8.3 (released 2009-08-13)
2207 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2208 Code intended to be removed would lead to an read-out-bound error in
2209 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
2210 code have been allocated for the vulnerability: [CVE-2009-2730].
2212 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2213 The function may fail incorrectly when an earlier certificate was
2214 imported to the same gnutls_x509_crt_t structure.
2216 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2218 ** tests: Made self-test mini-eagain take less time.
2220 ** doc: Typo fixes.
2222 ** API and ABI modifications:
2223 No changes since last version.
2225 * Version 2.8.2 (released 2009-08-10)
2227 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2228 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2229 into 1) not printing the entire CN/SAN field value when printing a
2230 certificate and 2) cause incorrect positive matches when matching a
2231 hostname against a certificate.  Some CAs apparently have poor
2232 checking of CN/SAN values and issue these (arguable invalid)
2233 certificates.  Combined, this can be used by attackers to become a
2234 MITM on server-authenticated TLS sessions.  The problem is mitigated
2235 since attackers needs to get one certificate per site they want to
2236 attack, and the attacker reveals his tracks by applying for a
2237 certificate at the CA.  It does not apply to client authenticated TLS
2238 sessions.  Research presented independently by Dan Kaminsky and Moxie
2239 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
2240 for providing one part of the patch.  [GNUTLS-SA-2009-4].
2242 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2243 Before it always returned false.  Reported by Peter Hendrickson
2244 <pdh@wiredyne.com> in
2245 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2247 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2248 The error resulted in truncated strings when printing unknown OIDs in
2249 X.509 certificate DNs.  Reported by Tim Kosse
2250 <tim.kosse@filezilla-project.org> in
2251 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2253 ** libgnutls: Return correct bit lengths of some MPIs.
2254 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2255 gnutls_dh_get_peers_public_bits.  Before the reported value was
2256 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
2257 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2259 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2260 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2261 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2263 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2265 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2266 Before we required that the runtime library used the same (or more
2267 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
2268 that the runtime usage is above the minimum required.  Reported by
2269 Marco d'Itri <md@linux.it> via Andreas Metzler
2270 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2272 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2274 ** tests: Fix failure in "chainverify" because a certificate have expired.
2276 ** API and ABI modifications:
2277 No changes since last version.
2279 * Version 2.8.1 (released 2009-06-10)
2281 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2282 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2283 <http://bugs.gentoo.org/272388>.
2285 ** libgnutls: Fix PKCS#12 decryption from password.
2286 The encryption key derived from the password was incorrect for (on
2287 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
2288 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2289 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2291 ** API and ABI modifications:
2292 No changes since last version.
2294 * Version 2.8.0 (released 2009-05-27)
2296 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
2298 ** Major changes compared to the v2.4 branch:
2300 *** lib: Linker version scripts reduces number of exported symbols.
2302 *** lib: Limit exported symbols on systems without LD linker scripts.
2304 *** libgnutls: Fix namespace issue with version symbols.
2306 *** libgnutls: Add functions to verify a hash against a certificate.
2307 gnutls_x509_crt_verify_hash: ADDED
2308 gnutls_x509_crt_get_verify_algorithm: ADDED
2310 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2312 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2314 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2316 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2318 *** gnutls-serv: No longer disable MAC padding by default.
2320 *** gnutls-cli: Certificate information output format changed.
2322 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2323 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2325 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2327 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2329 *** libgnutls: gnutls_handshake when sending client hello during a
2330 rehandshake, will not offer a version number larger than the current.
2332 *** libgnutls: New interface to get key id for certificate requests.
2333 gnutls_x509_crq_get_key_id: ADDED.
2335 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
2337 *** certtool: --verify-chain now prints results of using library verification.
2339 *** libgnutls: Libgcrypt initialization changed.
2341 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2343 *** gnutls-cli: Return non-zero exit code on error conditions.
2345 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2347 *** certtool: allow setting arbitrary key purpose object identifiers.
2349 *** libgnutls: Change detection of when to use a linker version script.
2350 Use --enable-ld-version-script or --disable-ld-version-script to
2351 override auto-detection logic.
2353 *** Fix warnings and build GnuTLS with more warnings enabled.
2355 *** New API to set X.509 credentials from PKCS#12 memory structure.
2356 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2358 *** Old libgnutls.m4 and libgnutls-config scripts removed.
2359 Please use pkg-config instead.
2361 *** libgnutls: Added functions to handle CRL extensions.
2362 gnutls_x509_crl_get_authority_key_id: ADDED
2363 gnutls_x509_crl_get_number: ADDED
2364 gnutls_x509_crl_get_extension_oid: ADDED
2365 gnutls_x509_crl_get_extension_info: ADDED
2366 gnutls_x509_crl_get_extension_data: ADDED
2367 gnutls_x509_crl_set_authority_key_id: ADDED
2368 gnutls_x509_crl_set_number: ADDED
2370 *** libgnutls: Added functions to handle X.509 extensions in Certificate
2371 Requests.
2372 gnutls_x509_crq_get_key_rsa_raw: ADDED
2373 gnutls_x509_crq_get_attribute_info: ADDED
2374 gnutls_x509_crq_get_attribute_data: ADDED
2375 gnutls_x509_crq_get_extension_info: ADDED
2376 gnutls_x509_crq_get_extension_data: ADDED
2377 gnutls_x509_crq_get_key_usage: ADDED
2378 gnutls_x509_crq_get_basic_constraints: ADDED
2379 gnutls_x509_crq_get_subject_alt_name: ADDED
2380 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2381 gnutls_x509_crq_get_extension_by_oid: ADDED
2382 gnutls_x509_crq_set_subject_alt_name: ADDED
2383 gnutls_x509_crq_set_basic_constraints: ADDED
2384 gnutls_x509_crq_set_key_usage: ADDED
2385 gnutls_x509_crq_get_key_purpose_oid: ADDED
2386 gnutls_x509_crq_set_key_purpose_oid: ADDED
2387 gnutls_x509_crq_print: ADDED
2388 gnutls_x509_crt_set_crq_extensions: ADDED
2390 *** certtool: Print and set CRL and CRQ extensions.
2392 *** minitasn1: Internal copy updated to libtasn1 v2.1.
2394 *** examples: Now released into the public domain.
2396 *** The Texinfo and GTK-DOC manuals were improved.
2398 *** Several self-tests were added and others improved.
2400 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
2401 No offically supported interfaces have been modified or removed.  The
2402 library should be completely backwards compatible on both the source
2403 and binary level.
2405 The shared library no longer exports some symbols that have never been
2406 officially supported, i.e., not mentioned in any of the header files.
2407 The symbols are:
2409   _gnutls*
2410   gnutls_asn1_tab
2411   
2412 Normally when symbols are removed, the shared library version has to
2413 be incremented.  This leads to a significant cost for everyone using
2414 the library.  Because none of the above symbols have ever been
2415 intended for use by well-behaved applications, we decided that the it
2416 would be better for those applications to pay the price rather than
2417 incurring problems on the majority of applications.
2419 If it turns out that applications have been using unofficial
2420 interfaces, we will need to release a follow-on release on the v2.8
2421 branch to exports additional interfaces.  However, initial testing
2422 suggests that few if any applications have been using any of the
2423 internal symbols.
2425 Although not a new change compared to 2.6.x, we'd like to remind you
2426 interfaces have been modified so that X.509 chain verification now
2427 also checks activation/expiration times on certificates.  The affected
2428 functions are:
2430 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2431 gnutls_certificate_verify_peers: Likewise.
2432 gnutls_certificate_verify_peers2: Likewise.
2433 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2434 GNUTLS_CERT_EXPIRED: ADDED.
2435 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2437 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
2438 we gave our rationale for it in earlier release notes.
2440 The following symbols have been added to the library:
2442 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2443 gnutls_x509_crl_get_authority_key_id: ADDED
2444 gnutls_x509_crl_get_extension_data: ADDED
2445 gnutls_x509_crl_get_extension_info: ADDED
2446 gnutls_x509_crl_get_extension_oid: ADDED
2447 gnutls_x509_crl_get_number: ADDED
2448 gnutls_x509_crl_set_authority_key_id: ADDED
2449 gnutls_x509_crl_set_number: ADDED
2450 gnutls_x509_crq_get_attribute_data: ADDED
2451 gnutls_x509_crq_get_attribute_info: ADDED
2452 gnutls_x509_crq_get_basic_constraints: ADDED
2453 gnutls_x509_crq_get_extension_by_oid: ADDED
2454 gnutls_x509_crq_get_extension_data: ADDED
2455 gnutls_x509_crq_get_extension_info: ADDED
2456 gnutls_x509_crq_get_key_id: ADDED.
2457 gnutls_x509_crq_get_key_purpose_oid: ADDED
2458 gnutls_x509_crq_get_key_rsa_raw: ADDED
2459 gnutls_x509_crq_get_key_usage: ADDED
2460 gnutls_x509_crq_get_subject_alt_name: ADDED
2461 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2462 gnutls_x509_crq_print: ADDED
2463 gnutls_x509_crq_set_basic_constraints: ADDED
2464 gnutls_x509_crq_set_key_purpose_oid: ADDED
2465 gnutls_x509_crq_set_key_usage: ADDED
2466 gnutls_x509_crq_set_subject_alt_name: ADDED
2467 gnutls_x509_crt_get_verify_algorithm: ADDED
2468 gnutls_x509_crt_set_crq_extensions: ADDED
2469 gnutls_x509_crt_verify_hash: ADDED
2471 The following interfaces have been added to the header files:
2473 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2474 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2475 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2476 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2477 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2478 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2480 The following interfaces have been deprecated:
2482 LIBGNUTLS_VERSION: DEPRECATED.
2483 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2484 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2485 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2486 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2487 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2489 * Version 2.7.14 (released 2009-05-26)
2491 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
2492 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
2493 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
2494 deprecated.
2496 ** Doc: Several typo fixes in documentation.
2497 Reported by Peter Hendrickson <pdh@wiredyne.com>.
2499 ** API and ABI modifications:
2500 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2501 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2503 * Version 2.7.13 (released 2009-05-25)
2505 ** libgnutls: Fix version of some exported symbols in the shared library.
2506 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2507 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
2509 ** tests: Handle recently expired certificates in chainverify self-test.
2510 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2511 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
2513 ** API and ABI modifications:
2514 No changes since last version.
2516 * Version 2.7.12 (released 2009-05-20)
2518 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
2520 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
2521 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2522 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
2524 ** Fix build failures.
2525 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
2526 G. Christensen" <tgc@jupiterrise.com> in
2527 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
2529 ** minitasn1: Internal copy updated to libtasn1 v2.2.
2530 GnuTLS should work fine with libtasn1 v1.x and that is still
2531 supported.
2533 ** API and ABI modifications:
2534 No changes since last version.
2536 * Version 2.7.11 (released 2009-05-18)
2538 ** minitasn1: Fix build failure when using internal libtasn1.
2539 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2540 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
2542 ** libgnutls: Fix build failure with --disable-cxx.
2543 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2544 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
2546 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
2547 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2548 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
2550 ** Building with many warning flags now requires --enable-gcc-warnings.
2551 This avoids crying wolf for normal compiles.
2553 ** API and ABI modifications:
2554 No changes since last version.
2556 * Version 2.7.10 (released 2009-05-13)
2558 ** examples: Now released into the public domain.
2559 This makes the license of the example code compatible with more
2560 licenses, including the (L)GPL.
2562 ** minitasn1: Internal copy updated to libtasn1 v2.1.
2563 GnuTLS should work fine with libtasn1 v1.x and that is still
2564 supported.
2566 ** libgnutls: Fix crash in signature verification
2567 The fix for the CVE-2009-1415 problem wasn't merged completely.
2569 ** doc: Fixes for GTK-DOC output.
2571 ** API and ABI modifications:
2572 No changes since last version.
2574 * Version 2.7.9 (released 2009-05-11)
2576 ** doc: Fix strings in man page of gnutls_priority_init.
2578 ** doc: Fix tables of error codes and supported algorithms.
2580 ** Fix build failure when cross-compiled using MinGW.
2582 ** Fix build failure when LZO is enabled.
2583 Reported by Arfrever Frehtes Taifersar Arahesis
2584 <arfrever.fta@gmail.com> in
2585 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
2587 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
2588 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2589 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
2591 ** Fix warnings in self-tests.
2593 ** API and ABI modifications:
2594 No changes since last version.
2596 * Version 2.7.8 (released 2009-05-03)
2598 ** libgnutls: Fix DSA key generation.
2599 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2601 ** libgnutls: Check expiration/activation time on untrusted certificates.
2602 Merged from stable branch.  Reported by Romain Francoise
2603 <romain@orebokech.com>.  This changes the semantics of
2604 gnutls_x509_crt_list_verify, which in turn is used by
2605 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
2606 We add two new gnutls_certificate_status_t codes for reporting the new
2607 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
2608 We also add a new gnutls_certificate_verify_flags flag,
2609 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2610 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
2612 ** lib: Linker version scripts reduces number of exported symbols.
2613 The linker version script now lists all exported ABIs explicitly, to
2614 avoid accidentally exporting unintended functions.  Compared to
2615 before, most symbols beginning with _gnutls* are no longer exported.
2616 These functions have never been intended for use by applications, and
2617 there were no prototypes for these function in the public header
2618 files.  Thus we believe it is possible to do this without incrementing
2619 the library ABI version which normally has to be done when removing an
2620 interface.
2622 ** lib: Limit exported symbols on systems without LD linker scripts.
2623 Before all symbols were exported.  Now we limit the exported symbols
2624 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
2625 _gnutls*.  This is a superset of the actual supported ABI, but still
2626 an improvement compared to before.  This is implemented using Libtool
2627 -export-symbols-regex.  It is more portable than linker version
2628 scripts.
2630 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
2631 This should have been done in the last release.
2633 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2634 Reported by Peter Hendrickson <pdh@wiredyne.com> in
2635 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
2637 ** doc: Improved sections for the info manual.
2638 We now follow the advice given by the texinfo manual on which
2639 directory categories to use.  In particular, libgnutls moved from the
2640 'GNU Libraries' section to the 'Software libraries' and the command
2641 line tools moved from 'Network Applications' to 'System
2642 Administration'.
2644 ** API and ABI modifications:
2645 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2646 gnutls_certificate_verify_peers: Likewise.
2647 gnutls_certificate_verify_peers2: Likewise.
2648 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2649 GNUTLS_CERT_EXPIRED: ADDED.
2650 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2652 * Version 2.7.7 (released 2009-04-20)
2654 ** libgnutls: Applied patch by Cedric Bail to add functions
2655 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
2657 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
2658 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2659 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
2661 ** minitasn1: Internal copy updated to libtasn1 v1.8.
2662 GnuTLS is also internally ready to be used with libtasn1 v2.0.
2664 ** doc: Fix build failure of errcodes/printlist.
2665 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2666 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
2668 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2669 It is currently only used by the core library.  This will enable a new
2670 domain 'gnutls' for translations of the command line tools.
2672 ** Corrected possible memory corruption on signature verification failure. 
2673 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
2675 ** API and ABI modifications:
2676 gnutls_x509_crt_verify_hash: ADDED
2677 gnutls_x509_crt_get_verify_algorithm: ADDED
2679 * Version 2.7.6 (released 2009-02-27)
2681 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2682 This applies both to generating certificates and certificate requests.
2684 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
2686 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2687 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
2688 be used for chain verification.
2690 ** gnutls-serv: No longer disable MAC padding by default.
2691 Use --priority NORMAL:%COMPAT to disable MAC padding again.
2693 ** gnutls-cli: Certificate information output format changed.
2694 The tool now uses libgnutls' functions to print certificate
2695 information.  This avoids code duplication.
2697 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2698 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2699 They can be used to override the default certificate chain validation
2700 behaviour.
2702 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
2703 specify the client hello message record version. Used to overcome buggy 
2704 TLS servers. Report by Martin von Gagern.
2706 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2708 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2710 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
2712 ** API and ABI modifications:
2713 No changes since last version.
2715 * Version 2.7.5 (released 2009-02-06)
2717 ** libgnutls: Accept chains where intermediary certs are trusted.
2718 Before GnuTLS needed to validate the entire chain back to a
2719 self-signed certificate.  GnuTLS will now stop looking when it has
2720 found an intermediary trusted certificate.  The new behaviour is
2721 useful when chains, for example, contains a top-level CA, an
2722 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2723 To avoid chain validation errors due to the RSA-MD5 cert, you can
2724 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2725 The signature on trusted certificates are not checked, so the chain
2726 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2727 <deengert@anl.gov> in
2728 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2730 ** libgnutls: result_size in gnutls_hex_encode now holds
2731 the size of the result. Report by John Brooks <special@dereferenced.net>.
2733 ** libgnutls: gnutls_handshake when sending client hello during a
2734 rehandshake, will not offer a version number larger than the current.
2735 Reported by Tristan Hill <stan@saticed.me.uk>.
2737 ** libgnutls: Permit V1 Certificate Authorities properly.
2738 Before they were mistakenly rejected even though
2739 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2740 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2741 "Douglas E. Engert" <deengert@anl.gov> in
2742 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2744 ** API and ABI modifications:
2745 No changes since last version.
2747 * Version 2.7.4 (released 2009-01-07)
2749 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2750 This is a bugfix -- the previous attempt to do this from internal x509
2751 certificate verification procedures did not return the correct value
2752 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2753 <dkg@fifthhorseman.net> in
2754 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2755 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2756 Gillmor <dkg@fifthhorseman.net>.
2758 ** libgnutls: New interface to get key id for certificate requests.
2759 Patch from David Marín Carreño <davefx@gmail.com> in
2760 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
2762 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
2764 ** certtool: --verify-chain now prints results of using library verification.
2765 Earlier, certtool --verify-chain used its own validation algorithm
2766 which wasn't guaranteed to give the same result as the libgnutls
2767 internal validation algorithm.  Now this command print a new final
2768 line with header 'Chain verification output:' that contains the result
2769 from using the internal verification algorithm on the same chain.
2771 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
2773 ** API and ABI modifications:
2774 gnutls_x509_crq_get_key_id: ADDED.
2776 * Version 2.7.3 (released 2008-12-10)
2778 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2779 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2780 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2781 Andreas Metzler <ametzler@downhill.at.eu.org> in
2782 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2784 ** libgnutls: Libgcrypt initialization changed.
2785 If libgcrypt has not already been initialized, GnuTLS will now
2786 initialize libgcrypt with disabled secure memory.  Initialize
2787 libgcrypt explicitly in your application if you want to enable secure
2788 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
2789 allocation functions, which doesn't use secure memory, so there is no
2790 real change in behaviour.
2792 ** libgnutls: Fix memory leak in PSK authentication.
2793 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2794 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2796 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2798 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2799 It needs to be invoked before libgcrypt is initialized.
2801 ** gnutls-cli: Return non-zero exit code on error conditions.
2803 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2805 ** tests: Added chainverify self-test that tests X.509 chain verifications.
2807 ** API and ABI modifications:
2808 No changes since last version.
2810 * Version 2.7.2 (released 2008-11-18)
2812 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2813 The flaw makes it possible for man in the middle attackers (i.e.,
2814 active attackers) to assume any name and trick GnuTLS clients into
2815 trusting that name.  Thanks for report and analysis from Martin von
2816 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2818 Any updates with more details about this vulnerability will be added
2819 to <http://www.gnu.org/software/gnutls/security.html>
2821 ** libgnutls: Fix namespace issue with version symbols.
2822 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
2823 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
2824 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
2825 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
2826 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
2827 work but are deprecated.
2829 ** certtool: allow setting arbitrary key purpose object identifiers.
2831 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
2833 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2834 Reported by Kevin Quick <quick@sparq.org> in
2835 <https://savannah.gnu.org/support/index.php?106454>.
2837 ** libgnutls-extra: Make building with LZO compression work again.
2838 Build failure reported by Arfrever Frehtes Taifersar Arahesis
2839 <arfrever.fta@gmail.com> in
2840 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
2842 ** libgnutls: Change detection of when to use a linker version script.
2843 Use --enable-ld-version-script or --disable-ld-version-script to
2844 override auto-detection logic.
2846 ** doc: Change license on the manual to GFDLv1.3+.
2848 ** doc: GTK-DOC fixes for new splitted configuration system.
2850 ** doc: Texinfo stylesheet uses white background.
2852 ** tests: Add cve-2008-4989.c self-test.
2853 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
2854 follow-on problem with crashes on length 1 certificate chains.
2856 ** gnulib: Deprecated modules removed.
2857 Modules include memchr and memcmp.
2859 ** Fix warnings and build GnuTLS with more warnings enabled.
2861 ** minitasn1: Internal copy updated to libtasn1 v1.7.
2863 ** API and ABI modifications:
2864 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2865 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2866 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2867 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2868 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2869 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2870 LIBGNUTLS_VERSION: DEPRECATED.
2871 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2872 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2873 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2874 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2876 * Version 2.7.1 (released 2008-10-31)
2878 ** certtool: print a PKCS #8 key even if it is not encrypted.
2880 ** Old libgnutls.m4 and libgnutls-config scripts removed.
2881 Please use pkg-config instead.
2883 ** Configuration system modified.
2884 There is now a configure script in lib/ and libextra/ as well, because
2885 gnulib works better with a config.h per gnulib directory.
2887 ** API and ABI modifications:
2888 No changes since last version.
2890 * Version 2.7.0 (released 2008-10-16)
2892 ** libgnutls: Added functions to handle CRL extensions.
2894 ** libgnutls: Added functions to handle X.509 extensions in Certificate
2895 Requests.
2897 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
2898 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
2900 ** certtool: Print and set CRL and CRQ extensions.
2902 ** libgnutls-extra: Protect internal symbols with static.
2903 Fixes problem when linking certtool statically.  Tiny patch from Aaron
2904 Ucko <ucko@ncbi.nlm.nih.gov>.
2906 ** libgnutls-openssl: fix out of bounds access.
2907 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
2908 from Thomas Viehmann <tv@beamnet.de>.
2910 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
2912 ** tests: Make tests compile when using internal libtasn1.
2913 Patch by ludo@gnu.org (Ludovic Courtès).
2915 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
2916 We now require a libgcrypt that has Camellia constants declared in
2917 gcrypt.h, which means v1.3.0 or later.
2919 ** API and ABI modifications:
2920 gnutls_x509_crl_get_authority_key_id: ADDED
2921 gnutls_x509_crl_get_number: ADDED
2922 gnutls_x509_crl_get_extension_oid: ADDED
2923 gnutls_x509_crl_get_extension_info: ADDED
2924 gnutls_x509_crl_get_extension_data: ADDED
2925 gnutls_x509_crl_set_authority_key_id: ADDED
2926 gnutls_x509_crl_set_number: ADDED
2927 gnutls_x509_crq_get_key_rsa_raw: ADDED
2928 gnutls_x509_crq_get_attribute_info: ADDED
2929 gnutls_x509_crq_get_attribute_data: ADDED
2930 gnutls_x509_crq_get_extension_info: ADDED
2931 gnutls_x509_crq_get_extension_data: ADDED
2932 gnutls_x509_crq_get_key_usage: ADDED
2933 gnutls_x509_crq_get_basic_constraints: ADDED
2934 gnutls_x509_crq_get_subject_alt_name: ADDED
2935 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2936 gnutls_x509_crq_get_extension_by_oid: ADDED
2937 gnutls_x509_crq_set_subject_alt_name: ADDED
2938 gnutls_x509_crq_set_basic_constraints: ADDED
2939 gnutls_x509_crq_set_key_usage: ADDED
2940 gnutls_x509_crq_get_key_purpose_oid: ADDED
2941 gnutls_x509_crq_set_key_purpose_oid: ADDED
2942 gnutls_x509_crq_print: ADDED
2943 gnutls_x509_crt_set_crq_extensions: ADDED
2945 * Version 2.6.6 (released 2009-04-30)
2947 ** libgnutls: Corrected double free on signature verification failure.
2948 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
2949 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
2951 ** libgnutls: Fix DSA key generation.
2952 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
2953 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
2954 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2956 ** libgnutls: Check expiration/activation time on untrusted certificates.
2957 Reported by Romain Francoise <romain@orebokech.com>.  Before the
2958 library did not check activation/expiration times on certificates, and
2959 was documented as not doing so.  We have realized that many
2960 applications that use libgnutls, including gnutls-cli, fail to perform
2961 proper checks.  Implementing similar logic in all applications leads
2962 to code duplication.  Hence, we decided to check whether the current
2963 time (as reported by the time function) is within the
2964 activation/expiration period of certificates when verifying untrusted
2965 certificates.
2967 This changes the semantics of gnutls_x509_crt_list_verify, which in
2968 turn is used by gnutls_certificate_verify_peers and
2969 gnutls_certificate_verify_peers2.  We add two new
2970 gnutls_certificate_status_t codes for reporting the new error
2971 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
2972 add a new gnutls_certificate_verify_flags flag,
2973 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2974 behaviour.
2976 More details about the vulnerabilities will be posted at
2977 <http://www.gnu.org/software/gnutls/security.html>.
2979 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
2980 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
2981 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
2983 ** tests: Fix linking of tests/openpgp/keyring self-test.
2984 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
2986 ** API and ABI modifications:
2987 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2988 gnutls_certificate_verify_peers: Likewise.
2989 gnutls_certificate_verify_peers2: Likewise.
2990 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2991 GNUTLS_CERT_EXPIRED: ADDED.
2992 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2994 * Version 2.6.5 (released 2009-04-11)
2996 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
2997 specify the client hello message record version. Used to overcome buggy
2998 TLS servers. Report by Martin von Gagern.
3000 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3001 Libtasn1 0.3.4 or later is required.  This is to align with the
3002 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3004 ** API and ABI modifications:
3005 No changes since last version.
3007 * Version 2.6.4 (released 2009-02-06)
3009 ** libgnutls: Accept chains where intermediary certs are trusted.
3010 Before GnuTLS needed to validate the entire chain back to a
3011 self-signed certificate.  GnuTLS will now stop looking when it has
3012 found an intermediary trusted certificate.  The new behaviour is
3013 useful when chains, for example, contains a top-level CA, an
3014 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3015 To avoid chain validation errors due to the RSA-MD5 cert, you can
3016 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3017 The signature on trusted certificates are not checked, so the chain
3018 has a chance to validate correctly.  Reported by "Douglas E. Engert"
3019 <deengert@anl.gov> in
3020 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3022 ** libgnutls: result_size in gnutls_hex_encode now holds
3023 the size of the result. Report by John Brooks <special@dereferenced.net>.
3025 ** libgnutls: gnutls_handshake when sending client hello during a
3026 rehandshake, will not offer a version number larger than the current.
3027 Reported by Tristan Hill <stan@saticed.me.uk>.
3029 ** libgnutls: Permit V1 Certificate Authorities properly.
3030 Before they were mistakenly rejected even though
3031 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3032 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
3033 "Douglas E. Engert" <deengert@anl.gov> in
3034 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3036 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3037 This is a bugfix -- the previous attempt to do this from internal x509
3038 certificate verification procedures did not return the correct value
3039 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
3040 <dkg@fifthhorseman.net> in
3041 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3042 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3043 Gillmor <dkg@fifthhorseman.net>.
3045 ** libgnutls: Fix compile error with Sun CC.
3046 Reported by Jeff Cai <jeff.cai@sun.com> in
3047 <https://savannah.gnu.org/support/?106549>.
3049 ** API and ABI modifications:
3050 No changes since last version.
3052 * Version 2.6.3 (released 2008-12-12)
3054 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3055 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3056 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3057 Andreas Metzler <ametzler@downhill.at.eu.org> in
3058 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3060 ** libgnutls: Fix memory leak in PSK authentication.
3061 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3062 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3064 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3065 It needs to be invoked before libgcrypt is initialized.
3067 ** gnutls-cli: Return non-zero exit code on error conditions.
3069 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3071 ** API and ABI modifications:
3072 No changes since last version.
3074 * Version 2.6.2 (released 2008-11-12)
3076 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3077 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3078 problem for certificate chains that contained just one self-signed
3079 certificate.  Reported by Michael Meskes <meskes@debian.org> in
3080 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3082 ** API and ABI modifications:
3083 No changes since last version.
3085 * Version 2.6.1 (released 2008-11-10)
3087 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3088 The flaw makes it possible for man in the middle attackers (i.e.,
3089 active attackers) to assume any name and trick GnuTLS clients into
3090 trusting that name.  Thanks for report and analysis from Martin von
3091 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
3093 Any updates with more details about this vulnerability will be added
3094 to <http://www.gnu.org/software/gnutls/security.html>
3096 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3097 Reported by Kevin Quick <quick@sparq.org> in
3098 <https://savannah.gnu.org/support/index.php?106454>.
3100 ** libgnutls-extra: Protect internal symbols with static.
3101 Fixes problem when linking certtool statically.  Tiny patch from Aaron
3102 Ucko <ucko@ncbi.nlm.nih.gov>.
3104 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
3105 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
3106 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
3108 ** certtool: Print a PKCS #8 key even if it is not encrypted.
3110 ** tests: Make tests compile when using internal libtasn1.
3111 Patch by ludo@gnu.org (Ludovic Courtès).
3113 ** API and ABI modifications:
3114 No changes since last version.
3116 * Version 2.6.0 (released 2008-10-06)
3118 ** libgnutls: Correct printing and parsing of IPv6 addresses.
3120 ** libgnutls-openssl: fix out of bounds access.
3121 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
3122 from Thomas Viehmann <tv@beamnet.de>.
3124 ** certtool: Use inet_pton for parsing IPv6 addresses.
3126 ** Major changes compared to the v2.4 branch:
3128 *** Added API to replace and update the crypto backend.
3130 *** certtool: can add several subject alternative names via template file.
3132 *** opencdk: Parse (but not decrypt) encrypted secret keys.
3134 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
3135 either set or append alternative names. It can also handle binary structures
3136 such as IP addresses.
3138 *** libgnutls: New function to set minimum acceptable SRP bits.
3139 The function is gnutls_srp_set_prime_bits.
3141 *** libgnutls: Add interface to deal with public key and signature algorithms.
3142 The functions are called gnutls_pk_list, gnutls_pk_get_id,
3143 gnutls_sign_list, and gnutls_sign_get_id.
3145 *** libgnutls: New interfaces to get name of public key and signing algorithms.
3146 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
3148 *** libgnutls: New API to get a string corresponding to a error symbol.
3149 The function is gnutls_strerror_name.
3151 *** libgnutls: New API to set the public parameters in a certificate request
3152 *** from a private key.
3153 The function is gnutls_x509_crq_set_key_rsa_raw.
3155 *** libgnutls: New API to set a callback to extract TLS Finished data.
3156 The function to register is gnutls_session_set_finished_function and
3157 it takes a callback of the gnutls_finished_callback_func type.
3159 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
3161 *** libgnutls: New interface to register a new TLS extension handler.
3162 The new function gnutls_ext_register can be used to register handlers
3163 for specific TLS extension types.  The callback functions have the new
3164 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
3165 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
3166 well.
3168 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
3169 The function is gnutls_register_md5_handler.  When libgcrypt is in
3170 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
3171 the PRF.
3173 *** API/ABI changes in GnuTLS 2.6
3174 No functions have been removed or modified.  The library should be
3175 fully backwards compatible on both the source and binary level.
3177 A new header file <gnutls/crypto.h> have been added.  It contains
3178 definitions related to replacing the internal crypto functionality.
3179 All definitions and the header itself is experimental but supported.
3181 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
3182 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
3183 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
3185 The following functions have been added to libgnutls:
3187 GNUTLS_MASTER_SIZE
3188 GNUTLS_RANDOM_SIZE
3189 gnutls_crypto_bigint_register2
3190 gnutls_crypto_cipher_register2
3191 gnutls_crypto_digest_register2
3192 gnutls_crypto_mac_register2
3193 gnutls_crypto_pk_register2
3194 gnutls_crypto_rnd_register2
3195 gnutls_crypto_single_cipher_register2
3196 gnutls_crypto_single_digest_register2
3197 gnutls_crypto_single_mac_register2
3198 gnutls_ext_register
3199 gnutls_pk_get_id
3200 gnutls_pk_get_name
3201 gnutls_pk_list
3202 gnutls_session_set_finished_function
3203 gnutls_sign_get_id
3204 gnutls_sign_get_name
3205 gnutls_sign_list
3206 gnutls_srp_set_prime_bits:
3207 gnutls_strerror_name
3208 gnutls_x509_crq_set_key_rsa_raw
3209 gnutls_x509_crt_set_crl_dist_points2
3210 gnutls_x509_crt_set_subject_alt_name
3212 The following functions have been added to libgnutls-extra:
3214 gnutls_register_md5_handler
3216 ** API and ABI modifications:
3217 No changes since last version.
3219 * Version 2.5.9 (released 2008-09-29)
3221 ** libgnutls: Fix several memory leaks.
3222 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
3224 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
3225 Report and patch by Jonathan Manktelow.
3227 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
3228 The parameters are now allocated in the structure itself.
3230 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
3232 ** tests: Scripts now use EXEEXT properly.
3233 Modern libtool doesn't create wrapper script, so the self tests need
3234 to invoke certtool.exe under MinGW32+Wine.
3236 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
3237 Automake warnings are now also enabled.
3239 ** API and ABI modifications:
3240 gnutls_pk_params_st: MODIFIED
3242 * Version 2.5.8 (released 2008-09-21)
3244 ** certtool: updated so it can add several subject alternative names using
3245 the template file.
3247 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
3248 either set or append alternative names. It can also handle binary structures
3249 such as IP addresses.
3251 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
3253 ** libgnutls: New function to set minimum acceptable SRP bits.
3254 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
3255 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
3257 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
3258 Also fix overflows in calls to those functions.  Reported by Werner
3259 Koch <wk@gnupg.org>.
3261 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
3262 The function is gnutls_register_md5_handler.  When libgcrypt is in
3263 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
3264 the PRF.
3266 ** Opencdk: Add calls to gnutls_assert to ease debugging.
3268 ** Indent code.
3270 ** API and ABI modifications:
3271 gnutls_srp_set_prime_bits: ADDED
3272 gnutls_register_md5_handler: ADDED
3273 gnutls_x509_crt_set_crl_dist_points2: ADDED
3274 gnutls_x509_crt_set_subject_alt_name: ADDED
3276 * Version 2.5.7 (released 2008-09-16)
3278 ** libgnutls: New interfaces to get name of public key and signing algorithms.
3279 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
3281 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
3283 ** libgnutls: Fix libgnutls shared library version.
3284 It wasn't properly incremented after adding symbols in the last
3285 release.
3287 ** manual: Now mention supported public key and public key signing algorithms.
3289 ** tests/openssl: initialize gnutls before use.
3291 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
3293 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
3295 ** API and ABI modifications:
3296 gnutls_sign_get_name: ADDED
3297 gnutls_pk_get_name: ADDED
3299 * Version 2.5.6 (released 2008-09-08)
3301 ** libgnutls: Add interface to deal with public key and signature algorithms.
3302 The functions are called gnutls_pk_list, gnutls_pk_get_id,
3303 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
3304 Varshavchik <mrsam@courier-mta.com>.
3306 ** libgnutls: Refactor and clean up some code.
3308 ** libgnutls: Fix compile error with Sun CC.
3310 ** gnutls-cli: Improve --list output to include public key and signature algs.
3312 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
3313 Use standard --version to get license info.
3315 ** gnutls-cli.1: Document all new parameters.
3316 Thanks to James Westby <jw+debian@jameswestby.net>.
3318 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
3319 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3321 ** API and ABI modifications:
3322 gnutls_pk_list: ADDED
3323 gnutls_pk_get_id: ADDED
3324 gnutls_sign_list: ADDED
3325 gnutls_sign_get_id: ADDED
3327 * Version 2.5.5 (released 2008-08-29)
3329 ** libgnutls: New API to get a string corresponding to a error symbol.
3330 The function is gnutls_strerror_name.
3332 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
3333 Reported by "jth.net ApS" <info@jth.net>.
3335 ** libgnutls: Fix segmentation fault when generating private keys.
3336 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3338 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
3339 The code has not worked since v0.9.0 and apparently nobody has missed
3340 it, so we decided to remove the code rather than fix it.  If you have
3341 old certificate chains stored in PKCS#7 format, you can convert them
3342 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
3343 by Christian Grothoff <christian@grothoff.org>.
3345 ** opencdk: Parse (but not decrypt) encrypted secret keys.
3346 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3348 ** libgnutls: Fix many warnings.
3350 ** Included copy of libtasn1 is upgraded to version 1.5.
3352 ** Add French translation, thanks to Nicolas Provost.
3354 ** API and ABI modifications:
3355 gnutls_strerror_name: ADDED
3357 * Version 2.5.4 (released 2008-08-19)
3359 ** Fix secure memory initialization of libgcrypt.
3360 Reported by Joe Orton <joe@manyfish.co.uk> in
3361 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
3363 ** Doc fixes.
3364 Reference to NIST SP 800-57 in the manual on key size recommendations.
3365 Added 'Since:' tags to new APIs for gtk-doc.
3367 ** API and ABI modifications:
3368 No changes since last version.
3370 * Version 2.5.3 (released 2008-08-14)
3372 ** libgnutls: New API to set the public parameters in a certificate request
3373 ** from a private key.
3374 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
3375 discussion with "Zach C." <fxchip@gmail.com>.
3377 ** libgnutls: New API to set a callback to extract TLS Finished data.
3378 The function to register is gnutls_session_set_finished_function and
3379 it takes a callback of the gnutls_finished_callback_func type.
3381 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
3382 Reported in <https://savannah.gnu.org/support/?106453>.
3384 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
3385 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
3386 names are mapped to the new names in compat.h.  These mappings will
3387 likely be removed more quickly than other mappings in that file due to
3388 the namespace violation.
3390 ** libgnutlsxx: Make it build when SRP is disabled.
3392 ** doc: Add doxygen files in doc/doxygen/.
3394 ** API and ABI modifications:
3395 gnutls_x509_crq_set_key_rsa_raw: ADDED
3396 gnutls_session_set_finished_function: ADDED
3397 gnutls_finished_callback_func: ADDED
3398 GNUTLS_MASTER_SIZE: ADDED
3399 GNUTLS_RANDOM_SIZE: ADDED
3400 TLS_MASTER_SIZE: DEPRECATED
3401 TLS_RANDOM_SIZE: DEPRECATED
3403 * Version 2.5.2 (released 2008-07-08)
3405 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
3406 The prime and generator was swapped.
3408 ** libgnutls: New interface to register a new TLS extension handler.
3409 The new function gnutls_ext_register can be used to register handlers
3410 for specific TLS extension types.  The callback functions have the new
3411 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
3412 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
3413 well.
3415 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
3416 This was made possible by using the new gnutls_ext_register interface.
3417 The TLS/IA functionality has only been supported through the
3418 libgnutls-extra library, so it makes sense for the code to belong
3419 there too.
3421 ** API and ABI modifications:
3422 gnutls_ext_recv_func: ADDED
3423 gnutls_ext_send_func: ADDED
3424 gnutls_ext_parse_type_t: ADDED
3425 gnutls_ext_register: ADDED
3427 * Version 2.5.1 (released 2008-07-02)
3429 ** Indent code.
3431 ** API and ABI modifications:
3432 No changes since last version.
3434 * Version 2.5.0 (released 2008-07-02)
3436 ** Port fixes from v2.4.1 release, see below.
3438 ** Added API to replace and update the crypto backend.
3439 The header gnutls/crypto.h is now officially supported, and declares
3440 the symbols below.
3442 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
3444 ** Update gnulib and translations.
3445 The gnulib gc crypto code has been removed since it was never finished
3446 and is no longer even used.  An internal non-libgcrypt crypto
3447 implementation may be added in the future, but we'll decide that later
3450 ** API and ABI modifications:
3451 gnutls_crypto_bigint_register2: ADDED.
3452 gnutls_crypto_cipher_register2: ADDED.
3453 gnutls_crypto_digest_register2: ADDED.
3454 gnutls_crypto_mac_register2: ADDED.
3455 gnutls_crypto_pk_register2: ADDED.
3456 gnutls_crypto_rnd_register2: ADDED.
3457 gnutls_crypto_single_cipher_register2: ADDED.
3458 gnutls_crypto_single_digest_register2: ADDED.
3459 gnutls_crypto_single_mac_register2: ADDED.
3461 * Version 2.4.3 (released 2009-02-06)
3463 ** libgnutls: Accept chains where intermediary certs are trusted.
3464 Before GnuTLS needed to validate the entire chain back to a
3465 self-signed certificate.  GnuTLS will now stop looking when it has
3466 found an intermediary trusted certificate.  The new behaviour is
3467 useful when chains, for example, contains a top-level CA, an
3468 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3469 To avoid chain validation errors due to the RSA-MD5 cert, you can
3470 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3471 The signature on trusted certificates are not checked, so the chain
3472 has a chance to validate correctly.  Reported by "Douglas E. Engert"
3473 <deengert@anl.gov> in
3474 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3476 ** libgnutls: Permit V1 Certificate Authorities properly.
3477 Before they were mistakenly rejected even though
3478 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3479 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
3480 "Douglas E. Engert" <deengert@anl.gov> in
3481 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3483 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3484 This is a bugfix -- the previous attempt to do this from internal x509
3485 certificate verification procedures did not return the correct value
3486 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
3487 <dkg@fifthhorseman.net> in
3488 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3489 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3490 Gillmor <dkg@fifthhorseman.net>.
3492 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3493 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3494 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3495 Andreas Metzler <ametzler@downhill.at.eu.org> in
3496 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3498 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3499 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3500 problem for certificate chains that contained just one self-signed
3501 certificate.  Reported by Michael Meskes <meskes@debian.org> in
3502 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3504 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3505 The flaw makes it possible for man in the middle attackers (i.e.,
3506 active attackers) to assume any name and trick GnuTLS clients into
3507 trusting that name.  Thanks for report and analysis from Martin von
3508 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
3510 Any updates with more details about this vulnerability will be added
3511 to <http://www.gnu.org/software/gnutls/security.html>
3513 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
3514 Report and patch by Jonathan Manktelow.
3516 ** libgnutls: Avoid use of non-thread safe strerror.
3518 ** API and ABI modifications:
3519 No changes since last version.
3521 * Version 2.4.2 (released 2008-09-15)
3523 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
3525 ** libgnutls: Corrected memory leak in X.509 functions.
3526 Thanks to Colin Leroy <colin@colino.net>.
3528 ** libgnutls: Fix compile error with Sun CC.
3530 ** gnutls-cli.1: Document all new parameters.
3531 Thanks to James Westby <jw+debian@jameswestby.net>.
3533 ** tests/openssl: initialize gnutls before use.
3534 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
3535 <ludovic.courtes@laas.fr>.
3537 ** doc/: Fix texinfo markup for old texinfo versions.
3539 ** Included copy of libtasn1 is upgraded to version 1.5.
3541 ** API and ABI modifications:
3542 No changes since last version.
3544 * Version 2.4.1 (released 2008-06-30)
3546 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
3547 If the gnutls_handshake function is called for a normal session, which
3548 can happen for re-handshakes, the library would crash because it tried
3549 to hash some data using a libgcrypt handle that had been deallocated.
3550 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
3551 with more details about this vulnerability will be added to
3552 <http://www.gnu.org/software/gnutls/security.html>
3554 ** libgnutls: Fix memory leaks when doing a re-handshake.
3555 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
3556 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
3558 ** Fix compiler warnings.
3559 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3560 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
3562 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
3563 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3564 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
3566 ** srptool: Fix a problem where --verify check does not succeed.
3567 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
3568 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
3570 ** API and ABI modifications:
3571 No changes since last version.
3573 * Version 2.4.0 (released 2008-06-19)
3575 ** Major changes compared to the v2.2 branch:
3577 *** The OpenPGP sub-system has been improved and now supports subkeys.
3579 *** The PSK sub-system has been improved and now supports password
3580 *** derivation and PSK identity hints.
3581 The password derivation algorithms support is documented in
3582 draft-ietf-netconf-tls-02.txt.
3584 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
3585 This aligns terminology with OpenPGP, which doesn't use DER encoding.
3586 The old parameters will continue to work for some time.
3588 *** Certtool now confirm passwords and changes permissions of private key files.
3590 *** The default handshake size limit has been increased to 48kb.
3591 It appears as if some valid handshakes are large due to sending many
3592 CA certificates.  (The earlier limit was 16kb.)
3594 *** LZO compression is now disabled by default.
3595 The main reason is that LZO compression in TLS is not standardized,
3596 but license compatiblity issues with minilzo triggered us to make this
3597 decision now.
3599 *** Improvements for cross-compilation to Windows and OpenWRT.
3601 *** The look of the GTK-DOC manual has been improved.
3602 Major developer visible changes compared to the v2.2 branch:
3604 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
3606 *** New APIs to access the raw X.509 Subject and Issuer DN's and
3607 *** elements from the certificate credentials structure.
3608 Thanks to Joe Orton.
3610 *** New APIs to improve working with username/passwords and PSK.
3612 *** Names of constants to affect certificate printing changed.
3613 The constants are used for OpenPGP too, which the names didn't
3614 reflect, so the following name change has been made:
3616             Old name                         New name
3617      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
3618      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
3619      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
3621 The old names will be mapped to the new names for some time.
3623 *** The function gnutls_openpgp_privkey_get_id has been renamed to
3624 *** gnutls_openpgp_privkey_get_key_id.
3625 A compatibility mapping exists to avoid breaking API backwards
3626 compatibility.
3628 *** Replaced all uses of alloca with malloc and free.
3630 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
3631 We have been unable to find a documented rationale for this practice.
3633 *** Of course, many smaller fixes have been made, see the ChangeLog file.
3635 *** API/ABI changes in GnuTLS 2.4
3636 All OpenPGP related functions have been moved from libgnutls-extra to
3637 libgnutls, and several new functions have been added (see below).
3638 Before making the release, we discussed whether moving functions from
3639 libgnutls-extra to libgnutls would require us to increment the ABI
3640 version, but the general opinion was that this would not be required.
3641 All older functions continue to work the same.  We are open to the
3642 possibility that this decision will lead to problem on some platform,
3643 and if it turns out that the Right Thing should have been to increment
3644 the shared library version, we would need to release an update within
3645 the 2.4.x branch that increments the shared library version.
3647 This release adds the following functions:
3649   gnutls_psk_client_get_hint
3650   gnutls_psk_set_server_credentials_hint
3651   gnutls_psk_netconf_derive_key
3653     Used to get/set the PSK identity hint, and derive PSK keys from
3654     passwords a'la netconf.
3656   gnutls_x509_dn_deinit
3657   gnutls_x509_dn_export
3658   gnutls_x509_dn_import
3659   gnutls_x509_dn_init
3661     Used to handle X.509 Certificate DN's directly.
3663   gnutls_hex2bin
3665     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
3666     secrets.
3668   gnutls_certificate_get_x509_cas
3669   gnutls_certificate_get_x509_crls
3670   gnutls_certificate_get_openpgp_keyring
3672     Functions for direct access to credential elements.
3674   gnutls_openpgp_crt_get_auth_subkey
3675   gnutls_openpgp_crt_get_key_id
3676   gnutls_openpgp_crt_get_pk_dsa_raw
3677   gnutls_openpgp_crt_get_pk_rsa_raw
3678   gnutls_openpgp_crt_get_preferred_key_id
3679   gnutls_openpgp_crt_get_revoked_status
3680   gnutls_openpgp_crt_get_subkey_count
3681   gnutls_openpgp_crt_get_subkey_creation_time
3682   gnutls_openpgp_crt_get_subkey_expiration_time
3683   gnutls_openpgp_crt_get_subkey_fingerprint
3684   gnutls_openpgp_crt_get_subkey_id
3685   gnutls_openpgp_crt_get_subkey_idx
3686   gnutls_openpgp_crt_get_subkey_pk_algorithm
3687   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
3688   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
3689   gnutls_openpgp_crt_get_subkey_revoked_status
3690   gnutls_openpgp_crt_get_subkey_usage
3691   gnutls_openpgp_crt_print
3692   gnutls_openpgp_crt_set_preferred_key_id
3693   gnutls_openpgp_keyring_get_crt
3694   gnutls_openpgp_keyring_get_crt_count
3695   gnutls_openpgp_privkey_export
3696   gnutls_openpgp_privkey_export_dsa_raw
3697   gnutls_openpgp_privkey_export_rsa_raw
3698   gnutls_openpgp_privkey_export_subkey_dsa_raw
3699   gnutls_openpgp_privkey_export_subkey_rsa_raw
3700   gnutls_openpgp_privkey_get_fingerprint
3701   gnutls_openpgp_privkey_get_key_id
3702   gnutls_openpgp_privkey_get_pk_algorithm
3703   gnutls_openpgp_privkey_get_preferred_key_id
3704   gnutls_openpgp_privkey_get_revoked_status
3705   gnutls_openpgp_privkey_get_subkey_count
3706   gnutls_openpgp_privkey_get_subkey_creation_time
3707   gnutls_openpgp_privkey_get_subkey_expiration_time
3708   gnutls_openpgp_privkey_get_subkey_fingerprint
3709   gnutls_openpgp_privkey_get_subkey_id
3710   gnutls_openpgp_privkey_get_subkey_idx
3711   gnutls_openpgp_privkey_get_subkey_pk_algorithm
3712   gnutls_openpgp_privkey_get_subkey_revoked_status
3713   gnutls_openpgp_privkey_set_preferred_key_id
3715     New OpenPGP related functions.
3717     The function gnutls_openpgp_crt_get_key_id is the same as the old
3718     from gnutls_openpgp_crt_get_id, see above.
3720 The release also adds a new header file 'gnutls/crypto.h', however it
3721 is currently not used.
3723 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
3724 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3726 ** API and ABI modifications:
3727 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
3728 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
3730 * Version 2.3.15 (released 2008-06-15)
3732 ** Disable the openpgp-certs self-tests.
3733 It results in failure under Wine and doesn't work on Debian buildds.
3735 ** API and ABI modifications:
3736 No changes since last version.
3738 * Version 2.3.14 (released 2008-06-11)
3740 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
3741 An OpenPGP certificate is now only considered verified if all the user
3742 IDs are verified.
3744 ** Examples: Make C++ example compile.
3745 Earlier it may have failed with an unresolved reference to strlen.
3747 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
3748 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
3750 ** API and ABI modifications:
3751 No changes since last version.
3753 * Version 2.3.13 (released 2008-06-07)
3755 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
3757 ** doc/: Add psktool to info index.  Some minor cleanups.
3759 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
3761 ** tests/: Added libgcrypt.supp which can be used with valgrind.
3762 The file suppresses the known libgcrypt memory leaks, so they aren't
3763 printed when you run valgrind on the gnutls self-tests.  Use it as
3764 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
3765 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
3766 ~/.valgrindrc file.
3768 ** tests/: Reduce amount of debugging output by default.
3769 Use --verbose for each test to get the full output.
3771 ** tests/: Fix memory leaks in several self-tests.
3772 None of the self tests should be leaking memory when running valgrind
3773 or similar tools.  (Known exceptions are dhepskself, pskself, and
3774 set_pkcs12_cred, which appear likely to be due to memory leaks in the
3775 library.)
3777 ** API and ABI modifications:
3778 No changes since last version.
3780 * Version 2.3.12 (released 2008-06-04)
3782 ** Merge gnutls_with_netconf branch.
3784 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
3785 The function is gnutls_psk_client_get_hint.
3787 *** libgnutls [PSK]: New API to set PSK identity hint in server.
3788 The function is gnutls_psk_set_server_credentials_hint.
3790 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
3791 In the client, the message is parsed and the application can use
3792 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
3793 message is sent if the application has specified a PSK identity hint
3794 using gnutls_psk_set_server_credentials_hint.
3796 *** libgnutls [PSK]: Support Netconf PSK key derivation.
3797 The function gnutls_psk_netconf_derive_key supports the PSK key
3798 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
3799 test netconf-psk.c.
3801 *** psktool: Support new --netconf-hint to generate PSK key from password.
3802 Uses the Netconf algorithm to derive PSK key from password.
3804 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
3806 *** gnutls-cli: Always support PSK modes, through a callback.
3807 The callback will derive a PSK key using Netconf algorithm.  It will
3808 print the PSK identity hint to help the user.
3810 *** New PSK example client and server.
3811 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
3813 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
3814 The code didn't work properly on platforms where 'char' is unsigned,
3815 when you set version 0.  Reported by Laurence Withers
3816 <l@lwithers.me.uk> in
3817 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
3819 ** libgnutls-openssl: added RAND_pseudo_bytes API.
3820 Patch from Robert Millan <rmh@aybabtu.com>.
3822 ** API and ABI modifications:
3823 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
3824 gnutls_psk_client_get_hint: ADDED.
3825 gnutls_psk_set_server_credentials_hint: ADDED.
3826 gnutls_psk_netconf_derive_key: ADDED
3828 * Version 2.3.11 (released 2008-05-20)
3830 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
3831 The flaw would result in incorrectly terminated sessions with the
3832 error "Decryption has failed" when the server sends a small packet
3833 (typically when the session is closed).  Reported by Andreas Metzler
3834 <ametzler@downhill.at.eu.org> in
3835 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
3837 ** Don't use gnulib headers when building C++ library.
3838 Fixes builds under Windows.
3840 ** Make umask a requirement.
3841 We don't know of any system that lacks it, even GNU CoreUtils use it
3842 unconditionally.
3844 ** Update gnulib files.
3845 Fixes a problem where it pulled in a replacement for memcmp under
3846 MinGW, which caused the C++ example to fail to build.
3848 ** API and ABI modifications:
3849 No changes since last version.
3851 * Version 2.3.10 (released 2008-05-19)
3853 ** Added wide wildcard hostname matching.
3854 Tiny patch by Jean-Philippe Garcia Ballester.
3856 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
3857 Thanks to CERT-FI for finding the bugs and providing detailed reports,
3858 which allowed the bugs to be reproduced and fixed easily.  Patches
3859 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
3860 with more details about these vulnerabilities will be added to
3861 <http://www.gnu.org/software/gnutls/security.html>
3863 *** [GNUTLS-SA-2008-1-1]
3864 *** libgnutls: Fix crash when sending invalid server name.
3865 The crash can be triggered remotely before authentication, which can
3866 lead to a Daniel of Service attack to disable the server.  The bug
3867 cause gnutls to store more session resumption data than what was
3868 allocated for, thus overwriting unallocated memory.
3870 *** [GNUTLS-SA-2008-1-2]
3871 *** libgnutls: Fix crash when sending repeated client hellos.
3872 The crash can be triggered remotely before authentication, which can
3873 lead to a Daniel of Service attack to disable the server.  The bug
3874 triggers a null-pointer dereference.
3876 *** [GNUTLS-SA-2008-1-3]
3877 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
3878 The crash can be triggered remotely before authentication, which can
3879 lead to a Daniel of Service attack to disable the server.  The bug
3880 cause gnutls to read memory beyond the end of the received record.
3882 ** libgnutlsxx: Updated API according to patches from Eduardo 
3883 Villanueva Che (discussion at
3884 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
3886 ** Use umask to restrict permissions to owner before creating a file.
3888 ** API and ABI modifications:
3889 No changes since last version.
3891 * Version 2.3.9 (released 2008-05-16)
3893 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
3894 Based on report and tiny patches from
3895 <jared.jennings.ctr@eglin.af.mil>, see
3896 <https://savannah.gnu.org/support/index.php?106342>.
3898 ** libgnutls: Translation fixes.
3900 ** gnutls-cli: Fix so that PSK authentication works.
3901 Also improve manual to give example for gnutls-cli PSK authentication.
3903 ** certtool: Encrypting a private key now require a confirmed password.
3904 Before './certtool -k -8' would merely ask for a password once.
3905 Reported by Daniel 'NebuchadnezzaR' Dehennin
3906 <nebuchadnezzar@asgardr.info> see
3907 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
3909 ** certtool: When writing private keys to files, change permissions of file.
3910 Now the file which the private key is saved to is chmod'ed 0600.
3911 Reported by martin f krafft <madduck@debian.org> see
3912 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
3914 ** guile: Fix -fgnu89-inline test.
3916 ** Removed --enable-profile-mode.
3917 The code linked gnutls with the libfc project (Function Check) which
3918 appears to have been stalled since around 2002.
3920 ** Clean up header file checks by ./configure.
3922 ** Update of gnulib files.
3924 ** API and ABI modifications:
3925 No changes since last version.
3927 * Version 2.3.8 (released 2008-04-29)
3929 ** libgnutls: Increase default handshake packet size limit to 48kb.
3930 The old limit was 16kb and some servers send huge list of trusted CAs,
3931 thus running into the limit.  FYI, applications can further increase
3932 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
3933 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3934 <marc@mclemente.net> for reporting and providing test servers.
3936 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
3937 Returned when the handshake data size is too large.  Before
3938 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
3939 error situations.
3941 ** libgnutls: Hide definitions in crypto.h.
3942 We have decided that the APIs defined in crypto.h are not stable
3943 enough for v2.4, so don't use any of those functions.
3945 ** gnutls-cli: exit when hostname doesn't match certificate.
3946 Use --insecure to avoid hostname comparison.
3948 ** certtool: --inder and --outder replaced by --inraw and --outraw.
3949 The reason is to align terminology with OpenPGP, which doesn't use
3950 DER.  The old parameters will continue to work for some time.
3952 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
3954 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
3956 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
3957 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
3958 vasprintf symbol from the libgcrypt library which caused problems.
3960 ** Update of gnulib files.
3962 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
3964 ** API and ABI modifications:
3965 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
3967 * Version 2.3.7 (released 2008-04-21)
3969 ** opencdk now properly sets the key usage bits into openpgp keys.
3971 ** gnutls-cli: Fix crash on TLS handshake failures.
3972 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
3973 This is similar to <http://bugs.debian.org/429183>.
3975 ** certtool: with --generate-request and newly generated keys, print the key.
3977 ** Build fixes for MinGW.
3978 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
3979 with -lws2_32 when needed.  Use ASCII only isprint() when printing
3980 X.509 certificate information, to avoid non-ASCII but printable
3981 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
3982 reports.
3984 ** Update internal copy of libtasn1 to version 1.4.
3986 ** API and ABI modifications:
3987 No changes since last version.
3989 * Version 2.3.6 (released 2008-04-17)
3991 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
3992 ** Improve documentation for gnutls_x509_crq_sign2.
3993 Based on report from "John Brooks" <aspecialj@gmail.com> in
3994 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
3996 ** tests/pathlen: run diff without parameters to improve portability.
3997 Based on HPUX build hints in
3998 <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>.
4000 ** Don't use %e specifier with strftime, it doesn't work under Windows.
4001 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
4002 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
4004 ** Remove all uses of gnutls_alloca/gnutls_afree.
4005 Use normal gnutls_malloc instead.  One reason is increased portability
4006 to Windows, the other is that several of the uses may be unsafe
4007 because the size of data allocated could be large.  Reported by
4008 Massimo Gaspari <massimo.gaspari@alice.it> in
4009 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
4011 ** Build Guile code with -fgnu89-inline only when supported.
4012 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
4013 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
4015 ** Several GTK-DOC related fixes.
4017 ** Clean up OpenCDK related code.
4018 GnuTLS now requires its internal OpenCDK code rather than the external
4019 GPL library OpenCDK.  Unfortunately, we don't have resources to
4020 maintain an external library (help welcome).
4022 ** API and ABI modifications:
4023 No changes since last version.
4025 * Version 2.3.5 (released 2008-04-14)
4027 ** Build fix for MinGW and --disable-shared.
4028 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
4029 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
4031 ** Document how to generate CRLs.
4032 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
4034 ** Documented the --priority option to gnutls-cli and gnutls-serv.
4036 ** Several minor fixes in the OpenPGP interface.
4037 Thanks to Daniel Kahn Gillmor.
4039 ** Fix fopen file descriptor leak in PSK server code.
4040 Thanks to Laurence Withers <l@lwithers.me.uk>, see
4041 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
4043 ** Translations files not stored directly in git to avoid merge conflicts.
4045 ** New APIs to let applications replace the RNG used.
4046 Update all RNG callers in the code to use the new interface.
4048 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
4050 ** Update gnulib files.
4052 ** API and ABI modifications:
4053 gnutls_crypto_rnd_register: ADDED
4054 gnutls_rnd_level_t: ADDED
4055 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
4056 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
4057 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
4058 gnutls_crypto_rnd_st: ADDED
4059 GNUTLS_DIG_SHA224: ADDED
4060 GNUTLS_SIGN_RSA_SHA224: ADDED
4061 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
4063 * Version 2.3.4 (released 2008-03-19)
4065 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
4066 They weren't renamed in the public header file.
4068 ** Added functions to register a cipher/mac/digest. This allows to 
4069 override the included ones.
4071 ** Fix a bunch of compiler warnings.
4073 ** API and ABI modifications:
4074 gnutls_crypto_cipher_st: ADDED
4075 gnutls_crypto_mac_st: ADDED
4076 gnutls_crypto_digest_st: ADDED
4077 gnutls_crypto_cipher_register: ADDED
4078 gnutls_crypto_mac_register: ADDED
4079 gnutls_crypto_digest_register: ADDED
4080 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
4082 * Version 2.3.3 (released 2008-03-10)
4084 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
4085 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4087 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
4088 We could not find any modern justification for enabling these flags by
4089 default.  If you know of some platform that needs one of the flags to
4090 work properly, please let us know.  (Actually introduced in v2.3.0 but
4091 not documented until now.)
4093 ** Importing many CA certificates are now considerably faster.
4094 This affect gnutls_certificate_set_x509_trust_mem,
4095 gnutls_certificate_set_x509_trust, and
4096 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
4097 from O(2*n^2) to O(n).  When adding 206 files containing 408
4098 certificates, using gnutls_certificate_set_x509_trust_file, the time
4099 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
4100 to trigger the problem.  See also
4101 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
4103 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
4104 ** to be explicit that it takes zero terminated data.
4106 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
4108 ** Documentation fixes for the GTK-DOC manual.
4110 ** Fix compilation error related to __FUNCTION__ on some systems.
4111 Reported by Tim Mooney, see
4112 <https://savannah.gnu.org/support/?106267>.
4114 ** Updated translations.
4116 ** Update gnulib files.
4118 ** API and ABI modifications:
4119 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
4120                 and char* instead of void* for output buffer.
4122 * Version 2.3.2 (released 2008-02-26)
4124 ** Fix srcdir!=objdir failure in openpgpself test.
4126 ** Improved API documentation output from GTK-DOC.
4128 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
4130 ** Renamed gnutls_certificate_export_x509_cas and friends.
4131 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
4133 ** Internal header files cleanup.
4135 ** API and ABI modifications:
4136 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
4137 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
4138 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
4139 gnutls_x509_dn_export: ADDED
4141 * Version 2.3.1 (released 2008-02-21)
4143 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
4144 The included copy of OpenCDK has been stripped down and re-licensed
4145 under the LGPL.
4147 ** Cipher priority string handling now handle strings that starts with NULL.
4148 Thanks to Laurence Withers <l@lwithers.me.uk>.
4150 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
4152 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
4153 by Daniel Stenberg.
4155 ** Increased the default certificate verification chain limits and allowed
4156 for checks without limitation.
4158 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
4159 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
4160 strings and return the proper size.
4162 ** Add section 'On Record Padding' to the manual.
4163 This collects all problems related to record padding with
4164 Nokia/Sony-Ericsson phones that we know about.
4166 ** Several improvements in the OpenPGP authentication.
4167 Now subkeys can be used for authentication, according to
4168 draft-mavrogiannopoulos-rfc5081bis-00.txt.
4170 ** certtool can print information on OpenPGP certificates and keys.
4172 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
4173 Patch by Joe Orton.
4175 ** Added gnutls_certificate_export_x509_cas and other functions to
4176 export elements from the certificate credentials structure.  Based on
4177 suggestion from Joe Orton.
4179 ** Doc fixes.
4180 Clarify that srp_base64 is not the same as normal base64.
4182 ** Fix non-portable use of brace expansion in makefiles.
4184 ** API and ABI modifications:
4185 gnutls_certificate_export_x509_cas: ADDED
4186 gnutls_certificate_export_x509_crls: ADDED
4187 gnutls_certificate_export_openpgp_keyring: ADDED
4188 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
4189 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
4190 gnutls_openpgp_crt_get_revoked_status: ADDED
4191 gnutls_openpgp_crt_get_subkey_count: ADDED
4192 gnutls_openpgp_crt_get_subkey_idx: ADDED
4193 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
4194 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
4195 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
4196 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
4197 gnutls_openpgp_crt_get_subkey_id: ADDED
4198 gnutls_openpgp_crt_get_subkey_usage: ADDED
4199 gnutls_openpgp_privkey_get_fingerprint: ADDED
4200 gnutls_openpgp_privkey_get_key_id: ADDED
4201 gnutls_openpgp_privkey_get_subkey_count: ADDED
4202 gnutls_openpgp_privkey_get_subkey_idx: ADDED
4203 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
4204 gnutls_openpgp_privkey_get_revoked_status: ADDED
4205 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
4206 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
4207 gnutls_openpgp_privkey_get_subkey_id: ADDED
4208 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
4209 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
4210 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
4211 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
4212 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
4213 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
4214 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
4215 gnutls_openpgp_privkey_export_dsa_raw: ADDED
4216 gnutls_openpgp_privkey_export_rsa_raw: ADDED
4217 gnutls_openpgp_privkey_export: ADDED
4218 gnutls_certificate_set_openpgp_key_file2: ADDED
4219 gnutls_certificate_set_openpgp_key_mem2: ADDED
4220 gnutls_x509_dn_init: ADDED
4221 gnutls_x509_dn_import: ADDED
4222 gnutls_x509_dn_deinit: ADDED
4223 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
4224 gnutls_hex2bin: ADDED
4225 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
4226 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
4227 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
4228                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
4230 * Version 2.3.0 (released 2008-01-08)
4232 ** LZO compression is now disabled by default.
4233 The reason is that LZO compression is not standardized in TLS.  If you
4234 wish to experiment with it, you will have to supply --with-lzo when
4235 invoking ./configure.  The internal copy of minilzo is no longer
4236 included with GnuTLS, so you will need to install liblzo or liblzo2 on
4237 your system to have --with-lzo to be effective.
4239 ** More than one server name field is now sent to the server properly.
4240 Thanks to mark.phillips@virgin.net.
4242 ** Fixes the post_client_hello_function(). The extensions are now parsed
4243 in a callback friendly way.
4245 ** Fix for certificate selection in servers with certificate callbacks.
4247 ** Updated translations.
4249 ** Update gnulib files.
4251 ** API and ABI modifications:
4252 No changes since last version.
4254 * Version 2.2.5 (released 2008-05-19)
4256 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
4257 The flaw would result in incorrectly terminated sessions with the
4258 error "Decryption has failed" when the server sends a small packet
4259 (typically when the session is closed).  Reported by Andreas Metzler
4260 <ametzler@downhill.at.eu.org> in
4261 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
4263 ** API and ABI modifications:
4264 No changes since last version.
4266 * Version 2.2.4 (released 2008-05-19)
4268 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
4269 Thanks to CERT-FI for finding the bugs and providing detailed reports,
4270 which allowed the bugs to be reproduced and fixed easily.  Patches
4271 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
4272 with more details about these vulnerabilities will be added to
4273 <http://www.gnu.org/software/gnutls/security.html>
4275 *** [GNUTLS-SA-2008-1-1]
4276 *** libgnutls: Fix crash when sending invalid server name.
4277 The crash can be triggered remotely before authentication, which can
4278 lead to a Daniel of Service attack to disable the server.  The bug
4279 cause gnutls to store more session resumption data than what was
4280 allocated for, thus overwriting unallocated memory.
4282 *** [GNUTLS-SA-2008-1-2]
4283 *** libgnutls: Fix crash when sending repeated client hellos.
4284 The crash can be triggered remotely before authentication, which can
4285 lead to a Daniel of Service attack to disable the server.  The bug
4286 triggers a null-pointer dereference.
4288 *** [GNUTLS-SA-2008-1-3]
4289 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
4290 The crash can be triggered remotely before authentication, which can
4291 lead to a Daniel of Service attack to disable the server.  The bug
4292 cause gnutls to read memory beyond the end of the received record.
4294 ** API and ABI modifications:
4295 No changes since last version.
4297 * Version 2.2.3 (released 2008-05-06)
4299 ** Increase default handshake packet size limit to 48kb.
4300 The old limit was 16kb and some servers send huge list of trusted CAs,
4301 thus running into the limit.  FYI, applications can further increase
4302 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
4303 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
4304 <marc@mclemente.net> for reporting and providing test servers.
4306 ** Fix compilation error related to __FUNCTION__ on some systems.
4307 Reported by Tim Mooney, see
4308 <https://savannah.gnu.org/support/?106267>.
4310 ** Documented the --priority option to gnutls-cli and gnutls-serv.
4312 ** Fix fopen file descriptor leak in PSK server code.
4313 Thanks to Laurence Withers <l@lwithers.me.uk>, see
4314 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
4316 ** Build Guile code with -fgnu89-inline only when supported.
4317 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
4318 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
4320 ** Make Camellia encryption work.
4321 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
4322 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
4324 ** API and ABI modifications:
4325 No changes since last version.
4327 * Version 2.2.2 (released 2008-02-21)
4329 ** Cipher priority string handling now handle strings that starts with NULL.
4330 Thanks to Laurence Withers <l@lwithers.me.uk>.
4332 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
4333 by Daniel Stenberg.
4335 ** Increased the default certificate verification chain limits and allowed
4336 for checks without limitation.
4338 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
4339 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
4340 strings and return the proper size.
4342 ** API and ABI modifications:
4343 No changes since last version.
4345 * Version 2.2.1 (released 2008-01-17)
4347 ** Prevent linking libextra against previously installed libgnutls.
4348 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
4349 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
4351 ** Fixes the post_client_hello_function(). The extensions are now parsed
4352 in a callback friendly way.
4354 ** Fix for certificate selection in servers with certificate callbacks.
4356 ** API and ABI modifications:
4357 No changes since last version.
4359 * Version 2.2.0 (released 2007-12-14)
4361 ** Update internal copy of libtasn1 to version 1.2.
4363 ** Certtool --verify-chain now handle inputs larger than 64kb.
4364 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
4365 recent versions of libgcrypt.  The problem was that Wine with the
4366 libgcrypt RNG generates huge amounts of debugging output.
4368 ** Translation updates.
4369 Added Dutch translation.  Updated Polish and Swedish translation.
4371 ** Major changes compared to the v2.0 branch:
4373 *** SRP support aligned with newly published RFC 5054.
4375 *** OpenPGP support aligned with newly published RFC 5081.
4377 *** Support for DSA2 keys.
4379 *** Support for Camellia cipher.
4381 *** Support for Opaque PRF Input extension.
4383 *** PKCS#8 parser now handle DSA keys.
4385 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
4386 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
4387 versions, such as 2.01 which is included with GnuTLS, is available
4388 under GPLv2 or later.  If this incompatibility causes problems, we
4389 recommend you to disable LZO using --without-lzo.  LZO compression is
4390 not a standard TLS compression algorithm, so the impact should be
4391 minimal.
4393 *** Functions for disabling record protocol padding.
4394 Works around bugs on Nokia/Ericsson phones.
4396 *** New functions gnutls_priority_set() for setting cipher priorities easily.
4397 Priorities like "COMPAT" also enables other work arounds, such as
4398 disabling padding.
4400 *** Other minor improvements and bug fixes.
4402 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
4403 To adapt to changes in the TLS extension specifications for OpenPGP
4404 and SRP, the GnuTLS API had to be modified.  This means breaking the
4405 API and ABI backwards compatibility.  That is something we try to
4406 avoid unless it is necessary.  We decided to also remove the already
4407 deprecated stub functions for X.509 to XML conversion and TLS
4408 authorization (see below) when we had the opportunity.
4410 Generally, most applications does not need to be modified.  Just
4411 re-compile them against the latest GnuTLS release, and it should work
4412 fine.
4414 Applications that use the OpenPGP or SRP features needs to be
4415 modified.  Below is a list of the modified APIs and discussion of what
4416 the minimal things you need to modify in your application to make it
4417 work with GnuTLS 2.2.
4419 Note that GnuTLS 2.2 also introduces new APIs -- such as
4420 gnutls_set_priority() that is superior to
4421 gnutls_set_default_priority() -- that you may want to start using.
4422 However, using those new APIs is not required to use GnuTLS 2.2 since
4423 the old functions continue are still supported.  This text only
4424 discuss what you minimally have to modify.
4426 *** XML related changes
4427 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
4428 deprecated and only returned an error code since GnuTLS version
4429 1.2.11.  Nobody has complained, so users doesn't seem to miss the
4430 functionality.  We don't know of any other library to convert X.509
4431 certificates into XML format, but we decided (long ago) that GnuTLS
4432 isn't the right place for this kind of functionality.  If you want
4433 help to find some other library to use here, please explain and
4434 discuss your use case on help-gnutls@gnu.org.
4436 *** TLS Authorization related changes
4437 Everything related to TLS authorizations have been removed, they were
4438 only stub functions that returned an error code:
4440  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
4441  gnutls_authz_data_format_type_t
4442  gnutls_authz_recv_callback_func
4443  gnutls_authz_send_callback_func
4444  gnutls_authz_enable
4445  gnutls_authz_send_x509_attr_cert
4446  gnutls_authz_send_saml_assertion
4447  gnutls_authz_send_x509_attr_cert_url
4448  gnutls_authz_send_saml_assertion_url
4450 *** SRP related changes
4451 The callback gnutls_srp_client_credentials_function has a new
4452 prototype, and its semantic has changed.  You need to rewrite the
4453 callback, see the updated function documentation and SRP example code
4454 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
4455 information.
4457 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
4458 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
4459 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
4460 used.  There are #define's to map the old names to the new.  You may
4461 run into problems if you have a switch-case with cases for both SRP
4462 alerts, since they are now mapped to the same value.  The solution is
4463 to drop the SRP alerts from such switch cases, as they are now
4464 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
4466 *** OpenPGP related changes
4467 The function `gnutls_certificate_set_openpgp_keyserver' have been
4468 removed.  There is no replacement functionality inside GnuTLS.  If you
4469 need keyserver functionality, consider using the GnuPG tools.
4471 All functions, types, and error codes related to OpenPGP trustdb
4472 format have been removed.  The trustdb format is a non-standard
4473 GnuPG-specific format, and we recommend you to use key rings instead.
4474 The following have been removed:
4476  gnutls_certificate_set_openpgp_trustdb
4477  gnutls_openpgp_trustdb_init
4478  gnutls_openpgp_trustdb_deinit
4479  gnutls_openpgp_trustdb_import
4480  gnutls_openpgp_key_verify_trustdb
4481  gnutls_openpgp_trustdb_t
4482  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
4484 The following functions has an added parameter of the (new) type
4485 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
4486 (binary or base64).  The functions are:
4487  gnutls_certificate_set_openpgp_key_file
4488  gnutls_certificate_set_openpgp_key_mem
4489  gnutls_certificate_set_openpgp_keyring_mem
4490  gnutls_certificate_set_openpgp_keyring_file
4492 To improve terminology and align with the X.509 interface, some
4493 functions have been renamed.  Compatibility mappings exists.  The old
4494 and new names of the affected functions and types are:
4496         Old name                                New name
4497  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
4498  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
4499  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
4500  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
4501  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
4502  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
4503  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
4504  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
4505  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
4506  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
4507  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
4508  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
4509  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
4510  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
4511  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
4512  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
4513  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
4514  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
4515  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
4517 ** API and ABI modifications:
4518 No changes since last version.
4520 * Version 2.1.8 (released 2007-12-10)
4522 ** The GPL version has been changed from version 2 to version 3.
4523 This affects the self-tests, command-line tools, the libgnutls-extra
4524 library, the relevant guile parts, and the build environment.
4526 ** Added gnutls_x509_crt_get_subject_alt_name2().
4528 ** Corrected a segfault when setting an empty gnutls_priority_t
4529 at gnutls_priority_set().
4531 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
4532 Fixes a problem with spurious -L/usr/lib additions.
4534 ** API and ABI modifications:
4535 gnutls_x509_crt_get_subject_alt_name2: ADD.
4537 * Version 2.1.7 (released 2007-11-29)
4539 ** PKCS #8 parser can now encode/decode DSA keys.
4541 ** Updated gnutls_set_default_priority2() now renamed to
4542 gnutls_priority_set() and gnutls_priority_set_direct() which
4543 accept a string to indicate preferences of ciphersuite parameters.
4545 ** gnutls-cli and gnutls-serv now have a --priority option to set
4546 the priority string.
4548 ** The gnutls_*_convert_priority() functions were deprecated by
4549 the gnutls_priority_set() and gnutls_priority_set_direct().
4551 ** Internal copy of OpenCDK upgraded to version 0.6.6.
4553 ** API and ABI modifications:
4554 gnutls_priority_init: ADD.
4555 gnutls_priority_deinit: ADD.
4556 gnutls_priority_set: ADD.
4557 gnutls_priority_set_direct: ADD.
4558 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
4559 gnutls_mac_convert_priority: REMOVED
4560 gnutls_compression_convert_priority: REMOVED
4561 gnutls_protocol_convert_priority: REMOVED
4562 gnutls_kx_convert_priority: REMOVED
4563 gnutls_cipher_convert_priority: REMOVED
4564 gnutls_certificate_type_convert_priority: REMOVED
4565 gnutls_set_default_priority: UNDEPRECATED
4566 gnutls_set_default_priority_export: UNDEPRECATED
4568 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
4569 GNUTLS_CIPHER_UNKNOWN: ADD.
4570 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
4571 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
4572 GNUTLS_KX_UNKNOWN: ADD.
4573 GNUTLS_COMP_UNKNOWN: ADD.
4574 GNUTLS_CRT_UNKNOWN: ADD.
4575 gnutls_mac_get_id: ADD.
4576 gnutls_compression_get_id: ADD.
4577 gnutls_cipher_get_id: ADD.
4578 gnutls_kx_get_id: ADD.
4579 gnutls_protocol_get_id: ADD.
4580 gnutls_certificate_type_get_id: ADD.
4581 gnutls_handshake_post_client_hello_func: ADD.
4582 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
4584 * Version 2.1.6 (released 2007-11-15)
4586 ** Corrected bug in decompression of expanded compression data.
4588 ** Added the --to-p8 option to certtool to convert private keys
4589 to PKCS #8 keys.
4591 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
4593 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
4594 private keys.
4596 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
4597 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
4598 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
4599 documented.  This caused some problems (e.g., debian #450854).  To
4600 avoid backwards compatibility problems, this release revert this
4601 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
4602 done in GnuTLS 2.0.x and earlier, and add a new error code
4603 GNUTLS_E_UNKNOWN_ALGORITHM.
4605 ** Fixes several gtk-doc warnings.
4607 ** API and ABI modifications:
4608 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
4609 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
4610 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
4612 * Version 2.1.5 (released 2007-11-01)
4614 ** Fix PKCS#3 parameter export problem.
4616 ** Improve certtool queries, they now print the default value.
4618 ** Fix ABI version.
4620 ** Update gnulib files.
4622 ** API and ABI modifications:
4623 No changes since last version.
4625 * Version 2.1.4 (released 2007-10-27)
4627 ** Added the --v1 option to certtool, to allow generating X.509
4628 version 1 certificates. 
4630 ** certtool: Add option --disable-quick-random to enable the old behaviour
4631 of using /dev/random to generate keys.
4633 ** Added priority functions that accept strings.
4635 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
4636 priorities preferences.
4638 ** Added gnutls_record_disable_padding() to allow servers talking to 
4639 buggy clients that complain if the TLS 1.0 record protocol padding is
4640 used.
4642 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
4643 all supported compatibility options (like disabling padding).
4645 ** The gnutls_certificate_set_openpgp_* functions were modified to include
4646 the format. This makes the interface consistent with the x509 functions.
4648 ** Internal copy of OpenCDK upgraded to version 0.6.5.
4650 ** Update gnulib files.
4652 ** API and ABI modifications:
4653 gnutls_certificate_set_openpgp_key_mem: MODIFIED
4654 gnutls_certificate_set_openpgp_key_file: MODIFIED
4655 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
4656 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
4657 gnutls_set_default_priority: DEPRECATED
4658 gnutls_set_default_priority_export: DEPRECATED
4659 gnutls_set_default_priority2: ADDED
4660 gnutls_session_enable_compatibility_mode: ADDED
4661 gnutls_record_disable_padding: ADDED
4662 gnutls_mac_convert_priority: ADDED
4663 gnutls_compression_convert_priority: ADDED
4664 gnutls_protocol_convert_priority: ADDED
4665 gnutls_kx_convert_priority: ADDED
4666 gnutls_cipher_convert_priority: ADDED
4667 gnutls_certificate_type_convert_priority: ADDED
4668 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
4669 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
4670 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
4671 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
4672 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
4673 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
4674 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
4675 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
4676 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
4677 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
4678 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
4679 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
4680 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
4681 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
4682 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
4683 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
4684 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
4685 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
4687 * Version 2.1.3 (released 2007-10-17)
4689 ** TLS authorization support removed.
4690 This technique may be patented in the future, and it is not of crucial
4691 importance for the Internet community.  After deliberation we have
4692 concluded that the best thing we can do in this situation is to
4693 encourage society not to adopt this technique.  We have decided to
4694 lead the way with our own actions.
4696 ** Re-enabled the 256 bit ciphers in the default priorities.
4698 ** Corrected bugs in openpgp key verification using a keyring (both in
4699 gnutls and opencdk)
4701 ** API and ABI modifications:
4702 gnutls_certificate_set_openpgp_keyserver: REMOVED
4703 gnutls_authz_data_format_type_t,
4704 gnutls_authz_recv_callback_func,
4705 gnutls_authz_send_callback_func,
4706 gnutls_authz_enable,
4707 gnutls_authz_send_x509_attr_cert,
4708 gnutls_authz_send_saml_assertion,
4709 gnutls_authz_send_x509_attr_cert_url,
4710 gnutls_authz_send_saml_assertion_url: REMOVED.
4711 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
4712     gnutls_supplemental_data_format_type_t enum type becomes empty.
4714 * Version 2.1.2 (released 2007-10-14)
4716 ** Removed all the trustdb code from openpgp authentication.
4717 We now use only the well-specified keyrings.
4719 ** The 256 bit ciphers are not enabled in the default priorities.
4721 ** Added support for DSA2 using libgcrypt 1.3.0.
4723 ** certtool: Fixed data corruption when using --outder.
4725 ** Removed all the xml related stubs and functions.
4727 ** Added capability to set a callback after the client hello is received
4728 by the server in order to adjust parameters before the handshake.
4730 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
4732 ** Corrected bug which did not allow a server to run without supporting
4733 certificates.
4735 ** Updated the DN parser which now prints wrongly decoded values as hex
4736 strings.
4738 ** certtool: Add option --quick-random.
4739 For generating low security test credentials.
4741 ** API and ABI modifications:
4742 gnutls_x509_crt_to_xml: REMOVED
4743 gnutls_openpgp_key_to_xml: REMOVED
4744 gnutls_openpgp_key_verify_trustdb: REMOVED
4745 gnutls_openpgp_trustdb_init: REMOVED
4746 gnutls_openpgp_trustdb_deinit: REMOVED
4747 gnutls_openpgp_trustdb_import: REMOVED
4748 gnutls_certificate_set_openpgp_trustdb: REMOVED
4749 gnutls_srp_client_credentials_function: CHANGED
4750 gnutls_handshake_set_post_client_hello_function: ADDED
4751 gnutls_mac_get_key_size: ADDED
4752 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
4753 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
4754 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
4756 * Version 2.1.1 (released 2007-09-24)
4758 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
4759 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
4760 compiled with Camellia support.  See the libgcrypt documentation on
4761 how to enable it.  Unconditionally disable it using the configure
4762 option --disable-camellia.  Fixes #1.
4764 ** Properly document in the NEWS file the API change in the last release.
4766 ** API and ABI modifications:
4767 No changes since last version.
4769 * Version 2.1.0 (released 2007-09-20)
4771 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
4772 The support is disabled by default.  Since no value has been allocated
4773 by the IANA for this extension yet, you will need to provide one
4774 yourself by invoking './configure --enable-opaque-prf-input=42'.
4775 Fixes #2.
4777 ** Example code: Fix compilation flaw under MinGW.
4779 ** API and ABI modifications:
4780 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
4781 gnutls_oprfi_enable_client: ADD, new function.
4782 gnutls_oprfi_enable_server: ADD, new function.
4784 * Version 2.0.4 (released 2007-11-16)
4786 ** Corrected bug in decompression of expanded compression data.           
4788 ** API and ABI modifications:
4789 No changes since last version.
4791 * Version 2.0.3 (released 2007-11-10)
4793 ** This version backports several fixes from the 2.1.x branch.
4795 ** Fixed PKCS #3 parameter export.
4797 ** Added gnutls_record_disable_padding() to allow servers talking to
4798 buggy clients that complain if the TLS 1.0 record protocol padding is
4799 used.
4801 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
4802 all supported compatibility options (like disabling padding).
4804 ** Corrected bug which did not allow a server to run without supporting
4805 certificates.
4807 ** API and ABI modifications:
4808 gnutls_session_enable_compatibility_mode: ADDED
4809 gnutls_record_disable_padding: ADDED
4811 * Version 2.0.2 (released 2007-10-17)
4813 ** TLS authorization support removed.
4814 This technique may be patented in the future, and it is not of crucial
4815 importance for the Internet community.  After deliberation we have
4816 concluded that the best thing we can do in this situation is to
4817 encourage society not to adopt this technique.  We have decided to
4818 lead the way with our own actions.
4820 ** certtool: Fixed data corruption when using --outder.
4822 ** Fix configure-time Guile detection.
4824 ** API and ABI modifications:
4825 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
4826     gnutls_supplemental_data_format_type_t enum type becomes empty.
4828 * Version 2.0.1 (released 2007-09-20)
4830 ** New directory doc/credentials/ with test credentials.
4831 This collects the test credentials from the web page and from src/.
4832 The script gnutls-http-serv has also been moved to that directory.
4834 ** Update SRP extension type and cipher suite with official IANA values.
4835 This breaks backwards compatibility with SRP in older versions of
4836 GnuTLS, but this is intentional to speed up the adoption of the
4837 official values.  The old values we used were incorrect.
4839 ** Guile: Fix `x509-certificate-dn-oid'
4841 ** API and ABI modifications:
4842 No changes since last version.
4844 * Version 2.0.0 (released 2007-09-04)
4846 ** Included copy of Libtasn1 upgraded to version 1.1.
4848 ** Disable building of some examples if anonymous ciphers are disabled.
4850 ** Don't build examples for disabled features.
4852 ** API and ABI modifications:
4853 No changes since last version.
4855 * Version 1.7.19 (released 2007-08-27)
4857 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
4858 This solves connection problems in mutt, see
4859 <http://bugs.debian.org/439640>.
4861 ** Update gnulib files.
4862 In particular, the getpass module -- with its dependencies on getline,
4863 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
4864 library) directory to the gl/ directory (only used by the command line
4865 tools).  The reason is that getpass is now only used by the
4866 command-line tools, and reducing the number of gnulib modules linked
4867 to the core library helps portability and reduces size.
4869 ** Fix warnings.
4871 ** Disable building of PGP examples if PGP is disabled.
4873 ** Included copy of OpenCDK upgraded to version 0.6.4.
4875 ** API and ABI modifications:
4876 No changes since last version.
4878 * Version 1.7.18 (released 2007-08-16)
4880 ** Install images for the info manual.
4881 This has a side effect of renaming the images.  See
4882 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
4883 discussions on the approach chosen.
4885 ** Fix pointer mix to variables of different size.
4886 Patch extracted from
4887 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
4889 ** Fix warnings during build.
4890 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
4892 ** API and ABI modifications:
4893 No changes since last version.
4895 * Version 1.7.17 (released 2007-08-15)
4897 ** New functions to perform external signing.
4898 Set the signing callback function (of the gnutls_sign_func prototype)
4899 using the gnutls_sign_callback_set function.  In the callback, you may
4900 find the new functions gnutls_x509_privkey_sign_hash and
4901 gnutls_openpgp_privkey_sign_hash useful.  A new function
4902 gnutls_sign_callback_get is also added, to retrieve the function
4903 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
4904 comments and testing.
4906 ** New self test of client and server authenticated X.509 TLS sessions.
4907 See tests/x509self.c and tests/x509signself.c.  The latter also tests
4908 the new external signing callback interface.
4910 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
4911 These two actually describe the outer limits of a range of error codes
4912 reserved to the application.  All of the errors are treated as fatal
4913 by the library (it has to since it doesn't know the semantics of the
4914 error codes).  This can be useful in callbacks, to signal some
4915 application-specific error condition, which will usually eventually
4916 cause some gnutls API to return the same error code as the callback,
4917 which then can be inspected by the application.  Note that error codes
4918 are negative.
4920 ** gnutls_set_default_priority now disable TLS 1.2 by default.
4921 The RFC is not released yet, and we're approaching a major release so
4922 let's not enable it just yet.
4924 ** Fix namespace so that gnutls_*_t is used consistently.
4925 Before, many places in the GnuTLS code used the old deprecated type
4926 names without the '_t' suffix.
4928 ** Build fixes for Guile code.
4929 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
4931 ** More documentation fixes.
4932 In particular, the section headings were modified for casing.  By
4933 Ludovic Courtes <ludovic.courtes@laas.fr>.
4935 ** Updated Polish and Swedish translations.
4936 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
4937 <po@danielnylander.se>.
4939 ** API and ABI modifications:
4940 gnutls_sign_func: ADD, new type for sign callback.
4941 gnutls_sign_callback_set: ADD, new function to set sign callback.
4942 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
4943 gnutls_x509_privkey_sign_hash,
4944 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
4945 GNUTLS_E_APPLICATION_ERROR_MIN,
4946 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
4948 * Version 1.7.16 (released 2007-08-07)
4950 ** Fix sanity checks and return values in certificate selection.
4951 In some cases, GnuTLS omitted to report suitable error codes when no
4952 suitable certificate was found.
4954 ** Fix gnutls-cli starttls EOF on Mac OS X.
4955 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
4957 ** Documentation fixes.
4958 In particular, the section headings were modified for casing.  By
4959 Ludovic Courtes <ludovic.courtes@laas.fr>.
4961 ** Update gnulib files.
4963 ** API and ABI modifications:
4964 No changes since last version.
4966 * Version 1.7.15 (released 2007-07-02)
4968 ** Fix self-tests key-id under mingw32.
4970 ** Test that the Guile header files are recent enough to work.
4971 Before we just tested that the command line tool 'guile' was recent
4972 enough, which may not be sufficient if you still have an old
4973 libguile.h header installed.
4975 ** Guile bindings are now installed under $prefix by default.
4976 Use --without-guile-site-dir to install it under $pkgdatadir/site/
4977 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
4978 Use --with-guile-site-dir=/your/own/path to specify the path manually.
4979 The default, --with-guile-site-dir, will install the Guile bindings
4980 under $datadir/guile/site.  There is a new section 'Guile
4981 Preparations' in the manual that discuss these issues.
4983 ** Fix run-time library path ordering in linking the Guile bindings.
4985 ** Improved manual on downloading, installing, getting help, bug reports etc.
4986 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
4988 ** Add Malay message translations.
4989 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
4991 ** API and ABI modifications:
4992 No changes since last version.
4994 * Version 1.7.14 (released 2007-06-26)
4996 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
4997 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4999 ** Fix memory leak during DSA signature verification.
5000 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
5002 ** Fix crash in gnutls-cli when TLS handshake fails.
5003 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
5004 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
5005 <http://bugs.debian.org/429183>.
5007 ** Minor OpenPGP fixes in stream_to_datum.
5008 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
5009 <ludovic.courtes@laas.fr>.
5011 ** Fix off-by-one in TLS 1.2 handshake.
5012 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
5014 ** Minor Guile binding self-test cleanup.
5015 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
5017 ** Update gnulib files.
5019 ** API and ABI modifications:
5020 No changes since last version.
5022 * Version 1.7.13 (released 2007-06-11)
5024 ** OpenCDK copy updated to version 0.6.3.
5026 ** Build fixes for GnuTLS Guile bindings.
5027 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
5029 ** Build fix for GTK-DOC manual.
5031 ** Update gnulib files.
5033 ** API and ABI modifications:
5034 No changes since last version.
5036 * Version 1.7.12 (released 2007-06-08)
5038 ** Guile bindings for GnuTLS have been included.
5039 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
5040 new chapter 'Guile Bindings' in the manual.
5042 ** Have PKCS8 parser return better error codes.
5043 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
5044 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
5045 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
5047 ** Fix mem leak for sessions with client authentication via certificates.
5048 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
5049 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
5051 ** Fix mem leaks.
5052 Reported by Dennis Vshivkov <walrus@amur.ru>, see
5053 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
5054 self-test tests/parse_ca.c to test regressions.
5056 ** Fix build failures related to missing images in manual.
5057 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5059 ** Update gnulib files.
5061 ** API and ABI modifications:
5062 No changes since last version.
5064 * Version 1.7.11 (released 2007-05-26)
5066 ** Include opencdk.h in the release.
5067 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
5069 ** API and ABI modifications:
5070 No changes since last version.
5072 * Version 1.7.10 (released 2007-05-25)
5074 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
5075 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
5077 ** Update of gnulib files.
5079 ** GnuTLS is now developed in GIT instead of CVS.
5080 See <http://repo.or.cz/w/gnutls.git> for a public repository.
5082 ** API and ABI modifications:
5083 gnutls_x509_crt_get_raw_issuer_dn: ADD.
5084 gnutls_x509_crt_get_raw_dn: ADD.
5086 * Version 1.7.9 (released 2007-05-12)
5088 ** X.509 certificates are preferred over OpenPGP keys.
5089 This is a change in the semantics of gnutls_set_default_priority.
5091 ** The included copy of OpenCDK has been updated to 0.6.1.
5092 There has been some API changes in OpenCDK, and the GnuTLS layer have
5093 been modified as well.  Note that while there are API/ABI incompatible
5094 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
5095 its API/ABI have not changed.  From this version on, GnuTLS requires
5096 OpenCDK 0.6.0 or later.
5098 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
5100 ** Change certtool's default serial number from 0 to a time-based value.
5102 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
5103 Before, we remove the parameters field, which resulted in a slightly
5104 different DER encoding which in turn caused signature verification
5105 failures of GnuTLS-generated RSA certificates in some other
5106 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
5107 you read, this may or may not be correct, but our new behaviour appear
5108 to be consistent with other widely used implementations.
5110 ** Fix mem leaks in gnutls_x509_crt_print.
5112 ** API and ABI modifications:
5113 No changes since last version.
5115 * Version 1.7.8 (released 2007-04-16)
5117 ** Added examples for the authorization extension.
5118 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
5120 ** The examples only use gnutls_set_default_priority().
5121 The exception is when DH_ANON is needed.
5123 ** Improve gnutls_set_default_priority() priorities.
5124 The new approach is for it to try and negotiate all secure and
5125 standard mechanisms available.  Currently, DH_ANON ciphersuites and
5126 LZO compressions are not enabled by default, because they are,
5127 respectively, insecure and non-standardized.  Note that TLS 1.2 will
5128 not be enabled by default in non-experimental release until it has
5129 been approved by the IETF.
5131 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
5132 This means that to get DH_ANON and LZO compression, you'll need to
5133 specify that manually using '--kx anon' or '--comp lzo'.
5135 ** Minor fixes to the human display format of X.509 certificates.
5137 ** New APIs to extract Distinguished Name's from X.509 certificates.
5138 Based on patch from Howard Chu <hyc@symas.com>.
5140 ** Improved library searching for opencdk.
5141 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
5142 The deprecated opencdk.m4 is no longer used.
5144 ** New APIs to list supported algorithms in the library.
5145 The APIs are gnutls_cipher_list, gnutls_mac_list,
5146 gnutls_compression_list, gnutls_protocol_list,
5147 gnutls_certificate_type_list, gnutls_kx_list, and
5148 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
5150 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
5152 ** New configure option --disable-tls-authorization to disable tls-authz.
5154 ** Fix prototype for `gnutls_psk_set_client_credentials'.
5155 The last parameter was renamed from 'flags' to 'format' and the type
5156 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
5157 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
5158 (Ludovic Courtès).
5160 ** Fix allocation in gnutls_certificate_set_openpgp_key.
5161 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
5163 ** API and ABI modifications:
5164 gnutls_x509_dn_t: ADD.
5165 gnutls_x509_ava_st: ADD.
5166 gnutls_x509_crt_get_subject,
5167 gnutls_x509_crt_get_issuer: ADD.
5168 gnutls_x509_dn_get_rdn_ava: ADD.
5169 gnutls_cipher_list: ADD.
5170 gnutls_mac_list: ADD.
5171 gnutls_compression_list: ADD.
5172 gnutls_protocol_list: ADD.
5173 gnutls_certificate_type_list: ADD.
5174 gnutls_kx_list: ADD.
5175 gnutls_cipher_suite_info: ADD.
5177 * Version 1.7.7 (released 2007-02-22)
5179 ** Support for supplemental handshake messages and authorization data.
5180 Supplemental data is described in RFC 4680 and the authorization
5181 extensions in draft-housley-tls-authz-extns-07.
5183 ** Support for authorization data in gnutls-cli and gnutls-serv.
5184 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
5186 ** Fix for gnutls_x509_crt_check_hostname.
5187 Before it would have reported that the certificate matched a hostname
5188 when it did not have any dNSName or any CN field.  Report and tiny
5189 patch from "Richard W.M. Jones" <rjones@redhat.com>.
5191 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
5192 Tests regressions of the bug, and several other features.
5194 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
5195 Before there were no support for iPAddress SAN's during comparison.
5197 ** New API to print information about CRL's.
5198 The function is gnutls_x509_crl_print.
5200 ** New API to extract signature value from CRL's.
5201 The function is gnutls_x509_crl_get_signature.
5203 ** Support for directoryName Subject Alternative Name's.
5204 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
5205 string in the provided buffer.
5207 ** Internal improvements to certtool.
5208 It uses gnutls_x509_crl_print to print CRL information.  It uses some
5209 more gnulib modules to simplify error handling.
5211 ** API and ABI modifications:
5212 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
5213 gnutls_supplemental_data_format_type_t: ADD.
5214 gnutls_authz_data_format_type_t: ADD.
5215 gnutls_supplemental_get_name: ADD.
5216 gnutls_authz_recv_callback_func,
5217 gnutls_authz_send_callback_func: ADD, callback prototypes.
5218 gnutls_authz_enable: ADD.
5219 gnutls_authz_send_x509_attr_cert,
5220 gnutls_authz_send_saml_assertion,
5221 gnutls_authz_send_x509_attr_cert_url,
5222 gnutls_authz_send_saml_assertion_url: ADD.
5223 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
5224 gnutls_x509_crl_print: ADD.
5225 gnutls_x509_crl_get_signature: ADD.
5227 * Version 1.7.6 (released 2007-02-12)
5229 ** Support for 'otherName' Subject Alternative Names.
5230 The existing API gnutls_x509_crt_get_subject_alt_name may now return
5231 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
5232 To find out the otherName OID (necessary for proper parsing of the
5233 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
5234 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
5235 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
5236 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
5238 ** Certtool can print otherName SAN values for certificates.
5239 For known otherName OIDs (currently only id-on-xmppAddr as defined by
5240 RFC 3920), it will also print the name.
5242 ** Fix TLS 1.2 RSA signing in servers.
5243 Before it used the old-style MD5+SHA1 signature, but the TLS
5244 signatures should be normal PKCS#1 signatures.  FYI, we use and
5245 require that DigestInfo parameters are present and NULL for TLS 1.2.
5247 ** Add APIs to access X.509 extensions sequentially.
5248 The existing APIs gnutls_x509_crt_get_extension_oid() and
5249 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
5250 inspect the extensions in the order defined by the certificate.
5252 ** Add API to extract signature value from X.509 certificates.
5253 The function is gnutls_x509_crt_get_signature.
5255 ** Fix crash when generating proxy certificates in batch mode.
5256 If you don't specify a proxy policy in batch mode, it will use
5257 id-ppl-inheritALL.
5259 ** Add API to print information about X.509 certificates.
5260 The function is gnutls_x509_crt_print.
5262 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
5263 One consequence of this is that the output syntax has changed
5264 slightly.  Some more fields are printed.
5266 ** Doc fixes.
5268 ** API and ABI modifications:
5269 gnutls_x509_crt_print: ADD
5270 gnutls_certificate_print_formats_t: ADD, new enum.
5271 gnutls_x509_crt_get_signature: ADD.
5272 gnutls_x509_crt_get_extension_data: ADD.
5273 gnutls_x509_crt_get_extension_info: ADD.
5274 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
5275 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
5276 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
5278 * Version 1.7.5 (released 2007-02-06)
5280 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
5281 ** is set.
5283 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
5285 ** Fix --list output for gnutls-cli and gnutls-serv.
5286 Mention TLS1.2, SHA512 etc.
5288 ** Manual contains new section on setting up a test HTTP server.
5289 A server set up following those descriptions are available online via
5290 <http://www.gnutls.org/server.html>.
5292 ** Update of gnulib files.
5294 ** API and ABI modifications:
5295 No changes since last version.
5297 * Version 1.7.4 (released 2007-02-05)
5299 ** Support for RSA signing using SHA-256/384/512.
5300 A new self test "sha2" tries to build a long X.509 certificate chain
5301 testing all new hashes.
5303 ** The gnutls-serv tool now use static DH parameters if none are supplied.
5305 ** Discuss proxy certificates in the manual.
5307 ** Improve bibliographical citations in the manual.
5309 ** Update of gnulib files.
5311 ** Fix certtool template handling of pathLenConstraints.
5312 It now defaults to -1 instead of 0, which causes the field to be
5313 missing unless the template specify it.
5315 ** API and ABI modifications:
5316 GNUTLS_MAC_SHA256,
5317 GNUTLS_MAC_SHA384,
5318 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
5319 GNUTLS_DIG_SHA256,
5320 GNUTLS_DIG_SHA384,
5321 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
5322 GNUTLS_SIGN_RSA_SHA256,
5323 GNUTLS_SIGN_RSA_SHA384,
5324 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
5326 * Version 1.7.3 (released 2007-02-01)
5328 ** New option to certtool: --generate-proxy.
5329 This will generate a Proxy Certificate from an end entity certificate.
5330 Proxy Certificates are documented in RFC 3820.  You will need to
5331 specify the proxy certificate's private key with --load-privkey, the
5332 user certificate with --load-certificate and the private key used to
5333 sign the new proxy certificate with --load-ca-privkey.  Certtool will
5334 query for proxy path length and the policy language OID.  Currently
5335 only OIDs that have an empty policy are supported (which includes the
5336 two OIDs defined by RFC 3820).
5338 ** Certtool --certificate-info now prints information for Proxy Certificates.
5339 Before the proxy extension was just printed as DER encoded data.
5341 ** New APIs to set proxy subject names and get/set proxy cert extension.
5343 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
5345 ** Added self-test to test for regressions of pathLenConstraint bug.
5346 Incidentally, this also test (some) other regressions or changes in
5347 the output from certtool --certificate-info.
5349 ** When certtool generates CA certificates, pressing enter on the path
5350 ** length constraint query will now remove the field.
5351 Before it set the path length constraint to 0, which is a rather poor
5352 default.
5354 ** Certtool now print times in UTC when printing certificate/CRL info.
5356 ** Add better fix to work around C++ compiler bug on Mac OS X.
5357 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
5359 ** Fix import of ASCII armored OpenPGP keys.
5360 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
5362 ** Update of gnulib files.
5364 ** API and ABI modifications:
5365 gnutls_x509_crt_set_proxy_dn: ADD.
5366 gnutls_x509_crt_set_proxy: ADD.
5367 gnutls_x509_crt_get_proxy: ADD.
5369 * Version 1.7.2 (released 2007-01-14)
5371 ** Certtool now print the value of the pathLenConstraints field for certs.
5373 ** Certtool now query for path length constraints when generating CA certs.
5374 For batch uses, the certtool configuration name is "path_len".
5375 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
5377 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
5378 The new functions gnutls_x509_crt_get_basic_constraints and
5379 gnutls_x509_crt_set_basic_constraints provide a superset of the
5380 functionality in the old gnutls_x509_crt_get_ca_status and
5381 gnutls_x509_crt_set_ca_status (respectively), but the old functions
5382 will continue to be supported.
5384 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
5385 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
5386 OpenCDK release with this patch will be made soon, which should bump
5387 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
5389 ** Certtool --to-p12 can now store more than one certificate in the blob.
5390 Before it could only store one certificate, but now it will read and
5391 store as many certificate there are from the --load-certificate file.
5392 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
5394 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
5395 In particular, the OpenPGP function variables are no longer part of
5396 the exported libgnutls interface, and no header files from
5397 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
5398 were never intended for non-internal purposes, and thus this does not
5399 imply a change in the external API/ABI.
5401 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
5402 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5404 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
5405 Before these parameters were set to make GnuTLS build under mingw32,
5406 however, they appear to no longer be necessary.
5408 ** A minor fix to the C++ library to make it build.
5409 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
5411 ** Update of gnulib files.
5413 ** API and ABI modifications:
5414 gnutls_x509_crt_get_basic_constraints: ADD.
5415 gnutls_x509_crt_set_basic_constraints: ADD.
5416 cdk_pubkey_to_sexp: ADD (in opencdk).
5417 cdk_seckey_to_sexp: ADD (in opencdk).
5419 * Version 1.7.1 (released 2006-12-28)
5421 ** TLS 1.2 server side fix.
5422 The Certificate Request sent did not contain the list of supported
5423 hashes field, thus violating the protocol.  It will now contain an
5424 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5426 ** TLS 1.2 DSA signature verification fix.
5427 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5429 ** Fix the list of trusted CAs that server's send to clients.
5430 Before, the list contained issuer DN's instead of subject DN's of the
5431 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
5433 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
5434 Also added a self-test in tests/certificate_set_x509_crl.c to test the
5435 function.  Reported by Max Kellermann <max@duempel.org>.
5437 ** Encode UID fields in DN's as DirectoryString.
5438 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
5439 incorrect, it should have used DirectoryString.  Now it will use
5440 DirectoryString for the UID field, but for backwards compatibility it
5441 will also accept IA5String UID's.  Reported by Max Kellermann
5442 <max@duempel.org>.
5444 ** Improve out-of-sourcedir builds from CVS.
5445 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5447 ** Bootstrap tools changed.
5448 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
5449 building GnuTLS from CVS.  Libtool 1.5.22 is used.
5451 ** Fixed a syntax error in lib/gnutls.asn.
5452 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
5454 ** Added German translation of GnuTLS messages.
5456 ** Update of gnulib files.
5458 ** API and ABI modifications:
5459 No changes since last version.
5461 * Version 1.7.0 (released 2006-11-29)
5463 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
5464 The details is that the protocol priority set by
5465 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
5466 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
5468 ** Preliminary support for TLS 1.2.
5469 The client has been successfully tested against
5470 https://www.mikestoolbox.org:4433/.
5472 ** Anonself test now print a lot of debugging info, including TLS version.
5474 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
5476 ** Update of gnulib files.
5478 ** API and ABI modifications:
5479 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
5481 *** Pulled up from stable 1.6.x branch:
5483 ** Fix ./configure failure with non-GCC compilers.
5484 This fixes the following error message:
5485 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
5486 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
5488 * Version 1.6.3 (released 2007-05-26)
5490 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
5491 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
5492 from the 1.7.x branch, see
5493 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
5495 ** Have PKCS8 parser return better error codes.
5496 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
5497 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
5498 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
5500 ** Fix mem leak for sessions with client authentication via certificates.
5501 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
5502 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
5504 ** Fix building of 'tlsia' self test.
5505 Earlier some gcc are known to build tlsia linking to
5506 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
5507 the build directory, even though command line parameters look OK.
5508 Changing order of some parameters fixes it.
5510 ** API and ABI modifications:
5511 gnutls_x509_crt_get_raw_issuer_dn: ADD.
5512 gnutls_x509_crt_get_raw_dn: ADD.
5514 * Version 1.6.2 (released 2007-04-18)
5516 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
5517 Before, we remove the parameters field, which resulted in a slightly
5518 different DER encoding which in turn caused signature verification
5519 failures of GnuTLS-generated RSA certificates in some other
5520 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
5521 you read, this may or may not be correct, but our new behaviour appear
5522 to be consistent with other widely used implementations.
5524 ** Regenerate the PKIX ASN.1 syntax tree.
5525 For some reason, after changing the ASN.1 type of ldap-UID in the last
5526 release, the generated C file built from the ASN.1 schema was not
5527 refreshed.  This can cause problems when reading/writing UID
5528 components inside X.500 Distinguished Names.  Reported by devel
5529 <dev001@pas-world.com>.
5531 ** Updated translations.
5533 ** API and ABI modifications:
5534 No changes since last version.
5536 * Version 1.6.1 (released 2006-12-28)
5538 ** Fix the list of trusted CAs that server's send to clients.
5539 Before, the list contained issuer DN's instead of subject DN's of the
5540 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
5542 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
5543 Reported by Max Kellermann <max@duempel.org>.
5545 ** Encode UID fields in DN's as DirectoryString.
5546 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
5547 incorrect, it should have used DirectoryString.  Now it will use
5548 DirectoryString for the UID field, but for backwards compatibility it
5549 will also accept IA5String UID's.  Reported by Max Kellermann
5550 <max@duempel.org>.
5552 ** Fix ./configure failure with non-GCC compilers.
5553 This fixes the following error message:
5554 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
5555 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
5557 ** API and ABI modifications:
5558 No changes since last version.
5560 * Version 1.6.0 (released 2006-11-17)
5562 ** No changes since 1.5.5.
5563 The major changes compared to the 1.4.x branch are:
5565 *** A GnuTLS C++ library is part of the official distribution.
5566 Currently there are no examples or documentation, but hopefully this
5567 will change.  See gnutlsxx.h for the API.
5569 *** Windows is a supported platform.
5570 There are, however, two know bugs.  One is related to select() in
5571 command line tools (not, nota bene, in the library), the other is a
5572 problem with libgcrypt that causes delays.  Help is needed to resolve
5573 those issues, so we feel we can't delay the release because of this.
5575 *** New APIs for custom push/pull function error reporting.
5576 The new APIs are gnutls_transport_set_errno and
5577 gnutls_transport_set_global_errno.  See the release notes for version
5578 1.5.4 for more information.
5580 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
5582 * Version 1.5.5 (released 2006-11-16)
5584 ** Correctly bump shared library version after adding new APIs.
5585 This was forgotten in the last release.
5587 ** Fix unsigned vs signed problem in ex-x509-info.c example.
5588 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
5590 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
5592 ** Update of gnulib files.
5594 ** API and ABI modifications:
5595 No changes since last version.
5597 * Version 1.5.4 (released 2006-11-07)
5599 ** New API functions to set errno in push/pull functions.
5600 Under Windows, setting the errno variable in a push/pull replacement
5601 may end up setting the wrong errno variable, and GnuTLS send/recv
5602 functions become confused about the real errno returned from a failed
5603 push/pull function.  Therefor, we have added two APIs to set the errno
5604 variable used by GnuTLS.  The APIs can also help to keep things
5605 thread-safe, by avoiding potentially global variables.  Typically,
5606 instead of setting errno in your push/pull function, you will call one
5607 of these functions.  It is recommended to use
5608 gnutls_transport_set_errno, but if you don't have the session variable
5609 easily accessible in the push/pull replacement function, you can use
5610 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
5611 <tim.kosse@filezilla-project.org>.
5613 void gnutls_transport_set_errno (gnutls_session_t session, int err);
5614 void gnutls_transport_set_global_errno (int err);
5616 ** When calling `recv' or `send' Windows errors are handled properly.
5617 The Windows recv/send functions doesn't use errno, and GnuTLS now use
5618 WSAGetLastError to access the error condition instead.
5620 ** Several OpenPGP API fixes.
5621 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
5622 important fix is to change the return value of
5623 gnutls_openpgp_privkey_get_pk_algorithm and
5624 gnutls_openpgp_key_get_pk_algorithm from 'int' to
5625 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
5626 compatible with 'int').
5628 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
5629 ** version, try to negotiate the highest version support by the GnuTLS server,
5630 ** instead of the lowest.
5631 Reported by <Pasi.Eronen@nokia.com>.
5633 ** Replace old constructs with use of gnulib modules.
5634 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
5635 the code.  If the headers doesn't exist on the target system, gnulib
5636 will make sure its replacement header files are used instead.
5638 ** Fix SOVERSION computation for *.def files.
5639 This fixes build errors similar to "No rule to make target
5640 `libgnutls-`expr', needed by `all-am'." when building for Windows.
5642 ** gnutls_check-version uses strverscmp from gnulib.
5644 ** Update of gnulib files.
5646 ** API and ABI modifications:
5647 gnutls_transport_set_errno: ADD
5648 gnutls_transport_set_global_errno: ADD
5650 * Version 1.5.3 (released 2006-10-26)
5652 ** Add new self-test of RSA-MD5 signature chains.
5653 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
5654 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
5655 and is based on the work by Marc Stevens et al, see
5656 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
5658 ** Re-factor self tests.
5660 ** The include copy of Libtasn1 is updated to version 0.3.7.
5662 ** The included copy of OpenCDK is updated to version 0.5.11.
5664 ** Fix the filename of the *.def file on Windows after library version bump.
5666 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
5667 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
5668 gnulib modules.  Earlier we could only use the LGPL'ed module from
5669 gnulib, because two gnulib directories in the same project didn't
5670 work.
5672 ** API and ABI modifications:
5673 No changes since last version.
5675 * Version 1.5.2 (released 2006-10-03)
5677 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
5678 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
5679 shared library version than this version, so you'll have to remove
5680 them and possibly relink your applications.  The reason for this is
5681 that no API/ABI changes have been made since the 1.4.x branch, and
5682 that incrementing the shared library version was a mistake.  Reported
5683 by Andreas Metzler <ametzler@downhill.at.eu.org>.
5685 ** Fix off-by-one error when computing length to malloc.
5686 The code is used by gnutls_openpgp_add_keyring_file and
5687 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
5688 <agl@imperialviolet.org>.
5690 ** Add version script for the GnuTLS C++ library.
5691 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5693 ** Fix the C++ compiler detection logic.
5694 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5696 ** Update of gnulib files.
5698 ** API and ABI modifications:
5699 No changes since last version.
5701 * Version 1.5.1 (released 2006-09-21)
5703 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
5704 ** Crypto 06 rump session attack.
5705 In particular, we check that the digestAlgorithm.parameters field is
5706 missing or empty, to avoid that it can contain "garbage" that may be
5707 used to alter the numeric properties of the signature.  See
5708 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
5709 not exactly the same as the problem we fix here).  Reported by Yutaka
5710 OIWA <y.oiwa@aist.go.jp>.
5712 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
5713 up to date information.
5715 ** Add self test to test for above flaw.
5717 ** Fix gnutls-cli-debug regarding resume support detection.
5718 Earlier, if the session-id from the server had a length of 0, it would
5719 indicate that the server supports resumption, which isn't the case.
5720 Reported by Kataja Kai <kai.kataja@op.fi>.
5722 ** Fix building of examples on FreeBSD by including netinet/in.h.
5723 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
5725 ** Fix certtool bug that caused the private key to not be loaded when
5726 generating a certificate with --load-request, which in turn triggered
5727 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
5728 by Sascha Ziemann <sascha.ziemann@secunet.com>.
5730 ** gnutls-cli and gnutls-serv works on Windows.
5731 The problem was the select() call that doesn't work on file
5732 descriptors (stdin) on Windows.  We borrowed some code from plibc to
5733 solve this.  It appears to be somewhat unreliable though.
5735 ** Autoconf 2.60 is now used.
5737 ** API and ABI modifications:
5738 No changes since last version.
5740 * Version 1.5.0 (released 2006-08-13)
5742 ** Change SRP and Cert-Type extensions to match IANA registry.
5744 ** Fixed bug in OpenPGP authentication handshake.
5746 ** Improvements for building under MinGW.
5747 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
5748 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
5749 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
5750 at run-time from ws2_32.dll, and falls back on a simple replacement if
5751 it is not available.  Builds the library with -mms-bitfields
5752 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
5753 create *.def files, which are installed.
5755 ** The examples now (conditionally) include config.h and link to gnulib.
5756 No other source changes were necessary, so the examples should
5757 continue to be possible to use stand-alone without any autoconf or
5758 gnulib stuff.
5760 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
5761 You may unconditionally disable it with --disable-cxx.  See
5762 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
5763 implementation.
5765 ** Made command line tool '--version' behave according to GNU Standards.
5766 This enables 'make distcheck' to succeed.
5768 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
5770 ** Make --without-included-libtasn1 work.
5771 Reported by Daniel Black <dragonheart@gentoo.org>.
5773 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
5774 See http://www.gnu.org/software/gnutls/security.html regardging
5775 GNUTLS-SA-2006-2 for more up to date information.  Reported by
5776 satyakumar <satyam_kkd@hyd.hellosoft.com>.
5778 ** API and ABI modifications:
5779 No changes since last version.
5781 * Version 1.4.5 (released 2006-11-06)
5783 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
5784 ** version, try to negotiate the highest version support by the GnuTLS server,
5785 ** instead of the lowest.
5786 Reported by <Pasi.Eronen@nokia.com>.
5788 ** Fix typo in doc/examples/ex-serv-pgp.c.
5789 Reported by Adam Langley" <agl@imperialviolet.org>.
5791 ** API and ABI modifications:
5792 No changes since last version.
5794 * Version 1.4.4 (released 2006-09-12)
5796 ** Relax the test that caught signatures that exploit the variant of
5797 ** Bleichenbacher's Crypto 06 rump session attack on our
5798 ** verification logic flaw.
5799 In particular, we now permit the digestAlgorithm.parameters field to
5800 be present but empty, whereas in 1.4.3 we actually checked that the
5801 field was absent.
5803 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
5804 The messages are only printed in debug mode, which is not recommended
5805 for normal use, and thus logging this situation cannot be abused as an
5806 oracle in typical recommended situations.
5808 ** API and ABI modifications:
5809 No changes since last version.
5811 * Version 1.4.3 (released 2006-09-08)
5813 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
5814 ** Crypto 06 rump session attack.
5815 In particular, we check that the digestAlgorithm.parameters field is
5816 empty, to avoid that it can contain "garbage" that may be used to
5817 alter the numeric properties of the signature.  See
5818 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
5819 not exactly the same as the problem we fix here).  Reported by Yutaka
5820 OIWA <y.oiwa@aist.go.jp>.
5822 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
5823 up to date information.
5825 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
5826 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
5827 Reported by Werner Koch <wk@gnupg.org>.
5829 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
5830 up to date information.
5832 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
5834 ** API and ABI modifications:
5835 No changes since last version.
5837 * Version 1.4.2 (released 2006-08-12)
5839 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
5840 This can happen if you call gnutls_certificate_verify_peers2 and have
5841 a certain mix of local CA certificates and the peer send special
5842 certificates, that together trigger certain behaviour.  It is not
5843 known at this point whether the crash can be triggered without the
5844 special local CA certificate, and thus turn this into a remote crash
5845 of clients that verify server certificates when they talk to a server
5846 with the special server certificate.  See GNUTLS-SA-2006-2 on
5847 http://www.gnu.org/software/gnutls/security.html for more up to date
5848 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
5850 ** Change SRP and Cert-Type extensions to match IANA registry.
5852 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
5854 ** Make --without-included-libtasn1 work.
5855 Reported by Daniel Black <dragonheart@gentoo.org>.
5857 ** API and ABI modifications:
5858 No changes since last version.
5860 * Version 1.4.1 (released 2006-06-14)
5862 ** Replaced inactive ifdefs to enable openpgp support in test programs.
5864 ** Fixed bug in OpenPGP authentication handshake.
5866 ** Fixed typographical in man pages.
5868 ** Build fixes of the manual.
5870 ** Added Swedish translation.
5872 ** API and ABI modifications:
5873 No changes since last version.
5875 * Version 1.4.0 (released 2006-05-15)
5877 ** Remove GnuTLS 0.8.x compatibility functions.
5879 ** The libgcrypt RNG is initialized in gnutls_global_init().
5881 ** TLS/IA API changes from Emile van Bergen.
5882 A dummy credential structure is not needed now, if you wish to use the
5883 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
5884 a session.
5886 ** The self-tests are now run under valgrind, if it is installed.
5888 ** Libtasn1 is updated to 0.3.4, and that version is now required.
5890 ** The command line tools now use getaddrinfo and support IPv6.
5892 ** API and ABI modifications:
5893 _gnutls_x509_get_raw_crt_activation_time,
5894 _gnutls_x509_get_raw_crt_expiration_time: Removed.
5895 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
5896 gnutls_ia_enable: Added.
5898 * Version 1.3.5 (released 2006-03-08)
5900 ** Error messages are now translated using GNU Gettext.
5902 ** The function gnutls_x509_crt_to_xml now return an internal error.
5903 This means that the code to convert X.509 certificates to XML format
5904 does not work any more.  The reason is that the function called
5905 libtasn1 internal functions.  It seems unclean for libtasn1 to export
5906 the APIs needed here.  Instead it would be better to implement XML
5907 support inside libtasn1 properly.  If you need this functionality
5908 strongly, please consider looking into implementing this suggested
5909 approach instead.  As a workaround, you may also modify lib/x509/xml.c
5910 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
5912 ** Libraries are now built with libtool's -no-undefined.
5913 This helps producing libraries for Windows using mingw32.
5915 ** Doc fixes to explain that gnutls_record_send can block.
5917 ** Libtasn1 0.3.1 or later is now required.
5918 The include copy has been updated too.
5920 ** gnutls-cli can now recognize services and port numbers with the -p option.
5922 ** API and ABI modifications:
5923 No changes since last version.
5925 * Version 1.3.4 (released 2006-02-09)
5927 ** Fix read of out bounds bug in DER parser.
5928 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
5929 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
5930 previous bug fix.  The included libtasn1 version in GnuTLS has been
5931 updated.
5933 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
5934 longer invalidate a session if the underlying send fails, but it will 
5935 prevent future writes. That is to allow reading the already received data.
5936 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
5938 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
5939 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
5940 more than one certificates were added. Report and patch by Max Kellermann.
5942 ** Fix build problems of OpenCDK on AIX.
5943 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
5945 ** API and ABI modifications:
5946 No changes since last version.
5948 * Version 1.3.3 (released 2006-01-12)
5950 ** New API to access the TLS master secret.
5951 When possible, you should use the TLS PRF functions instead.
5952 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
5954 ** Improved handling when multiple libraries use GnuTLS at the same time.
5955 Now gnutls_global_init() can be called multiple times, and
5956 gnutls_global_deinit() will only deallocate the structure when it has
5957 been called as many times as gnutls_global_init() was called.
5959 ** Added a self test of TLS resume functionality.
5961 ** Fix crash in TLS resume code, caused by TLS/IA changes.
5963 ** Documentation fixes about thread unsafety, prompted by
5964 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
5965 In particular, gnutls_global_init() and gnutls_global_deinit() are not
5966 thread safe.  Careful callers may want to protect the call using a
5967 mutex.  The problem could also be ignored, which would cause a memory
5968 leak under rare conditions when two threads invoke the function
5969 roughly at the same time.
5971 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
5973 ** The code was indented again, including the external header files.
5975 ** API and ABI modifications:
5976 New functions to retrieve the master secret value:
5977   gnutls_session_get_master_secret
5979 Add a 'const' keyword to existing API:
5980   gnutls_x509_crq_get_challenge_password
5982 * Version 1.3.2 (released 2005-12-15)
5984 ** GnuTLS now support TLS Inner application (TLS/IA).
5985 This is per draft-funk-tls-inner-application-extension-01.  This
5986 functionality is added to libgnutls-extra, so it is licensed under the
5987 GNU General Public License.
5989 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
5990 The PRF is used by some protocols building on TLS, such as EAP-PEAP
5991 and EAP-TTLS.  One function to access the raw PRF and one to access
5992 the PRF seeded with the client/server random fields are provided.
5993 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
5995 ** New APIs to acceess the client and server random fields in a session.
5996 These fields can be useful by protocols using TLS.  Note that these
5997 fields are typically used as input to the TLS PRF, and if this is your
5998 intended use, you should use the TLS PRF API that use the
5999 client/server random field directly.  Suggested by Jouni Malinen
6000 <jkmaline@cc.hut.fi>.
6002 ** Internal type cleanups.
6003 The uint8, uint16, uint32 types have been replaced by uint8_t,
6004 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
6005 correct types on platforms that lack them.  The uint type have been
6006 replaced by unsigned.
6008 ** API and ABI modifications:
6009 New functions to invoke the TLS Pseudo-Random-Function (PRF):
6010   gnutls_prf
6011   gnutls_prf_raw
6013 New functions to retrieve the session's client and server random values:
6014   gnutls_session_get_server_random
6015   gnutls_session_get_client_random
6017 New function, to perform TLS/IA handshake:
6018   gnutls_ia_handshake
6020 New function to decide whether to do a TLS/IA handshake:
6021   gnutls_ia_handshake_p
6023 New functions to allocate a TLS/IA credential:
6024   gnutls_ia_allocate_client_credentials
6025   gnutls_ia_free_client_credentials
6026   gnutls_ia_allocate_server_credentials
6027   gnutls_ia_free_server_credentials
6029 New functions to handle the AVP callback:
6030   gnutls_ia_set_client_avp_function
6031   gnutls_ia_set_client_avp_ptr
6032   gnutls_ia_get_client_avp_ptr
6033   gnutls_ia_set_server_avp_function
6034   gnutls_ia_set_server_avp_ptr
6035   gnutls_ia_get_server_avp_ptr
6037 New functions, to toggle TLS/IA application phases:
6038   gnutls_ia_require_inner_phase
6040 New function to mix session keys with inner secret:
6041   gnutls_ia_permute_inner_secret
6043 Low-level API (used internally by gnutls_ia_handshake):
6044   gnutls_ia_endphase_send
6045   gnutls_ia_send
6046   gnutls_ia_recv
6048 New functions that can be used after successful TLS/IA negotiation:
6049   gnutls_ia_generate_challenge
6050   gnutls_ia_extract_inner_secret
6052 Enum type with TLS/IA modes:
6053   gnutls_ia_mode_t
6055 Enum type with TLS/IA packet types:
6056   gnutls_ia_apptype_t
6058 Enum values for TLS/IA alerts:
6059   GNUTLS_A_INNER_APPLICATION_FAILURE
6060   GNUTLS_A_INNER_APPLICATION_VERIFICATION
6062 New error codes, to signal when an application phase has finished:
6063   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
6064   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
6066 New error code to signal TLS/IA verify failure:
6067   GNUTLS_E_IA_VERIFY_FAILED
6069 * Version 1.3.1 (released 2005-12-08)
6071 ** Support for DHE-PSK cipher suites has been added.
6072 This method offers perfect forward secrecy.
6074 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
6075 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
6077 ** Corrected a bug in certtool for 64 bit machines. Reported
6078 by Max Kellermann <max@duempel.org>.
6080 ** New function to set a X.509 private key and certificate pairs, and/or
6081 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
6082 <emile@e-advies.nl>.
6084 The integrity of the PKCS#12 file is protected through a password
6085 based MAC; public-key based signatures for integrity protection are
6086 not supported.  PKCS#12 bags may be encrypted using password derived
6087 symmetric keys, public-key based encryption is not supported.  The
6088 PKCS#8 keys may be encrypted using passwords.  The API use the same
6089 password for all operations.  We believe that any more flexibility
6090 create too much complexity that would hurt overall security, but may
6091 add more PKCS#12 related APIs if real-world experience indicate
6092 otherwise.
6094 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
6095 reported by Emile van Bergen <emile@e-advies.nl>.
6096 This will enable "certtool -k -8" to parse those keys.
6098 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
6099 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
6100 certtool would have encrypted the key using an empty password.
6102 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
6103 Earlier it would have prompted the user for it, even if --password was
6104 supplied.
6106 ** Added self test of PKCS#8 parsing.
6107 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
6108 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
6109 tests/pkcs8.
6111 ** API and ABI modifications:
6112 New function to set X.509 credentials from a PKCS#12 file:
6113   gnutls_certificate_set_x509_simple_pkcs12_file
6115 New gnutls_kx_algorithm_t enum type:
6116   GNUTLS_KX_DHE_PSK
6118 New API to return session data (basically same as gnutls_session_get_data):
6119   gnutls_session_get_data2
6121 New API to set PSK Diffie-Hellman parameters:
6122   gnutls_psk_set_server_dh_params
6124 * Version 1.3.0 (2005-11-15)
6126 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
6127 This add several new APIs, see below.  Read the updated manual for
6128 more information.  A new self test "pskself" has been added, that will
6129 test this functionality.
6131 ** The session resumption data are now system independent.
6133 ** The code has been re-indented to conform to the GNU coding style.
6135 ** Removed the RIPEMD ciphersuites.
6137 ** Added a discussion of the internals of gnutls in manual.
6139 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
6141 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
6143 ** Make sure config.h is included first in a few files, from Albert Chin.
6145 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
6147 ** Don't install SRP programs and man pages if --disable-srp-authentication,
6148 from Albert Chin.
6150 ** API and ABI modifications:
6151 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
6153 New gnutls_credentials_type_t credential type:
6154   GNUTLS_CRD_PSK
6156 New credential types:
6157   gnutls_psk_server_credentials_t
6158   gnutls_psk_client_credentials_t
6160 New functions to allocate PSK credentials:
6161   gnutls_psk_allocate_client_credentials
6162   gnutls_psk_free_client_credentials
6163   gnutls_psk_free_server_credentials
6164   gnutls_psk_allocate_server_credentials
6166 New enum type for PSK key flags:
6167   gnutls_psk_key_flags
6169 New function prototypes for credential callback:
6170   gnutls_psk_client_credentials_function
6171   gnutls_psk_server_credentials_function
6173 New function to set PSK username and key:
6174   gnutls_psk_set_client_credentials
6176 New function to set PSK passwd file:
6177   gnutls_psk_set_server_credentials_file
6179 New function to extract PSK user in server:
6180   gnutls_psk_server_get_username
6182 New functions to set PSK callback:
6183   gnutls_psk_set_server_credentials_function
6184   gnutls_psk_set_client_credentials_function
6186 Use size_t instead of int for output size parameter:
6187   gnutls_srp_base64_encode
6188   gnutls_srp_base64_decode
6190 * Version 1.2.11 (2006-05-11)
6191 - The function gnutls_x509_crt_to_xml is not supported any more, and
6192   return an internal error.  The reason is that the function called
6193   internal libtasn1 functions which are no longer exported from
6194   libtasn1.
6195 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
6196 - Updated gnulib compatibility files.
6197 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
6198   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
6199 - API and ABI modifications:
6200   No changes since last version.
6202 * Version 1.2.10 (2006-02-09)
6203 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
6204   <admin@gleg.net>, and debugging help from Protover SSL.
6205 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
6206   The included version has been updated too.
6207 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
6208   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
6209 - Corrected a bug in certtool for 64 bit machines. Reported
6210   by Max Kellermann <max@duempel.org>.
6211 - Corrected bugs in gnutls_certificate_set_x509_crl() and
6212   gnutls_certificate_set_x509_trust(), that caused memory corruption if
6213   more than one certificates were added. Report and patch by Max Kellermann.
6214 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
6215   longer invalidate a session if the underlying send fails, but it will 
6216   prevent future writes. That is to allow reading the already received data.
6217   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
6219 * Version 1.2.9 (2005-11-07)
6220 - Documentation was updated and improved.
6221 - RSA-MD2 is now supported for verifying digital signatures.
6222 - Due to cryptographic advances, verifying untrusted X.509
6223   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
6224   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
6225   applications that must remain interoperable, you can use the
6226   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
6227   flags when verifying certificates.  Naturally, this is not
6228   recommended default behaviour for applications.  To enable the
6229   broken algorithms, call gnutls_certificate_set_verify_flags with the
6230   proper flag, to change the verification mode used by
6231   gnutls_certificate_verify_peers2.
6232 - Make it possible to send empty data through gnutls_record_send,
6233   to align with the send(2) API.
6234 - Some changes in the certificate receiving part of handshake to prevent
6235   some possible errors with non-blocking servers.
6236 - Added numeric version symbols to permit simple CPP-based feature
6237   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
6238 - The (experimental) low-level crypto alternative to libgcrypt used
6239   earlier (Nettle) has been replaced with crypto code from gnulib.
6240   This leads to easier re-use of these components in other projects,
6241   leading to more review and simpler maintenance.  The new configure
6242   parameter --with-builtin-crypto replace the old --with-nettle, and
6243   must be used if you wish to enable this functionality.  See README
6244   under "Experimental" for more information.  Internally, GnuTLS has
6245   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
6246   API is similar to the old crypto/gc.h, because the gnulib code were
6247   based on GnuTLS's gc.h.
6248 - Fix compiler warning in the "anonself" self test.
6249 - API and ABI modifications:
6250 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
6251                              This doesn't reflect a change in behaviour,
6252                              so we don't break backwards compatibility.
6253 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
6254 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
6255 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
6256 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
6257                                   Use when calling
6258                                   gnutls_x509_crt_list_verify,
6259                                   gnutls_x509_crt_verify, or
6260                                   gnutls_certificate_set_verify_flags.
6261 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
6262                                 used when broken signature algorithms
6263                                 is used (currently RSA-MD2/MD5).
6264 LIBGNUTLS_VERSION_MAJOR,
6265 LIBGNUTLS_VERSION_MINOR,
6266 LIBGNUTLS_VERSION_PATCH,
6267 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
6268                           version number, can be used for feature existence
6269                           tests.
6271 * Version 1.2.8 (2005-10-07)
6272 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
6273 - Don't install the auxilliary libexamples library used by the
6274   examples in doc/examples/ on "make install", report and tiny patch
6275   from Thomas Klausner <tk@giga.or.at>.
6276 - If you pass a X.509 CA or PGP trust database to the command line
6277   tool, it will now abort the connection if the server certificate
6278   validation fails.  Use the parameter --insecure to continue even
6279   after certificate validation failures.  Inspired from discussion
6280   with Alexander Kotelnikov <sacha@myxomop.com>.
6281 - The test for socklen_t has been moved to gnulib.
6282 - Link failures for duplicate or missing "program_name" symbol has been fixed,
6283   patch from Martin Lambers <marlam@marlam.de>.
6284 - The command line tool and the examples no longer uses mmap or bzero,
6285   to make them more portable, patch from Martin Lambers
6286   <marlam@marlam.de>.
6287 - Made the PKCS #12 API handle null passwords. Based on patch by
6288   Anton Altaparmakov <aia21@cam.ac.uk>.
6289 - The GTK-DOC manual should build with current released tools.
6290   (But a copy of the output is included, so the tools are not required.)
6291 - The inet_ntop function is now used through gnulib.
6292 - API and ABI modifications:
6293   No changes since last version.
6295 * Version 1.2.7 (2005-09-09)
6296 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
6297 - Certtool now complains when reading out-of-range X.509 serial
6298   numbers, suggested by Fran <e_agf@yahoo.es>.
6299 - Certtool now uses the readline library (when available) when reading
6300   X.509 serial numbers.
6301 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
6302 - Fixed compile warning regarding socklen_t on Mingw32, reported by
6303   Martin Lambers <marlam@marlam.de>.
6304 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
6305 - Gnulib is now used for the core library, enabling future code cleanups.
6306 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
6307   suggested by Daniel Stenberg <daniel@haxx.se>.
6308 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
6309 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
6310 - Disable zlib support if zlib.h is not present.
6311 - A number of internal cleanups.
6312 - API and ABI modifications:
6313   No changes since last version.
6315 * Version 1.2.6 (2005-07-16)
6316 - MiniLZO updated to version 2.01 and moved to separate directory.
6317 - Collision between system LZO header files and MiniLZO header file
6318   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
6319 - Will now test for liblzo functionality in liblzo2 too, reported by
6320   Thomas Klausner <tk@giga.or.at>.
6321 - Minilibtasn1 is now 0.2.14 (no code changes).
6322 - Some code changes to avoid GTK-DOC warnings.
6323 - API and ABI modifications:
6324   No changes since last version.
6326 * Version 1.2.5 (2005-07-03)
6327 - More builddir != srcdir fixes, reported by Mike Castle
6328   <dalgoda@ix.netcom.com>.
6329 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
6330   reported by Adam Langley <alangley@gmail.com>.
6331 - Corrected some stuff in minilzo detection. Pointed out by 
6332   Sergey Lipnevich.
6333 - MiniLZO updated to version 2.00.
6334 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
6335 - API and ABI modifications:
6336   No changes since last version.
6338 * Version 1.2.4 (2005-05-28)
6339 - Corrected some bugs that could affect 64 bit systems.
6340 - Some corrections in the header files to include the prototype
6341   of memmem properly (affected 64 bit systems). Report and patch
6342   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6343 - Introduced the --fix-key option to certtool, which can be used to
6344   regenerate the (optional) parameters in a private key. It should
6345   be used together with --key-info.
6346 - Corrected a bug in certificate chain verification that could lead
6347   to marking a trusted chain as non trusted, if the last certificate in
6348   the chain was a self signed one.
6349 - Gnulib portability files were updated.
6350 - License were updated to reflect new FSF address.
6351 - API and ABI modifications:
6352   No changes since last version.
6354 * Version 1.2.3 (2005-04-28)
6355 - Corrected bug in record packet parsing that could lead
6356   to a denial of service attack.
6357 - Corrected bug in RSA key export. Previously exported keys
6358   can be fixed using certtool. Use certtool -k <infile >outfile
6359 - API and ABI modifications:
6360     gnutls_x509_privkey_fix(): Add.
6362 * Version 1.2.2 (2005-04-25)
6363 - gnutls_error_to_alert() now considers
6364   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
6365 - Fixed error in session resuming that could cause a crash in a session.
6366 - Fixed pkcs12 friendly name and local key identifier decoding.
6367 - Internal cleanups, removed duplicate typedef/struct definitions,
6368   and made source code include external include file, to check
6369   function prototypes during compile time.
6370 - API and ABI modifications:
6371   No changes since last version.  At least not intentional, but due
6372   to the include header changes, there may be inadvertant changes,
6373   please let us know if you find any.
6375 * Version 1.2.1 (2005-04-04)
6376 - gnutls_bye() will no longer fail when RDWR is used and application
6377   data are available for reading.
6378 - Added more strict checks for the SRP parameters (g,n), when they
6379   are not in the included list.
6380 - Added warning to certtool when MD5 is being used for digital
6381   signatures.
6382 - Optimizations ("-O2 -finline-functions") are not enabled by default,
6383   instead the standard autoconf defaults are used.  Use `./configure
6384   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
6385 - Added the option --get-dh-params to certtool, in order to get the
6386   parameters included in the library primes and generators.
6387 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
6388   allow only trusted Version 1 CAs and introduced
6389   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
6390 - Nettle self tests now build properly, reported by Pierre
6391   <pierre42d@9online.fr>.
6392 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
6393   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6394 - If the library has been compiled with features disabled, a warning is 
6395   issued during the compilation of any program.
6396 - API and ABI modifications:
6397     gnutls_x509_crt_list_import(): Add
6398     gnutls_x509_crq_get_attribute_by_oid(): Add.
6399     gnutls_x509_crq_set_attribute_by_oid(): Add
6400     gnutls_x509_crt_set_extension_by_oid(): Add.
6401     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
6402     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
6404 * Version 1.2.0 (2005-01-27)
6405 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
6406 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
6407   gnutls_x509_crl_sign2().
6408 - Fixed license header in source code files.
6410 * Version 1.1.23 (2005-01-18)
6411 - It is now possible to generate PKCS#12 structures without private
6412   keys using "certtool --to-p12", suggested by Fabian Fagerholm
6413   <fabbe@paniq.net>.
6414 - Certtool now prints information for the RSA and DSA parameters of
6415   certificates and private keys.
6416 - Corrected the write of CRL distribution points.
6417 - The certificate chain verification function now checks certificates
6418   in the reverse order to minimize the spent resources.
6419 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
6420 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
6421   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
6422   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
6423   required, instead of the string length.  That is, the value has been
6424   incremented by 1 to account for the terminating zero. Reported by
6425   Martin Lambers <marlam@web.de>.
6426 - Debug output shouldn't crash on platforms that doesn't handle NULL
6427   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
6428 - Sync included copy of libtasn1 with version 0.2.13.
6429 - Client X.509 authenticated connections via gnutls-cli should now work again.
6431 * Version 1.1.22 (2004-11-04)
6432 - Replace GNU LD version script with Libtool -export-symbols-regex,
6433   from Joe Orton <joe@manyfish.co.uk>.
6434 - Documentation improvements.
6435 - Code indented using 'indent -i4 -kr'.
6436 - The API manual is included in Devhelp format.  (Was in last release too,
6437   but the NEWS entry was forgotten.)
6438 - The OpenSSL compatibility code now use the internal crypto interface.
6439 - Added simple self test of OpenSSL compatibility library.
6440 - Internally, libtool convenience libraries are used.
6441 - Cleanups to configure.ac.
6443 * Version 1.1.21 (2004-10-27)
6444 - Print DN of certificates with unknown characters in them, but in hexform
6445   only.
6446 - Added second precision to the X.509 parsing and generation functions.
6447 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
6448   actual OID.
6449 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
6450   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
6451 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
6452   <stephane.loeuillet@tiscali.fr>.
6453 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
6454   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
6455 - Add self test of PKCS#12 functionality in "certtool", based on test
6456   vectors from Joe Orton <joe@manyfish.co.uk>.
6457 - Fix library order in libgnutls*-config --libs output, to permit
6458   static linking, reported by Yoann Vandoorselaere
6459   <yoann@prelude-ids.org>.
6461 * Version 1.1.20 (2004-10-12)
6462 - Fix compile problem in gl/getpass.c on some systems.
6464 * Version 1.1.19 (2004-10-07)
6465 - Fix memory leak in gnutls_certificate_verify_peers and
6466   gnutls_certificate_free_credentials, report and patch by Simon
6467   Posnjak <simon.posnjak@cetrtapot.si>.
6468 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
6469   a key and no certificate to PKCS#12.
6470 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
6471   <gp@familiehaase.de>.
6472 - Fixes faulty getpass implementation in libextra/opencdk/, reported
6473   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6474 - Uses memmem instead of strnstr in lib/.
6475 - Using more GNULib portability files, although not yet inside lib/.
6476 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
6477   Nikos deprecated gnutls_certificate_verify_peers in favor of
6478   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
6479 - Improvements to the manual.
6480 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
6481 - Known bug: the library require snprintf.  This has not yet been
6482   fixed, but will be handled via GNULib later on.
6484 * Version 1.1.18 (2004-08-24)
6485 - Corrected handling of certificate with dates after year 2038.
6486 - Corrected DER decoder which could incorrectly treat input as BER and fail.
6487 - Correct certtool --smime-to-p7 end of line character handling.
6488 - Added example client and server for anonymous authentication.
6489 - Added self test that tests anonymous TLS client and server.
6490 - Added self tests of Nettle and generic crypto layer.
6491 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
6492   Online version at <http://www.gnu.org/software/gnutls/reference/>.
6493 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
6494 - Man pages for API functions are included.
6496 * Version 1.1.17 (2004-08-18)
6497 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
6498   reported by Robey Pointer <robey@danger.com>.
6499 - Generic crypto interface for secret key ciphers, hashes and randomness added.
6500   See section "Experimental" within section "COMPILATION ISSUES" in README.
6501 - Removed length limit on passwords read by 'certtool'.
6502 - Documentation fixes.
6504 * Version 1.1.16 (2004-08-15)
6505 - Fix missing gnulib linker parameter when building certtool.
6506 - Add gnulib module 'progname', needed by module 'error'.
6507 - Improve building with srcdir != objdir.
6509 * Version 1.1.15 (2004-08-15)
6510 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
6511   PKCS #7 format.
6512 - Ported to Mac OS X / Darwin.
6513 - Ported to FreeBSD.
6515 * Version 1.1.14 (2004-08-09)
6516 - Documentation converted to Texinfo format.
6517 - Bug fix of test suite.
6518 - Configure now print build information, used by Autobuild.
6520 * Version 1.1.13 (2004-08-05)
6521 - Added simple self test suite.
6523 * Version 1.1.12 (2004-08-02)
6524 - Updated the SRP authentication to conform to the
6525   latest (yet unreleased) draft. Unfortunately this breaks
6526   compatibility with previous versions.
6527 - Changed the makefiles to be more portable.
6528 - SRP ciphersuites were moved to the gnutls library.
6529 - Added some default limits in the verification of certificate
6530   chains, to avoid denial of service attacks. Also added 
6531   gnutls_certificate_set_verify_limits() to override them.
6532   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
6533 - Added gnutls_certificate_verify_peers2().
6535 * Version 1.1.11 (2004-07-16)
6536 - Added the '_t' suffix to all exported symbols.
6537 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
6538   <mak@greenhills.co.uk>.
6539 - Corrected a bug in certificate verification. Pointed out by
6540   Yoann Vandoorselaere <yoann@prelude-ids.org>
6541 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
6542   verification functions.
6543 - The ephemeral DH and RSA parameters are no longer stored in the
6544   session resume DB.
6545 - Do not free the SRP (prime and generator) parameters obtained from the 
6546   callback if they are the static ones defined in extra.h
6547 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
6549 * Version 1.1.10 (2004-06-12)
6550 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
6551 - Corrected bug in TLS renegotiation.
6552 - Corrected bug in OpenPGP key loading using a callback.
6553 - gnutls-srpcrypt was renamed to srptool
6554 - Allow handshake requests by the client.
6555 - Automatically disable certificate types that do not have corresponding
6556   certificates.
6557 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
6558 - Opencdk library is being included if not found.
6559 - certtool can now add ip address SAN extension.
6560 - certtool has now support for more X.520 DN attribute types.
6561 - Better handling of EOF in gnutls_record_recv().
6562 - _gnutls_deinit() is no longer used. Sessions are not
6563   automatically removed any more, on abnormal termination.
6564 - Corrected session resuming in SRP ciphersuites.
6565 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
6566 - Added new functions to allow access to the ephemeral
6567   Diffie Hellman parameters.
6568 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
6569   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
6570 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
6571   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
6572   RSA-EXPORT key exchange.
6573 - Some fixes in the session resuming code.
6574 - Added gnutls_openpgp_keyring_check_id().
6576 * Version 1.1.9 (2004-04-14)
6577 - Added support for authority key identifier and the extended key usage
6578   X.509 extension fields. The certtoool was updated to support them.
6579 - The RC2 cipher is no more included. The one in libgcrypt is now used.
6580 - Added batch support to certtool. Now it can use templates.
6582 * Version 1.1.8 (2004-04-07)
6583 - Implemented all the tests for the SRP group parameters in
6584   client side. This may lead to incompatibility with very
6585   old gnutls servers.
6586 - Corrected bug in RSA parameters handling which could cause
6587   unexpected crashes.
6588 - Optimized the copying of rsa_params.
6590 * Version 1.1.7 (2004-03-29)
6591 - Added gnutls_certificate_set_params_function() and 
6592   gnutls_anon_set_params_function() that set the RSA or DH
6593   parameters using a callback.
6594 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
6595   and gnutls_x509_privkey_cpy().
6596 - Corrected a compilation issue when opencdk was installed in a
6597   non standard directory.
6598 - Deprecated: gnutls_srp_server_set_select_function(), 
6599   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
6601 * Version 1.1.6 (2004-02-24)
6602 - Several bug fixes, by Arne Thomassen.
6603 - Fixed a bug where 'server name' extension was always sent.
6605 * Version 1.1.5 (2004-01-06)
6606 - Added the gnutls_sign_algorithm type.
6608 * Version 1.1.4 (2004-01-04)
6609 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
6610   If they are of highest priority then the abbreviated handshake
6611   is used.
6612 - Removed all references of missing files.
6613 - Changed handshake behaviour to send the lowest TLS version
6614   when an unsupported version was advertized. The current behaviour
6615   is to send the maximum version we support.
6616 - Corrected problem printing the DC attributes in a DN.
6618 * Version 1.1.3 (2003-12-30)
6619 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
6620   hack).
6622 * Version 1.1.2 (2003-12-28)
6623 - Added CRL verification functionality to certtool.
6624 - Corrected the CRL distribution point extension handling.
6626 * Version 1.1.1 (2003-12-26)
6627 - Added PKCS #7 support to certtool utility.
6628 - Added support for reading and generating CRL distribution
6629   points extensions in certificates.
6630 - Added support for generating CRLs in the library and the
6631   certtool utility.
6632 - Added support for the Subject Key ID PKIX extension.
6634 * Version 1.1.0 (2003-12-21)
6635 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
6636   are no longer returned by the handshake function. Ciphersuites that
6637   require temporary parameters are removed when such parameters do not exist.
6638 - Added the callbacks gnutls_certificate_client_retrieve_function() and
6639   gnutls_certificate_server_retrieve_function(), to allow a client or a server
6640   to specify certificates for the handshake without storing them to the
6641   credentials structure.
6642 - Added support for generating and exporting DSA private keys.
6643 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
6644   certificate's key usage.
6645 - Added gnutls_openpgp_key_get_key_usage().
6647 * Version 1.0.25 (2005-04-27)
6648 - Corrected bug in record packet parsing that could lead
6649   to a denial of service attack.
6650 - Corrected bug in RSA key export.
6652 * Version 1.0.24 (2005-01-18)
6653 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
6655 * Version 1.0.23 (2004-11-13)
6656 - Replace GNU LD version script with Libtool -export-symbols-regex,
6657   from Joe Orton <joe@manyfish.co.uk>.
6658 - Copy libtasn1 has been updated to version 0.2.11.
6659 - Corrected the write of CRL distribution points.
6660 - It is now possible to generate PKCS#12 structures without private
6661   keys using "certtool --to-p12", suggested by Fabian Fagerholm
6662   <fabbe@paniq.net>.
6664 * Version 1.0.22 (2004-10-28)
6665 - Print DN of certificates with unknown characters in them, but in hexform
6666   only.
6667 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
6668   actual OID.
6669 - Added second precision to the X.509 parsing functions.
6670 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
6671   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
6672 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
6673   <stephane.loeuillet@tiscali.fr>.
6674 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
6675   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
6676 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
6677 - Fix library order in libgnutls*-config --libs output, to permit
6678   static linking, reported by Yoann Vandoorselaere
6679   <yoann@prelude-ids.org>.
6681 * Version 1.0.21 (2004-10-07)
6682 - Fix memory leak in gnutls_certificate_verify_peers and
6683   gnutls_certificate_free_credentials, report and patch by Simon
6684   Posnjak <simon.posnjak@cetrtapot.si>.
6685 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
6686   a key and no certificate to PKCS#12.
6687 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
6688   <gp@familiehaase.de>.
6689 - Avoid redefining getpass if system already has it, reported by
6690   Yoann Vandoorselaere <yoann@prelude-ids.org>.
6691 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
6692 - Known bug: the library require snprintf.
6694 * Version 1.0.20 (2004-08-18)
6695 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
6696   reported by Robey Pointer <robey@danger.com>.
6698 * Version 1.0.19 (2004-08-09)
6699 - Bug fix of test suite.
6701 * Version 1.0.18 (2004-08-05)
6702 - Added simple self test suite.
6704 * Version 1.0.17 (2004-08-02)
6705 - Updated the SRP authentication to conform to the
6706   latest (yet unreleased) draft. Unfortunately this breaks
6707   compatibility with previous versions.
6708 - Changed the makefiles to be more portable.
6709 - Added some default limits in the verification of certificate
6710   chains, to avoid denial of service attacks. Also added 
6711   gnutls_certificate_set_verify_limits() to override them.
6712   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
6713 - Added gnutls_certificate_verify_peers2().
6715 * Version 1.0.16 (2004-07-10)
6716 - Do not free the SRP (prime and generator) parameters obtained from the 
6717   callback if they are the static ones defined in extra.h.
6718 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
6719 - Some fixes in the makefiles.
6721 * Version 1.0.15 (2004-06-29)
6722 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
6723   <mak@greenhills.co.uk>.
6724 - Corrected a bug in certificate verification. Pointed out by
6725   Yoann Vandoorselaere <yoann@prelude-ids.org>.
6727 * Version 1.0.14 (2004-06-12)
6728 - Automatically disable certificate types that do not have corresponding
6729   certificates.
6730 - Updates in the documentation.
6731 - certtool can now add ip address SAN extension.
6732 - certtool has now support for more X.520 DN attribute types.
6733 - Opencdk library is being included if not found.
6734 - Added gnutls_openpgp_keyring_check_id().
6735 - Corrected a serious bug in the included libtasn1 library.
6736 - Corrected session resuming in SRP ciphersuites.
6737 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
6738 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
6739   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
6740 - Some fixes in the session resuming code.
6742 * Version 1.0.13 (2004-04-29)
6743 - Some complilation fixes.
6744 - Added the --xml parameter to the certtool utility.
6746 * Version 1.0.12 (2004-04-23)
6747 - Corrected bug in OpenPGP key loading using a callback.
6748 - Renamed gnutls-srpcrypt to srptool
6749 - Allow handshake requests by the client.
6750 * Things backported from the development branch:
6751 - Added support for authority key identifier and the extended key usage
6752   X.509 extension fields. The certtoool was updated to support them.
6753 - Added batch support to certtool. Now it can use templates.
6754 - The RC2 cipher is no more included. The one in libgcrypt is now used.
6756 * Version 1.0.11 (2004-04-17)
6757 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
6758 - Corrected bug in TLS renegotiation.
6760 * Version 1.0.10 (2004-04-03)
6761 - Corrected bug in RSA parameters handling which could cause
6762   unexpected crashes.
6763 - Corrected bug in SSL 3.0 authentication.
6765 * Version 1.0.9 (2004-03-29)
6766 - Added gnutls_certificate_set_params_function() and 
6767   gnutls_anon_set_params_function() that set the RSA or DH
6768   parameters using a callback.
6769 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
6770   and gnutls_x509_privkey_cpy().
6771 - Corrected a compilation issue when opencdk was installed in a
6772   non standard directory.
6773 - Documented the changes need in multi-threaded application due
6774   to the new libgcrypt.
6776 * Version 1.0.8 (2004-02-28)
6777 - Corrected bug in mutual certificate authentication in SSL 3.0.
6779 * Version 1.0.7 (2004-02-25)
6780 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
6781   hack).
6782 - Some updates in the documentation.
6784 * Version 1.0.6 (2004-02-12)
6785 * Backported things from the development branch (while maintaining
6786   backwards compatibility):
6787 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
6788   If they are of highest priority then the abbreviated handshake
6789   is used.
6790 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
6791   are no longer returned by the handshake function. Ciphersuites that
6792   require temporary parameters are removed when such parameters do not exist.
6793 - Added the callbacks gnutls_certificate_client_retrieve_function() and
6794   gnutls_certificate_server_retrieve_function(), to allow a client or a server
6795   to specify certificates for the handshake without storing them to the
6796   credentials structure.
6797 - Added support for generating and exporting DSA private keys.
6799 * Version 1.0.5 (2004-02-11)
6800 - Fixed a bug where 'server name' extension was always sent.
6801 * Backported things from the development branch:
6802 - Added CRL verification functionality to certtool.
6803 - Corrected the CRL distribution point extension handling.
6804 - Added PKCS #7 support to certtool utility.
6805 - Added support for reading and generating CRL distribution
6806   points extensions in certificates.
6807 - Added support for generating CRLs in the library and the
6808   certtool utility.
6809 - Added support for the Subject Key ID PKIX extension.
6810 - Added the gnutls_sign_algorithm type.
6812 * Version 1.0.4 (2004-01-04)
6813 - Changed handshake behaviour to send the lowest TLS version
6814   when an unsupported version was advertized. The current behaviour
6815   is to send the maximum version we support.
6816 - certtool no longer asks the password in unencrypted private
6817   keys.
6818 - The source is now compiled to use the reentrant libc functions.
6820 * Version 1.0.3 (2003-12-21)
6821 - Corrected bug in gnutls_bye() which made it return an error code
6822   of INVALID_REQUEST instead of success.
6823 - Corrected a bug in the GNUTLS_KEY key usage definitions.
6825 * Version 1.0.2 (2003-12-18)
6826 - Corrected a bug in the RSA key generation. This was
6827   generating unusable RSA keys.
6829 * Version 1.0.1 (2003-12-10)
6830 - Some minor fixes in the makefiles. They now include CFLAGS
6831   from libgcrypt or opencdk if installed in a non standard directory.
6832 - Fixed the SRP detection test in gnutls-cli-debug.
6833 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
6835 * Version 1.0.0 (2003-12-04)
6836 - Exported the static SRP group parameters.
6837 - Some fixes in the certificate authenticated SRP ciphersuites.
6838 - Improved the support for draft-ietf-tls-srp-05. The two-phase
6839   handshake is now fully supported without any interaction with
6840   the application layer (except for a callback).
6842 * Version 0.9.99 (2003-11-28)
6843 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
6844   and gnutls_server_name_get() prototypes.
6845 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
6846   and gnutls_x509_crt_verify_data().
6847 - Some fixes in the openpgp authentication.
6848 - Removed the Twofish cipher.
6850 * Version 0.9.98 (2003-11-16)
6851 - The openssl compatibility layer was moved to gnutls-openssl
6852   library instead of being included in the gnutls-extra library.
6853 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
6854 - Building with openpgp support is now mandatory.
6855 - gnutls4 compatibility header is no longer included by default in
6856   gnutls.h.
6857 - gnutls8 function usage yelds a deprecation warning in gcc3.
6858 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
6859   functions have a raw_flag parameter added.
6860 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
6861   functions which return the available OIDs.
6863 * Version 0.9.97 (2003-11-11)
6864 - The certtool utility can now generate PKCS #12 structures
6865   without specifying a certificate.
6866 - Added capability to read CRLs to certtool.
6867 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
6868   to properly set the required buffer size.
6869 - Corrected a bug in libgcrypt detection.
6871 * Version 0.9.96 (2003-11-09)
6872 - Some changes to allow compilation with mingw32.
6873 - Several code cleanups.
6875 * Version 0.9.95 (2003-11-02)
6876 - Improved the verification functions. Added new verification
6877   output flags and removed the unused and redundant ones.
6878 - Improved the OpenPGP key support.
6879 - The prime utility was removed, and its functionality was moved
6880   to certtool.
6882 * Version 0.9.94 (2003-10-30)
6883 - Added manpages for the included programs.
6884 - Documented and improved the certtool utility. 
6885 - Added PKCS #12 support to certtool utility.
6887 * Version 0.9.93 (2003-10-26)
6888 - Corrected some compilation issues.
6889 - Improved the certtool command line utility.
6891 * Version 0.9.92 (2003-10-25)
6892 - The RFC2818 hostname verification is now case insensitive.
6893 - Added support for generating X.509 certificates.
6894 - Added the certtool, a tool for generating X.509 certificates
6896 * Version 0.9.91 (2003-10-17)
6897 - Fixed a compilation issue in the openpgp authentication part.
6899 * Version 0.9.90 (2003-10-08)
6900 - Updated the openpgp key API (depends on the unreleased new
6901   opencdk).
6903 * Version 0.9.8 (2003-10-02)
6904 - Updated the SRP implementation to follow the latest draft
6905   (draft-ietf-tls-srp-05).
6906 - Improved the gnutls-cli behaviour in error handling,
6907   and added a check for the peer's hostname.
6908 - Use versioned symbols in the library (where available).
6909 - RIJNDAEL ciphersuites were renamed to AES.
6911 * Version 0.9.7 (2003-08-25)
6912 - The tex files are now included in the distribution.
6913 - The library can now decrypt PKCS #12 files encrypted with
6914   the RC2-40 cipher.
6915 - The missing rfc2818_hostname object is now included.
6916 - Several corrections and bug fixes in the library by 
6917   Arne Thomassen <arne@arne-thomassen.de>.
6918 - CR is now allowed in the base64 decoder.
6920 * Version 0.9.6 (2003-06-28)
6921 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
6922   functions which return a unique (per public key) ID. These can
6923   be used to check if the private key corresponds to a given certificate.
6924 - Corrections in the TLS layer openpgp certificate packet parser.
6925 - Corrected a bug in the record layer buffering, which affected
6926   the case where external pull function was used. Report and patch
6927   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
6928 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
6929   was freed.
6930 - SRP programs are now built by default.
6931 - Added API to read and write to PKCS #12 structures. Prototypes
6932   in gnutls/pkcs12.h.
6933 - The gnutls_transport_ptr type was changed to a pointer type (void*).
6935 * Version 0.9.5 (2003-04-06)
6936 - Several improvements in the PKCS #7 handling
6937 - Eliminated several hard coded constants in MPI parameters.
6939 * Version 0.9.4 (2003-03-28)
6940 - Corrected a parsing error in the Certificate request message.
6941 - Corrected behaviour when a certificate request message is received.
6942   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
6943   a no_certificate alert is sent instead.
6944 - Added functionality to generate PKCS #7 structures (with certificates).
6946 * Version 0.9.3 (2003-03-24)
6947 - Support for MD2 was dropped. 
6948 - Improved the error logging functions, by adding a level, and
6949   by allowing debugging messages just by increasing the level.
6950 - The diffie Hellman ciphersuites are now of higher priority than
6951   the plain RSA.
6952 - The RSA premaster secret version check can no longer be disabled.
6953 - Implemented the counter measure discussed in the paper "Attacking
6954   RSA-based Sessions in SSL/TLS", against the attack described in the
6955   same paper.
6956 - Added the functions: gnutls_handshake_get_last_in(), 
6957   gnutls_handshake_get_last_out().
6958 - The gnutls_certificate_set_rsa_params() was renamed to 
6959   gnutls_certificate_set_rsa_export_params().
6960 - Added the new functions: gnutls_certificate_set_x509_key()
6961   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
6962   gnutls_x509_crt_export(), gnutls_x509_crl_export().
6963 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
6964   RSA private keys.
6966 * Version 0.9.2 (2003-03-15)
6967 - Some corrections in the memory mapping code (file is unmapped after 
6968   it is read).
6969 - Added support for PKCS#10 certificate requests generation.
6971 * Version 0.9.1 (2003-03-12)
6972 - Corrected a bug in 64 bit architectures, which affected the
6973   serial number calculation in the record layer.
6974 - Added gnutls_certificate_free_keys() which deletes all the
6975   private keys and certificates from the credentials structure.
6976 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
6977   which caused some unexpected packet length errors. Report and patch
6978   by Ian Peters <itp@ximian.com>.
6979 - Added ability to generate RSA keys.
6980 - Increased the maximum parameter size in order to read some large keys
6981   by some CAs. Patch by Ian Peters <itp@ximian.com>.
6982 - Added an strnstr() function and the requirement in some functions to
6983   use null terminated PEM structures is no more.
6984 - Use mmap() if available to read files.
6985 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
6986   <r.kittinger@efkon.com>.
6988 * Version 0.9.0 (2003-03-03)
6989 - This version is not binary compatible with the previous ones.
6990 - The library notifies the application on empty and illegal SRP usernames, 
6991   so that proper notification (via an alert) is sent to the peer.
6992 - Added ability to send some messages back to the application using
6993   the gnutls_global_set_log_function().
6994 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
6995   gnutls_malloc() to allocate the output parameters.
6996 - Added support for MD2 algorithm in certificate signature verification.
6997 - The RSA and DH parameter generation interface was changed. Added
6998   ability to import and export from and to PKCS3 structures. This 
6999   was needed to read parameters generated using the openssl dhparam tool.
7000 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
7001   parameters are now included in the library. Also the credentials structure 
7002   can now hold only one temporary parameter of a kind.
7003 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
7004   API, defined in gnutls/x509.h
7005 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
7006   verification flags in the credentials structure. They will be used in the
7007   *verify_peers functions.
7008 - Added protection against the new TLS 1.0 record layer timing attack.
7009 - Added support for Certificate revocation lists. Functions defined
7010   in gnutls/x509.h
7011 - The only functions that were removed are:
7012   gnutls_x509_certificate_to_xml()
7013   gnutls_x509_extract_dn_string()
7014 - Ported to libtasn1 0.2.x
7016 * Version 0.8.1 (2003-01-22)
7017 - Improved the SRP support, to prevent attackers guessing the
7018   available usernames by brute force.
7019 - Improved the SRP detection in gnutls-cli-debug
7020 - Some fixes which now allow compilation.
7022 * Version 0.8.0 (2003-01-20)
7023 - Added gnutls_x509_extract_dn_string() which returns a 
7024   distinguished name in a single string.
7025 - Added gnutls_openpgp_extract_key_name_string() which returns
7026   an openpgp user ID in a single string.
7027 - Added gnutls_x509_extract_certificate_ca_status() which returns
7028   the CA status of the given certificate.
7029 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
7030 - If libtasn1 is not present in the system, it is included in 
7031   the main gnutls library.
7032 - If liblzo is present in the system, then the included minilzo
7033   will not be used, and libgnutls-extra will depend on liblzo.
7034 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
7035   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
7036   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
7038 * Version 0.6.0 (2002-12-08)
7039 - Added "gnutls/compat4.h" header. This is included in gnutls.h
7040   to emulate the old 0.4.x API.
7041 - Example programs are now stored in doc/examples/
7042 - Several improvements and updates in the documentation.
7043 - Added the certificate authenticated SRP cipher suites.
7044 - gnutls_x509_extract_certificate_dn_string() was updated to return
7045   an RFC2253 conforming string.
7046 - Added the SRP related functions:
7047    gnutls_srp_verifier()
7048    gnutls_srp_base64_encode()
7049    gnutls_srp_base64_decode()
7050 - Added the function gnutls_srp_set_server_credentials_function()
7051   to allow retrieving SRP parameters from an external backend - other
7052   than password files.
7053 - Added the function gnutls_openpgp_set_recv_key_function()
7054   which can be used to set a callback, to get OpenPGP keys.
7055 - Exported the functions:
7056    gnutls_malloc()
7057    gnutls_free()
7058   which should be used by callback functions.
7059 - Changed the semantics of gnutls_pem_base64_encode_alloc()
7060   and gnutls_pem_base64_decode_alloc(). In the default case
7061   were the gnutls library is used with malloc/realloc/free,
7062   these are binary compatible.
7064 * Version 0.5.11 (2002-11-05)
7065 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
7066   faults at exit.
7067 - Example programs found in the documentation can now be generated by
7068   running "make examples" in doc/tex directory.
7069 - Added more descriptive error strings, to gnutls_strerror().
7070 - Documented error codes, and the function reference list is now sorted.
7071 - Optimized buffering code.
7072 - gnutls_x509_extract_certificate_dn_string() was rewritten.
7073 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
7074   case where the memory buffer provided is not long enough.
7075 - Depends on the new OpenCDK 0.3.2.
7077 * Version 0.5.10 (2002-10-13)
7078 - Updated documentation.
7079 - Added server name extension. This allows clients to specify the
7080   name of the server they connect to. Useful to HTTPS.
7081 - Several corrections in the code base, mostly in signed/unsigned,
7082   checkings.
7084 * Version 0.5.9 (2002-10-10)
7085 - Corrected some code which worked fine in gcc 3.2, but not with any
7086   other compiler.
7087 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
7088   starttls implementations.
7089 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
7090   the private key type, of a DER encoded key.
7091 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
7092   certificate's distinguished name in a single string.
7093 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
7094   functions, to avoid calling all the *_priority() functions if the defaults
7095   are acceptable.
7096 - Added int gnutls_x509_check_certificates_hostname() which check whether
7097   the given hostname matches the owner of the given X.509 certificate.
7099 * Version 0.5.8 (2002-09-25)
7100 - Updated documentation.
7101 - Added gnutls_record_get_direction() which replaces the obsolete
7102   gnutls_handshake_get_direction().
7103 - Added function to convert error codes to alert descriptions
7104 - Added LZO compression
7106 * Version 0.5.7 (2002-09-11)
7107 - Some fixes in the memory allocation functions (realloc).
7108 - Improved the string functions used in XML certificate generation.
7109 - Removed dependency on libgdbm.
7110 - Corrected bug in gnutls_dh_params_set() which affected
7111   gnutls_dh_params_deinit().
7112 - Corrected bug in session resuming code in server side.
7114 * Version 0.5.6 (2002-09-06)
7115 - Corrected bugs in SRP implementation, which prevented gnutls 
7116   to interoperate with other implementations. (interoperability testing
7117   was done by David Taylor)
7118 - Corrected bug in cert_type extension.
7119 - Corrected extension type checks which used an 8 bit extension size,
7120   instead of 16 bits.
7121 - Added versioning in the XML output of certificate functions.
7122 - Removed the X.509 test suite.
7124 * Version 0.5.5 (2002-09-03)
7125 - Updated the SRP implementation to the latest draft. The blowfish
7126   crypt implementation was removed, since the new draft does not allow
7127   other hash algorithms except for the srpsha. 
7128 - Renamed all the constructed types in order to have more consistent
7129   names. 
7130 - Improved the certificate and key read functions. Now they can read 
7131   the certificate and the private key from the same file.
7132 - Updated and corrected documentation.
7134 * Version 0.5.4 (2002-08-27)
7135 - Fixes in TLS 1.0 PRF and SSL3 random functions.
7136 - gnutls_handshake_set_exportable_detection() was obsoleted.
7137 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
7138 - Corrected bug in DHE key exchange
7139 - Added support for temporary RSA keys which are needed for the
7140   export cipher suites.
7141 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
7143 * Version 0.5.3 (2002-08-23)
7144 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
7145   code from the unstable branch.
7147 * Version 0.5.2 (2002-08-22)
7148 - Added an error code that is returned in clients which connect
7149   to export only servers. This must be enabled using the
7150   gnutls_handshake_set_exportable_detection() function.
7151 - Updated openssl compatibility layer.
7152 - Added gnutls_handshake_get_direction() function which returns
7153   the state of the handshake when interrupted.
7155 * Version 0.5.1 (2002-07-17)
7156 - Corrected the m4 macros which used <gnutls.h> instead of
7157   <gnutls/gnutls.h>
7158 - Documentation fixes
7159 - Added gnutls_transport_set_ptr2() function, which accepts two
7160   different pointers, to be used while receiving, and 
7161   while sending data.
7162 - Semantic changes in gnutls_record_set_max_size(). The requested
7163   size is now immediately enforced at the output buffers.
7164 - gnutls_global_init_extra() now fails if the library versions do
7165   not match.
7166 - Fixes in client and server example programs. Null encryption can
7167   be used in these programs, to assist in debuging.
7168 - Fixes in zlib compression code.
7170 * Version 0.5.0 (2002-07-06)
7171 - Added X.509 certificate tests in tests/ directory
7172 - Removed stubs for SRP and Anonymous authentication. They served
7173   no purpose since they are always included, unless it was requested
7174   not to do so.
7175 - Added gnutls_handshake_set_private_extensions() function. This
7176   function can be used to enable private (gnutls specific) cipher suites
7177   and compression algorithms.
7178 - Added check for C99 macro support by the compiler.
7179 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
7180 - Added the new libtasn1 library.
7181 - Removed the gdbm backend. Applications are now responsible for the
7182   session resuming backend. The gnutls-serv application contains an
7183   simple example on how to use gdbm for resuming.
7184 - Headers for the gnutls library are now installed in $(includedir)/gnutls
7185 - Added an OpenSSL compatible interface (with some limitations).
7186 - Added functions to convert DER encoded certificates to XML format.
7188 * Version 0.4.4 (2002-06-24)
7189 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
7190   using keys of some specific size.
7192 * Version 0.4.3 (2002-05-23)
7193 - The gnutls-extra library now compiles fine, if the opencdk library is
7194   not present.
7195 - Several bug fixes.
7196 - Added gnutls_global_set_mem_func() function, to set the memory allocation
7197   functions, if other than the defaults are to be used.
7198 - The default memory allocation functions are now the ones in libc.
7200 * Version 0.4.2 (2002-05-21)
7201 - Separated ASN.1 structures parser documentation and TLS library
7202   documentation.
7203 - Added gnutls_handshake_set_rsa_pms() function, which disables the
7204   version check in RSA premaster secret.
7205 - Added gnutls_session_is_resumed() function, which reports if a session
7206   is a resumed one.
7207 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
7208   assist in callback functions.
7209 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
7210   random one.
7211 - Relicensed the library under the GNU Lesser General Public License
7212 - Added gnutls-extra library which contains the GPL covered code of gnutls.
7214 * Version 0.4.1 (2002-04-07)
7215 - Now uses alloca() for temporary variables
7216 - Optimized RSA signing
7217 - Added functions to return the peer's certificate activation and
7218   expiration time.
7219 - Corrected time function's behaviour (the time value returned no longer
7220   relate to local timezone).
7222 * Version 0.4.0 (2002-04-01)
7223 - Added support for RFC2630 (PKCS7) X.509 certificate sets
7224 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
7225   gnutls_openpgp_extract_key_pk_algorithm().
7226 - Several optimizations in the Handshake protocol
7227 - Several optimizations in RSA algorithm
7228 - Unified the return values because of small buffers.
7230 * Version 0.3.92 (2002-03-23)
7231 - Updated documentation
7232 - Combined error codes of ASN.1 parser and gnutls
7233 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
7234 - Added protection against CBC chosen plaintext attack (disabled by default)
7235 - Improved and optimized compression support
7237 * Version 0.3.91 (2002-03-03)
7238 - Added gnutls-cli-debug program
7239 - Corrections in session resumption
7240 - Rehandshake can now handle negotiation of different authentication
7241   type.
7242 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
7243   now being installed.
7245 * Version 0.3.90 (2002-02-24)
7246 - Handshake messages are not kept in memory any more. Now we use 
7247   less memory during a handshake
7248 - Added support for certificates with DSA parameters
7249 - Added DHE_DSS cipher suites
7250 - Key exchange methods changed so they do not depend on the 
7251   certificate type. Added certificate type negotiation TLS extension.
7252 - Added openpgp key support (EXPERIMENTAL)
7253 - Improved Diffie Hellman key exchange support.
7254 - Bug fixes in the RSA key exchange.
7255 - Added check for the requested TLS extensions
7256 - TLS extensions now use a 16 bit type field.
7257 - Added a minimal string library to assist in ASN.1 parsing
7258 - Changes in ASN.1 parser to work with the new bison
7259 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
7260   gnutls_x509_extract_subject_dns_name()
7261 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
7262 - gnutls_srp_server_set_cred_file() can now be called multiple times
7264 * Version 0.3.5 (2002-01-25)
7265 - Corrected the RSA key exchange method, to avoid attacks against
7266   PKCS-1 formating.
7268 * Version 0.3.4 (2002-01-20)
7269 - Corrected bugs in DHE_RSA key exchange method
7271 * Version 0.3.3 (2002-01-19)
7272 - Added gnutls_x509pki_verify_certificate()
7273 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
7274 - Bug fixes in srpcrypt (based on patch by Marc Huber)
7275 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
7276 - Corrected library versioning
7278 * Version 0.3.2 (2002-01-05)
7279 - Corrected bug which did not allow a client to accept multiple CA names
7280 - Added gnutls_fingerprint()
7281 - Added gnutls_x509pki_extract_certificate_serial()
7282 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
7283 - Corrected behaviour in version advertizing
7284 - Updated documentation
7285 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
7287 * Version 0.3.1 (2001-12-21)
7288 - Corrections in the configuration files
7289 - Fixes a bug in anonymous authentication
7291 * Version 0.3.0 (2001-12-17)
7292 - Corrected bug in new integer formatting (now we use the old format again)
7293 - Several corrections and usual cleanups
7295 * Version 0.2.91 (2001-12-10)
7296 - Fixes in MPI handling (fixes possible bug with signed integers)
7297 - Removed name indication extension
7298 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
7299 - Optimizations in server certificate callback.
7300 - Fixes in anonymous authentication
7301 - Corrections in client ciphersuite selection
7303 * Version 0.2.90 (2001-12-07)
7304 - gnutls_handshake(), gnutls_read() etc. functions no longer require
7305   the 'SOCKET cd' argument. This argument is set using the function
7306   gnutls_set_transport_ptr().
7307 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
7308   a list containing peer's certificate and issuers DER encoded.
7309 - Updated X.509 certificate handling API
7310 - Added callback to select the server certificate
7311 - More consistent function naming (changes in several function names)
7312 - Buffer overflow checking in ASN.1 structures parser
7313 - Updated documentation
7315 * Version 0.2.11 (2001-11-16)
7316 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
7317   is returned, then the caller should perform a handshake or send
7318   an alert to the peer.
7319 - Made receive buffer dynamic. Normally if no large chunks are received
7320   it occupies less space.
7321 - Added max_record_size extension
7322 - Bugfixes in session handling
7323 - Improved non blocking IO support in the Handshake Protocol
7324 - Usual bugfixes and cleanups
7325 - Documentation updated (includes ASN.1 documentation)
7327 * Version 0.2.10 (2001-11-05)
7328 - Corrected bugs and improved non blocking IO
7329 - Added hooks to use external database to store sessions
7330 - Usual cleanups
7332 * Version 0.2.9 (2001-10-27)
7333 - AUTH_INFO types and structures were moved to library internals
7334 - AUTH_FAILED is no longer returned in SRP authentication
7335   (any fatal error in SRP means auth failed)
7336 - Introduced GNUTLS_E_INTERRUPTED
7337 - Added support for non blocking IO
7338 - gnutls_recv() and gnutls_send() are now obsolete
7339 - Changed semantics of gnutls_rehandshake()
7341 * Version 0.2.4 (2001-10-12)
7342 - Better handling of X.509 certificate extensions
7343 - Added DHE_RSA ciphersuites
7344 - Updated the Name Indication (dnsname) extension
7345 - Improvements in Diffie Hellman primes handling
7347 * Version 0.2.3 (2001-09-19)
7348 - Memory optimizations in gnutls_recv()
7349 - Fixed several memory leaks
7350 - Added ability to specify callback for x509 client certificate selection
7351 - Better documentation
7353 * Version 0.2.2 (2001-08-21)
7354 - Several bugfixes (library and documentation)
7356 * Version 0.2.1 (2001-08-07)
7357 - SRP fixes
7359 * Version 0.2.0 (2001-08-07)
7360 - Partial support for X.509v3 Certificate extensions.
7361 - Added Internal memory handlers
7362 - Removed gnutls_x509_set_cn()
7363 - Added X.509 client authentication
7364 - Several bug fixes and protocol fixes
7366 * Version 0.1.9 (2001-07-30)
7367 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
7368 - SRP is updated to conform to the newest draft.
7369 - Added support for DNSNAME extension.
7370 - Reentracy fixes in ASN.1 Parsing.
7371 - Optimizations in hash/hmac functions
7372 - (Error) message handling has changed
7373 - Better Protocol Version handling
7374 - Added X.509 Certificate Verification
7375 - gnutls_read() semantics are now closer to read(2) - added EOF
7376 - Documented some part of gnutls in doc/tex/ using Latex
7378 * Version 0.1.4 (2001-06-22)
7379 - Corrected (srp) base64 encoding.
7380 - Changed bcrypt algorithm to include username.
7381 - Added RSA Ciphersuites (no certificate checking).
7382 - Fixes in SSL 2.0 client hello parsing.
7383 - Added ASN.1 and DER parsers.
7384 - Bugfixes in session resuming
7385 - Updated Ciphersuite selection algorithm
7386 - Added internal representation of X.509 structures.
7387 - Added global state
7389 * Version 0.1.3 (2001-06-01)
7390 - Updated API (and the way it is documented - we use inline documentation)
7391 - Added function to access alert messages.
7392 - Added support for renegotiating parameters.
7393 - Better and Faster Resume Database handling.
7394 - Several bugfixes
7396 * Version 0.1.2 (2001-05-14)
7397 - Updated API
7398 - Fixes in extension handling
7400 * Version 0.1.1 (2001-05-13)
7401 - Added compatibility with Stanford's libsrp library
7403 * Version 0.1.0 (2001-05-09)
7404 - Added SSL 2.0 client hello support
7405 - GNUTLS is a gnu library
7406 - Added support for TLS extensions.
7407 - Added support for SRP
7409 * Version 0.0.7 (2001-01-11)
7410 - Added server side session resuming (using gdbm)
7411 - Added twofish algorithm
7413 * Version 0.0.6 (2000-12-20)
7414 - Added client side session resuming
7415 - Better documentation (check doc/API)
7416 - Better socket handling (gnutls can be used with select())
7417 - Some primitive support for non blocking IO and socket options has been added.
7419 * Version 0.0.5 (2000-12-07)
7420 - Added Compression (using ZLIB)
7421 - Added SSL 3.0 support
7423 ----------------------------------------------------------------------
7424 Copying and distribution of this file, with or without modification,
7425 are permitted in any medium without royalty provided the copyright
7426 notice and this notice are preserved.