updated
[gnutls.git] / NEWS
blobbf81f812f48a6f6d04d6b15a471258452ca4544b
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.3 (unreleased)
7 ** libgnutls: Added support for the OCSP Certificate Status
8 extension.
10 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
11 certificate status extension in verification.
13 ** libgnutls: Fixed the receipt of session tickets during session resumption.
14 Reported by danblack at http://savannah.gnu.org/support/?108146
16 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
17 response corresponds to the given certificate.
19 ** API and ABI modifications:
20 gnutls_certificate_set_ocsp_status_request_function: Added
21 gnutls_certificate_set_ocsp_status_request_file: Added
22 gnutls_ocsp_status_request_enable_client: Added
23 gnutls_ocsp_status_request_get: Added
24 gnutls_ocsp_resp_check_crt: Added
27 * Version 3.1.2 (released 2012-09-26)
29 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
30 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
31 of certificates in the windows platform.
33 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
35 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
36 (the work was done during Google Summer of Code).
38 ** libgnutls: Added X.509 certificate verification flag 
39 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
40 of unsorted certificate chains and is enabled by default for
41 TLS certificate verification (if gnutls_certificate_set_verify_flags() 
42 does not override it).
44 ** libgnutls: Prints warning on certificates that contain keys of
45 an insecure level. If the %COMPAT priority flag is not specified
46 the TLS connection fails.
48 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
49 if interrupted during the retrasmition of handshake data.
51 ** libgnutls: Better mingw32 support (patch by LRN).
53 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
54 key usage violation errors (they are far too common to ignore).
56 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
57 which provides a tool to counter compression-related attacks where
58 parts of the data are controlled by the attacker _and_ are placed in
59 separate records (use with care - do not use compression if not sure).
61 ** libgnutls: Depends on libtasn1 2.14 or later.
63 ** certtool: Prints the number of bits of the public key algorithm
64 parameter in a private key.
66 ** API and ABI modifications:
67 gnutls_x509_privkey_get_pk_algorithm2: Added
68 gnutls_heartbeat_ping: Added
69 gnutls_heartbeat_pong: Added
70 gnutls_heartbeat_allowed: Added
71 gnutls_heartbeat_enable: Added
72 gnutls_heartbeat_set_timeouts: Added
73 gnutls_heartbeat_get_timeout: Added
74 GNUTLS_SEC_PARAM_WEAK: Added
75 GNUTLS_SEC_PARAM_INSECURE: Added
77 * Version 3.1.1 (released 2012-09-02)
79 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
81 ** certtool: Changes in password handling of certtool.
82 Ask password when required and only if the '--password' option is not
83 given. If the '--password' option is given during key generation then 
84 assume the PKCS #8 file format, instead of ignoring the password.
86 ** tpmtool: No longer asks for key password in registered keys.
88 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
89 wmNAF is now used for point multiplication and other optimizations.
90 (the major part of the work was done during Google Summer of Code).
92 ** libgnutls: The default pull_timeout_function only uses select
93 instead of a combination of select() and recv() to prevent issues
94 when used in stream sockets in some systems.
96 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
97 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
98 openssl.
100 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
101 cards. Thanks to Andreas Schwier from cardcontact.de for providing
102 me with ECDSA capable smart cards.
104 ** API and ABI modifications:
105 gnutls_sign_algorithm_get: Added
106 gnutls_sign_get_hash_algorithm: Added
107 gnutls_sign_get_pk_algorithm: Added
110 * Version 3.1.0 (released 2012-08-15)
112 ** libgnutls: Added direct support for TPM as a cryptographic module 
113 in gnutls/tpm.h. TPM keys can be used in functions accepting files
114 using URLs of the following types:
115   tpmkey:file=/path/to/file
116   tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
118 ** libgnutls: Priority string level keywords can be combined.
119 For example the string "SECURE256:+SUITEB128" is now allowed.
121 ** libgnutls: requires libnettle 2.5.
123 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
124 for encryption and signatures.
126 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
127 generic errors and signature verification errors in the verification
128 functions.
130 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
131 to simplify parsing in most PKCS #12 use cases.
133 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
134 the whole certificate chain (if any) to the credentials structure, instead
135 of only the end-user certificate.
137 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
138 and gnutls_x509_privkey_import_pkcs8(), return consistently 
139 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no 
140 password was provided.
142 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
143 allows to set the maximum time spent in a handshake.
145 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
146 by Alexandre Bique.
148 ** tpmtool: Added. It is a tool to generate private keys in the
149 TPM.
151 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
152 and --benchmark-tls-ciphers
154 ** certtool: generated PKCS #12 structures may hold more than one
155 private key. Patch by Lucas Fisher.
157 ** certtool: Added option --null-password to generate/decrypt keys
158 that use a NULL password (in schemas that distinguish between NULL
159 an empty passwords).
161 ** minitasn1: Upgraded to libtasn1 version 2.13.
163 ** API and ABI modifications:
164 GNUTLS_CERT_SIGNATURE_FAILURE: Added
165 GNUTLS_CAMELLIA_192_CBC: Added
166 GNUTLS_PKCS_NULL_PASSWORD: Added
167 gnutls_url_is_supported: Added
168 gnutls_pkcs11_obj_list_import_url2: Added
169 gnutls_pkcs11_obj_set_pin_function: Added
170 gnutls_pkcs11_privkey_set_pin_function: Added
171 gnutls_pkcs11_get_pin_function: Added
172 gnutls_privkey_import_tpm_raw: Added
173 gnutls_privkey_import_tpm_url: Added
174 gnutls_privkey_import_pkcs11_url: Added
175 gnutls_privkey_import_openpgp_raw: Added
176 gnutls_privkey_import_x509_raw: Added
177 gnutls_privkey_import_ext2: Added
178 gnutls_privkey_import_url: Added
179 gnutls_privkey_set_pin_function: Added
180 gnutls_tpm_privkey_generate: Added
181 gnutls_tpm_key_list_deinit: Added
182 gnutls_tpm_key_list_get_url: Added
183 gnutls_tpm_get_registered: Added
184 gnutls_tpm_privkey_delete: Added
185 gnutls_pubkey_import_tpm_raw: Added
186 gnutls_pubkey_import_tpm_url: Added
187 gnutls_pubkey_import_url: Added
188 gnutls_pubkey_verify_hash2: Added
189 gnutls_pubkey_set_pin_function: Added
190 gnutls_x509_privkey_import2: Added
191 gnutls_x509_privkey_import_openssl: Added
192 gnutls_x509_crt_set_pin_function: Added
193 gnutls_load_file: Added
194 gnutls_pkcs12_simple_parse: Added
195 gnutls_certificate_set_x509_system_trust: Added
196 gnutls_certificate_set_pin_function: Added
197 gnutls_x509_trust_list_add_system_trust: Added
198 gnutls_x509_trust_list_add_trust_file: Added
199 gnutls_x509_trust_list_add_trust_mem: Added
200 gnutls_pk_to_sign: Added
201 gnutls_handshake_set_timeout: Added
202 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
203 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
206 * Version 3.0.22 (released 2012-08-04)
208 ** libgnutls: gnutls_certificate_set_x509_system_trust()
209 is now supported on OpenBSD.
211 ** libgnutls: When verifying a certificate chain make sure it is chain.
212 If the chain is wronly interrupted at some point then truncate it,
213 and only try to verify the correct part. Patch by David Woodhouse
215 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
216 which now may (again) accept a NULL password.
218 ** certtool: Allow the user to choose the hash algorithm
219 when signing certificate request or certificate revocation list.
220 Patch by Petr Písař.
222 ** API and ABI modifications:
223 No changes since last version.
226 * Version 3.0.21 (released 2012-07-02)
228 ** libgnutls: fixed bug in gnutls_x509_privkey_import() 
229 that prevented the loading of EC private keys when DER
230 encoded. Reported by David Woodhouse.
232 ** libgnutls: In DTLS larger to mtu records result to 
233 GNUTLS_E_LARGE_PACKET instead of being truncated.
235 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
236 on patch by David Woodhouse.
238 ** libgnutls: Fixed memory leak in PKCS #8 key import.
240 ** libgnutls: Added support for an old version of the DTLS protocol
241 used by openconnect vpn client for compatibility with Cisco's AnyConnect 
242 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
243 as it has issues.
245 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs 
246 if only the label is specified. Patch by David Woodhouse.
248 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
249 is returned.
251 ** API and ABI modifications:
252 gnutls_dtls_set_data_mtu: Added
253 gnutls_session_set_premaster: Added
256 * Version 3.0.20 (released 2012-06-05)
258 ** libgnutls: Corrected bug which prevented the parsing of
259 handshake packets spanning multiple records.
261 ** libgnutls: Check key identifiers when checking for an issuer.
263 ** libgnutls: Added gnutls_pubkey_verify_hash2()
265 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
266 that loads the trusted CA certificates from system locations
267 (e.g. trusted storage in windows and CA bundle files in other systems).
269 ** certtool: Added support for the URI subject alternative
270 name type in certtool.
272 ** certtool: Increase to 128 the maximum number of distinct options
273 (e.g. dns_names) allowed.
275 ** gnutls-cli: If --print-cert is given, print the certificate, 
276 even on verification failure.
278 ** API and ABI modifications:
279 gnutls_pk_to_sign: Added
280 gnutls_pubkey_verify_hash2: Added
281 gnutls_certificate_set_x509_system_trust: Added
284 * Version 3.0.19 (released 2012-04-22)
286 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
287 is assumed to be a file that stores the pin. Based on patch
288 by David Smith.
290 ** libgnutls: gnutls_record_check_pending() no longer
291 returns unprocessed data, and thus ensure the non-blocking
292 of the next call to gnutls_record_recv(). 
294 ** libgnutls: Added strict tests in Diffie-Hellman and
295 SRP key exchange public keys.
297 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
298 strict in hash selection, and allow a stronger hash to
299 be used than the appropriate, to improve interoperability
300 with openssl.
302 ** tests: Disabled floating point test, and corrections
303 in pkcs12 decoding tests.
305 ** API and ABI modifications:
306 No changes since last version.
309 * Version 3.0.18 (released 2012-04-02)
311 ** certtool: Avoid a Y2K38 bug when generating certificates.
312 Patch by Robert Millan.
314 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
315 is returned on premature termination (and added unit test).
317 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
319 ** libgnutls: Corrected VIA padlock detection for old 
320 VIA processors. Reported by Kris Karas.
322 ** libgnutls: Updated assembler files.
324 ** libgnutls: Time in generated certificates is stored
325 as GeneralizedTime instead of UTCTime (which only stores
326 2 digits of a year).
328 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
330 ** API and ABI modifications:
331 gnutls_x509_crt_set_private_key_usage_period: Added
332 gnutls_x509_crt_get_private_key_usage_period: Added
333 gnutls_x509_crq_set_private_key_usage_period: Added
334 gnutls_x509_crq_get_private_key_usage_period: Added
335 gnutls_session_get_random: Added
338 * Version 3.0.17 (released 2012-03-17)
340 ** command line apps: Always link with local libopts.
342 ** API and ABI modifications:
343 No changes since last version.
346 * Version 3.0.16 (released 2012-03-16)
348 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
350 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
352 ** libgnutls: included assembler files for MacOSX.
354 ** p11tool: Small fixes in handling of the --private command 
355 line option.
357 ** certtool: The template option allows for setting the domain
358 component (DC) option of the distinguished name, and the ocsp_uri
359 as well as the ca_issuers_uri options.
361 ** API and ABI modifications:
362 gnutls_x509_crt_set_authority_info_access: Added
365 * Version 3.0.15 (released 2012-03-02)
367 ** test suite: Only run under valgrind in the development
368 system (the full git repository)
370 ** command line apps: Link with local libopts if the 
371 installed is an old one.
373 ** libgnutls: Eliminate double free during SRP
374 authentication. Reported by Peter Penzov.
376 ** libgnutls: Corrections in record packet parsing.
377 Reported by Matthew Hall.
379 ** libgnutls: Cryptodev updates and fixes.
381 ** libgnutls: Corrected issue with select() that affected
382 FreeBSD. This prevented establishing DTLS sessions.
383 Reported by Andreas Metzler.
385 ** libgnutls: Corrected rehandshake and resumption
386 operations in DTLS. Reported by Sean Buckheister.
388 ** libgnutls: PKCS #11 objects that do not have ID
389 no longer crash listing. Reported by Sven Geggus.
391 ** API and ABI modifications:
392 No changes since last version.
395 * Version 3.0.14 (released 2012-02-24)
397 ** command line apps: Included libopts doesn't get installed
398 by default.
400 ** libgnutls: Eliminate double free on wrongly formatted
401 certificate list. Reported by Remi Gacogne.
403 ** libgnutls: cryptodev code corrected, updated to account
404 for hashes and GCM mode.
406 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
407 Report and fix by Sam Varshavchik.
409 ** API and ABI modifications:
410 No changes since last version.
413 * Version 3.0.13 (released 2012-02-18)
415 ** gnutls-cli: added the --ocsp option which will verify
416 the peer's certificate with OCSP.
418 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
419 will use an ssh-style authentication method.
421 ** gnutls-cli: if no --x509cafile is provided a default is
422 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
424 ** ocsptool: Added --ask parameter, to verify a certificate's
425 status from an ocsp server.
427 ** command line apps: Use gnu autogen (libopts) to parse command
428 line arguments and template files.
430 ** tests: Added stress test for DTLS packet losses and 
431 out-of-order receival. Contributed by Sean Buckheister.
433 ** libgnutls: Several updates and corrections in the DTLS
434 DTLS lost packet handling and retransmission timeouts.
435 Report and patches by Sean Buckheister.
437 ** libgnutls: Added new functions to easily allow the usage of
438 a trust on first use (SSH-style) authentication.
440 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
441 for the RFC6460 requirements.
443 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
444 to account for security level of 96-bits.
446 ** libgnutls: In client side if server does not advertise any
447 known CAs and only a single certificate is set in the credentials,
448 sent that one.
450 ** libgnutls: Added functions to parse authority key identifiers
451 when stored as a 'general name' and serial combo.
453 ** libgnutls: Added function to force explicit reinitialization
454 of PKCS #11 modules. This is required on the child process after
455 a fork (if PKCS #11 functionality is desirable).
457 ** libgnutls: Depend on p11-kit 0.11.
459 ** API and ABI modifications:
460 gnutls_dtls_get_timeout: Added
461 gnutls_verify_stored_pubkey: Added
462 gnutls_store_pubkey: Added
463 gnutls_store_commitment: Added
464 gnutls_x509_crt_get_authority_key_gn_serial: Added
465 gnutls_x509_crl_get_authority_key_gn_serial: Added
466 gnutls_pkcs11_reinit: Added
467 gnutls_ecc_curve_list: Added
468 gnutls_priority_certificate_type_list: Added
469 gnutls_priority_sign_list: Added
470 gnutls_priority_protocol_list: Added
471 gnutls_priority_compression_list: Added
472 gnutls_priority_ecc_curve_list: Added
473 gnutls_tdb_init: Added
474 gnutls_tdb_set_store_func: Added
475 gnutls_tdb_set_store_commitment_func: Added
476 gnutls_tdb_set_verify_func: Added
477 gnutls_tdb_deinit: Added
480 * Version 3.0.12 (released 2012-01-20)
482 ** libgnutls: Added OCSP support.
483 There is a new header file gnutls/ocsp.h and a set of new functions
484 under the gnutls_ocsp namespace.  Currently the functionality provided
485 is to parse and extract information from OCSP requests/responses, to
486 generate OCSP requests and to verify OCSP responses.  See the manual
487 for more information.  Run ./configure with --disable-ocsp to build
488 GnuTLS without OCSP support.
490 This work was sponsored by Smoothwall <http://smoothwall.net/>.
492 ** ocsptool: Added new command line tool.
493 The tool can parse OCSP request/responses, generate OCSP requests and
494 verify OCSP responses.  See the manual for more information.
496 ** certtool: --outder option now works for private
497 and public keys as well.
499 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
500 to warn when no or insufficient priorities were set.
502 ** libgnutls: Corrected an alignment issue in ECDH
503 key generation which prevented some keys from being
504 correctly aligned in rare circumstances.
506 ** libgnutls: Corrected memory leaks in DH parameter
507 generation and ecc_projective_check_point().
509 ** libgnutls: Added gnutls_x509_dn_oid_name() to 
510 return a descriptive name of a DN OID.
512 ** API and ABI modifications:
513 gnutls_pubkey_encrypt_data: Added
514 gnutls_x509_dn_oid_name: Added
515 gnutls_session_resumption_requested: Added
516 gnutls/ocsp.h: Added new header file.
517 gnutls_ocsp_print_formats_t: Added new type.
518 gnutls_ocsp_resp_status_t: Added new type.
519 gnutls_ocsp_cert_status_t: Added new type.
520 gnutls_x509_crl_reason_t: Added new type.
521 gnutls_ocsp_req_add_cert: Added.
522 gnutls_ocsp_req_add_cert_id: Added.
523 gnutls_ocsp_req_deinit: Added.
524 gnutls_ocsp_req_export: Added.
525 gnutls_ocsp_req_get_cert_id: Added.
526 gnutls_ocsp_req_get_extension: Added.
527 gnutls_ocsp_req_get_nonce: Added.
528 gnutls_ocsp_req_get_version: Added.
529 gnutls_ocsp_req_import: Added.
530 gnutls_ocsp_req_init: Added.
531 gnutls_ocsp_req_print: Added.
532 gnutls_ocsp_req_randomize_nonce: Added.
533 gnutls_ocsp_req_set_extension: Added.
534 gnutls_ocsp_req_set_nonce: Added.
535 gnutls_ocsp_resp_deinit: Added.
536 gnutls_ocsp_resp_export: Added.
537 gnutls_ocsp_resp_get_certs: Added.
538 gnutls_ocsp_resp_get_extension: Added.
539 gnutls_ocsp_resp_get_nonce: Added.
540 gnutls_ocsp_resp_get_produced: Added.
541 gnutls_ocsp_resp_get_responder: Added.
542 gnutls_ocsp_resp_get_response: Added.
543 gnutls_ocsp_resp_get_signature: Added.
544 gnutls_ocsp_resp_get_signature_algorithm: Added.
545 gnutls_ocsp_resp_get_single: Added.
546 gnutls_ocsp_resp_get_status: Added.
547 gnutls_ocsp_resp_get_version: Added.
548 gnutls_ocsp_resp_import: Added.
549 gnutls_ocsp_resp_init: Added.
550 gnutls_ocsp_resp_print: Added.
551 gnutls_ocsp_resp_verify: Added.
553 * Version 3.0.11 (released 2012-01-06)
555 ** libgnutls: Corrected functionality of 
556 gnutls_record_get_direction(). Reported by Philip Allison.
558 ** libgnutls: Provide less timing information when decoding
559 TLS/DTLS record packets. Patch by Nadhem Alfardan.
561 ** API and ABI modifications:
562 No changes since last version.
565 * Version 3.0.10 (released 2012-01-04)
567 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
568 in Linux as well as in BSD.
570 ** gnutls-cli: Fixed reading from windows terminals.
572 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
573 the stream is assumed to be base64 encoded (previously
574 the encoding was auto-detected). This avoids a decoding
575 issue in windows systems.
577 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
579 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
580 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
582 ** libgnutls: Added function gnutls_random_art() to convert 
583 fingerprints to images (currently ascii-art).
585 ** libgnutls: Corrected bug in DSA private key parsing, which
586 prevented the verification of the key.
588 ** API and ABI modifications:
589 gnutls_random_art: Added
592 * Version 3.0.9 (released 2011-12-13)
594 ** certtool: Added new parameter --dh-info.
596 ** certtool: -l option was overloaded so if combined with --priority
597 it will only list the ciphersuites that are enabled by the given
598 priority string.
600 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
601 changes the ciphersuite selection procedure. If specified the server
602 priorities will be used for selection instead of the client's.
604 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
605 and key exchange.
607 ** libgnutls: When session tickets are negotiated and used in a
608 session, a server will not store that session data into its cache.
610 ** libgnutls: Added the SECP192R1 curve.
612 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
613 allow listing the ciphersuites enabled in a priority structure.
614 It outputs an index to be used in gnutls_get_cipher_suite_info().
616 ** libgnutls: Optimizations in the elliptic curve code --timing
617 attacks resistant code is only used in ECDSA private key operations.
619 ** doc: man pages for API functions generation was fixed and are
620 now added again in the distribution.
622 ** API and ABI modifications:
623 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
624 gnutls_priority_get_cipher_suite_index: Added
627 * Version 3.0.8 (released 2011-11-12)
629 ** certtool: Certtool -e returns error code on verification
630 failure.
632 ** certtool: Verifies parameters of generated keys.
634 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
636 ** libgnutls: Provide less timing information when decoding
637 TLS/DTLS record packets.
639 ** doc: man pages for API functions were removed.
640 The reason was that the code that auto-generated the man pages missed
641 many APIs and we couldn't fix it (volunteers welcome).  See the info
642 manual or the GTK-DOC manual instead.
644 ** API and ABI modifications:
645 gnutls_x509_privkey_verify_params: Added
648 * Version 3.0.7 (released 2011-11-08)
650 ** libgnutls: Corrected fix in gnutls_session_get_data()
651 to report the actual session size when the provided buffer
652 is not enough.
654 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
655 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
657 ** API and ABI modifications:
658 No changes since last version.
661 * Version 3.0.6 (released 2011-11-07)
663 ** gnutls-guile: Compilation fixes.
665 ** libgnutls: Fixed possible buffer overflow in 
666 gnutls_session_get_data(). Reported and fix by Alban Crequy.
668 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
669 Reported by Fabrice Gautier.
671 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems. 
672 Thanks to Joseph Graham for providing access to such a system.
674 ** libgnutls: Correctly report ECC private key parsing errors.
675 Reported by Fabrice Gautier.
677 ** libgnutls: In ECDHE verify that the received point lies on
678 the selected curve. The ECDHE ciphersuites now take precendence
679 to plain DHE.
681 ** API and ABI modifications:
682 No changes since last version.
685 * Version 3.0.5 (released 2011-10-27)
687 ** libgnutls-extra: is no more
689 ** libgnutls: Corrections in order to compile with mingw32.
691 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
692 and new detection of PHE with support for partial hashing.
694 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix 
695 by Vincent Untz.
697 ** minitasn1: Upgraded to libtasn1 version 2.10.
699 ** API and ABI modifications:
700 No changes since last version.
703 * Version 3.0.4 (released 2011-10-15)
705 ** libgnutls-extra: gnutls_register_md5_handler() was
706 removed.
708 ** gnutls-cli-debug: Added more tests including AES-GCM,
709 SHA256 and elliptic curves.
711 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
712 the software version of the ciphers instead of hw accelerated 
713 (where available)
715 ** libgnutls: Public key ID calculation is consistent among
716 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
718 ** libgnutls: gnutls_privkey_t allows setting external callback
719 to perform signing or decryption. Can be set using
720 gnutls_privkey_import_ext()
722 ** libgnutls: A certificate credentials structure can be
723 used with a gnutls_privkey_t and a gnutls_pcert_st
724 structure using gnutls_certificate_set_key().
726 ** libgnutls: Fixes to enable external signing callback to
727 operate with TLS 1.2. 
729 ** libgnutls: Fixed crash when printing ECDSA certificate key 
730 ID. Reported by Erik Jensen.
732 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks 
733 show a 50x increase in AES speed and a 14x increase in VIA nano. Added 
734 support for hashes and HMACs.
736 ** libgnutls: Compilation fixed when p11-kit is not detected.
738 ** libgnutls: Fixed the deflate compression code.
740 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
741 Used to get the PKIX Authority Information Access (AIA) field.
743 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
745 ** libgnutls: Added ability to gnutls_privkey_t to operate with
746 signing callback function.
748 ** API and ABI modifications:
749 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
750 gnutls_privkey_import_ext: Added function.
751 gnutls_certificate_set_key: Added function.
752 gnutls_info_access_what_t (x509.h): Added enum.
753 GNUTLS_OID_AIA (x509.h): Added symbol.
754 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
755 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
757 * Version 3.0.3 (released 2011-09-18)
759 ** libgnutls: Added gnutls_record_get_discarded() to return the
760 number of discarded records in a DTLS session.
762 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
763 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
765 ** libgnutls: Memory leak fixes in credentials private key 
766 deinitialization. Reported by Dan Winship.
768 ** libgnutls: Memory leak fixes in ECC ciphersuites.
770 ** libgnutls: Do not send an empty extension structure in server 
771 hello. This affected old implementations that do not support extensions. 
772 Reported by J. Cameijo Cerdeira.
774 ** libgnutls: Allow CA importing of 0 certificates to succeed.
775 Reported by Jonathan Nieder <jrnieder@gmail.com> in
776 <http://bugs.debian.org/640639>.
778 ** libgnutls: Added support for VIA padlock AES optimizations.
779 (disabled by default)
781 ** libgnutls: Added support for elliptic curves in
782 PKCS #11.
784 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
785 to allow generating a key in a token.
787 ** p11tool: Added generate-rsa, generate-dsa and 
788 generate-ecc options to allow generating private
789 keys in the token.
791 ** libgnutls: gnutls_transport_set_lowat dummy macro was 
792 removed.
794 ** API and ABI modifications:
795 gnutls_pkcs11_privkey_generate: Added
796 gnutls_pubkey_import_ecc_raw: Added
797 gnutls_pubkey_import_ecc_x962: Added
798 gnutls_pubkey_get_pk_ecc_x962: Added
799 gnutls_record_get_discarded: Added
802 * Version 3.0.2 (released 2011-09-01)
804 ** libgnutls: OpenPGP certificate type is not enabled
805 by default.
807 ** libgnutls: Added %NO_EXTENSIONS priority string.
809 ** libgnutls: Corrected issue in gnutls_record_recv()
810 triggered on encryption or compression error.
812 ** libgnutls: Compatibility fixes in CPU ID detection 
813 for i386 and old GCC.
815 ** gnutls-cli: Benchmark applications were incorporated
816 with it.
818 ** libgnutls: Corrected parsing of XMPP subject
819 alternative names.
821 ** libgnutls: Allow for out-of-order ChangeCipherSpec
822 message in DTLS.
824 ** libgnutls: gnutls_certificate_set_x509_key() and
825 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
826 and allow the release of the private key during the
827 lifetime of the certificate structure.
829 ** API and ABI modifications:
830 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
833 * Version 3.0.1 (released 2011-08-20)
835 ** libgnutls: gnutls_certificate_set_x509_key_file() and 
836 friends support server name indication. If multiple 
837 certificates are set using these functions the proper one 
838 will be selected during a handshake. 
840 ** libgnutls: Added AES-256-GCM which was left out from
841 the previous release. Reported by Benjamin Hof.
843 ** libgnutls: When asking for a PKCS# 11 PIN multiple 
844 times, the flags in the callback were not being updated 
845 to reflect for PIN low count or final try.
847 ** libgnutls: Do not allow second instances of PKCS #11
848 modules.
850 ** libgnutls: fixed alignment issue in AES-NI code.
852 ** libgnutls: The config file at gnutls_pkcs11_init()
853 is being read if provided.
855 ** libgnutls: Ensure that a certificate list specified
856 using gnutls_certificate_set_x509_key() and friends, is 
857 sorted according to TLS specification (from subject to issuer).
859 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
860 gnutls_x509_crt_list_import. It checks whether the list to be 
861 imported is properly sorted.
863 ** crywrap: Added to the distribution. It is an application
864 that proxies TLS session to a port using a plaintext service.
866 ** doc: Many GTK-DOC improvements.
868 ** i18n: Translations were updated.
870 ** API and ABI modifications:
871 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
872 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
875 * Version 3.0.0 (released 2011-07-29)
877 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
878 Sjoerd Simons.
880 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
881 Metzler.
883 ** certtool: bug fixes in certificate request generation. Patch
884 by Petr Písař.
886 ** API and ABI modifications:
887 gnutls_pcert_list_import_x509_raw: ADDED
890 * Version 2.99.4 (released 2011-07-23)
892 ** doc: documentation updates.
894 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
895 to avoid thread-safety issues. Reported by Sam Varshavchik.
897 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
899 ** libgnutls: license upgraded to LGPLv3
901 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
902 for consistency.
904 ** API and ABI modifications:
905 No changes since last version.
908 * Version 2.99.3 (released 2011-06-18)
910 ** libgnutls: Added new PKCS #11 flags to force an object being private or
911 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
913 ** libgnutls: Added SUITEB128 and SUITEB192 priority
914 strings to enable the NSA SuiteB cryptography ciphersuites.
916 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
917 verify data provided the signature algorithm.
919 ** libgnutls: Simplified the handling of handshake messages to 
920 be hashed. Instead of hashing during the handshake process we now 
921 keep the data until handshake is over and hash them on request. 
922 This uses more memory but eliminates issues with TLS 1.2 and 
923 simplifies code.
925 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
926 instruction. Uses Andy Polyakov's assembly code.
928 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
929 gnutls_x509_trust_list_verify_named_crt() that allow having a
930 list of certificates in the trusted list that will be associated
931 with a name (e.g. server name) and will not be used as CAs.
933 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
934 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
935 Stef Walter.
937 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
939 ** API and ABI modifications:
940 gnutls_pubkey_verify_data2: ADDED
941 gnutls_ecc_curve_get: ADDED
942 gnutls_x509_trust_list_add_named_crt: ADDED
943 gnutls_x509_trust_list_verify_named_crt: ADDED
944 gnutls_x509_privkey_verify_data: REMOVED
945 gnutls_crypto_bigint_register: REMOVED
946 gnutls_crypto_cipher_register: REMOVED
947 gnutls_crypto_digest_register: REMOVED
948 gnutls_crypto_mac_register: REMOVED
949 gnutls_crypto_pk_register: REMOVED
950 gnutls_crypto_rnd_register: REMOVED
951 gnutls_crypto_single_cipher_register: REMOVED
952 gnutls_crypto_single_digest_register: REMOVED
953 gnutls_crypto_single_mac_register: REMOVED
954 GNUTLS_KX_ECDHE_PSK: New key exchange method
955 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
956 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
957 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
960 * Version 2.99.2 (released 2011-05-26)
962 ** libgnutls: Added Elliptic curve support. This is not
963 enabled by default. Requires priority strings:
964 +CURVE-ALL: to add all supported curves
965 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
966 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
967 +ANON-ECDHE: to add anonymous ECDH
969 ** libgnutls: PKCS #11 URLs conform to the latest draft
970 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
972 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
973 via URLs.
975 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
976 to get important auditing information including the corresponding session.
977 That might be useful to block DoS or other attacker from specific IPs.
979 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
980 the public key algorithm of the key.
982 ** libgnutls: Added gnutls_certificate_get_issuer() and
983 gnutls_x509_trust_list_get_issuer() to compensate for the
984 missing gnutls_certificate_get_x509_cas().
986 ** libgnutls: Added gnutls_x509_crq_verify() to allow
987 verification of the self signature in a certificate request.
988 This allows verifying whether the owner of the private key
989 is the generator of the request.
991 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
992 the self signature of the request.
994 ** API and ABI modifications:
995 gnutls_certificate_get_issuer: ADDED
996 gnutls_x509_trust_list_get_issuer: ADDED
997 gnutls_x509_crq_verify: ADDED
998 gnutls_global_set_audit_log_function: ADDED
999 gnutls_ecc_curve_get_name: ADDED
1000 gnutls_ecc_curve_get_size: ADDED
1001 gnutls_x509_privkey_import_ecc_raw: ADDED
1002 gnutls_x509_privkey_export_ecc_raw: ADDED
1003 gnutls_global_set_time_function: ADDED
1005 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1006 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1007 GNUTLS_KX_ECDHE_RSA: New key exchange method
1008 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1009 GNUTLS_KX_ANON_ECDH: New key exchange method
1010 GNUTLS_PK_ECC: New public key algorithm
1011 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1012 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1013 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1014 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm 
1015 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1016 GNUTLS_ECC_CURVE_INVALID: New curve definition
1017 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1018 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1019 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1020 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1023 * Version 2.99.1 (released 2011-04-23)
1025 ** libgnutls: LZO support was removed.
1027 ** libgnutls: Corrections in SSLv2 client hello parsing.
1029 ** libgnutls: Added support for AES-NI if detected. Uses
1030 Andy Polyakov's AES-NI code.
1032 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered 
1033 weak, several sites require it for connection. It is enabled for
1034 "NORMAL" and "PERFORMANCE" priority strings.
1036 ** libgnutls: depend on libdl.
1038 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1040 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1041 function required GnuTLS to access system specific data, for no reason.
1042 Use gnutls_transport_set_errno(), or your system's errno fascility
1043 instead.
1045 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1046 to set a callback to retrieve a certificate. The certificate is
1047 received in a format that requires no processing from gnutls thus
1048 it is suitable when performance is required.
1050 ** API and ABI modifications:
1051 gnutls_transport_set_global_errno: REMOVED
1052 gnutls_certificate_set_retrieve_function2: ADDED
1054 * Version 2.99.0 (released 2011-04-09)
1056 ** libgnutls: Added Datagram TLS support.
1058 ** libgnutls: Uses a single configure file and a single
1059 gnulib library to save space.
1061 ** libgnutls: Several bug fixes.
1063 ** libgnutls: gnutls_transport_set_lowat() is no more.
1065 ** libgnutls-openssl: modified to use modern gnutls' functions.
1066 This introduces an ABI incompatibility with previous versions.
1068 ** libgnutls: Corrected signature generation and verification
1069 in the Certificate Verify message when in TLS 1.2. Reported
1070 by Todd A. Ouska.
1072 ** libgnutlsxx: The C++ interface returns exception on
1073 every error and not only on fatal ones. This allows easier
1074 handling of errors.
1076 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored    
1077 the PSK callback.
1079 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
1080 They have to be explicitly set.
1082 ** libgnutls: During handshake message verification using DSS
1083 use the hash algorithm required by it.
1085 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
1086 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
1088 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
1090 ** libgnutls-extra: Inner application extension was removed.
1091 It was never standardized nor published as an RFC.
1093 ** libgnutls: Added new certificate verification functions, that
1094 can provide more details and are more efficient. Check 
1095 gnutls_x509_trust_list_*.
1097 ** certtool: Uses the new certificate verification functions for
1098 --verify-chain.
1100 ** certtool: Added new certificate verification functionality
1101 using the --verify option. Combined with --load-ca-certificate
1102 it can verify a certificate chain against a list of certificates.
1104 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
1106 ** API and ABI modifications:
1107 gnutls_dtls_set_timeouts: ADDED
1108 gnutls_dtls_get_mtu: ADDED
1109 gnutls_dtls_get_data_mtu: ADDED
1110 gnutls_dtls_set_mtu: ADDED
1111 gnutls_dtls_cookie_send: ADDED
1112 gnutls_dtls_cookie_verify: ADDED
1113 gnutls_dtls_prestate_set: ADDED
1114 gnutls_x509_trust_list_verify_crt: ADDED
1115 gnutls_x509_trust_list_add_crls: ADDED
1116 gnutls_x509_trust_list_add_cas: ADDED
1117 gnutls_x509_trust_list_init: ADDED
1118 gnutls_x509_trust_list_deinit: ADDED
1119 gnutls_cipher_add_auth: ADDED
1120 gnutls_cipher_tag: ADDED
1121 gnutls_psk_netconf_derive_key: REMOVED
1122 gnutls_certificate_verify_peers: REMOVED
1123 gnutls_session_set_finished_function: REMOVED
1124 gnutls_ext_register: REMOVED
1125 gnutls_certificate_get_x509_crls: REMOVED
1126 gnutls_certificate_get_x509_cas: REMOVED
1127 gnutls_certificate_get_openpgp_keyring: REMOVED
1128 gnutls_session_get_server_random: REMOVED
1129 gnutls_session_get_client_random: REMOVED
1130 gnutls_session_get_master_secret: REMOVED
1131 gnutls_ia_allocate_client_credentials: REMOVED
1132 gnutls_ia_allocate_server_credentials: REMOVED
1133 gnutls_ia_enable: REMOVED
1134 gnutls_ia_endphase_send: REMOVED
1135 gnutls_ia_extract_inner_secret: REMOVED
1136 gnutls_ia_free_client_credentials: REMOVED
1137 gnutls_ia_free_server_credentials: REMOVED
1138 gnutls_ia_generate_challenge: REMOVED
1139 gnutls_ia_get_client_avp_ptr: REMOVED
1140 gnutls_ia_get_server_avp_ptr: REMOVED
1141 gnutls_ia_handshake: REMOVED
1142 gnutls_ia_handshake_p: REMOVED
1143 gnutls_ia_permute_inner_secret: REMOVED
1144 gnutls_ia_recv: REMOVED
1145 gnutls_ia_send: REMOVED
1146 gnutls_ia_set_client_avp_function: REMOVED
1147 gnutls_ia_set_client_avp_ptr: REMOVED
1148 gnutls_ia_set_server_avp_function: REMOVED
1149 gnutls_ia_set_server_avp_ptr: REMOVED
1150 gnutls_ia_verify_endphase: REMOVED
1153 * Version 2.12.2 (released 2011-04-08)
1155 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
1157 ** libgnutls: Several bug and memory leak fixes.
1159 ** srptool: Accepts the -d option to enable debugging.
1161 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
1162 the allocation of a verifier. Reported by Andrew Wiseman.
1164 ** API and ABI modifications:
1165 No changes since last version.
1168 * Version 2.12.1 (released 2011-04-02)
1170 ** certtool: Generated certificate request with stricter permissions.
1171 Reported by Luca Capello.
1173 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
1175 ** libgnutls: Corrected windows system_errno() function prototype.
1177 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
1179 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
1180 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
1182 ** API and ABI modifications:
1183 No changes since last version.
1188 * Version 2.12.0 (released 2011-03-24)
1190 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
1191 the incompatibility with TLS other than 1.2.
1193 ** libgnutls: Modified signature algorithm selection in client
1194 certificate request, to avoid failures in DSA certificates.
1196 ** libgnutls: Instead of failing with internal error, return 
1197 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
1198 key with the negotiated protocol is encountered.
1200 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
1202 ** libgnutls: Force state update when fork is detected in the nettle
1203 rng.
1205 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
1206 subkey instead of setting explicitly one.
1208 ** libgnutls: Corrected default behavior in record version of Client Hellos.
1210 ** libgnutls-openssl: modified to use modern gnutls' functions.
1211 This introduces an ABI incompatibility with previous versions.
1213 ** API and ABI modifications:
1214 gnutls_pubkey_import_openpgp: MODIFIED
1217 * Version 2.11.7
1219 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
1220 replaced by gnutls_privkey_sign_hash2().
1222 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
1223 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
1224 gnutls_x509_crt_verify_hash return the negative error code 
1225 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
1226 checking.
1228 ** libgnutls: Added helper functions for signature verification:
1229 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
1231 ** libgnutls: Modified gnutls_privkey_sign_data().
1233 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
1234 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
1235 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
1236 deprecated for gnutls_x509_crl_privkey_sign(),
1237 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
1238 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
1239 gnutls_pubkey_verify_data() respectively.
1241 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
1242 integers.
1244 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
1245 and gnutls_x509_crt_list_import2().
1247 ** crypto.h: Fix use with C++.
1248 Reported by "Brendan Doherty" <brendand@gentrack.com>.
1250 ** API and ABI modifications:
1251 gnutls_x509_crl_list_import: ADDED
1252 gnutls_x509_crl_list_import2: ADDED
1253 gnutls_x509_crt_list_import2: ADDED
1254 gnutls_x509_crl_get_raw_issuer_dn: ADDED
1255 gnutls_pubkey_import_privkey: ADDED
1256 gnutls_pubkey_verify_data: ADDED
1257 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
1258 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
1259 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1260 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1261 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
1262 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1263 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1264 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
1265 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1266 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1267 gnutls_session_set_finished_function: DEPRECATED
1268 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
1269 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1270 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
1271 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
1272 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1273 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
1274 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
1275 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
1277 * Version 2.11.6 (released 2010-12-06)
1279 ** libgnutls: Record version of Client Hellos is now set by default to
1280 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
1281 priority string.
1283 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
1284 This makes us comply with RFC3279. Reported by Michael Rommel.
1286 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
1288 ** API and ABI modifications:
1289 No changes since last version.
1291 * Version 2.11.5 (released 2010-12-01)
1293 ** libgnutls: Reverted default behavior for verification and
1294 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
1295 V1 trusted CAs are allowed, unless the new flag is specified.
1297 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
1298 Reported by Jeffrey Walton.
1300 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
1301 as priority strings. Those allow to set all the supported algorithms
1302 at once.
1304 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
1306 ** gnutls-cli: Print channel binding only in verbose mode.
1307 Before it printed it after the 'Compression:' output, thus breaking
1308 Emacs starttls.el string searches.
1310 ** API and ABI modifications:
1311 gnutls_pkcs11_token_init: New function
1312 gnutls_pkcs11_token_set_pin: New function
1314 * Version 2.11.4 (released 2010-10-15)
1316 ** libgnutls: Add new API gnutls_session_channel_binding.
1317 The function is used to get the channel binding data.  Currently only
1318 the "tls-unique" (RFC 5929) channel binding type is supported, through
1319 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
1320 the manual.
1322 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
1324 ** doc: Added pkcs11.h header file to GTK-DOC manual.
1326 ** build: Update gnulib files.
1328 ** i18n: Update translations.
1330 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
1332 ** API and ABI modifications:
1333 gnutls_session_channel_binding: New function.
1334 gnutls_channel_binding_t: New enumeration.
1335 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
1336 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
1338 * Version 2.11.3 (released 2010-10-14)
1340 ** Indent code to follow the GNU Coding Standard.
1341 You should be able to unpack the 2.11.2 release and run 'make indent'
1342 twice to get exactly the same content as 2.11.3 except for generated
1343 files.  Using GNU Indent 2.2.11.
1345 ** API and ABI modifications:
1346 No changes since last version.
1348 * Version 2.11.2 (released 2010-10-08)
1350 ** libgnutls: Several bug fixes on session resumption
1351 and session tickets support.
1353 ** libgnutls: Add new extended key usage ipsecIKE.
1355 ** certtool: Renamed PKCS #11 options to: --p11-provider,
1356 --p11-export-url, --p11-list-certs, --p11-list-certs,
1357 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
1358 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
1359 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
1360 --p11-delete-url
1362 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
1363 introduced with the new nettle code.
1365 ** libgnutls: Corrected advertizing issue for session tickets.
1367 ** API and ABI modifications:
1368 gnutls_x509_crt_get_subject_unique_id: ADDED.
1369 gnutls_x509_crt_get_issuer_unique_id: ADDED.
1371 * Version 2.11.1 (released 2010-09-14)
1373 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
1374 to use the libgcrypt back end.
1376 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
1377 backend crypto library.
1379 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
1381 ** libgnutls: Several updates in the buffering internal interface.
1383 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
1384 tabs are being skipped.
1386 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
1388 ** libgnutls: The %COMPAT flag now allows larger records that violate the
1389 TLS spec.
1391 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
1392 system calls. Applications that depended on it being 1 should explicitly call
1393 gnutls_transport_set_lowat().
1395 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
1396 to ECRYPT II recommendations. Mappings were moved to a single location
1397 and DSA keys are handled differently (since DSA2 allows for 1024,2048
1398 and 3072 keys only).
1400 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1401 gnutls_x509_privkey_import_pkcs8() without a password, if it
1402 is unable to decode the key.
1404 ** libgnutls: HMAC-MD5 no longer used by default.
1406 ** API and ABI modifications:
1407 gnutls_openpgp_privkey_sec_param: ADDED
1408 gnutls_x509_privkey_sec_param: ADDED
1410 * Version 2.11.0 (released 2010-07-22)
1412 ** libgnutls: support scattered write using writev(). This takes
1413 advantage of the new buffering layer and allows queuing of packets
1414 and flushing them. This is currently used for handshake messages
1415 only.
1417 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
1418 alternative locking procedures. By default the system available
1419 locking is used. In *NIX pthreads are used and in windows the
1420 critical section API. This follows a different approach than the
1421 previous versions that depended on libgcrypt initialization. The
1422 locks are now set by default in systems that support it. Programs
1423 that used gcry_control() to set thread locks should insert it into
1424 a block of
1425 #if GNUTLS_VERSION_NUMBER <= 0x020b00
1426         gcry_control(...)
1427 #endif
1429 ** libgnutls: Added support for reading DN from EV-certificates.
1430 New DN values:
1431 jurisdictionOfIncorporationLocalityName,
1432 jurisdictionOfIncorporationStateOrProvinceName,
1433 jurisdictionOfIncorporationCountryName
1435 ** libgnutls: Added support for DSA signing/verifying with bit 
1436 length over 1024.
1438 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
1439 has to be called to register any required md5 handlers.
1441 ** libgnutls: Internal buffering code was replaced by simpler
1442 code contributed by Jonathan Bastien-Filiatrault.
1444 ** libgnutls: Internal API for extensions augmented to allow
1445 safe storing and loading of data on resumption. This allows writing
1446 self-contained extensions (when possible). As a side effect
1447 the OPRFI extension was removed.
1449 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
1451 ** libgnutls: Added PKCS #11 support and an API to access objects in
1452 gnutls/pkcs11.h. Currently certificates and public keys can be
1453 imported from tokens, and operations can be performed on private keys.
1455 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
1457 ** libgnutls: Added initial support for the nettle library. It uses
1458 the system's random generator for seeding. That is /dev/urandom in Linux, 
1459 system calls in Win32 and EGD on other systems.
1461 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
1462     works even when resuming a session.
1464 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
1465 similar gnutls_certificate_set_server_retrieve_function() and
1466 gnutls_certificate_set_client_retrieve_function(). In addition it support
1467 PKCS #11 private keys.
1469 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
1470 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
1472 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
1473 sizes for private keys using a human understandable scale.
1475 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
1476 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
1477 --pkcs11-delete-url, --pkcs11-write
1479 certtool: The --pkcs-cipher is taken into account when generating a
1480 private key. The default cipher used now is aes-128. The old behavior can
1481 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1483 certtool: Added --certificate-pubkey to print the public key of the
1484 certificate.
1486 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
1487 can now accept a PKCS #11 URL in addition to a file. This will allow for
1488 example to use the Gnome-keyring trusted certificate list to verify
1489 connections using a url such as:
1490 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
1492 ** API and ABI modifications:
1493 gnutls_certificate_set_server_retrieve_function: DEPRECATED
1494 gnutls_certificate_set_client_retrieve_function: DEPRECATED
1495 gnutls_sign_callback_set: DEPRECATED
1496 gnutls_global_set_mutex: ADDED
1497 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
1498 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
1499 gnutls_x509_privkey_export_rsa_raw2: ADDED
1500 gnutls_rnd: ADDED
1501 gnutls_sec_param_to_pk_bits: ADDED
1502 gnutls_pk_bits_to_sec_param: ADDED
1503 gnutls_sec_param_get_name: ADDED
1504 gnutls_pkcs11_type_get_name: ADDED
1505 gnutls_certificate_set_retrieve_function: ADDED
1506 gnutls_pkcs11_init: ADDED
1507 gnutls_pkcs11_deinit: ADDED
1508 gnutls_pkcs11_set_pin_function: ADDED
1509 gnutls_pkcs11_set_token_function: ADDED
1510 gnutls_pkcs11_add_provider: ADDED
1511 gnutls_pkcs11_obj_init: ADDED
1512 gnutls_pkcs11_obj_import_url: ADDED
1513 gnutls_pkcs11_obj_export_url: ADDED
1514 gnutls_pkcs11_obj_deinit: ADDED
1515 gnutls_pkcs11_obj_export: ADDED
1516 gnutls_pkcs11_obj_list_import_url: ADDED
1517 gnutls_pkcs11_obj_export: ADDED
1518 gnutls_x509_crt_import_pkcs11: ADDED
1519 gnutls_pkcs11_obj_get_type: ADDED
1520 gnutls_x509_crt_list_import_pkcs11: ADDED
1521 gnutls_x509_crt_import_pkcs11_url: ADDED
1522 gnutls_pkcs11_obj_get_info: ADDED
1523 gnutls_pkcs11_token_get_info: ADDED
1524 gnutls_pkcs11_token_get_url: ADDED
1525 gnutls_pkcs11_privkey_init: ADDED
1526 gnutls_pkcs11_privkey_deinit: ADDED
1527 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
1528 gnutls_pkcs11_privkey_get_info: ADDED
1529 gnutls_pkcs11_privkey_import_url: ADDED
1530 gnutls_pkcs11_privkey_sign_data: ADDED
1531 gnutls_pkcs11_privkey_sign_hash: ADDED
1532 gnutls_pkcs11_privkey_decrypt_data: ADDED
1533 gnutls_privkey_init: ADDED
1534 gnutls_privkey_deinit: ADDED
1535 gnutls_privkey_get_pk_algorithm: ADDED
1536 gnutls_privkey_get_type: ADDED
1537 gnutls_privkey_import_pkcs11: ADDED
1538 gnutls_privkey_import_x509: ADDED
1539 gnutls_privkey_import_openpgp: ADDED
1540 gnutls_privkey_sign_data: ADDED
1541 gnutls_privkey_sign_hash: ADDED
1542 gnutls_privkey_decrypt_data: ADDED
1543 gnutls_pkcs11_privkey_export_url: ADDED
1544 gnutls_x509_crq_privkey_sign: ADDED
1545 gnutls_x509_crl_privkey_sign: ADDED
1546 gnutls_x509_crt_privkey_sign: ADDED
1547 gnutls_pubkey_init: ADDED
1548 gnutls_pubkey_deinit: ADDED
1549 gnutls_pubkey_get_pk_algorithm: ADDED
1550 gnutls_pubkey_import_x509: ADDED
1551 gnutls_pubkey_import_openpgp: ADDED
1552 gnutls_pubkey_get_pk_rsa_raw: ADDED
1553 gnutls_pubkey_get_pk_dsa_raw: ADDED
1554 gnutls_pubkey_export: ADDED
1555 gnutls_pubkey_get_key_id: ADDED
1556 gnutls_pubkey_get_key_usage: ADDED
1557 gnutls_pubkey_verify_hash: ADDED
1558 gnutls_pubkey_get_verify_algorithm: ADDED
1559 gnutls_pkcs11_type_get_name: ADDED
1560 gnutls_pubkey_import_pkcs11_url: ADDED
1561 gnutls_pubkey_import: ADDED
1562 gnutls_pubkey_import_pkcs11: ADDED
1563 gnutls_pubkey_import_dsa_raw: ADDED
1564 gnutls_pubkey_import_rsa_raw: ADDED
1565 gnutls_x509_crt_set_pubkey: ADDED
1566 gnutls_x509_crq_set_pubkey: ADDED
1567 gnutls_pkcs11_copy_x509_crt: ADDED
1568 gnutls_pkcs11_copy_x509_privkey: ADDED
1569 gnutls_pkcs11_delete_url: ADDED
1571 * Version 2.10.1 (released 2010-07-25)
1573 ** libgnutls: Added support for broken certificates that indicate RSA
1574 with strange OIDs.
1576 ** gnutls-cli: Allow verification using V1 CAs.
1578 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1579 gnutls_x509_privkey_import_pkcs8() without a password, if it
1580 is unable to decode the key.
1582 ** libgnutls: Correctly deinitialize crypto API functions to prevent
1583 a memory leak.  Reported by Mads Kiilerich.
1585 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
1586 issue a warning, that the output key might not be working everywhere.
1588 ** certtool: The --pkcs-cipher is taken into account when generating a
1589 private key. The default cipher used now is aes-128. The old behavior
1590 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1592 ** API and ABI modifications:
1593 No changes since last version.
1595 * Version 2.10.0 (released 2010-06-25)
1597 ** API and ABI modifications:
1598 No changes since last version.
1600 * Version 2.9.12 (released 2010-06-17)
1602 ** gnutls-cli: Make --starttls work again.
1603 Problem introduced in patch to use read() instead of fgets() committed
1604 on 2010-01-27.
1606 ** API and ABI modifications:
1607 No changes since last version.
1609 * Version 2.9.11 (released 2010-06-07)
1611 ** libgnutls: Removed two APIs related to safe renegotiation.
1612 Use priority strings instead.  The APIs were
1613 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
1614 (Remember that we don't promise ABI stability during development
1615 series, so this doesn't cause an shared library ABI increment.)
1617 ** tests: More self testing of safe renegotiation extension.
1618 See tests/safe-renegotiation/README for more information.
1620 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
1622 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
1624 ** API and ABI modifications:
1625 gnutls_safe_negotiation_set_initial: REMOVED.
1626 gnutls_safe_renegotiation_set: REMOVED.
1628 * Version 2.9.10 (released 2010-04-22)
1630 ** libgnutls: Time verification extended to trusted certificate list.
1631 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
1632 specified.
1634 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
1635 Based on patch by Pavan Konjarla.  Adds new constant
1636 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
1638 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
1639 Solves the issue discussed in:
1640 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
1641 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
1642 Note that to allow connecting to unpatched servers the full protection
1643 is only enabled if the priority string %SAFE_RENEGOTIATION is
1644 specified. You can check whether protection is in place by querying
1645 gnutls_safe_renegotiation_status().  New error codes
1646 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
1647 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
1649 ** libgnutls: When checking openpgp self signature also check the signatures
1650 ** of all subkeys.
1651 Ilari Liusvaara noticed and reported the issue and provided test
1652 vectors as well.
1654 ** libgnutls: Added cryptodev support (/dev/crypto).
1655 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
1656 benchmark utility for AES.  Adds new error codes
1657 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
1659 ** libgnutls: Exported API to access encryption and hash algorithms.
1660 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
1661 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
1662 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
1663 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
1664 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
1665 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
1666 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
1668 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
1669 verification of certificate upon receipt rather than waiting until the
1670 end of the handshake.
1672 ** libgnutls: Don't send alerts during handshake.
1673 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
1675 ** certtool: Corrected two issues that affected certificate request generation.
1676 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
1677 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
1678 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
1679 those parameters there since other implementations don't do either and having 
1680 them does not seem to offer anything (anyway you need the signer's certificate
1681 to verify thus public key will be available). Found thanks to Boyan Kasarov.
1682 This however has the side-effect that public key IDs shown by certtool are
1683 now different than previous gnutls releases.
1684 (3) the option --pgp-certificate-info will verify self signatures
1686 ** certtool: Allow exporting of Certificate requests on DER format.
1688 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
1690 ** gnutls-cli: Handle reading binary data from server.
1691 Reported by and tiny patch from Vitaly Mayatskikh
1692 <v.mayatskih@gmail.com> in
1693 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
1695 ** minitasn1: Upgraded to libtasn1 version 2.6.
1697 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
1698 ** Added Italian and Simplified Chinese translation.
1699 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
1700 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
1702 ** doc: The GTK-DOC manual is significantly improved.
1704 ** API and ABI modifications:
1705 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
1706 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
1707 %UNSAFE_RENEGOTIATION: Added to priority strings.
1708 GNUTLS_DIG_SHA224: ADDED.
1709 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
1710 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
1711 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
1712 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
1713 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
1714 GNUTLS_MAC_SHA224: ADDED.
1715 GNUTLS_OID_X520_NAME: ADDED.
1716 GNUTLS_OID_X520_POSTALCODE: ADDED.
1717 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
1718 GNUTLS_VERSION_MAX: ADDED.
1719 gnutls_certificate_set_verify_function: ADDED.
1720 gnutls_cipher_decrypt: ADDED.
1721 gnutls_cipher_deinit: ADDED.
1722 gnutls_cipher_encrypt: ADDED.
1723 gnutls_cipher_get_block_size: ADDED.
1724 gnutls_cipher_init: ADDED.
1725 gnutls_hash: ADDED.
1726 gnutls_hash_deinit: ADDED.
1727 gnutls_hash_fast: ADDED.
1728 gnutls_hash_get_len: ADDED.
1729 gnutls_hash_init: ADDED.
1730 gnutls_hash_output: ADDED.
1731 gnutls_hmac: ADDED.
1732 gnutls_hmac_deinit: ADDED.
1733 gnutls_hmac_fast: ADDED.
1734 gnutls_hmac_get_len: ADDED.
1735 gnutls_hmac_init: ADDED.
1736 gnutls_hmac_output: ADDED.
1737 gnutls_safe_negotiation_set_initial: ADDED.
1738 gnutls_safe_renegotiation_set: ADDED.
1739 gnutls_safe_renegotiation_status: ADDED.
1741 * Version 2.9.9 (released 2009-11-09)
1743 ** libgnutls: Cleanups and several bug fixes.
1744 Found by Steve Grubb and Tomas Mraz.
1746 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1748 ** Fix --disable-valgrind-tests.
1749 Reported by Ingmar Vanhassel in
1750 <https://savannah.gnu.org/support/?107029>.
1752 ** API and ABI modifications:
1753 No changes since last version.
1755 * Version 2.9.8 (released 2009-11-05)
1757 ** libgnutls: Fix for memory leaks on interrupted handshake.
1758 Reported by Tang Tong.
1760 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
1761 ** extension and certificate verify field.
1762 This requires changes for TLS 1.2 servers and clients that use
1763 callbacks for certificate retrieval.  They are now required to check
1764 with gnutls_sign_algorithm_get_requested() whether the certificate
1765 they send complies with the peer's preferences in signature
1766 algorithms.
1768 ** libgnutls: In server side when resuming a session do not overwrite the 
1769 ** initial session data with the resumed session data.
1771 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
1772 ** encryption.
1773 This affects also PKCS #12 encoded files.  This adds the following new
1774 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
1775 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
1777 ** libgnutls: Fix PKCS#12 encoding.
1778 The error you would get was "The OID is not supported.".  Problem
1779 introduced for the v2.8.x branch in 2.7.6.
1781 ** certtool: Added the --pkcs-cipher option.
1782 To explicitely specify the encryption algorithm to use.
1784 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
1786 ** tests: Fix time bomb in chainverify self-test.
1787 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1788 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
1790 ** tests: Fix expired cert in chainverify self-test.
1792 ** i18n: Vietnamese translation updated.
1793 Thanks to Clytie Siddall.
1795 ** API and ABI modifications:
1796 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
1797 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
1798 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
1799 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
1800 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
1801 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
1802 gnutls_sign_algorithm_get_requested: ADDED.
1804 * Version 2.9.7 (released 2009-10-06)
1806 ** libgnutls: TLS 1.2 server mode fixes.
1807 Now interoperates against Opera.  Contributed by Daiki Ueno.
1809 ** libgnutlsxx: Fix link problems.
1810 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
1812 ** guile: Compatibility with guile 2.x.
1813 By Ludovic Courtes <ludovic.courtes@laas.fr>.
1815 ** API and ABI modifications:
1816 No changes since last version.
1818 * Version 2.9.6 (released 2009-09-22)
1820 ** libgnutls: Enable Camellia ciphers by default.
1822 ** API and ABI modifications:
1823 No changes since last version.
1825 * Version 2.9.5 (released 2009-09-10)
1827 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
1828 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
1829 gnutls_x509_crt_get_issuer_alt_name, and
1830 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
1831 Hards <bradh@frogmouth.net>.
1833 ** API and ABI modifications:
1834 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
1835 gnutls_x509_crt_get_issuer_alt_name: ADDED.
1836 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
1838 * Version 2.9.4 (released 2009-09-03)
1840 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
1841 The new supported ciphersuites are AES-128/256 in CBC mode with
1842 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
1843 SHA-256 is now the preferred default MAC (however it is only used with
1844 TLS 1.2).
1846 ** libgnutls: Make OpenPGP hostname checking work again.
1847 The patch to resolve the X.509 CN/SAN issue accidentally broken
1848 OpenPGP hostname comparison.
1850 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
1851 Reported by Howard Chu <hyc@symas.com> in
1852 <https://savannah.gnu.org/support/?106975>.
1854 ** Fix use of deprecated types internally.
1855 Use of deprecated types in GnuTLS from now on will lead to a compile
1856 error, to prevent this from happening again.
1858 ** API and ABI modifications:
1859 No changes since last version.
1861 * Version 2.9.3 (released 2009-08-19)
1863 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
1864 The new APIs are gnutls_session_ticket_enable_client,
1865 gnutls_session_ticket_enable_server, and
1866 gnutls_session_ticket_key_generate.
1868 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
1870 ** API and ABI modifications:
1871 gnutls_session_ticket_key_generate: ADDED.
1872 gnutls_session_ticket_enable_client: ADDED.
1873 gnutls_session_ticket_enable_server: ADDED.
1875 * Version 2.9.2 (released 2009-08-14)
1877 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
1878 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
1879 into 1) not printing the entire CN/SAN field value when printing a
1880 certificate and 2) cause incorrect positive matches when matching a
1881 hostname against a certificate.  Some CAs apparently have poor
1882 checking of CN/SAN values and issue these (arguable invalid)
1883 certificates.  Combined, this can be used by attackers to become a
1884 MITM on server-authenticated TLS sessions.  The problem is mitigated
1885 since attackers needs to get one certificate per site they want to
1886 attack, and the attacker reveals his tracks by applying for a
1887 certificate at the CA.  It does not apply to client authenticated TLS
1888 sessions.  Research presented independently by Dan Kaminsky and Moxie
1889 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
1890 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
1892 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
1893 The function may fail incorrectly when an earlier certificate was
1894 imported to the same gnutls_x509_crt_t structure.
1896 ** minitasn1: Internal copy updated to libtasn1 v2.3.
1898 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
1899 Before it always returned false.  Reported by Peter Hendrickson
1900 <pdh@wiredyne.com> in
1901 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
1903 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
1904 The error resulted in truncated strings when printing unknown OIDs in
1905 X.509 certificate DNs.  Reported by Tim Kosse
1906 <tim.kosse@filezilla-project.org> in
1907 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1909 ** libgnutls: Fix PKCS#12 decryption from password.
1910 The encryption key derived from the password was incorrect for (on
1911 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
1912 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1913 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1915 ** libgnutls: Return correct bit lengths of some MPIs.
1916 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1917 gnutls_dh_get_peers_public_bits.  Before the reported value was
1918 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
1919 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1921 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1922 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1923 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1925 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1927 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1928 Before we required that the runtime library used the same (or more
1929 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
1930 that the runtime usage is above the minimum required.  Reported by
1931 Marco d'Itri <md@linux.it> via Andreas Metzler
1932 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1934 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
1936 ** tests: Improved test vectors in self-test pkcs12_s2k.
1938 ** tests: Added new self-test dn2 to detect off-by-one size error.
1940 ** tests: Fix failure in "chainverify" because a certificate have expired.
1942 ** API and ABI modifications:
1943 No changes since last version.
1945 * Version 2.9.1 (released 2009-06-08)
1947 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1948 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1949 <http://bugs.gentoo.org/272388>.
1951 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
1953 ** Reduce stack usage for some CRQ functions.
1955 ** Doc fixes for CRQ functions.
1957 ** API and ABI modifications:
1958 No changes since last version.
1960 * Version 2.9.0 (released 2009-05-28)
1962 ** Doc fixes.
1964 ** API and ABI modifications:
1965 No changes since last version.
1967 * Version 2.8.6 (released 2010-03-15)
1969 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
1970 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
1971 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1973 Note: As a side effect of this change, the "public key identifier"
1974 value computed for a certificate using this version of GnuTLS will be
1975 different from values computed using earlier versions of GnuTLS.
1977 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
1978 ** optional SignatureAlgorithm parameter field.
1979 VeriSign rejected these CSRs.  They are stricly speaking not needed
1980 since you need the signer's certificate to verify the certificate
1981 signature anyway.  Reported by Wilankar Trupti
1982 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1984 ** libgnutls: When checking openpgp self signature also check the signatures
1985 ** of all subkeys.
1986 Ilari Liusvaara noticed and reported the issue and provided test
1987 vectors as well.
1989 ** libgnutls: Cleanups and several bug fixes.
1990 Found by Steve Grubb and Tomas Mraz.
1992 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1994 ** Fix --disable-valgrind-tests.
1995 Reported by Ingmar Vanhassel in
1996 <https://savannah.gnu.org/support/?107029>.
1998 ** examples: Use the new APIs for printing X.509 certificate information.
2000 ** Fix build failures on Solaris.
2001 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2003 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2004 ** translations.  Added Simplified Chinese translation.
2006 ** API and ABI modifications:
2007 No changes since last version.
2009 * Version 2.8.5 (released 2009-11-02)
2011 ** libgnutls: In server side when resuming a session do not overwrite the 
2012 ** initial session data with the resumed session data.
2014 ** libgnutls: Fix PKCS#12 encoding.
2015 The error you would get was "The OID is not supported.".  Problem
2016 introduced for the v2.8.x branch in 2.7.6.
2018 ** guile: Compatibility with guile 2.x.
2019 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2021 ** tests: Fix expired cert in chainverify self-test.
2023 ** tests: Fix time bomb in chainverify self-test.
2024 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2025 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2027 ** API and ABI modifications:
2028 No changes since last version.
2030 * Version 2.8.4 (released 2009-09-18)
2032 ** libgnutls: Enable Camellia ciphers by default.
2034 ** libgnutls: Make OpenPGP hostname checking work again.
2035 The patch to resolve the X.509 CN/SAN issue accidentally broken
2036 OpenPGP hostname comparison.
2038 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2039 Reported by Howard Chu <hyc@symas.com> in
2040 <https://savannah.gnu.org/support/?106975>.
2042 ** API and ABI modifications:
2043 No changes since last version.
2045 * Version 2.8.3 (released 2009-08-13)
2047 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2048 Code intended to be removed would lead to an read-out-bound error in
2049 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
2050 code have been allocated for the vulnerability: [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 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2058 ** tests: Made self-test mini-eagain take less time.
2060 ** doc: Typo fixes.
2062 ** API and ABI modifications:
2063 No changes since last version.
2065 * Version 2.8.2 (released 2009-08-10)
2067 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2068 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2069 into 1) not printing the entire CN/SAN field value when printing a
2070 certificate and 2) cause incorrect positive matches when matching a
2071 hostname against a certificate.  Some CAs apparently have poor
2072 checking of CN/SAN values and issue these (arguable invalid)
2073 certificates.  Combined, this can be used by attackers to become a
2074 MITM on server-authenticated TLS sessions.  The problem is mitigated
2075 since attackers needs to get one certificate per site they want to
2076 attack, and the attacker reveals his tracks by applying for a
2077 certificate at the CA.  It does not apply to client authenticated TLS
2078 sessions.  Research presented independently by Dan Kaminsky and Moxie
2079 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
2080 for providing one part of the patch.  [GNUTLS-SA-2009-4].
2082 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2083 Before it always returned false.  Reported by Peter Hendrickson
2084 <pdh@wiredyne.com> in
2085 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2087 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2088 The error resulted in truncated strings when printing unknown OIDs in
2089 X.509 certificate DNs.  Reported by Tim Kosse
2090 <tim.kosse@filezilla-project.org> in
2091 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2093 ** libgnutls: Return correct bit lengths of some MPIs.
2094 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2095 gnutls_dh_get_peers_public_bits.  Before the reported value was
2096 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
2097 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2099 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2100 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2101 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2103 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2105 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2106 Before we required that the runtime library used the same (or more
2107 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
2108 that the runtime usage is above the minimum required.  Reported by
2109 Marco d'Itri <md@linux.it> via Andreas Metzler
2110 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2112 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2114 ** tests: Fix failure in "chainverify" because a certificate have expired.
2116 ** API and ABI modifications:
2117 No changes since last version.
2119 * Version 2.8.1 (released 2009-06-10)
2121 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2122 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2123 <http://bugs.gentoo.org/272388>.
2125 ** libgnutls: Fix PKCS#12 decryption from password.
2126 The encryption key derived from the password was incorrect for (on
2127 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
2128 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2129 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2131 ** API and ABI modifications:
2132 No changes since last version.
2134 * Version 2.8.0 (released 2009-05-27)
2136 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
2138 ** Major changes compared to the v2.4 branch:
2140 *** lib: Linker version scripts reduces number of exported symbols.
2142 *** lib: Limit exported symbols on systems without LD linker scripts.
2144 *** libgnutls: Fix namespace issue with version symbols.
2146 *** libgnutls: Add functions to verify a hash against a certificate.
2147 gnutls_x509_crt_verify_hash: ADDED
2148 gnutls_x509_crt_get_verify_algorithm: ADDED
2150 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2152 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2154 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2156 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2158 *** gnutls-serv: No longer disable MAC padding by default.
2160 *** gnutls-cli: Certificate information output format changed.
2162 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2163 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2165 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2167 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2169 *** libgnutls: gnutls_handshake when sending client hello during a
2170 rehandshake, will not offer a version number larger than the current.
2172 *** libgnutls: New interface to get key id for certificate requests.
2173 gnutls_x509_crq_get_key_id: ADDED.
2175 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
2177 *** certtool: --verify-chain now prints results of using library verification.
2179 *** libgnutls: Libgcrypt initialization changed.
2181 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2183 *** gnutls-cli: Return non-zero exit code on error conditions.
2185 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2187 *** certtool: allow setting arbitrary key purpose object identifiers.
2189 *** libgnutls: Change detection of when to use a linker version script.
2190 Use --enable-ld-version-script or --disable-ld-version-script to
2191 override auto-detection logic.
2193 *** Fix warnings and build GnuTLS with more warnings enabled.
2195 *** New API to set X.509 credentials from PKCS#12 memory structure.
2196 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2198 *** Old libgnutls.m4 and libgnutls-config scripts removed.
2199 Please use pkg-config instead.
2201 *** libgnutls: Added functions to handle CRL extensions.
2202 gnutls_x509_crl_get_authority_key_id: ADDED
2203 gnutls_x509_crl_get_number: ADDED
2204 gnutls_x509_crl_get_extension_oid: ADDED
2205 gnutls_x509_crl_get_extension_info: ADDED
2206 gnutls_x509_crl_get_extension_data: ADDED
2207 gnutls_x509_crl_set_authority_key_id: ADDED
2208 gnutls_x509_crl_set_number: ADDED
2210 *** libgnutls: Added functions to handle X.509 extensions in Certificate
2211 Requests.
2212 gnutls_x509_crq_get_key_rsa_raw: ADDED
2213 gnutls_x509_crq_get_attribute_info: ADDED
2214 gnutls_x509_crq_get_attribute_data: ADDED
2215 gnutls_x509_crq_get_extension_info: ADDED
2216 gnutls_x509_crq_get_extension_data: ADDED
2217 gnutls_x509_crq_get_key_usage: ADDED
2218 gnutls_x509_crq_get_basic_constraints: ADDED
2219 gnutls_x509_crq_get_subject_alt_name: ADDED
2220 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2221 gnutls_x509_crq_get_extension_by_oid: ADDED
2222 gnutls_x509_crq_set_subject_alt_name: ADDED
2223 gnutls_x509_crq_set_basic_constraints: ADDED
2224 gnutls_x509_crq_set_key_usage: ADDED
2225 gnutls_x509_crq_get_key_purpose_oid: ADDED
2226 gnutls_x509_crq_set_key_purpose_oid: ADDED
2227 gnutls_x509_crq_print: ADDED
2228 gnutls_x509_crt_set_crq_extensions: ADDED
2230 *** certtool: Print and set CRL and CRQ extensions.
2232 *** minitasn1: Internal copy updated to libtasn1 v2.1.
2234 *** examples: Now released into the public domain.
2236 *** The Texinfo and GTK-DOC manuals were improved.
2238 *** Several self-tests were added and others improved.
2240 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
2241 No offically supported interfaces have been modified or removed.  The
2242 library should be completely backwards compatible on both the source
2243 and binary level.
2245 The shared library no longer exports some symbols that have never been
2246 officially supported, i.e., not mentioned in any of the header files.
2247 The symbols are:
2249   _gnutls*
2250   gnutls_asn1_tab
2251   
2252 Normally when symbols are removed, the shared library version has to
2253 be incremented.  This leads to a significant cost for everyone using
2254 the library.  Because none of the above symbols have ever been
2255 intended for use by well-behaved applications, we decided that the it
2256 would be better for those applications to pay the price rather than
2257 incurring problems on the majority of applications.
2259 If it turns out that applications have been using unofficial
2260 interfaces, we will need to release a follow-on release on the v2.8
2261 branch to exports additional interfaces.  However, initial testing
2262 suggests that few if any applications have been using any of the
2263 internal symbols.
2265 Although not a new change compared to 2.6.x, we'd like to remind you
2266 interfaces have been modified so that X.509 chain verification now
2267 also checks activation/expiration times on certificates.  The affected
2268 functions are:
2270 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2271 gnutls_certificate_verify_peers: Likewise.
2272 gnutls_certificate_verify_peers2: Likewise.
2273 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2274 GNUTLS_CERT_EXPIRED: ADDED.
2275 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2277 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
2278 we gave our rationale for it in earlier release notes.
2280 The following symbols have been added to the library:
2282 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2283 gnutls_x509_crl_get_authority_key_id: ADDED
2284 gnutls_x509_crl_get_extension_data: ADDED
2285 gnutls_x509_crl_get_extension_info: ADDED
2286 gnutls_x509_crl_get_extension_oid: ADDED
2287 gnutls_x509_crl_get_number: ADDED
2288 gnutls_x509_crl_set_authority_key_id: ADDED
2289 gnutls_x509_crl_set_number: ADDED
2290 gnutls_x509_crq_get_attribute_data: ADDED
2291 gnutls_x509_crq_get_attribute_info: ADDED
2292 gnutls_x509_crq_get_basic_constraints: ADDED
2293 gnutls_x509_crq_get_extension_by_oid: ADDED
2294 gnutls_x509_crq_get_extension_data: ADDED
2295 gnutls_x509_crq_get_extension_info: ADDED
2296 gnutls_x509_crq_get_key_id: ADDED.
2297 gnutls_x509_crq_get_key_purpose_oid: ADDED
2298 gnutls_x509_crq_get_key_rsa_raw: ADDED
2299 gnutls_x509_crq_get_key_usage: ADDED
2300 gnutls_x509_crq_get_subject_alt_name: ADDED
2301 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2302 gnutls_x509_crq_print: ADDED
2303 gnutls_x509_crq_set_basic_constraints: ADDED
2304 gnutls_x509_crq_set_key_purpose_oid: ADDED
2305 gnutls_x509_crq_set_key_usage: ADDED
2306 gnutls_x509_crq_set_subject_alt_name: ADDED
2307 gnutls_x509_crt_get_verify_algorithm: ADDED
2308 gnutls_x509_crt_set_crq_extensions: ADDED
2309 gnutls_x509_crt_verify_hash: ADDED
2311 The following interfaces have been added to the header files:
2313 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2314 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2315 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2316 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2317 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2318 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2320 The following interfaces have been deprecated:
2322 LIBGNUTLS_VERSION: DEPRECATED.
2323 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2324 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2325 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2326 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2327 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2329 * Version 2.7.14 (released 2009-05-26)
2331 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
2332 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
2333 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
2334 deprecated.
2336 ** Doc: Several typo fixes in documentation.
2337 Reported by Peter Hendrickson <pdh@wiredyne.com>.
2339 ** API and ABI modifications:
2340 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2341 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2343 * Version 2.7.13 (released 2009-05-25)
2345 ** libgnutls: Fix version of some exported symbols in the shared library.
2346 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2347 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
2349 ** tests: Handle recently expired certificates in chainverify self-test.
2350 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2351 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
2353 ** API and ABI modifications:
2354 No changes since last version.
2356 * Version 2.7.12 (released 2009-05-20)
2358 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
2360 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
2361 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2362 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
2364 ** Fix build failures.
2365 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
2366 G. Christensen" <tgc@jupiterrise.com> in
2367 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
2369 ** minitasn1: Internal copy updated to libtasn1 v2.2.
2370 GnuTLS should work fine with libtasn1 v1.x and that is still
2371 supported.
2373 ** API and ABI modifications:
2374 No changes since last version.
2376 * Version 2.7.11 (released 2009-05-18)
2378 ** minitasn1: Fix build failure when using internal libtasn1.
2379 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2380 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
2382 ** libgnutls: Fix build failure with --disable-cxx.
2383 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2384 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
2386 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
2387 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2388 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
2390 ** Building with many warning flags now requires --enable-gcc-warnings.
2391 This avoids crying wolf for normal compiles.
2393 ** API and ABI modifications:
2394 No changes since last version.
2396 * Version 2.7.10 (released 2009-05-13)
2398 ** examples: Now released into the public domain.
2399 This makes the license of the example code compatible with more
2400 licenses, including the (L)GPL.
2402 ** minitasn1: Internal copy updated to libtasn1 v2.1.
2403 GnuTLS should work fine with libtasn1 v1.x and that is still
2404 supported.
2406 ** libgnutls: Fix crash in signature verification
2407 The fix for the CVE-2009-1415 problem wasn't merged completely.
2409 ** doc: Fixes for GTK-DOC output.
2411 ** API and ABI modifications:
2412 No changes since last version.
2414 * Version 2.7.9 (released 2009-05-11)
2416 ** doc: Fix strings in man page of gnutls_priority_init.
2418 ** doc: Fix tables of error codes and supported algorithms.
2420 ** Fix build failure when cross-compiled using MinGW.
2422 ** Fix build failure when LZO is enabled.
2423 Reported by Arfrever Frehtes Taifersar Arahesis
2424 <arfrever.fta@gmail.com> in
2425 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
2427 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
2428 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2429 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
2431 ** Fix warnings in self-tests.
2433 ** API and ABI modifications:
2434 No changes since last version.
2436 * Version 2.7.8 (released 2009-05-03)
2438 ** libgnutls: Fix DSA key generation.
2439 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2441 ** libgnutls: Check expiration/activation time on untrusted certificates.
2442 Merged from stable branch.  Reported by Romain Francoise
2443 <romain@orebokech.com>.  This changes the semantics of
2444 gnutls_x509_crt_list_verify, which in turn is used by
2445 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
2446 We add two new gnutls_certificate_status_t codes for reporting the new
2447 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
2448 We also add a new gnutls_certificate_verify_flags flag,
2449 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2450 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
2452 ** lib: Linker version scripts reduces number of exported symbols.
2453 The linker version script now lists all exported ABIs explicitly, to
2454 avoid accidentally exporting unintended functions.  Compared to
2455 before, most symbols beginning with _gnutls* are no longer exported.
2456 These functions have never been intended for use by applications, and
2457 there were no prototypes for these function in the public header
2458 files.  Thus we believe it is possible to do this without incrementing
2459 the library ABI version which normally has to be done when removing an
2460 interface.
2462 ** lib: Limit exported symbols on systems without LD linker scripts.
2463 Before all symbols were exported.  Now we limit the exported symbols
2464 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
2465 _gnutls*.  This is a superset of the actual supported ABI, but still
2466 an improvement compared to before.  This is implemented using Libtool
2467 -export-symbols-regex.  It is more portable than linker version
2468 scripts.
2470 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
2471 This should have been done in the last release.
2473 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2474 Reported by Peter Hendrickson <pdh@wiredyne.com> in
2475 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
2477 ** doc: Improved sections for the info manual.
2478 We now follow the advice given by the texinfo manual on which
2479 directory categories to use.  In particular, libgnutls moved from the
2480 'GNU Libraries' section to the 'Software libraries' and the command
2481 line tools moved from 'Network Applications' to 'System
2482 Administration'.
2484 ** API and ABI modifications:
2485 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2486 gnutls_certificate_verify_peers: Likewise.
2487 gnutls_certificate_verify_peers2: Likewise.
2488 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2489 GNUTLS_CERT_EXPIRED: ADDED.
2490 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2492 * Version 2.7.7 (released 2009-04-20)
2494 ** libgnutls: Applied patch by Cedric Bail to add functions
2495 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
2497 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
2498 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2499 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
2501 ** minitasn1: Internal copy updated to libtasn1 v1.8.
2502 GnuTLS is also internally ready to be used with libtasn1 v2.0.
2504 ** doc: Fix build failure of errcodes/printlist.
2505 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2506 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
2508 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2509 It is currently only used by the core library.  This will enable a new
2510 domain 'gnutls' for translations of the command line tools.
2512 ** Corrected possible memory corruption on signature verification failure. 
2513 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
2515 ** API and ABI modifications:
2516 gnutls_x509_crt_verify_hash: ADDED
2517 gnutls_x509_crt_get_verify_algorithm: ADDED
2519 * Version 2.7.6 (released 2009-02-27)
2521 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2522 This applies both to generating certificates and certificate requests.
2524 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
2526 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2527 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
2528 be used for chain verification.
2530 ** gnutls-serv: No longer disable MAC padding by default.
2531 Use --priority NORMAL:%COMPAT to disable MAC padding again.
2533 ** gnutls-cli: Certificate information output format changed.
2534 The tool now uses libgnutls' functions to print certificate
2535 information.  This avoids code duplication.
2537 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2538 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2539 They can be used to override the default certificate chain validation
2540 behaviour.
2542 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
2543 specify the client hello message record version. Used to overcome buggy 
2544 TLS servers. Report by Martin von Gagern.
2546 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2548 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2550 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
2552 ** API and ABI modifications:
2553 No changes since last version.
2555 * Version 2.7.5 (released 2009-02-06)
2557 ** libgnutls: Accept chains where intermediary certs are trusted.
2558 Before GnuTLS needed to validate the entire chain back to a
2559 self-signed certificate.  GnuTLS will now stop looking when it has
2560 found an intermediary trusted certificate.  The new behaviour is
2561 useful when chains, for example, contains a top-level CA, an
2562 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2563 To avoid chain validation errors due to the RSA-MD5 cert, you can
2564 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2565 The signature on trusted certificates are not checked, so the chain
2566 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2567 <deengert@anl.gov> in
2568 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2570 ** libgnutls: result_size in gnutls_hex_encode now holds
2571 the size of the result. Report by John Brooks <special@dereferenced.net>.
2573 ** libgnutls: gnutls_handshake when sending client hello during a
2574 rehandshake, will not offer a version number larger than the current.
2575 Reported by Tristan Hill <stan@saticed.me.uk>.
2577 ** libgnutls: Permit V1 Certificate Authorities properly.
2578 Before they were mistakenly rejected even though
2579 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2580 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2581 "Douglas E. Engert" <deengert@anl.gov> in
2582 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2584 ** API and ABI modifications:
2585 No changes since last version.
2587 * Version 2.7.4 (released 2009-01-07)
2589 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2590 This is a bugfix -- the previous attempt to do this from internal x509
2591 certificate verification procedures did not return the correct value
2592 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2593 <dkg@fifthhorseman.net> in
2594 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2595 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2596 Gillmor <dkg@fifthhorseman.net>.
2598 ** libgnutls: New interface to get key id for certificate requests.
2599 Patch from David Marín Carreño <davefx@gmail.com> in
2600 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
2602 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
2604 ** certtool: --verify-chain now prints results of using library verification.
2605 Earlier, certtool --verify-chain used its own validation algorithm
2606 which wasn't guaranteed to give the same result as the libgnutls
2607 internal validation algorithm.  Now this command print a new final
2608 line with header 'Chain verification output:' that contains the result
2609 from using the internal verification algorithm on the same chain.
2611 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
2613 ** API and ABI modifications:
2614 gnutls_x509_crq_get_key_id: ADDED.
2616 * Version 2.7.3 (released 2008-12-10)
2618 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2619 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2620 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2621 Andreas Metzler <ametzler@downhill.at.eu.org> in
2622 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2624 ** libgnutls: Libgcrypt initialization changed.
2625 If libgcrypt has not already been initialized, GnuTLS will now
2626 initialize libgcrypt with disabled secure memory.  Initialize
2627 libgcrypt explicitly in your application if you want to enable secure
2628 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
2629 allocation functions, which doesn't use secure memory, so there is no
2630 real change in behaviour.
2632 ** libgnutls: Fix memory leak in PSK authentication.
2633 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2634 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2636 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2638 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2639 It needs to be invoked before libgcrypt is initialized.
2641 ** gnutls-cli: Return non-zero exit code on error conditions.
2643 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2645 ** tests: Added chainverify self-test that tests X.509 chain verifications.
2647 ** API and ABI modifications:
2648 No changes since last version.
2650 * Version 2.7.2 (released 2008-11-18)
2652 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2653 The flaw makes it possible for man in the middle attackers (i.e.,
2654 active attackers) to assume any name and trick GnuTLS clients into
2655 trusting that name.  Thanks for report and analysis from Martin von
2656 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2658 Any updates with more details about this vulnerability will be added
2659 to <http://www.gnu.org/software/gnutls/security.html>
2661 ** libgnutls: Fix namespace issue with version symbols.
2662 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
2663 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
2664 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
2665 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
2666 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
2667 work but are deprecated.
2669 ** certtool: allow setting arbitrary key purpose object identifiers.
2671 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
2673 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2674 Reported by Kevin Quick <quick@sparq.org> in
2675 <https://savannah.gnu.org/support/index.php?106454>.
2677 ** libgnutls-extra: Make building with LZO compression work again.
2678 Build failure reported by Arfrever Frehtes Taifersar Arahesis
2679 <arfrever.fta@gmail.com> in
2680 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
2682 ** libgnutls: Change detection of when to use a linker version script.
2683 Use --enable-ld-version-script or --disable-ld-version-script to
2684 override auto-detection logic.
2686 ** doc: Change license on the manual to GFDLv1.3+.
2688 ** doc: GTK-DOC fixes for new splitted configuration system.
2690 ** doc: Texinfo stylesheet uses white background.
2692 ** tests: Add cve-2008-4989.c self-test.
2693 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
2694 follow-on problem with crashes on length 1 certificate chains.
2696 ** gnulib: Deprecated modules removed.
2697 Modules include memchr and memcmp.
2699 ** Fix warnings and build GnuTLS with more warnings enabled.
2701 ** minitasn1: Internal copy updated to libtasn1 v1.7.
2703 ** API and ABI modifications:
2704 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2705 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2706 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2707 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2708 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2709 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2710 LIBGNUTLS_VERSION: DEPRECATED.
2711 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2712 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2713 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2714 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2716 * Version 2.7.1 (released 2008-10-31)
2718 ** certtool: print a PKCS #8 key even if it is not encrypted.
2720 ** Old libgnutls.m4 and libgnutls-config scripts removed.
2721 Please use pkg-config instead.
2723 ** Configuration system modified.
2724 There is now a configure script in lib/ and libextra/ as well, because
2725 gnulib works better with a config.h per gnulib directory.
2727 ** API and ABI modifications:
2728 No changes since last version.
2730 * Version 2.7.0 (released 2008-10-16)
2732 ** libgnutls: Added functions to handle CRL extensions.
2734 ** libgnutls: Added functions to handle X.509 extensions in Certificate
2735 Requests.
2737 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
2738 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
2740 ** certtool: Print and set CRL and CRQ extensions.
2742 ** libgnutls-extra: Protect internal symbols with static.
2743 Fixes problem when linking certtool statically.  Tiny patch from Aaron
2744 Ucko <ucko@ncbi.nlm.nih.gov>.
2746 ** libgnutls-openssl: fix out of bounds access.
2747 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
2748 from Thomas Viehmann <tv@beamnet.de>.
2750 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
2752 ** tests: Make tests compile when using internal libtasn1.
2753 Patch by ludo@gnu.org (Ludovic Courtès).
2755 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
2756 We now require a libgcrypt that has Camellia constants declared in
2757 gcrypt.h, which means v1.3.0 or later.
2759 ** API and ABI modifications:
2760 gnutls_x509_crl_get_authority_key_id: ADDED
2761 gnutls_x509_crl_get_number: ADDED
2762 gnutls_x509_crl_get_extension_oid: ADDED
2763 gnutls_x509_crl_get_extension_info: ADDED
2764 gnutls_x509_crl_get_extension_data: ADDED
2765 gnutls_x509_crl_set_authority_key_id: ADDED
2766 gnutls_x509_crl_set_number: ADDED
2767 gnutls_x509_crq_get_key_rsa_raw: ADDED
2768 gnutls_x509_crq_get_attribute_info: ADDED
2769 gnutls_x509_crq_get_attribute_data: ADDED
2770 gnutls_x509_crq_get_extension_info: ADDED
2771 gnutls_x509_crq_get_extension_data: ADDED
2772 gnutls_x509_crq_get_key_usage: ADDED
2773 gnutls_x509_crq_get_basic_constraints: ADDED
2774 gnutls_x509_crq_get_subject_alt_name: ADDED
2775 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2776 gnutls_x509_crq_get_extension_by_oid: ADDED
2777 gnutls_x509_crq_set_subject_alt_name: ADDED
2778 gnutls_x509_crq_set_basic_constraints: ADDED
2779 gnutls_x509_crq_set_key_usage: ADDED
2780 gnutls_x509_crq_get_key_purpose_oid: ADDED
2781 gnutls_x509_crq_set_key_purpose_oid: ADDED
2782 gnutls_x509_crq_print: ADDED
2783 gnutls_x509_crt_set_crq_extensions: ADDED
2785 * Version 2.6.6 (released 2009-04-30)
2787 ** libgnutls: Corrected double free on signature verification failure.
2788 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
2789 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
2791 ** libgnutls: Fix DSA key generation.
2792 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
2793 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
2794 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2796 ** libgnutls: Check expiration/activation time on untrusted certificates.
2797 Reported by Romain Francoise <romain@orebokech.com>.  Before the
2798 library did not check activation/expiration times on certificates, and
2799 was documented as not doing so.  We have realized that many
2800 applications that use libgnutls, including gnutls-cli, fail to perform
2801 proper checks.  Implementing similar logic in all applications leads
2802 to code duplication.  Hence, we decided to check whether the current
2803 time (as reported by the time function) is within the
2804 activation/expiration period of certificates when verifying untrusted
2805 certificates.
2807 This changes the semantics of gnutls_x509_crt_list_verify, which in
2808 turn is used by gnutls_certificate_verify_peers and
2809 gnutls_certificate_verify_peers2.  We add two new
2810 gnutls_certificate_status_t codes for reporting the new error
2811 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
2812 add a new gnutls_certificate_verify_flags flag,
2813 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2814 behaviour.
2816 More details about the vulnerabilities will be posted at
2817 <http://www.gnu.org/software/gnutls/security.html>.
2819 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
2820 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
2821 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
2823 ** tests: Fix linking of tests/openpgp/keyring self-test.
2824 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
2826 ** API and ABI modifications:
2827 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2828 gnutls_certificate_verify_peers: Likewise.
2829 gnutls_certificate_verify_peers2: Likewise.
2830 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2831 GNUTLS_CERT_EXPIRED: ADDED.
2832 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2834 * Version 2.6.5 (released 2009-04-11)
2836 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
2837 specify the client hello message record version. Used to overcome buggy
2838 TLS servers. Report by Martin von Gagern.
2840 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
2841 Libtasn1 0.3.4 or later is required.  This is to align with the
2842 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
2844 ** API and ABI modifications:
2845 No changes since last version.
2847 * Version 2.6.4 (released 2009-02-06)
2849 ** libgnutls: Accept chains where intermediary certs are trusted.
2850 Before GnuTLS needed to validate the entire chain back to a
2851 self-signed certificate.  GnuTLS will now stop looking when it has
2852 found an intermediary trusted certificate.  The new behaviour is
2853 useful when chains, for example, contains a top-level CA, an
2854 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2855 To avoid chain validation errors due to the RSA-MD5 cert, you can
2856 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2857 The signature on trusted certificates are not checked, so the chain
2858 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2859 <deengert@anl.gov> in
2860 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2862 ** libgnutls: result_size in gnutls_hex_encode now holds
2863 the size of the result. Report by John Brooks <special@dereferenced.net>.
2865 ** libgnutls: gnutls_handshake when sending client hello during a
2866 rehandshake, will not offer a version number larger than the current.
2867 Reported by Tristan Hill <stan@saticed.me.uk>.
2869 ** libgnutls: Permit V1 Certificate Authorities properly.
2870 Before they were mistakenly rejected even though
2871 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2872 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2873 "Douglas E. Engert" <deengert@anl.gov> in
2874 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2876 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2877 This is a bugfix -- the previous attempt to do this from internal x509
2878 certificate verification procedures did not return the correct value
2879 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2880 <dkg@fifthhorseman.net> in
2881 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2882 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2883 Gillmor <dkg@fifthhorseman.net>.
2885 ** libgnutls: Fix compile error with Sun CC.
2886 Reported by Jeff Cai <jeff.cai@sun.com> in
2887 <https://savannah.gnu.org/support/?106549>.
2889 ** API and ABI modifications:
2890 No changes since last version.
2892 * Version 2.6.3 (released 2008-12-12)
2894 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2895 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2896 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2897 Andreas Metzler <ametzler@downhill.at.eu.org> in
2898 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2900 ** libgnutls: Fix memory leak in PSK authentication.
2901 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2902 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2904 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2905 It needs to be invoked before libgcrypt is initialized.
2907 ** gnutls-cli: Return non-zero exit code on error conditions.
2909 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2911 ** API and ABI modifications:
2912 No changes since last version.
2914 * Version 2.6.2 (released 2008-11-12)
2916 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2917 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2918 problem for certificate chains that contained just one self-signed
2919 certificate.  Reported by Michael Meskes <meskes@debian.org> in
2920 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2922 ** API and ABI modifications:
2923 No changes since last version.
2925 * Version 2.6.1 (released 2008-11-10)
2927 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2928 The flaw makes it possible for man in the middle attackers (i.e.,
2929 active attackers) to assume any name and trick GnuTLS clients into
2930 trusting that name.  Thanks for report and analysis from Martin von
2931 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2933 Any updates with more details about this vulnerability will be added
2934 to <http://www.gnu.org/software/gnutls/security.html>
2936 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2937 Reported by Kevin Quick <quick@sparq.org> in
2938 <https://savannah.gnu.org/support/index.php?106454>.
2940 ** libgnutls-extra: Protect internal symbols with static.
2941 Fixes problem when linking certtool statically.  Tiny patch from Aaron
2942 Ucko <ucko@ncbi.nlm.nih.gov>.
2944 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
2945 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
2946 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
2948 ** certtool: Print a PKCS #8 key even if it is not encrypted.
2950 ** tests: Make tests compile when using internal libtasn1.
2951 Patch by ludo@gnu.org (Ludovic Courtès).
2953 ** API and ABI modifications:
2954 No changes since last version.
2956 * Version 2.6.0 (released 2008-10-06)
2958 ** libgnutls: Correct printing and parsing of IPv6 addresses.
2960 ** libgnutls-openssl: fix out of bounds access.
2961 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
2962 from Thomas Viehmann <tv@beamnet.de>.
2964 ** certtool: Use inet_pton for parsing IPv6 addresses.
2966 ** Major changes compared to the v2.4 branch:
2968 *** Added API to replace and update the crypto backend.
2970 *** certtool: can add several subject alternative names via template file.
2972 *** opencdk: Parse (but not decrypt) encrypted secret keys.
2974 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2975 either set or append alternative names. It can also handle binary structures
2976 such as IP addresses.
2978 *** libgnutls: New function to set minimum acceptable SRP bits.
2979 The function is gnutls_srp_set_prime_bits.
2981 *** libgnutls: Add interface to deal with public key and signature algorithms.
2982 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2983 gnutls_sign_list, and gnutls_sign_get_id.
2985 *** libgnutls: New interfaces to get name of public key and signing algorithms.
2986 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2988 *** libgnutls: New API to get a string corresponding to a error symbol.
2989 The function is gnutls_strerror_name.
2991 *** libgnutls: New API to set the public parameters in a certificate request
2992 *** from a private key.
2993 The function is gnutls_x509_crq_set_key_rsa_raw.
2995 *** libgnutls: New API to set a callback to extract TLS Finished data.
2996 The function to register is gnutls_session_set_finished_function and
2997 it takes a callback of the gnutls_finished_callback_func type.
2999 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
3001 *** libgnutls: New interface to register a new TLS extension handler.
3002 The new function gnutls_ext_register can be used to register handlers
3003 for specific TLS extension types.  The callback functions have the new
3004 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
3005 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
3006 well.
3008 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
3009 The function is gnutls_register_md5_handler.  When libgcrypt is in
3010 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
3011 the PRF.
3013 *** API/ABI changes in GnuTLS 2.6
3014 No functions have been removed or modified.  The library should be
3015 fully backwards compatible on both the source and binary level.
3017 A new header file <gnutls/crypto.h> have been added.  It contains
3018 definitions related to replacing the internal crypto functionality.
3019 All definitions and the header itself is experimental but supported.
3021 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
3022 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
3023 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
3025 The following functions have been added to libgnutls:
3027 GNUTLS_MASTER_SIZE
3028 GNUTLS_RANDOM_SIZE
3029 gnutls_crypto_bigint_register2
3030 gnutls_crypto_cipher_register2
3031 gnutls_crypto_digest_register2
3032 gnutls_crypto_mac_register2
3033 gnutls_crypto_pk_register2
3034 gnutls_crypto_rnd_register2
3035 gnutls_crypto_single_cipher_register2
3036 gnutls_crypto_single_digest_register2
3037 gnutls_crypto_single_mac_register2
3038 gnutls_ext_register
3039 gnutls_pk_get_id
3040 gnutls_pk_get_name
3041 gnutls_pk_list
3042 gnutls_session_set_finished_function
3043 gnutls_sign_get_id
3044 gnutls_sign_get_name
3045 gnutls_sign_list
3046 gnutls_srp_set_prime_bits:
3047 gnutls_strerror_name
3048 gnutls_x509_crq_set_key_rsa_raw
3049 gnutls_x509_crt_set_crl_dist_points2
3050 gnutls_x509_crt_set_subject_alt_name
3052 The following functions have been added to libgnutls-extra:
3054 gnutls_register_md5_handler
3056 ** API and ABI modifications:
3057 No changes since last version.
3059 * Version 2.5.9 (released 2008-09-29)
3061 ** libgnutls: Fix several memory leaks.
3062 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
3064 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
3065 Report and patch by Jonathan Manktelow.
3067 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
3068 The parameters are now allocated in the structure itself.
3070 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
3072 ** tests: Scripts now use EXEEXT properly.
3073 Modern libtool doesn't create wrapper script, so the self tests need
3074 to invoke certtool.exe under MinGW32+Wine.
3076 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
3077 Automake warnings are now also enabled.
3079 ** API and ABI modifications:
3080 gnutls_pk_params_st: MODIFIED
3082 * Version 2.5.8 (released 2008-09-21)
3084 ** certtool: updated so it can add several subject alternative names using
3085 the template file.
3087 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
3088 either set or append alternative names. It can also handle binary structures
3089 such as IP addresses.
3091 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
3093 ** libgnutls: New function to set minimum acceptable SRP bits.
3094 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
3095 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
3097 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
3098 Also fix overflows in calls to those functions.  Reported by Werner
3099 Koch <wk@gnupg.org>.
3101 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
3102 The function is gnutls_register_md5_handler.  When libgcrypt is in
3103 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
3104 the PRF.
3106 ** Opencdk: Add calls to gnutls_assert to ease debugging.
3108 ** Indent code.
3110 ** API and ABI modifications:
3111 gnutls_srp_set_prime_bits: ADDED
3112 gnutls_register_md5_handler: ADDED
3113 gnutls_x509_crt_set_crl_dist_points2: ADDED
3114 gnutls_x509_crt_set_subject_alt_name: ADDED
3116 * Version 2.5.7 (released 2008-09-16)
3118 ** libgnutls: New interfaces to get name of public key and signing algorithms.
3119 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
3121 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
3123 ** libgnutls: Fix libgnutls shared library version.
3124 It wasn't properly incremented after adding symbols in the last
3125 release.
3127 ** manual: Now mention supported public key and public key signing algorithms.
3129 ** tests/openssl: initialize gnutls before use.
3131 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
3133 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
3135 ** API and ABI modifications:
3136 gnutls_sign_get_name: ADDED
3137 gnutls_pk_get_name: ADDED
3139 * Version 2.5.6 (released 2008-09-08)
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.  Suggested by Sam
3144 Varshavchik <mrsam@courier-mta.com>.
3146 ** libgnutls: Refactor and clean up some code.
3148 ** libgnutls: Fix compile error with Sun CC.
3150 ** gnutls-cli: Improve --list output to include public key and signature algs.
3152 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
3153 Use standard --version to get license info.
3155 ** gnutls-cli.1: Document all new parameters.
3156 Thanks to James Westby <jw+debian@jameswestby.net>.
3158 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
3159 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3161 ** API and ABI modifications:
3162 gnutls_pk_list: ADDED
3163 gnutls_pk_get_id: ADDED
3164 gnutls_sign_list: ADDED
3165 gnutls_sign_get_id: ADDED
3167 * Version 2.5.5 (released 2008-08-29)
3169 ** libgnutls: New API to get a string corresponding to a error symbol.
3170 The function is gnutls_strerror_name.
3172 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
3173 Reported by "jth.net ApS" <info@jth.net>.
3175 ** libgnutls: Fix segmentation fault when generating private keys.
3176 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3178 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
3179 The code has not worked since v0.9.0 and apparently nobody has missed
3180 it, so we decided to remove the code rather than fix it.  If you have
3181 old certificate chains stored in PKCS#7 format, you can convert them
3182 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
3183 by Christian Grothoff <christian@grothoff.org>.
3185 ** opencdk: Parse (but not decrypt) encrypted secret keys.
3186 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3188 ** libgnutls: Fix many warnings.
3190 ** Included copy of libtasn1 is upgraded to version 1.5.
3192 ** Add French translation, thanks to Nicolas Provost.
3194 ** API and ABI modifications:
3195 gnutls_strerror_name: ADDED
3197 * Version 2.5.4 (released 2008-08-19)
3199 ** Fix secure memory initialization of libgcrypt.
3200 Reported by Joe Orton <joe@manyfish.co.uk> in
3201 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
3203 ** Doc fixes.
3204 Reference to NIST SP 800-57 in the manual on key size recommendations.
3205 Added 'Since:' tags to new APIs for gtk-doc.
3207 ** API and ABI modifications:
3208 No changes since last version.
3210 * Version 2.5.3 (released 2008-08-14)
3212 ** libgnutls: New API to set the public parameters in a certificate request
3213 ** from a private key.
3214 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
3215 discussion with "Zach C." <fxchip@gmail.com>.
3217 ** libgnutls: New API to set a callback to extract TLS Finished data.
3218 The function to register is gnutls_session_set_finished_function and
3219 it takes a callback of the gnutls_finished_callback_func type.
3221 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
3222 Reported in <https://savannah.gnu.org/support/?106453>.
3224 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
3225 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
3226 names are mapped to the new names in compat.h.  These mappings will
3227 likely be removed more quickly than other mappings in that file due to
3228 the namespace violation.
3230 ** libgnutlsxx: Make it build when SRP is disabled.
3232 ** doc: Add doxygen files in doc/doxygen/.
3234 ** API and ABI modifications:
3235 gnutls_x509_crq_set_key_rsa_raw: ADDED
3236 gnutls_session_set_finished_function: ADDED
3237 gnutls_finished_callback_func: ADDED
3238 GNUTLS_MASTER_SIZE: ADDED
3239 GNUTLS_RANDOM_SIZE: ADDED
3240 TLS_MASTER_SIZE: DEPRECATED
3241 TLS_RANDOM_SIZE: DEPRECATED
3243 * Version 2.5.2 (released 2008-07-08)
3245 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
3246 The prime and generator was swapped.
3248 ** libgnutls: New interface to register a new TLS extension handler.
3249 The new function gnutls_ext_register can be used to register handlers
3250 for specific TLS extension types.  The callback functions have the new
3251 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
3252 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
3253 well.
3255 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
3256 This was made possible by using the new gnutls_ext_register interface.
3257 The TLS/IA functionality has only been supported through the
3258 libgnutls-extra library, so it makes sense for the code to belong
3259 there too.
3261 ** API and ABI modifications:
3262 gnutls_ext_recv_func: ADDED
3263 gnutls_ext_send_func: ADDED
3264 gnutls_ext_parse_type_t: ADDED
3265 gnutls_ext_register: ADDED
3267 * Version 2.5.1 (released 2008-07-02)
3269 ** Indent code.
3271 ** API and ABI modifications:
3272 No changes since last version.
3274 * Version 2.5.0 (released 2008-07-02)
3276 ** Port fixes from v2.4.1 release, see below.
3278 ** Added API to replace and update the crypto backend.
3279 The header gnutls/crypto.h is now officially supported, and declares
3280 the symbols below.
3282 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
3284 ** Update gnulib and translations.
3285 The gnulib gc crypto code has been removed since it was never finished
3286 and is no longer even used.  An internal non-libgcrypt crypto
3287 implementation may be added in the future, but we'll decide that later
3290 ** API and ABI modifications:
3291 gnutls_crypto_bigint_register2: ADDED.
3292 gnutls_crypto_cipher_register2: ADDED.
3293 gnutls_crypto_digest_register2: ADDED.
3294 gnutls_crypto_mac_register2: ADDED.
3295 gnutls_crypto_pk_register2: ADDED.
3296 gnutls_crypto_rnd_register2: ADDED.
3297 gnutls_crypto_single_cipher_register2: ADDED.
3298 gnutls_crypto_single_digest_register2: ADDED.
3299 gnutls_crypto_single_mac_register2: ADDED.
3301 * Version 2.4.3 (released 2009-02-06)
3303 ** libgnutls: Accept chains where intermediary certs are trusted.
3304 Before GnuTLS needed to validate the entire chain back to a
3305 self-signed certificate.  GnuTLS will now stop looking when it has
3306 found an intermediary trusted certificate.  The new behaviour is
3307 useful when chains, for example, contains a top-level CA, an
3308 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3309 To avoid chain validation errors due to the RSA-MD5 cert, you can
3310 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3311 The signature on trusted certificates are not checked, so the chain
3312 has a chance to validate correctly.  Reported by "Douglas E. Engert"
3313 <deengert@anl.gov> in
3314 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3316 ** libgnutls: Permit V1 Certificate Authorities properly.
3317 Before they were mistakenly rejected even though
3318 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3319 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
3320 "Douglas E. Engert" <deengert@anl.gov> in
3321 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3323 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3324 This is a bugfix -- the previous attempt to do this from internal x509
3325 certificate verification procedures did not return the correct value
3326 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
3327 <dkg@fifthhorseman.net> in
3328 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3329 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3330 Gillmor <dkg@fifthhorseman.net>.
3332 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3333 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3334 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3335 Andreas Metzler <ametzler@downhill.at.eu.org> in
3336 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3338 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3339 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3340 problem for certificate chains that contained just one self-signed
3341 certificate.  Reported by Michael Meskes <meskes@debian.org> in
3342 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3344 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3345 The flaw makes it possible for man in the middle attackers (i.e.,
3346 active attackers) to assume any name and trick GnuTLS clients into
3347 trusting that name.  Thanks for report and analysis from Martin von
3348 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
3350 Any updates with more details about this vulnerability will be added
3351 to <http://www.gnu.org/software/gnutls/security.html>
3353 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
3354 Report and patch by Jonathan Manktelow.
3356 ** libgnutls: Avoid use of non-thread safe strerror.
3358 ** API and ABI modifications:
3359 No changes since last version.
3361 * Version 2.4.2 (released 2008-09-15)
3363 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
3365 ** libgnutls: Corrected memory leak in X.509 functions.
3366 Thanks to Colin Leroy <colin@colino.net>.
3368 ** libgnutls: Fix compile error with Sun CC.
3370 ** gnutls-cli.1: Document all new parameters.
3371 Thanks to James Westby <jw+debian@jameswestby.net>.
3373 ** tests/openssl: initialize gnutls before use.
3374 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
3375 <ludovic.courtes@laas.fr>.
3377 ** doc/: Fix texinfo markup for old texinfo versions.
3379 ** Included copy of libtasn1 is upgraded to version 1.5.
3381 ** API and ABI modifications:
3382 No changes since last version.
3384 * Version 2.4.1 (released 2008-06-30)
3386 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
3387 If the gnutls_handshake function is called for a normal session, which
3388 can happen for re-handshakes, the library would crash because it tried
3389 to hash some data using a libgcrypt handle that had been deallocated.
3390 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
3391 with more details about this vulnerability will be added to
3392 <http://www.gnu.org/software/gnutls/security.html>
3394 ** libgnutls: Fix memory leaks when doing a re-handshake.
3395 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
3396 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
3398 ** Fix compiler warnings.
3399 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3400 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
3402 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
3403 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3404 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
3406 ** srptool: Fix a problem where --verify check does not succeed.
3407 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
3408 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
3410 ** API and ABI modifications:
3411 No changes since last version.
3413 * Version 2.4.0 (released 2008-06-19)
3415 ** Major changes compared to the v2.2 branch:
3417 *** The OpenPGP sub-system has been improved and now supports subkeys.
3419 *** The PSK sub-system has been improved and now supports password
3420 *** derivation and PSK identity hints.
3421 The password derivation algorithms support is documented in
3422 draft-ietf-netconf-tls-02.txt.
3424 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
3425 This aligns terminology with OpenPGP, which doesn't use DER encoding.
3426 The old parameters will continue to work for some time.
3428 *** Certtool now confirm passwords and changes permissions of private key files.
3430 *** The default handshake size limit has been increased to 48kb.
3431 It appears as if some valid handshakes are large due to sending many
3432 CA certificates.  (The earlier limit was 16kb.)
3434 *** LZO compression is now disabled by default.
3435 The main reason is that LZO compression in TLS is not standardized,
3436 but license compatiblity issues with minilzo triggered us to make this
3437 decision now.
3439 *** Improvements for cross-compilation to Windows and OpenWRT.
3441 *** The look of the GTK-DOC manual has been improved.
3442 Major developer visible changes compared to the v2.2 branch:
3444 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
3446 *** New APIs to access the raw X.509 Subject and Issuer DN's and
3447 *** elements from the certificate credentials structure.
3448 Thanks to Joe Orton.
3450 *** New APIs to improve working with username/passwords and PSK.
3452 *** Names of constants to affect certificate printing changed.
3453 The constants are used for OpenPGP too, which the names didn't
3454 reflect, so the following name change has been made:
3456             Old name                         New name
3457      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
3458      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
3459      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
3461 The old names will be mapped to the new names for some time.
3463 *** The function gnutls_openpgp_privkey_get_id has been renamed to
3464 *** gnutls_openpgp_privkey_get_key_id.
3465 A compatibility mapping exists to avoid breaking API backwards
3466 compatibility.
3468 *** Replaced all uses of alloca with malloc and free.
3470 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
3471 We have been unable to find a documented rationale for this practice.
3473 *** Of course, many smaller fixes have been made, see the ChangeLog file.
3475 *** API/ABI changes in GnuTLS 2.4
3476 All OpenPGP related functions have been moved from libgnutls-extra to
3477 libgnutls, and several new functions have been added (see below).
3478 Before making the release, we discussed whether moving functions from
3479 libgnutls-extra to libgnutls would require us to increment the ABI
3480 version, but the general opinion was that this would not be required.
3481 All older functions continue to work the same.  We are open to the
3482 possibility that this decision will lead to problem on some platform,
3483 and if it turns out that the Right Thing should have been to increment
3484 the shared library version, we would need to release an update within
3485 the 2.4.x branch that increments the shared library version.
3487 This release adds the following functions:
3489   gnutls_psk_client_get_hint
3490   gnutls_psk_set_server_credentials_hint
3491   gnutls_psk_netconf_derive_key
3493     Used to get/set the PSK identity hint, and derive PSK keys from
3494     passwords a'la netconf.
3496   gnutls_x509_dn_deinit
3497   gnutls_x509_dn_export
3498   gnutls_x509_dn_import
3499   gnutls_x509_dn_init
3501     Used to handle X.509 Certificate DN's directly.
3503   gnutls_hex2bin
3505     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
3506     secrets.
3508   gnutls_certificate_get_x509_cas
3509   gnutls_certificate_get_x509_crls
3510   gnutls_certificate_get_openpgp_keyring
3512     Functions for direct access to credential elements.
3514   gnutls_openpgp_crt_get_auth_subkey
3515   gnutls_openpgp_crt_get_key_id
3516   gnutls_openpgp_crt_get_pk_dsa_raw
3517   gnutls_openpgp_crt_get_pk_rsa_raw
3518   gnutls_openpgp_crt_get_preferred_key_id
3519   gnutls_openpgp_crt_get_revoked_status
3520   gnutls_openpgp_crt_get_subkey_count
3521   gnutls_openpgp_crt_get_subkey_creation_time
3522   gnutls_openpgp_crt_get_subkey_expiration_time
3523   gnutls_openpgp_crt_get_subkey_fingerprint
3524   gnutls_openpgp_crt_get_subkey_id
3525   gnutls_openpgp_crt_get_subkey_idx
3526   gnutls_openpgp_crt_get_subkey_pk_algorithm
3527   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
3528   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
3529   gnutls_openpgp_crt_get_subkey_revoked_status
3530   gnutls_openpgp_crt_get_subkey_usage
3531   gnutls_openpgp_crt_print
3532   gnutls_openpgp_crt_set_preferred_key_id
3533   gnutls_openpgp_keyring_get_crt
3534   gnutls_openpgp_keyring_get_crt_count
3535   gnutls_openpgp_privkey_export
3536   gnutls_openpgp_privkey_export_dsa_raw
3537   gnutls_openpgp_privkey_export_rsa_raw
3538   gnutls_openpgp_privkey_export_subkey_dsa_raw
3539   gnutls_openpgp_privkey_export_subkey_rsa_raw
3540   gnutls_openpgp_privkey_get_fingerprint
3541   gnutls_openpgp_privkey_get_key_id
3542   gnutls_openpgp_privkey_get_pk_algorithm
3543   gnutls_openpgp_privkey_get_preferred_key_id
3544   gnutls_openpgp_privkey_get_revoked_status
3545   gnutls_openpgp_privkey_get_subkey_count
3546   gnutls_openpgp_privkey_get_subkey_creation_time
3547   gnutls_openpgp_privkey_get_subkey_expiration_time
3548   gnutls_openpgp_privkey_get_subkey_fingerprint
3549   gnutls_openpgp_privkey_get_subkey_id
3550   gnutls_openpgp_privkey_get_subkey_idx
3551   gnutls_openpgp_privkey_get_subkey_pk_algorithm
3552   gnutls_openpgp_privkey_get_subkey_revoked_status
3553   gnutls_openpgp_privkey_set_preferred_key_id
3555     New OpenPGP related functions.
3557     The function gnutls_openpgp_crt_get_key_id is the same as the old
3558     from gnutls_openpgp_crt_get_id, see above.
3560 The release also adds a new header file 'gnutls/crypto.h', however it
3561 is currently not used.
3563 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
3564 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
3566 ** API and ABI modifications:
3567 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
3568 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
3570 * Version 2.3.15 (released 2008-06-15)
3572 ** Disable the openpgp-certs self-tests.
3573 It results in failure under Wine and doesn't work on Debian buildds.
3575 ** API and ABI modifications:
3576 No changes since last version.
3578 * Version 2.3.14 (released 2008-06-11)
3580 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
3581 An OpenPGP certificate is now only considered verified if all the user
3582 IDs are verified.
3584 ** Examples: Make C++ example compile.
3585 Earlier it may have failed with an unresolved reference to strlen.
3587 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
3588 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
3590 ** API and ABI modifications:
3591 No changes since last version.
3593 * Version 2.3.13 (released 2008-06-07)
3595 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
3597 ** doc/: Add psktool to info index.  Some minor cleanups.
3599 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
3601 ** tests/: Added libgcrypt.supp which can be used with valgrind.
3602 The file suppresses the known libgcrypt memory leaks, so they aren't
3603 printed when you run valgrind on the gnutls self-tests.  Use it as
3604 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
3605 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
3606 ~/.valgrindrc file.
3608 ** tests/: Reduce amount of debugging output by default.
3609 Use --verbose for each test to get the full output.
3611 ** tests/: Fix memory leaks in several self-tests.
3612 None of the self tests should be leaking memory when running valgrind
3613 or similar tools.  (Known exceptions are dhepskself, pskself, and
3614 set_pkcs12_cred, which appear likely to be due to memory leaks in the
3615 library.)
3617 ** API and ABI modifications:
3618 No changes since last version.
3620 * Version 2.3.12 (released 2008-06-04)
3622 ** Merge gnutls_with_netconf branch.
3624 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
3625 The function is gnutls_psk_client_get_hint.
3627 *** libgnutls [PSK]: New API to set PSK identity hint in server.
3628 The function is gnutls_psk_set_server_credentials_hint.
3630 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
3631 In the client, the message is parsed and the application can use
3632 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
3633 message is sent if the application has specified a PSK identity hint
3634 using gnutls_psk_set_server_credentials_hint.
3636 *** libgnutls [PSK]: Support Netconf PSK key derivation.
3637 The function gnutls_psk_netconf_derive_key supports the PSK key
3638 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
3639 test netconf-psk.c.
3641 *** psktool: Support new --netconf-hint to generate PSK key from password.
3642 Uses the Netconf algorithm to derive PSK key from password.
3644 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
3646 *** gnutls-cli: Always support PSK modes, through a callback.
3647 The callback will derive a PSK key using Netconf algorithm.  It will
3648 print the PSK identity hint to help the user.
3650 *** New PSK example client and server.
3651 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
3653 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
3654 The code didn't work properly on platforms where 'char' is unsigned,
3655 when you set version 0.  Reported by Laurence Withers
3656 <l@lwithers.me.uk> in
3657 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
3659 ** libgnutls-openssl: added RAND_pseudo_bytes API.
3660 Patch from Robert Millan <rmh@aybabtu.com>.
3662 ** API and ABI modifications:
3663 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
3664 gnutls_psk_client_get_hint: ADDED.
3665 gnutls_psk_set_server_credentials_hint: ADDED.
3666 gnutls_psk_netconf_derive_key: ADDED
3668 * Version 2.3.11 (released 2008-05-20)
3670 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
3671 The flaw would result in incorrectly terminated sessions with the
3672 error "Decryption has failed" when the server sends a small packet
3673 (typically when the session is closed).  Reported by Andreas Metzler
3674 <ametzler@downhill.at.eu.org> in
3675 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
3677 ** Don't use gnulib headers when building C++ library.
3678 Fixes builds under Windows.
3680 ** Make umask a requirement.
3681 We don't know of any system that lacks it, even GNU CoreUtils use it
3682 unconditionally.
3684 ** Update gnulib files.
3685 Fixes a problem where it pulled in a replacement for memcmp under
3686 MinGW, which caused the C++ example to fail to build.
3688 ** API and ABI modifications:
3689 No changes since last version.
3691 * Version 2.3.10 (released 2008-05-19)
3693 ** Added wide wildcard hostname matching.
3694 Tiny patch by Jean-Philippe Garcia Ballester.
3696 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
3697 Thanks to CERT-FI for finding the bugs and providing detailed reports,
3698 which allowed the bugs to be reproduced and fixed easily.  Patches
3699 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
3700 with more details about these vulnerabilities will be added to
3701 <http://www.gnu.org/software/gnutls/security.html>
3703 *** [GNUTLS-SA-2008-1-1]
3704 *** libgnutls: Fix crash when sending invalid server name.
3705 The crash can be triggered remotely before authentication, which can
3706 lead to a Daniel of Service attack to disable the server.  The bug
3707 cause gnutls to store more session resumption data than what was
3708 allocated for, thus overwriting unallocated memory.
3710 *** [GNUTLS-SA-2008-1-2]
3711 *** libgnutls: Fix crash when sending repeated client hellos.
3712 The crash can be triggered remotely before authentication, which can
3713 lead to a Daniel of Service attack to disable the server.  The bug
3714 triggers a null-pointer dereference.
3716 *** [GNUTLS-SA-2008-1-3]
3717 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
3718 The crash can be triggered remotely before authentication, which can
3719 lead to a Daniel of Service attack to disable the server.  The bug
3720 cause gnutls to read memory beyond the end of the received record.
3722 ** libgnutlsxx: Updated API according to patches from Eduardo 
3723 Villanueva Che (discussion at
3724 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
3726 ** Use umask to restrict permissions to owner before creating a file.
3728 ** API and ABI modifications:
3729 No changes since last version.
3731 * Version 2.3.9 (released 2008-05-16)
3733 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
3734 Based on report and tiny patches from
3735 <jared.jennings.ctr@eglin.af.mil>, see
3736 <https://savannah.gnu.org/support/index.php?106342>.
3738 ** libgnutls: Translation fixes.
3740 ** gnutls-cli: Fix so that PSK authentication works.
3741 Also improve manual to give example for gnutls-cli PSK authentication.
3743 ** certtool: Encrypting a private key now require a confirmed password.
3744 Before './certtool -k -8' would merely ask for a password once.
3745 Reported by Daniel 'NebuchadnezzaR' Dehennin
3746 <nebuchadnezzar@asgardr.info> see
3747 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
3749 ** certtool: When writing private keys to files, change permissions of file.
3750 Now the file which the private key is saved to is chmod'ed 0600.
3751 Reported by martin f krafft <madduck@debian.org> see
3752 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
3754 ** guile: Fix -fgnu89-inline test.
3756 ** Removed --enable-profile-mode.
3757 The code linked gnutls with the libfc project (Function Check) which
3758 appears to have been stalled since around 2002.
3760 ** Clean up header file checks by ./configure.
3762 ** Update of gnulib files.
3764 ** API and ABI modifications:
3765 No changes since last version.
3767 * Version 2.3.8 (released 2008-04-29)
3769 ** libgnutls: Increase default handshake packet size limit to 48kb.
3770 The old limit was 16kb and some servers send huge list of trusted CAs,
3771 thus running into the limit.  FYI, applications can further increase
3772 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
3773 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3774 <marc@mclemente.net> for reporting and providing test servers.
3776 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
3777 Returned when the handshake data size is too large.  Before
3778 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
3779 error situations.
3781 ** libgnutls: Hide definitions in crypto.h.
3782 We have decided that the APIs defined in crypto.h are not stable
3783 enough for v2.4, so don't use any of those functions.
3785 ** gnutls-cli: exit when hostname doesn't match certificate.
3786 Use --insecure to avoid hostname comparison.
3788 ** certtool: --inder and --outder replaced by --inraw and --outraw.
3789 The reason is to align terminology with OpenPGP, which doesn't use
3790 DER.  The old parameters will continue to work for some time.
3792 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
3794 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
3796 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
3797 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
3798 vasprintf symbol from the libgcrypt library which caused problems.
3800 ** Update of gnulib files.
3802 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
3804 ** API and ABI modifications:
3805 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
3807 * Version 2.3.7 (released 2008-04-21)
3809 ** opencdk now properly sets the key usage bits into openpgp keys.
3811 ** gnutls-cli: Fix crash on TLS handshake failures.
3812 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
3813 This is similar to <http://bugs.debian.org/429183>.
3815 ** certtool: with --generate-request and newly generated keys, print the key.
3817 ** Build fixes for MinGW.
3818 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
3819 with -lws2_32 when needed.  Use ASCII only isprint() when printing
3820 X.509 certificate information, to avoid non-ASCII but printable
3821 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
3822 reports.
3824 ** Update internal copy of libtasn1 to version 1.4.
3826 ** API and ABI modifications:
3827 No changes since last version.
3829 * Version 2.3.6 (released 2008-04-17)
3831 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
3832 ** Improve documentation for gnutls_x509_crq_sign2.
3833 Based on report from "John Brooks" <aspecialj@gmail.com> in
3834 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
3836 ** tests/pathlen: run diff without parameters to improve portability.
3837 Based on HPUX build hints in
3838 <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>.
3840 ** Don't use %e specifier with strftime, it doesn't work under Windows.
3841 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3842 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
3844 ** Remove all uses of gnutls_alloca/gnutls_afree.
3845 Use normal gnutls_malloc instead.  One reason is increased portability
3846 to Windows, the other is that several of the uses may be unsafe
3847 because the size of data allocated could be large.  Reported by
3848 Massimo Gaspari <massimo.gaspari@alice.it> in
3849 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
3851 ** Build Guile code with -fgnu89-inline only when supported.
3852 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
3853 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
3855 ** Several GTK-DOC related fixes.
3857 ** Clean up OpenCDK related code.
3858 GnuTLS now requires its internal OpenCDK code rather than the external
3859 GPL library OpenCDK.  Unfortunately, we don't have resources to
3860 maintain an external library (help welcome).
3862 ** API and ABI modifications:
3863 No changes since last version.
3865 * Version 2.3.5 (released 2008-04-14)
3867 ** Build fix for MinGW and --disable-shared.
3868 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
3869 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
3871 ** Document how to generate CRLs.
3872 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
3874 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3876 ** Several minor fixes in the OpenPGP interface.
3877 Thanks to Daniel Kahn Gillmor.
3879 ** Fix fopen file descriptor leak in PSK server code.
3880 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3881 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3883 ** Translations files not stored directly in git to avoid merge conflicts.
3885 ** New APIs to let applications replace the RNG used.
3886 Update all RNG callers in the code to use the new interface.
3888 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
3890 ** Update gnulib files.
3892 ** API and ABI modifications:
3893 gnutls_crypto_rnd_register: ADDED
3894 gnutls_rnd_level_t: ADDED
3895 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
3896 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
3897 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
3898 gnutls_crypto_rnd_st: ADDED
3899 GNUTLS_DIG_SHA224: ADDED
3900 GNUTLS_SIGN_RSA_SHA224: ADDED
3901 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
3903 * Version 2.3.4 (released 2008-03-19)
3905 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
3906 They weren't renamed in the public header file.
3908 ** Added functions to register a cipher/mac/digest. This allows to 
3909 override the included ones.
3911 ** Fix a bunch of compiler warnings.
3913 ** API and ABI modifications:
3914 gnutls_crypto_cipher_st: ADDED
3915 gnutls_crypto_mac_st: ADDED
3916 gnutls_crypto_digest_st: ADDED
3917 gnutls_crypto_cipher_register: ADDED
3918 gnutls_crypto_mac_register: ADDED
3919 gnutls_crypto_digest_register: ADDED
3920 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
3922 * Version 2.3.3 (released 2008-03-10)
3924 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
3925 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3927 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
3928 We could not find any modern justification for enabling these flags by
3929 default.  If you know of some platform that needs one of the flags to
3930 work properly, please let us know.  (Actually introduced in v2.3.0 but
3931 not documented until now.)
3933 ** Importing many CA certificates are now considerably faster.
3934 This affect gnutls_certificate_set_x509_trust_mem,
3935 gnutls_certificate_set_x509_trust, and
3936 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
3937 from O(2*n^2) to O(n).  When adding 206 files containing 408
3938 certificates, using gnutls_certificate_set_x509_trust_file, the time
3939 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
3940 to trigger the problem.  See also
3941 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
3943 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
3944 ** to be explicit that it takes zero terminated data.
3946 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
3948 ** Documentation fixes for the GTK-DOC manual.
3950 ** Fix compilation error related to __FUNCTION__ on some systems.
3951 Reported by Tim Mooney, see
3952 <https://savannah.gnu.org/support/?106267>.
3954 ** Updated translations.
3956 ** Update gnulib files.
3958 ** API and ABI modifications:
3959 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
3960                 and char* instead of void* for output buffer.
3962 * Version 2.3.2 (released 2008-02-26)
3964 ** Fix srcdir!=objdir failure in openpgpself test.
3966 ** Improved API documentation output from GTK-DOC.
3968 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
3970 ** Renamed gnutls_certificate_export_x509_cas and friends.
3971 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
3973 ** Internal header files cleanup.
3975 ** API and ABI modifications:
3976 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
3977 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
3978 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
3979 gnutls_x509_dn_export: ADDED
3981 * Version 2.3.1 (released 2008-02-21)
3983 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
3984 The included copy of OpenCDK has been stripped down and re-licensed
3985 under the LGPL.
3987 ** Cipher priority string handling now handle strings that starts with NULL.
3988 Thanks to Laurence Withers <l@lwithers.me.uk>.
3990 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
3992 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3993 by Daniel Stenberg.
3995 ** Increased the default certificate verification chain limits and allowed
3996 for checks without limitation.
3998 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3999 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
4000 strings and return the proper size.
4002 ** Add section 'On Record Padding' to the manual.
4003 This collects all problems related to record padding with
4004 Nokia/Sony-Ericsson phones that we know about.
4006 ** Several improvements in the OpenPGP authentication.
4007 Now subkeys can be used for authentication, according to
4008 draft-mavrogiannopoulos-rfc5081bis-00.txt.
4010 ** certtool can print information on OpenPGP certificates and keys.
4012 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
4013 Patch by Joe Orton.
4015 ** Added gnutls_certificate_export_x509_cas and other functions to
4016 export elements from the certificate credentials structure.  Based on
4017 suggestion from Joe Orton.
4019 ** Doc fixes.
4020 Clarify that srp_base64 is not the same as normal base64.
4022 ** Fix non-portable use of brace expansion in makefiles.
4024 ** API and ABI modifications:
4025 gnutls_certificate_export_x509_cas: ADDED
4026 gnutls_certificate_export_x509_crls: ADDED
4027 gnutls_certificate_export_openpgp_keyring: ADDED
4028 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
4029 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
4030 gnutls_openpgp_crt_get_revoked_status: ADDED
4031 gnutls_openpgp_crt_get_subkey_count: ADDED
4032 gnutls_openpgp_crt_get_subkey_idx: ADDED
4033 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
4034 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
4035 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
4036 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
4037 gnutls_openpgp_crt_get_subkey_id: ADDED
4038 gnutls_openpgp_crt_get_subkey_usage: ADDED
4039 gnutls_openpgp_privkey_get_fingerprint: ADDED
4040 gnutls_openpgp_privkey_get_key_id: ADDED
4041 gnutls_openpgp_privkey_get_subkey_count: ADDED
4042 gnutls_openpgp_privkey_get_subkey_idx: ADDED
4043 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
4044 gnutls_openpgp_privkey_get_revoked_status: ADDED
4045 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
4046 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
4047 gnutls_openpgp_privkey_get_subkey_id: ADDED
4048 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
4049 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
4050 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
4051 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
4052 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
4053 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
4054 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
4055 gnutls_openpgp_privkey_export_dsa_raw: ADDED
4056 gnutls_openpgp_privkey_export_rsa_raw: ADDED
4057 gnutls_openpgp_privkey_export: ADDED
4058 gnutls_certificate_set_openpgp_key_file2: ADDED
4059 gnutls_certificate_set_openpgp_key_mem2: ADDED
4060 gnutls_x509_dn_init: ADDED
4061 gnutls_x509_dn_import: ADDED
4062 gnutls_x509_dn_deinit: ADDED
4063 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
4064 gnutls_hex2bin: ADDED
4065 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
4066 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
4067 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
4068                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
4070 * Version 2.3.0 (released 2008-01-08)
4072 ** LZO compression is now disabled by default.
4073 The reason is that LZO compression is not standardized in TLS.  If you
4074 wish to experiment with it, you will have to supply --with-lzo when
4075 invoking ./configure.  The internal copy of minilzo is no longer
4076 included with GnuTLS, so you will need to install liblzo or liblzo2 on
4077 your system to have --with-lzo to be effective.
4079 ** More than one server name field is now sent to the server properly.
4080 Thanks to mark.phillips@virgin.net.
4082 ** Fixes the post_client_hello_function(). The extensions are now parsed
4083 in a callback friendly way.
4085 ** Fix for certificate selection in servers with certificate callbacks.
4087 ** Updated translations.
4089 ** Update gnulib files.
4091 ** API and ABI modifications:
4092 No changes since last version.
4094 * Version 2.2.5 (released 2008-05-19)
4096 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
4097 The flaw would result in incorrectly terminated sessions with the
4098 error "Decryption has failed" when the server sends a small packet
4099 (typically when the session is closed).  Reported by Andreas Metzler
4100 <ametzler@downhill.at.eu.org> in
4101 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
4103 ** API and ABI modifications:
4104 No changes since last version.
4106 * Version 2.2.4 (released 2008-05-19)
4108 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
4109 Thanks to CERT-FI for finding the bugs and providing detailed reports,
4110 which allowed the bugs to be reproduced and fixed easily.  Patches
4111 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
4112 with more details about these vulnerabilities will be added to
4113 <http://www.gnu.org/software/gnutls/security.html>
4115 *** [GNUTLS-SA-2008-1-1]
4116 *** libgnutls: Fix crash when sending invalid server name.
4117 The crash can be triggered remotely before authentication, which can
4118 lead to a Daniel of Service attack to disable the server.  The bug
4119 cause gnutls to store more session resumption data than what was
4120 allocated for, thus overwriting unallocated memory.
4122 *** [GNUTLS-SA-2008-1-2]
4123 *** libgnutls: Fix crash when sending repeated client hellos.
4124 The crash can be triggered remotely before authentication, which can
4125 lead to a Daniel of Service attack to disable the server.  The bug
4126 triggers a null-pointer dereference.
4128 *** [GNUTLS-SA-2008-1-3]
4129 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
4130 The crash can be triggered remotely before authentication, which can
4131 lead to a Daniel of Service attack to disable the server.  The bug
4132 cause gnutls to read memory beyond the end of the received record.
4134 ** API and ABI modifications:
4135 No changes since last version.
4137 * Version 2.2.3 (released 2008-05-06)
4139 ** Increase default handshake packet size limit to 48kb.
4140 The old limit was 16kb and some servers send huge list of trusted CAs,
4141 thus running into the limit.  FYI, applications can further increase
4142 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
4143 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
4144 <marc@mclemente.net> for reporting and providing test servers.
4146 ** Fix compilation error related to __FUNCTION__ on some systems.
4147 Reported by Tim Mooney, see
4148 <https://savannah.gnu.org/support/?106267>.
4150 ** Documented the --priority option to gnutls-cli and gnutls-serv.
4152 ** Fix fopen file descriptor leak in PSK server code.
4153 Thanks to Laurence Withers <l@lwithers.me.uk>, see
4154 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
4156 ** Build Guile code with -fgnu89-inline only when supported.
4157 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
4158 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
4160 ** Make Camellia encryption work.
4161 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
4162 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
4164 ** API and ABI modifications:
4165 No changes since last version.
4167 * Version 2.2.2 (released 2008-02-21)
4169 ** Cipher priority string handling now handle strings that starts with NULL.
4170 Thanks to Laurence Withers <l@lwithers.me.uk>.
4172 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
4173 by Daniel Stenberg.
4175 ** Increased the default certificate verification chain limits and allowed
4176 for checks without limitation.
4178 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
4179 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
4180 strings and return the proper size.
4182 ** API and ABI modifications:
4183 No changes since last version.
4185 * Version 2.2.1 (released 2008-01-17)
4187 ** Prevent linking libextra against previously installed libgnutls.
4188 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
4189 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
4191 ** Fixes the post_client_hello_function(). The extensions are now parsed
4192 in a callback friendly way.
4194 ** Fix for certificate selection in servers with certificate callbacks.
4196 ** API and ABI modifications:
4197 No changes since last version.
4199 * Version 2.2.0 (released 2007-12-14)
4201 ** Update internal copy of libtasn1 to version 1.2.
4203 ** Certtool --verify-chain now handle inputs larger than 64kb.
4204 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
4205 recent versions of libgcrypt.  The problem was that Wine with the
4206 libgcrypt RNG generates huge amounts of debugging output.
4208 ** Translation updates.
4209 Added Dutch translation.  Updated Polish and Swedish translation.
4211 ** Major changes compared to the v2.0 branch:
4213 *** SRP support aligned with newly published RFC 5054.
4215 *** OpenPGP support aligned with newly published RFC 5081.
4217 *** Support for DSA2 keys.
4219 *** Support for Camellia cipher.
4221 *** Support for Opaque PRF Input extension.
4223 *** PKCS#8 parser now handle DSA keys.
4225 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
4226 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
4227 versions, such as 2.01 which is included with GnuTLS, is available
4228 under GPLv2 or later.  If this incompatibility causes problems, we
4229 recommend you to disable LZO using --without-lzo.  LZO compression is
4230 not a standard TLS compression algorithm, so the impact should be
4231 minimal.
4233 *** Functions for disabling record protocol padding.
4234 Works around bugs on Nokia/Ericsson phones.
4236 *** New functions gnutls_priority_set() for setting cipher priorities easily.
4237 Priorities like "COMPAT" also enables other work arounds, such as
4238 disabling padding.
4240 *** Other minor improvements and bug fixes.
4242 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
4243 To adapt to changes in the TLS extension specifications for OpenPGP
4244 and SRP, the GnuTLS API had to be modified.  This means breaking the
4245 API and ABI backwards compatibility.  That is something we try to
4246 avoid unless it is necessary.  We decided to also remove the already
4247 deprecated stub functions for X.509 to XML conversion and TLS
4248 authorization (see below) when we had the opportunity.
4250 Generally, most applications does not need to be modified.  Just
4251 re-compile them against the latest GnuTLS release, and it should work
4252 fine.
4254 Applications that use the OpenPGP or SRP features needs to be
4255 modified.  Below is a list of the modified APIs and discussion of what
4256 the minimal things you need to modify in your application to make it
4257 work with GnuTLS 2.2.
4259 Note that GnuTLS 2.2 also introduces new APIs -- such as
4260 gnutls_set_priority() that is superior to
4261 gnutls_set_default_priority() -- that you may want to start using.
4262 However, using those new APIs is not required to use GnuTLS 2.2 since
4263 the old functions continue are still supported.  This text only
4264 discuss what you minimally have to modify.
4266 *** XML related changes
4267 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
4268 deprecated and only returned an error code since GnuTLS version
4269 1.2.11.  Nobody has complained, so users doesn't seem to miss the
4270 functionality.  We don't know of any other library to convert X.509
4271 certificates into XML format, but we decided (long ago) that GnuTLS
4272 isn't the right place for this kind of functionality.  If you want
4273 help to find some other library to use here, please explain and
4274 discuss your use case on help-gnutls@gnu.org.
4276 *** TLS Authorization related changes
4277 Everything related to TLS authorizations have been removed, they were
4278 only stub functions that returned an error code:
4280  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
4281  gnutls_authz_data_format_type_t
4282  gnutls_authz_recv_callback_func
4283  gnutls_authz_send_callback_func
4284  gnutls_authz_enable
4285  gnutls_authz_send_x509_attr_cert
4286  gnutls_authz_send_saml_assertion
4287  gnutls_authz_send_x509_attr_cert_url
4288  gnutls_authz_send_saml_assertion_url
4290 *** SRP related changes
4291 The callback gnutls_srp_client_credentials_function has a new
4292 prototype, and its semantic has changed.  You need to rewrite the
4293 callback, see the updated function documentation and SRP example code
4294 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
4295 information.
4297 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
4298 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
4299 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
4300 used.  There are #define's to map the old names to the new.  You may
4301 run into problems if you have a switch-case with cases for both SRP
4302 alerts, since they are now mapped to the same value.  The solution is
4303 to drop the SRP alerts from such switch cases, as they are now
4304 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
4306 *** OpenPGP related changes
4307 The function `gnutls_certificate_set_openpgp_keyserver' have been
4308 removed.  There is no replacement functionality inside GnuTLS.  If you
4309 need keyserver functionality, consider using the GnuPG tools.
4311 All functions, types, and error codes related to OpenPGP trustdb
4312 format have been removed.  The trustdb format is a non-standard
4313 GnuPG-specific format, and we recommend you to use key rings instead.
4314 The following have been removed:
4316  gnutls_certificate_set_openpgp_trustdb
4317  gnutls_openpgp_trustdb_init
4318  gnutls_openpgp_trustdb_deinit
4319  gnutls_openpgp_trustdb_import
4320  gnutls_openpgp_key_verify_trustdb
4321  gnutls_openpgp_trustdb_t
4322  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
4324 The following functions has an added parameter of the (new) type
4325 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
4326 (binary or base64).  The functions are:
4327  gnutls_certificate_set_openpgp_key_file
4328  gnutls_certificate_set_openpgp_key_mem
4329  gnutls_certificate_set_openpgp_keyring_mem
4330  gnutls_certificate_set_openpgp_keyring_file
4332 To improve terminology and align with the X.509 interface, some
4333 functions have been renamed.  Compatibility mappings exists.  The old
4334 and new names of the affected functions and types are:
4336         Old name                                New name
4337  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
4338  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
4339  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
4340  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
4341  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
4342  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
4343  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
4344  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
4345  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
4346  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
4347  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
4348  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
4349  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
4350  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
4351  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
4352  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
4353  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
4354  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
4355  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
4357 ** API and ABI modifications:
4358 No changes since last version.
4360 * Version 2.1.8 (released 2007-12-10)
4362 ** The GPL version has been changed from version 2 to version 3.
4363 This affects the self-tests, command-line tools, the libgnutls-extra
4364 library, the relevant guile parts, and the build environment.
4366 ** Added gnutls_x509_crt_get_subject_alt_name2().
4368 ** Corrected a segfault when setting an empty gnutls_priority_t
4369 at gnutls_priority_set().
4371 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
4372 Fixes a problem with spurious -L/usr/lib additions.
4374 ** API and ABI modifications:
4375 gnutls_x509_crt_get_subject_alt_name2: ADD.
4377 * Version 2.1.7 (released 2007-11-29)
4379 ** PKCS #8 parser can now encode/decode DSA keys.
4381 ** Updated gnutls_set_default_priority2() now renamed to
4382 gnutls_priority_set() and gnutls_priority_set_direct() which
4383 accept a string to indicate preferences of ciphersuite parameters.
4385 ** gnutls-cli and gnutls-serv now have a --priority option to set
4386 the priority string.
4388 ** The gnutls_*_convert_priority() functions were deprecated by
4389 the gnutls_priority_set() and gnutls_priority_set_direct().
4391 ** Internal copy of OpenCDK upgraded to version 0.6.6.
4393 ** API and ABI modifications:
4394 gnutls_priority_init: ADD.
4395 gnutls_priority_deinit: ADD.
4396 gnutls_priority_set: ADD.
4397 gnutls_priority_set_direct: ADD.
4398 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
4399 gnutls_mac_convert_priority: REMOVED
4400 gnutls_compression_convert_priority: REMOVED
4401 gnutls_protocol_convert_priority: REMOVED
4402 gnutls_kx_convert_priority: REMOVED
4403 gnutls_cipher_convert_priority: REMOVED
4404 gnutls_certificate_type_convert_priority: REMOVED
4405 gnutls_set_default_priority: UNDEPRECATED
4406 gnutls_set_default_priority_export: UNDEPRECATED
4408 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
4409 GNUTLS_CIPHER_UNKNOWN: ADD.
4410 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
4411 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
4412 GNUTLS_KX_UNKNOWN: ADD.
4413 GNUTLS_COMP_UNKNOWN: ADD.
4414 GNUTLS_CRT_UNKNOWN: ADD.
4415 gnutls_mac_get_id: ADD.
4416 gnutls_compression_get_id: ADD.
4417 gnutls_cipher_get_id: ADD.
4418 gnutls_kx_get_id: ADD.
4419 gnutls_protocol_get_id: ADD.
4420 gnutls_certificate_type_get_id: ADD.
4421 gnutls_handshake_post_client_hello_func: ADD.
4422 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
4424 * Version 2.1.6 (released 2007-11-15)
4426 ** Corrected bug in decompression of expanded compression data.
4428 ** Added the --to-p8 option to certtool to convert private keys
4429 to PKCS #8 keys.
4431 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
4433 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
4434 private keys.
4436 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
4437 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
4438 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
4439 documented.  This caused some problems (e.g., debian #450854).  To
4440 avoid backwards compatibility problems, this release revert this
4441 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
4442 done in GnuTLS 2.0.x and earlier, and add a new error code
4443 GNUTLS_E_UNKNOWN_ALGORITHM.
4445 ** Fixes several gtk-doc warnings.
4447 ** API and ABI modifications:
4448 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
4449 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
4450 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
4452 * Version 2.1.5 (released 2007-11-01)
4454 ** Fix PKCS#3 parameter export problem.
4456 ** Improve certtool queries, they now print the default value.
4458 ** Fix ABI version.
4460 ** Update gnulib files.
4462 ** API and ABI modifications:
4463 No changes since last version.
4465 * Version 2.1.4 (released 2007-10-27)
4467 ** Added the --v1 option to certtool, to allow generating X.509
4468 version 1 certificates. 
4470 ** certtool: Add option --disable-quick-random to enable the old behaviour
4471 of using /dev/random to generate keys.
4473 ** Added priority functions that accept strings.
4475 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
4476 priorities preferences.
4478 ** Added gnutls_record_disable_padding() to allow servers talking to 
4479 buggy clients that complain if the TLS 1.0 record protocol padding is
4480 used.
4482 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
4483 all supported compatibility options (like disabling padding).
4485 ** The gnutls_certificate_set_openpgp_* functions were modified to include
4486 the format. This makes the interface consistent with the x509 functions.
4488 ** Internal copy of OpenCDK upgraded to version 0.6.5.
4490 ** Update gnulib files.
4492 ** API and ABI modifications:
4493 gnutls_certificate_set_openpgp_key_mem: MODIFIED
4494 gnutls_certificate_set_openpgp_key_file: MODIFIED
4495 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
4496 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
4497 gnutls_set_default_priority: DEPRECATED
4498 gnutls_set_default_priority_export: DEPRECATED
4499 gnutls_set_default_priority2: ADDED
4500 gnutls_session_enable_compatibility_mode: ADDED
4501 gnutls_record_disable_padding: ADDED
4502 gnutls_mac_convert_priority: ADDED
4503 gnutls_compression_convert_priority: ADDED
4504 gnutls_protocol_convert_priority: ADDED
4505 gnutls_kx_convert_priority: ADDED
4506 gnutls_cipher_convert_priority: ADDED
4507 gnutls_certificate_type_convert_priority: ADDED
4508 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
4509 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
4510 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
4511 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
4512 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
4513 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
4514 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
4515 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
4516 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
4517 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
4518 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
4519 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
4520 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
4521 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
4522 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
4523 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
4524 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
4525 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
4527 * Version 2.1.3 (released 2007-10-17)
4529 ** TLS authorization support removed.
4530 This technique may be patented in the future, and it is not of crucial
4531 importance for the Internet community.  After deliberation we have
4532 concluded that the best thing we can do in this situation is to
4533 encourage society not to adopt this technique.  We have decided to
4534 lead the way with our own actions.
4536 ** Re-enabled the 256 bit ciphers in the default priorities.
4538 ** Corrected bugs in openpgp key verification using a keyring (both in
4539 gnutls and opencdk)
4541 ** API and ABI modifications:
4542 gnutls_certificate_set_openpgp_keyserver: REMOVED
4543 gnutls_authz_data_format_type_t,
4544 gnutls_authz_recv_callback_func,
4545 gnutls_authz_send_callback_func,
4546 gnutls_authz_enable,
4547 gnutls_authz_send_x509_attr_cert,
4548 gnutls_authz_send_saml_assertion,
4549 gnutls_authz_send_x509_attr_cert_url,
4550 gnutls_authz_send_saml_assertion_url: REMOVED.
4551 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
4552     gnutls_supplemental_data_format_type_t enum type becomes empty.
4554 * Version 2.1.2 (released 2007-10-14)
4556 ** Removed all the trustdb code from openpgp authentication.
4557 We now use only the well-specified keyrings.
4559 ** The 256 bit ciphers are not enabled in the default priorities.
4561 ** Added support for DSA2 using libgcrypt 1.3.0.
4563 ** certtool: Fixed data corruption when using --outder.
4565 ** Removed all the xml related stubs and functions.
4567 ** Added capability to set a callback after the client hello is received
4568 by the server in order to adjust parameters before the handshake.
4570 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
4572 ** Corrected bug which did not allow a server to run without supporting
4573 certificates.
4575 ** Updated the DN parser which now prints wrongly decoded values as hex
4576 strings.
4578 ** certtool: Add option --quick-random.
4579 For generating low security test credentials.
4581 ** API and ABI modifications:
4582 gnutls_x509_crt_to_xml: REMOVED
4583 gnutls_openpgp_key_to_xml: REMOVED
4584 gnutls_openpgp_key_verify_trustdb: REMOVED
4585 gnutls_openpgp_trustdb_init: REMOVED
4586 gnutls_openpgp_trustdb_deinit: REMOVED
4587 gnutls_openpgp_trustdb_import: REMOVED
4588 gnutls_certificate_set_openpgp_trustdb: REMOVED
4589 gnutls_srp_client_credentials_function: CHANGED
4590 gnutls_handshake_set_post_client_hello_function: ADDED
4591 gnutls_mac_get_key_size: ADDED
4592 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
4593 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
4594 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
4596 * Version 2.1.1 (released 2007-09-24)
4598 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
4599 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
4600 compiled with Camellia support.  See the libgcrypt documentation on
4601 how to enable it.  Unconditionally disable it using the configure
4602 option --disable-camellia.  Fixes #1.
4604 ** Properly document in the NEWS file the API change in the last release.
4606 ** API and ABI modifications:
4607 No changes since last version.
4609 * Version 2.1.0 (released 2007-09-20)
4611 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
4612 The support is disabled by default.  Since no value has been allocated
4613 by the IANA for this extension yet, you will need to provide one
4614 yourself by invoking './configure --enable-opaque-prf-input=42'.
4615 Fixes #2.
4617 ** Example code: Fix compilation flaw under MinGW.
4619 ** API and ABI modifications:
4620 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
4621 gnutls_oprfi_enable_client: ADD, new function.
4622 gnutls_oprfi_enable_server: ADD, new function.
4624 * Version 2.0.4 (released 2007-11-16)
4626 ** Corrected bug in decompression of expanded compression data.           
4628 ** API and ABI modifications:
4629 No changes since last version.
4631 * Version 2.0.3 (released 2007-11-10)
4633 ** This version backports several fixes from the 2.1.x branch.
4635 ** Fixed PKCS #3 parameter export.
4637 ** Added gnutls_record_disable_padding() to allow servers talking to
4638 buggy clients that complain if the TLS 1.0 record protocol padding is
4639 used.
4641 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
4642 all supported compatibility options (like disabling padding).
4644 ** Corrected bug which did not allow a server to run without supporting
4645 certificates.
4647 ** API and ABI modifications:
4648 gnutls_session_enable_compatibility_mode: ADDED
4649 gnutls_record_disable_padding: ADDED
4651 * Version 2.0.2 (released 2007-10-17)
4653 ** TLS authorization support removed.
4654 This technique may be patented in the future, and it is not of crucial
4655 importance for the Internet community.  After deliberation we have
4656 concluded that the best thing we can do in this situation is to
4657 encourage society not to adopt this technique.  We have decided to
4658 lead the way with our own actions.
4660 ** certtool: Fixed data corruption when using --outder.
4662 ** Fix configure-time Guile detection.
4664 ** API and ABI modifications:
4665 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
4666     gnutls_supplemental_data_format_type_t enum type becomes empty.
4668 * Version 2.0.1 (released 2007-09-20)
4670 ** New directory doc/credentials/ with test credentials.
4671 This collects the test credentials from the web page and from src/.
4672 The script gnutls-http-serv has also been moved to that directory.
4674 ** Update SRP extension type and cipher suite with official IANA values.
4675 This breaks backwards compatibility with SRP in older versions of
4676 GnuTLS, but this is intentional to speed up the adoption of the
4677 official values.  The old values we used were incorrect.
4679 ** Guile: Fix `x509-certificate-dn-oid'
4681 ** API and ABI modifications:
4682 No changes since last version.
4684 * Version 2.0.0 (released 2007-09-04)
4686 ** Included copy of Libtasn1 upgraded to version 1.1.
4688 ** Disable building of some examples if anonymous ciphers are disabled.
4690 ** Don't build examples for disabled features.
4692 ** API and ABI modifications:
4693 No changes since last version.
4695 * Version 1.7.19 (released 2007-08-27)
4697 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
4698 This solves connection problems in mutt, see
4699 <http://bugs.debian.org/439640>.
4701 ** Update gnulib files.
4702 In particular, the getpass module -- with its dependencies on getline,
4703 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
4704 library) directory to the gl/ directory (only used by the command line
4705 tools).  The reason is that getpass is now only used by the
4706 command-line tools, and reducing the number of gnulib modules linked
4707 to the core library helps portability and reduces size.
4709 ** Fix warnings.
4711 ** Disable building of PGP examples if PGP is disabled.
4713 ** Included copy of OpenCDK upgraded to version 0.6.4.
4715 ** API and ABI modifications:
4716 No changes since last version.
4718 * Version 1.7.18 (released 2007-08-16)
4720 ** Install images for the info manual.
4721 This has a side effect of renaming the images.  See
4722 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
4723 discussions on the approach chosen.
4725 ** Fix pointer mix to variables of different size.
4726 Patch extracted from
4727 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
4729 ** Fix warnings during build.
4730 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
4732 ** API and ABI modifications:
4733 No changes since last version.
4735 * Version 1.7.17 (released 2007-08-15)
4737 ** New functions to perform external signing.
4738 Set the signing callback function (of the gnutls_sign_func prototype)
4739 using the gnutls_sign_callback_set function.  In the callback, you may
4740 find the new functions gnutls_x509_privkey_sign_hash and
4741 gnutls_openpgp_privkey_sign_hash useful.  A new function
4742 gnutls_sign_callback_get is also added, to retrieve the function
4743 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
4744 comments and testing.
4746 ** New self test of client and server authenticated X.509 TLS sessions.
4747 See tests/x509self.c and tests/x509signself.c.  The latter also tests
4748 the new external signing callback interface.
4750 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
4751 These two actually describe the outer limits of a range of error codes
4752 reserved to the application.  All of the errors are treated as fatal
4753 by the library (it has to since it doesn't know the semantics of the
4754 error codes).  This can be useful in callbacks, to signal some
4755 application-specific error condition, which will usually eventually
4756 cause some gnutls API to return the same error code as the callback,
4757 which then can be inspected by the application.  Note that error codes
4758 are negative.
4760 ** gnutls_set_default_priority now disable TLS 1.2 by default.
4761 The RFC is not released yet, and we're approaching a major release so
4762 let's not enable it just yet.
4764 ** Fix namespace so that gnutls_*_t is used consistently.
4765 Before, many places in the GnuTLS code used the old deprecated type
4766 names without the '_t' suffix.
4768 ** Build fixes for Guile code.
4769 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
4771 ** More documentation fixes.
4772 In particular, the section headings were modified for casing.  By
4773 Ludovic Courtes <ludovic.courtes@laas.fr>.
4775 ** Updated Polish and Swedish translations.
4776 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
4777 <po@danielnylander.se>.
4779 ** API and ABI modifications:
4780 gnutls_sign_func: ADD, new type for sign callback.
4781 gnutls_sign_callback_set: ADD, new function to set sign callback.
4782 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
4783 gnutls_x509_privkey_sign_hash,
4784 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
4785 GNUTLS_E_APPLICATION_ERROR_MIN,
4786 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
4788 * Version 1.7.16 (released 2007-08-07)
4790 ** Fix sanity checks and return values in certificate selection.
4791 In some cases, GnuTLS omitted to report suitable error codes when no
4792 suitable certificate was found.
4794 ** Fix gnutls-cli starttls EOF on Mac OS X.
4795 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
4797 ** Documentation fixes.
4798 In particular, the section headings were modified for casing.  By
4799 Ludovic Courtes <ludovic.courtes@laas.fr>.
4801 ** Update gnulib files.
4803 ** API and ABI modifications:
4804 No changes since last version.
4806 * Version 1.7.15 (released 2007-07-02)
4808 ** Fix self-tests key-id under mingw32.
4810 ** Test that the Guile header files are recent enough to work.
4811 Before we just tested that the command line tool 'guile' was recent
4812 enough, which may not be sufficient if you still have an old
4813 libguile.h header installed.
4815 ** Guile bindings are now installed under $prefix by default.
4816 Use --without-guile-site-dir to install it under $pkgdatadir/site/
4817 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
4818 Use --with-guile-site-dir=/your/own/path to specify the path manually.
4819 The default, --with-guile-site-dir, will install the Guile bindings
4820 under $datadir/guile/site.  There is a new section 'Guile
4821 Preparations' in the manual that discuss these issues.
4823 ** Fix run-time library path ordering in linking the Guile bindings.
4825 ** Improved manual on downloading, installing, getting help, bug reports etc.
4826 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
4828 ** Add Malay message translations.
4829 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
4831 ** API and ABI modifications:
4832 No changes since last version.
4834 * Version 1.7.14 (released 2007-06-26)
4836 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
4837 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4839 ** Fix memory leak during DSA signature verification.
4840 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4842 ** Fix crash in gnutls-cli when TLS handshake fails.
4843 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
4844 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
4845 <http://bugs.debian.org/429183>.
4847 ** Minor OpenPGP fixes in stream_to_datum.
4848 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
4849 <ludovic.courtes@laas.fr>.
4851 ** Fix off-by-one in TLS 1.2 handshake.
4852 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4854 ** Minor Guile binding self-test cleanup.
4855 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4857 ** Update gnulib files.
4859 ** API and ABI modifications:
4860 No changes since last version.
4862 * Version 1.7.13 (released 2007-06-11)
4864 ** OpenCDK copy updated to version 0.6.3.
4866 ** Build fixes for GnuTLS Guile bindings.
4867 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
4869 ** Build fix for GTK-DOC manual.
4871 ** Update gnulib files.
4873 ** API and ABI modifications:
4874 No changes since last version.
4876 * Version 1.7.12 (released 2007-06-08)
4878 ** Guile bindings for GnuTLS have been included.
4879 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
4880 new chapter 'Guile Bindings' in the manual.
4882 ** Have PKCS8 parser return better error codes.
4883 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
4884 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
4885 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
4887 ** Fix mem leak for sessions with client authentication via certificates.
4888 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
4889 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
4891 ** Fix mem leaks.
4892 Reported by Dennis Vshivkov <walrus@amur.ru>, see
4893 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
4894 self-test tests/parse_ca.c to test regressions.
4896 ** Fix build failures related to missing images in manual.
4897 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4899 ** Update gnulib files.
4901 ** API and ABI modifications:
4902 No changes since last version.
4904 * Version 1.7.11 (released 2007-05-26)
4906 ** Include opencdk.h in the release.
4907 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4909 ** API and ABI modifications:
4910 No changes since last version.
4912 * Version 1.7.10 (released 2007-05-25)
4914 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4915 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
4917 ** Update of gnulib files.
4919 ** GnuTLS is now developed in GIT instead of CVS.
4920 See <http://repo.or.cz/w/gnutls.git> for a public repository.
4922 ** API and ABI modifications:
4923 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4924 gnutls_x509_crt_get_raw_dn: ADD.
4926 * Version 1.7.9 (released 2007-05-12)
4928 ** X.509 certificates are preferred over OpenPGP keys.
4929 This is a change in the semantics of gnutls_set_default_priority.
4931 ** The included copy of OpenCDK has been updated to 0.6.1.
4932 There has been some API changes in OpenCDK, and the GnuTLS layer have
4933 been modified as well.  Note that while there are API/ABI incompatible
4934 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
4935 its API/ABI have not changed.  From this version on, GnuTLS requires
4936 OpenCDK 0.6.0 or later.
4938 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
4940 ** Change certtool's default serial number from 0 to a time-based value.
4942 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4943 Before, we remove the parameters field, which resulted in a slightly
4944 different DER encoding which in turn caused signature verification
4945 failures of GnuTLS-generated RSA certificates in some other
4946 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
4947 you read, this may or may not be correct, but our new behaviour appear
4948 to be consistent with other widely used implementations.
4950 ** Fix mem leaks in gnutls_x509_crt_print.
4952 ** API and ABI modifications:
4953 No changes since last version.
4955 * Version 1.7.8 (released 2007-04-16)
4957 ** Added examples for the authorization extension.
4958 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
4960 ** The examples only use gnutls_set_default_priority().
4961 The exception is when DH_ANON is needed.
4963 ** Improve gnutls_set_default_priority() priorities.
4964 The new approach is for it to try and negotiate all secure and
4965 standard mechanisms available.  Currently, DH_ANON ciphersuites and
4966 LZO compressions are not enabled by default, because they are,
4967 respectively, insecure and non-standardized.  Note that TLS 1.2 will
4968 not be enabled by default in non-experimental release until it has
4969 been approved by the IETF.
4971 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
4972 This means that to get DH_ANON and LZO compression, you'll need to
4973 specify that manually using '--kx anon' or '--comp lzo'.
4975 ** Minor fixes to the human display format of X.509 certificates.
4977 ** New APIs to extract Distinguished Name's from X.509 certificates.
4978 Based on patch from Howard Chu <hyc@symas.com>.
4980 ** Improved library searching for opencdk.
4981 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
4982 The deprecated opencdk.m4 is no longer used.
4984 ** New APIs to list supported algorithms in the library.
4985 The APIs are gnutls_cipher_list, gnutls_mac_list,
4986 gnutls_compression_list, gnutls_protocol_list,
4987 gnutls_certificate_type_list, gnutls_kx_list, and
4988 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
4990 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
4992 ** New configure option --disable-tls-authorization to disable tls-authz.
4994 ** Fix prototype for `gnutls_psk_set_client_credentials'.
4995 The last parameter was renamed from 'flags' to 'format' and the type
4996 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
4997 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
4998 (Ludovic Courtès).
5000 ** Fix allocation in gnutls_certificate_set_openpgp_key.
5001 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
5003 ** API and ABI modifications:
5004 gnutls_x509_dn_t: ADD.
5005 gnutls_x509_ava_st: ADD.
5006 gnutls_x509_crt_get_subject,
5007 gnutls_x509_crt_get_issuer: ADD.
5008 gnutls_x509_dn_get_rdn_ava: ADD.
5009 gnutls_cipher_list: ADD.
5010 gnutls_mac_list: ADD.
5011 gnutls_compression_list: ADD.
5012 gnutls_protocol_list: ADD.
5013 gnutls_certificate_type_list: ADD.
5014 gnutls_kx_list: ADD.
5015 gnutls_cipher_suite_info: ADD.
5017 * Version 1.7.7 (released 2007-02-22)
5019 ** Support for supplemental handshake messages and authorization data.
5020 Supplemental data is described in RFC 4680 and the authorization
5021 extensions in draft-housley-tls-authz-extns-07.
5023 ** Support for authorization data in gnutls-cli and gnutls-serv.
5024 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
5026 ** Fix for gnutls_x509_crt_check_hostname.
5027 Before it would have reported that the certificate matched a hostname
5028 when it did not have any dNSName or any CN field.  Report and tiny
5029 patch from "Richard W.M. Jones" <rjones@redhat.com>.
5031 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
5032 Tests regressions of the bug, and several other features.
5034 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
5035 Before there were no support for iPAddress SAN's during comparison.
5037 ** New API to print information about CRL's.
5038 The function is gnutls_x509_crl_print.
5040 ** New API to extract signature value from CRL's.
5041 The function is gnutls_x509_crl_get_signature.
5043 ** Support for directoryName Subject Alternative Name's.
5044 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
5045 string in the provided buffer.
5047 ** Internal improvements to certtool.
5048 It uses gnutls_x509_crl_print to print CRL information.  It uses some
5049 more gnulib modules to simplify error handling.
5051 ** API and ABI modifications:
5052 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
5053 gnutls_supplemental_data_format_type_t: ADD.
5054 gnutls_authz_data_format_type_t: ADD.
5055 gnutls_supplemental_get_name: ADD.
5056 gnutls_authz_recv_callback_func,
5057 gnutls_authz_send_callback_func: ADD, callback prototypes.
5058 gnutls_authz_enable: ADD.
5059 gnutls_authz_send_x509_attr_cert,
5060 gnutls_authz_send_saml_assertion,
5061 gnutls_authz_send_x509_attr_cert_url,
5062 gnutls_authz_send_saml_assertion_url: ADD.
5063 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
5064 gnutls_x509_crl_print: ADD.
5065 gnutls_x509_crl_get_signature: ADD.
5067 * Version 1.7.6 (released 2007-02-12)
5069 ** Support for 'otherName' Subject Alternative Names.
5070 The existing API gnutls_x509_crt_get_subject_alt_name may now return
5071 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
5072 To find out the otherName OID (necessary for proper parsing of the
5073 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
5074 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
5075 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
5076 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
5078 ** Certtool can print otherName SAN values for certificates.
5079 For known otherName OIDs (currently only id-on-xmppAddr as defined by
5080 RFC 3920), it will also print the name.
5082 ** Fix TLS 1.2 RSA signing in servers.
5083 Before it used the old-style MD5+SHA1 signature, but the TLS
5084 signatures should be normal PKCS#1 signatures.  FYI, we use and
5085 require that DigestInfo parameters are present and NULL for TLS 1.2.
5087 ** Add APIs to access X.509 extensions sequentially.
5088 The existing APIs gnutls_x509_crt_get_extension_oid() and
5089 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
5090 inspect the extensions in the order defined by the certificate.
5092 ** Add API to extract signature value from X.509 certificates.
5093 The function is gnutls_x509_crt_get_signature.
5095 ** Fix crash when generating proxy certificates in batch mode.
5096 If you don't specify a proxy policy in batch mode, it will use
5097 id-ppl-inheritALL.
5099 ** Add API to print information about X.509 certificates.
5100 The function is gnutls_x509_crt_print.
5102 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
5103 One consequence of this is that the output syntax has changed
5104 slightly.  Some more fields are printed.
5106 ** Doc fixes.
5108 ** API and ABI modifications:
5109 gnutls_x509_crt_print: ADD
5110 gnutls_certificate_print_formats_t: ADD, new enum.
5111 gnutls_x509_crt_get_signature: ADD.
5112 gnutls_x509_crt_get_extension_data: ADD.
5113 gnutls_x509_crt_get_extension_info: ADD.
5114 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
5115 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
5116 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
5118 * Version 1.7.5 (released 2007-02-06)
5120 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
5121 ** is set.
5123 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
5125 ** Fix --list output for gnutls-cli and gnutls-serv.
5126 Mention TLS1.2, SHA512 etc.
5128 ** Manual contains new section on setting up a test HTTP server.
5129 A server set up following those descriptions are available online via
5130 <http://www.gnutls.org/server.html>.
5132 ** Update of gnulib files.
5134 ** API and ABI modifications:
5135 No changes since last version.
5137 * Version 1.7.4 (released 2007-02-05)
5139 ** Support for RSA signing using SHA-256/384/512.
5140 A new self test "sha2" tries to build a long X.509 certificate chain
5141 testing all new hashes.
5143 ** The gnutls-serv tool now use static DH parameters if none are supplied.
5145 ** Discuss proxy certificates in the manual.
5147 ** Improve bibliographical citations in the manual.
5149 ** Update of gnulib files.
5151 ** Fix certtool template handling of pathLenConstraints.
5152 It now defaults to -1 instead of 0, which causes the field to be
5153 missing unless the template specify it.
5155 ** API and ABI modifications:
5156 GNUTLS_MAC_SHA256,
5157 GNUTLS_MAC_SHA384,
5158 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
5159 GNUTLS_DIG_SHA256,
5160 GNUTLS_DIG_SHA384,
5161 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
5162 GNUTLS_SIGN_RSA_SHA256,
5163 GNUTLS_SIGN_RSA_SHA384,
5164 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
5166 * Version 1.7.3 (released 2007-02-01)
5168 ** New option to certtool: --generate-proxy.
5169 This will generate a Proxy Certificate from an end entity certificate.
5170 Proxy Certificates are documented in RFC 3820.  You will need to
5171 specify the proxy certificate's private key with --load-privkey, the
5172 user certificate with --load-certificate and the private key used to
5173 sign the new proxy certificate with --load-ca-privkey.  Certtool will
5174 query for proxy path length and the policy language OID.  Currently
5175 only OIDs that have an empty policy are supported (which includes the
5176 two OIDs defined by RFC 3820).
5178 ** Certtool --certificate-info now prints information for Proxy Certificates.
5179 Before the proxy extension was just printed as DER encoded data.
5181 ** New APIs to set proxy subject names and get/set proxy cert extension.
5183 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
5185 ** Added self-test to test for regressions of pathLenConstraint bug.
5186 Incidentally, this also test (some) other regressions or changes in
5187 the output from certtool --certificate-info.
5189 ** When certtool generates CA certificates, pressing enter on the path
5190 ** length constraint query will now remove the field.
5191 Before it set the path length constraint to 0, which is a rather poor
5192 default.
5194 ** Certtool now print times in UTC when printing certificate/CRL info.
5196 ** Add better fix to work around C++ compiler bug on Mac OS X.
5197 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
5199 ** Fix import of ASCII armored OpenPGP keys.
5200 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
5202 ** Update of gnulib files.
5204 ** API and ABI modifications:
5205 gnutls_x509_crt_set_proxy_dn: ADD.
5206 gnutls_x509_crt_set_proxy: ADD.
5207 gnutls_x509_crt_get_proxy: ADD.
5209 * Version 1.7.2 (released 2007-01-14)
5211 ** Certtool now print the value of the pathLenConstraints field for certs.
5213 ** Certtool now query for path length constraints when generating CA certs.
5214 For batch uses, the certtool configuration name is "path_len".
5215 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
5217 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
5218 The new functions gnutls_x509_crt_get_basic_constraints and
5219 gnutls_x509_crt_set_basic_constraints provide a superset of the
5220 functionality in the old gnutls_x509_crt_get_ca_status and
5221 gnutls_x509_crt_set_ca_status (respectively), but the old functions
5222 will continue to be supported.
5224 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
5225 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
5226 OpenCDK release with this patch will be made soon, which should bump
5227 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
5229 ** Certtool --to-p12 can now store more than one certificate in the blob.
5230 Before it could only store one certificate, but now it will read and
5231 store as many certificate there are from the --load-certificate file.
5232 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
5234 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
5235 In particular, the OpenPGP function variables are no longer part of
5236 the exported libgnutls interface, and no header files from
5237 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
5238 were never intended for non-internal purposes, and thus this does not
5239 imply a change in the external API/ABI.
5241 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
5242 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5244 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
5245 Before these parameters were set to make GnuTLS build under mingw32,
5246 however, they appear to no longer be necessary.
5248 ** A minor fix to the C++ library to make it build.
5249 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
5251 ** Update of gnulib files.
5253 ** API and ABI modifications:
5254 gnutls_x509_crt_get_basic_constraints: ADD.
5255 gnutls_x509_crt_set_basic_constraints: ADD.
5256 cdk_pubkey_to_sexp: ADD (in opencdk).
5257 cdk_seckey_to_sexp: ADD (in opencdk).
5259 * Version 1.7.1 (released 2006-12-28)
5261 ** TLS 1.2 server side fix.
5262 The Certificate Request sent did not contain the list of supported
5263 hashes field, thus violating the protocol.  It will now contain an
5264 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5266 ** TLS 1.2 DSA signature verification fix.
5267 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5269 ** Fix the list of trusted CAs that server's send to clients.
5270 Before, the list contained issuer DN's instead of subject DN's of the
5271 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
5273 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
5274 Also added a self-test in tests/certificate_set_x509_crl.c to test the
5275 function.  Reported by Max Kellermann <max@duempel.org>.
5277 ** Encode UID fields in DN's as DirectoryString.
5278 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
5279 incorrect, it should have used DirectoryString.  Now it will use
5280 DirectoryString for the UID field, but for backwards compatibility it
5281 will also accept IA5String UID's.  Reported by Max Kellermann
5282 <max@duempel.org>.
5284 ** Improve out-of-sourcedir builds from CVS.
5285 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
5287 ** Bootstrap tools changed.
5288 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
5289 building GnuTLS from CVS.  Libtool 1.5.22 is used.
5291 ** Fixed a syntax error in lib/gnutls.asn.
5292 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
5294 ** Added German translation of GnuTLS messages.
5296 ** Update of gnulib files.
5298 ** API and ABI modifications:
5299 No changes since last version.
5301 * Version 1.7.0 (released 2006-11-29)
5303 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
5304 The details is that the protocol priority set by
5305 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
5306 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
5308 ** Preliminary support for TLS 1.2.
5309 The client has been successfully tested against
5310 https://www.mikestoolbox.org:4433/.
5312 ** Anonself test now print a lot of debugging info, including TLS version.
5314 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
5316 ** Update of gnulib files.
5318 ** API and ABI modifications:
5319 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
5321 *** Pulled up from stable 1.6.x branch:
5323 ** Fix ./configure failure with non-GCC compilers.
5324 This fixes the following error message:
5325 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
5326 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
5328 * Version 1.6.3 (released 2007-05-26)
5330 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
5331 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
5332 from the 1.7.x branch, see
5333 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
5335 ** Have PKCS8 parser return better error codes.
5336 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
5337 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
5338 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
5340 ** Fix mem leak for sessions with client authentication via certificates.
5341 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
5342 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
5344 ** Fix building of 'tlsia' self test.
5345 Earlier some gcc are known to build tlsia linking to
5346 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
5347 the build directory, even though command line parameters look OK.
5348 Changing order of some parameters fixes it.
5350 ** API and ABI modifications:
5351 gnutls_x509_crt_get_raw_issuer_dn: ADD.
5352 gnutls_x509_crt_get_raw_dn: ADD.
5354 * Version 1.6.2 (released 2007-04-18)
5356 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
5357 Before, we remove the parameters field, which resulted in a slightly
5358 different DER encoding which in turn caused signature verification
5359 failures of GnuTLS-generated RSA certificates in some other
5360 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
5361 you read, this may or may not be correct, but our new behaviour appear
5362 to be consistent with other widely used implementations.
5364 ** Regenerate the PKIX ASN.1 syntax tree.
5365 For some reason, after changing the ASN.1 type of ldap-UID in the last
5366 release, the generated C file built from the ASN.1 schema was not
5367 refreshed.  This can cause problems when reading/writing UID
5368 components inside X.500 Distinguished Names.  Reported by devel
5369 <dev001@pas-world.com>.
5371 ** Updated translations.
5373 ** API and ABI modifications:
5374 No changes since last version.
5376 * Version 1.6.1 (released 2006-12-28)
5378 ** Fix the list of trusted CAs that server's send to clients.
5379 Before, the list contained issuer DN's instead of subject DN's of the
5380 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
5382 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
5383 Reported by Max Kellermann <max@duempel.org>.
5385 ** Encode UID fields in DN's as DirectoryString.
5386 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
5387 incorrect, it should have used DirectoryString.  Now it will use
5388 DirectoryString for the UID field, but for backwards compatibility it
5389 will also accept IA5String UID's.  Reported by Max Kellermann
5390 <max@duempel.org>.
5392 ** Fix ./configure failure with non-GCC compilers.
5393 This fixes the following error message:
5394 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
5395 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
5397 ** API and ABI modifications:
5398 No changes since last version.
5400 * Version 1.6.0 (released 2006-11-17)
5402 ** No changes since 1.5.5.
5403 The major changes compared to the 1.4.x branch are:
5405 *** A GnuTLS C++ library is part of the official distribution.
5406 Currently there are no examples or documentation, but hopefully this
5407 will change.  See gnutlsxx.h for the API.
5409 *** Windows is a supported platform.
5410 There are, however, two know bugs.  One is related to select() in
5411 command line tools (not, nota bene, in the library), the other is a
5412 problem with libgcrypt that causes delays.  Help is needed to resolve
5413 those issues, so we feel we can't delay the release because of this.
5415 *** New APIs for custom push/pull function error reporting.
5416 The new APIs are gnutls_transport_set_errno and
5417 gnutls_transport_set_global_errno.  See the release notes for version
5418 1.5.4 for more information.
5420 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
5422 * Version 1.5.5 (released 2006-11-16)
5424 ** Correctly bump shared library version after adding new APIs.
5425 This was forgotten in the last release.
5427 ** Fix unsigned vs signed problem in ex-x509-info.c example.
5428 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
5430 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
5432 ** Update of gnulib files.
5434 ** API and ABI modifications:
5435 No changes since last version.
5437 * Version 1.5.4 (released 2006-11-07)
5439 ** New API functions to set errno in push/pull functions.
5440 Under Windows, setting the errno variable in a push/pull replacement
5441 may end up setting the wrong errno variable, and GnuTLS send/recv
5442 functions become confused about the real errno returned from a failed
5443 push/pull function.  Therefor, we have added two APIs to set the errno
5444 variable used by GnuTLS.  The APIs can also help to keep things
5445 thread-safe, by avoiding potentially global variables.  Typically,
5446 instead of setting errno in your push/pull function, you will call one
5447 of these functions.  It is recommended to use
5448 gnutls_transport_set_errno, but if you don't have the session variable
5449 easily accessible in the push/pull replacement function, you can use
5450 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
5451 <tim.kosse@filezilla-project.org>.
5453 void gnutls_transport_set_errno (gnutls_session_t session, int err);
5454 void gnutls_transport_set_global_errno (int err);
5456 ** When calling `recv' or `send' Windows errors are handled properly.
5457 The Windows recv/send functions doesn't use errno, and GnuTLS now use
5458 WSAGetLastError to access the error condition instead.
5460 ** Several OpenPGP API fixes.
5461 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
5462 important fix is to change the return value of
5463 gnutls_openpgp_privkey_get_pk_algorithm and
5464 gnutls_openpgp_key_get_pk_algorithm from 'int' to
5465 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
5466 compatible with 'int').
5468 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
5469 ** version, try to negotiate the highest version support by the GnuTLS server,
5470 ** instead of the lowest.
5471 Reported by <Pasi.Eronen@nokia.com>.
5473 ** Replace old constructs with use of gnulib modules.
5474 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
5475 the code.  If the headers doesn't exist on the target system, gnulib
5476 will make sure its replacement header files are used instead.
5478 ** Fix SOVERSION computation for *.def files.
5479 This fixes build errors similar to "No rule to make target
5480 `libgnutls-`expr', needed by `all-am'." when building for Windows.
5482 ** gnutls_check-version uses strverscmp from gnulib.
5484 ** Update of gnulib files.
5486 ** API and ABI modifications:
5487 gnutls_transport_set_errno: ADD
5488 gnutls_transport_set_global_errno: ADD
5490 * Version 1.5.3 (released 2006-10-26)
5492 ** Add new self-test of RSA-MD5 signature chains.
5493 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
5494 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
5495 and is based on the work by Marc Stevens et al, see
5496 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
5498 ** Re-factor self tests.
5500 ** The include copy of Libtasn1 is updated to version 0.3.7.
5502 ** The included copy of OpenCDK is updated to version 0.5.11.
5504 ** Fix the filename of the *.def file on Windows after library version bump.
5506 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
5507 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
5508 gnulib modules.  Earlier we could only use the LGPL'ed module from
5509 gnulib, because two gnulib directories in the same project didn't
5510 work.
5512 ** API and ABI modifications:
5513 No changes since last version.
5515 * Version 1.5.2 (released 2006-10-03)
5517 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
5518 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
5519 shared library version than this version, so you'll have to remove
5520 them and possibly relink your applications.  The reason for this is
5521 that no API/ABI changes have been made since the 1.4.x branch, and
5522 that incrementing the shared library version was a mistake.  Reported
5523 by Andreas Metzler <ametzler@downhill.at.eu.org>.
5525 ** Fix off-by-one error when computing length to malloc.
5526 The code is used by gnutls_openpgp_add_keyring_file and
5527 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
5528 <agl@imperialviolet.org>.
5530 ** Add version script for the GnuTLS C++ library.
5531 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5533 ** Fix the C++ compiler detection logic.
5534 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
5536 ** Update of gnulib files.
5538 ** API and ABI modifications:
5539 No changes since last version.
5541 * Version 1.5.1 (released 2006-09-21)
5543 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
5544 ** Crypto 06 rump session attack.
5545 In particular, we check that the digestAlgorithm.parameters field is
5546 missing or empty, to avoid that it can contain "garbage" that may be
5547 used to alter the numeric properties of the signature.  See
5548 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
5549 not exactly the same as the problem we fix here).  Reported by Yutaka
5550 OIWA <y.oiwa@aist.go.jp>.
5552 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
5553 up to date information.
5555 ** Add self test to test for above flaw.
5557 ** Fix gnutls-cli-debug regarding resume support detection.
5558 Earlier, if the session-id from the server had a length of 0, it would
5559 indicate that the server supports resumption, which isn't the case.
5560 Reported by Kataja Kai <kai.kataja@op.fi>.
5562 ** Fix building of examples on FreeBSD by including netinet/in.h.
5563 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
5565 ** Fix certtool bug that caused the private key to not be loaded when
5566 generating a certificate with --load-request, which in turn triggered
5567 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
5568 by Sascha Ziemann <sascha.ziemann@secunet.com>.
5570 ** gnutls-cli and gnutls-serv works on Windows.
5571 The problem was the select() call that doesn't work on file
5572 descriptors (stdin) on Windows.  We borrowed some code from plibc to
5573 solve this.  It appears to be somewhat unreliable though.
5575 ** Autoconf 2.60 is now used.
5577 ** API and ABI modifications:
5578 No changes since last version.
5580 * Version 1.5.0 (released 2006-08-13)
5582 ** Change SRP and Cert-Type extensions to match IANA registry.
5584 ** Fixed bug in OpenPGP authentication handshake.
5586 ** Improvements for building under MinGW.
5587 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
5588 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
5589 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
5590 at run-time from ws2_32.dll, and falls back on a simple replacement if
5591 it is not available.  Builds the library with -mms-bitfields
5592 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
5593 create *.def files, which are installed.
5595 ** The examples now (conditionally) include config.h and link to gnulib.
5596 No other source changes were necessary, so the examples should
5597 continue to be possible to use stand-alone without any autoconf or
5598 gnulib stuff.
5600 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
5601 You may unconditionally disable it with --disable-cxx.  See
5602 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
5603 implementation.
5605 ** Made command line tool '--version' behave according to GNU Standards.
5606 This enables 'make distcheck' to succeed.
5608 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
5610 ** Make --without-included-libtasn1 work.
5611 Reported by Daniel Black <dragonheart@gentoo.org>.
5613 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
5614 See http://www.gnu.org/software/gnutls/security.html regardging
5615 GNUTLS-SA-2006-2 for more up to date information.  Reported by
5616 satyakumar <satyam_kkd@hyd.hellosoft.com>.
5618 ** API and ABI modifications:
5619 No changes since last version.
5621 * Version 1.4.5 (released 2006-11-06)
5623 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
5624 ** version, try to negotiate the highest version support by the GnuTLS server,
5625 ** instead of the lowest.
5626 Reported by <Pasi.Eronen@nokia.com>.
5628 ** Fix typo in doc/examples/ex-serv-pgp.c.
5629 Reported by Adam Langley" <agl@imperialviolet.org>.
5631 ** API and ABI modifications:
5632 No changes since last version.
5634 * Version 1.4.4 (released 2006-09-12)
5636 ** Relax the test that caught signatures that exploit the variant of
5637 ** Bleichenbacher's Crypto 06 rump session attack on our
5638 ** verification logic flaw.
5639 In particular, we now permit the digestAlgorithm.parameters field to
5640 be present but empty, whereas in 1.4.3 we actually checked that the
5641 field was absent.
5643 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
5644 The messages are only printed in debug mode, which is not recommended
5645 for normal use, and thus logging this situation cannot be abused as an
5646 oracle in typical recommended situations.
5648 ** API and ABI modifications:
5649 No changes since last version.
5651 * Version 1.4.3 (released 2006-09-08)
5653 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
5654 ** Crypto 06 rump session attack.
5655 In particular, we check that the digestAlgorithm.parameters field is
5656 empty, to avoid that it can contain "garbage" that may be used to
5657 alter the numeric properties of the signature.  See
5658 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
5659 not exactly the same as the problem we fix here).  Reported by Yutaka
5660 OIWA <y.oiwa@aist.go.jp>.
5662 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
5663 up to date information.
5665 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
5666 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
5667 Reported by Werner Koch <wk@gnupg.org>.
5669 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
5670 up to date information.
5672 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
5674 ** API and ABI modifications:
5675 No changes since last version.
5677 * Version 1.4.2 (released 2006-08-12)
5679 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
5680 This can happen if you call gnutls_certificate_verify_peers2 and have
5681 a certain mix of local CA certificates and the peer send special
5682 certificates, that together trigger certain behaviour.  It is not
5683 known at this point whether the crash can be triggered without the
5684 special local CA certificate, and thus turn this into a remote crash
5685 of clients that verify server certificates when they talk to a server
5686 with the special server certificate.  See GNUTLS-SA-2006-2 on
5687 http://www.gnu.org/software/gnutls/security.html for more up to date
5688 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
5690 ** Change SRP and Cert-Type extensions to match IANA registry.
5692 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
5694 ** Make --without-included-libtasn1 work.
5695 Reported by Daniel Black <dragonheart@gentoo.org>.
5697 ** API and ABI modifications:
5698 No changes since last version.
5700 * Version 1.4.1 (released 2006-06-14)
5702 ** Replaced inactive ifdefs to enable openpgp support in test programs.
5704 ** Fixed bug in OpenPGP authentication handshake.
5706 ** Fixed typographical in man pages.
5708 ** Build fixes of the manual.
5710 ** Added Swedish translation.
5712 ** API and ABI modifications:
5713 No changes since last version.
5715 * Version 1.4.0 (released 2006-05-15)
5717 ** Remove GnuTLS 0.8.x compatibility functions.
5719 ** The libgcrypt RNG is initialized in gnutls_global_init().
5721 ** TLS/IA API changes from Emile van Bergen.
5722 A dummy credential structure is not needed now, if you wish to use the
5723 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
5724 a session.
5726 ** The self-tests are now run under valgrind, if it is installed.
5728 ** Libtasn1 is updated to 0.3.4, and that version is now required.
5730 ** The command line tools now use getaddrinfo and support IPv6.
5732 ** API and ABI modifications:
5733 _gnutls_x509_get_raw_crt_activation_time,
5734 _gnutls_x509_get_raw_crt_expiration_time: Removed.
5735 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
5736 gnutls_ia_enable: Added.
5738 * Version 1.3.5 (released 2006-03-08)
5740 ** Error messages are now translated using GNU Gettext.
5742 ** The function gnutls_x509_crt_to_xml now return an internal error.
5743 This means that the code to convert X.509 certificates to XML format
5744 does not work any more.  The reason is that the function called
5745 libtasn1 internal functions.  It seems unclean for libtasn1 to export
5746 the APIs needed here.  Instead it would be better to implement XML
5747 support inside libtasn1 properly.  If you need this functionality
5748 strongly, please consider looking into implementing this suggested
5749 approach instead.  As a workaround, you may also modify lib/x509/xml.c
5750 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
5752 ** Libraries are now built with libtool's -no-undefined.
5753 This helps producing libraries for Windows using mingw32.
5755 ** Doc fixes to explain that gnutls_record_send can block.
5757 ** Libtasn1 0.3.1 or later is now required.
5758 The include copy has been updated too.
5760 ** gnutls-cli can now recognize services and port numbers with the -p option.
5762 ** API and ABI modifications:
5763 No changes since last version.
5765 * Version 1.3.4 (released 2006-02-09)
5767 ** Fix read of out bounds bug in DER parser.
5768 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
5769 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
5770 previous bug fix.  The included libtasn1 version in GnuTLS has been
5771 updated.
5773 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
5774 longer invalidate a session if the underlying send fails, but it will 
5775 prevent future writes. That is to allow reading the already received data.
5776 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
5778 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
5779 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
5780 more than one certificates were added. Report and patch by Max Kellermann.
5782 ** Fix build problems of OpenCDK on AIX.
5783 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
5785 ** API and ABI modifications:
5786 No changes since last version.
5788 * Version 1.3.3 (released 2006-01-12)
5790 ** New API to access the TLS master secret.
5791 When possible, you should use the TLS PRF functions instead.
5792 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
5794 ** Improved handling when multiple libraries use GnuTLS at the same time.
5795 Now gnutls_global_init() can be called multiple times, and
5796 gnutls_global_deinit() will only deallocate the structure when it has
5797 been called as many times as gnutls_global_init() was called.
5799 ** Added a self test of TLS resume functionality.
5801 ** Fix crash in TLS resume code, caused by TLS/IA changes.
5803 ** Documentation fixes about thread unsafety, prompted by
5804 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
5805 In particular, gnutls_global_init() and gnutls_global_deinit() are not
5806 thread safe.  Careful callers may want to protect the call using a
5807 mutex.  The problem could also be ignored, which would cause a memory
5808 leak under rare conditions when two threads invoke the function
5809 roughly at the same time.
5811 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
5813 ** The code was indented again, including the external header files.
5815 ** API and ABI modifications:
5816 New functions to retrieve the master secret value:
5817   gnutls_session_get_master_secret
5819 Add a 'const' keyword to existing API:
5820   gnutls_x509_crq_get_challenge_password
5822 * Version 1.3.2 (released 2005-12-15)
5824 ** GnuTLS now support TLS Inner application (TLS/IA).
5825 This is per draft-funk-tls-inner-application-extension-01.  This
5826 functionality is added to libgnutls-extra, so it is licensed under the
5827 GNU General Public License.
5829 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
5830 The PRF is used by some protocols building on TLS, such as EAP-PEAP
5831 and EAP-TTLS.  One function to access the raw PRF and one to access
5832 the PRF seeded with the client/server random fields are provided.
5833 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
5835 ** New APIs to acceess the client and server random fields in a session.
5836 These fields can be useful by protocols using TLS.  Note that these
5837 fields are typically used as input to the TLS PRF, and if this is your
5838 intended use, you should use the TLS PRF API that use the
5839 client/server random field directly.  Suggested by Jouni Malinen
5840 <jkmaline@cc.hut.fi>.
5842 ** Internal type cleanups.
5843 The uint8, uint16, uint32 types have been replaced by uint8_t,
5844 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
5845 correct types on platforms that lack them.  The uint type have been
5846 replaced by unsigned.
5848 ** API and ABI modifications:
5849 New functions to invoke the TLS Pseudo-Random-Function (PRF):
5850   gnutls_prf
5851   gnutls_prf_raw
5853 New functions to retrieve the session's client and server random values:
5854   gnutls_session_get_server_random
5855   gnutls_session_get_client_random
5857 New function, to perform TLS/IA handshake:
5858   gnutls_ia_handshake
5860 New function to decide whether to do a TLS/IA handshake:
5861   gnutls_ia_handshake_p
5863 New functions to allocate a TLS/IA credential:
5864   gnutls_ia_allocate_client_credentials
5865   gnutls_ia_free_client_credentials
5866   gnutls_ia_allocate_server_credentials
5867   gnutls_ia_free_server_credentials
5869 New functions to handle the AVP callback:
5870   gnutls_ia_set_client_avp_function
5871   gnutls_ia_set_client_avp_ptr
5872   gnutls_ia_get_client_avp_ptr
5873   gnutls_ia_set_server_avp_function
5874   gnutls_ia_set_server_avp_ptr
5875   gnutls_ia_get_server_avp_ptr
5877 New functions, to toggle TLS/IA application phases:
5878   gnutls_ia_require_inner_phase
5880 New function to mix session keys with inner secret:
5881   gnutls_ia_permute_inner_secret
5883 Low-level API (used internally by gnutls_ia_handshake):
5884   gnutls_ia_endphase_send
5885   gnutls_ia_send
5886   gnutls_ia_recv
5888 New functions that can be used after successful TLS/IA negotiation:
5889   gnutls_ia_generate_challenge
5890   gnutls_ia_extract_inner_secret
5892 Enum type with TLS/IA modes:
5893   gnutls_ia_mode_t
5895 Enum type with TLS/IA packet types:
5896   gnutls_ia_apptype_t
5898 Enum values for TLS/IA alerts:
5899   GNUTLS_A_INNER_APPLICATION_FAILURE
5900   GNUTLS_A_INNER_APPLICATION_VERIFICATION
5902 New error codes, to signal when an application phase has finished:
5903   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
5904   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
5906 New error code to signal TLS/IA verify failure:
5907   GNUTLS_E_IA_VERIFY_FAILED
5909 * Version 1.3.1 (released 2005-12-08)
5911 ** Support for DHE-PSK cipher suites has been added.
5912 This method offers perfect forward secrecy.
5914 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5915 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5917 ** Corrected a bug in certtool for 64 bit machines. Reported
5918 by Max Kellermann <max@duempel.org>.
5920 ** New function to set a X.509 private key and certificate pairs, and/or
5921 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
5922 <emile@e-advies.nl>.
5924 The integrity of the PKCS#12 file is protected through a password
5925 based MAC; public-key based signatures for integrity protection are
5926 not supported.  PKCS#12 bags may be encrypted using password derived
5927 symmetric keys, public-key based encryption is not supported.  The
5928 PKCS#8 keys may be encrypted using passwords.  The API use the same
5929 password for all operations.  We believe that any more flexibility
5930 create too much complexity that would hurt overall security, but may
5931 add more PKCS#12 related APIs if real-world experience indicate
5932 otherwise.
5934 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
5935 reported by Emile van Bergen <emile@e-advies.nl>.
5936 This will enable "certtool -k -8" to parse those keys.
5938 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
5939 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
5940 certtool would have encrypted the key using an empty password.
5942 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
5943 Earlier it would have prompted the user for it, even if --password was
5944 supplied.
5946 ** Added self test of PKCS#8 parsing.
5947 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
5948 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
5949 tests/pkcs8.
5951 ** API and ABI modifications:
5952 New function to set X.509 credentials from a PKCS#12 file:
5953   gnutls_certificate_set_x509_simple_pkcs12_file
5955 New gnutls_kx_algorithm_t enum type:
5956   GNUTLS_KX_DHE_PSK
5958 New API to return session data (basically same as gnutls_session_get_data):
5959   gnutls_session_get_data2
5961 New API to set PSK Diffie-Hellman parameters:
5962   gnutls_psk_set_server_dh_params
5964 * Version 1.3.0 (2005-11-15)
5966 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
5967 This add several new APIs, see below.  Read the updated manual for
5968 more information.  A new self test "pskself" has been added, that will
5969 test this functionality.
5971 ** The session resumption data are now system independent.
5973 ** The code has been re-indented to conform to the GNU coding style.
5975 ** Removed the RIPEMD ciphersuites.
5977 ** Added a discussion of the internals of gnutls in manual.
5979 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
5981 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
5983 ** Make sure config.h is included first in a few files, from Albert Chin.
5985 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
5987 ** Don't install SRP programs and man pages if --disable-srp-authentication,
5988 from Albert Chin.
5990 ** API and ABI modifications:
5991 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
5993 New gnutls_credentials_type_t credential type:
5994   GNUTLS_CRD_PSK
5996 New credential types:
5997   gnutls_psk_server_credentials_t
5998   gnutls_psk_client_credentials_t
6000 New functions to allocate PSK credentials:
6001   gnutls_psk_allocate_client_credentials
6002   gnutls_psk_free_client_credentials
6003   gnutls_psk_free_server_credentials
6004   gnutls_psk_allocate_server_credentials
6006 New enum type for PSK key flags:
6007   gnutls_psk_key_flags
6009 New function prototypes for credential callback:
6010   gnutls_psk_client_credentials_function
6011   gnutls_psk_server_credentials_function
6013 New function to set PSK username and key:
6014   gnutls_psk_set_client_credentials
6016 New function to set PSK passwd file:
6017   gnutls_psk_set_server_credentials_file
6019 New function to extract PSK user in server:
6020   gnutls_psk_server_get_username
6022 New functions to set PSK callback:
6023   gnutls_psk_set_server_credentials_function
6024   gnutls_psk_set_client_credentials_function
6026 Use size_t instead of int for output size parameter:
6027   gnutls_srp_base64_encode
6028   gnutls_srp_base64_decode
6030 * Version 1.2.11 (2006-05-11)
6031 - The function gnutls_x509_crt_to_xml is not supported any more, and
6032   return an internal error.  The reason is that the function called
6033   internal libtasn1 functions which are no longer exported from
6034   libtasn1.
6035 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
6036 - Updated gnulib compatibility files.
6037 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
6038   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
6039 - API and ABI modifications:
6040   No changes since last version.
6042 * Version 1.2.10 (2006-02-09)
6043 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
6044   <admin@gleg.net>, and debugging help from Protover SSL.
6045 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
6046   The included version has been updated too.
6047 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
6048   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
6049 - Corrected a bug in certtool for 64 bit machines. Reported
6050   by Max Kellermann <max@duempel.org>.
6051 - Corrected bugs in gnutls_certificate_set_x509_crl() and
6052   gnutls_certificate_set_x509_trust(), that caused memory corruption if
6053   more than one certificates were added. Report and patch by Max Kellermann.
6054 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
6055   longer invalidate a session if the underlying send fails, but it will 
6056   prevent future writes. That is to allow reading the already received data.
6057   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
6059 * Version 1.2.9 (2005-11-07)
6060 - Documentation was updated and improved.
6061 - RSA-MD2 is now supported for verifying digital signatures.
6062 - Due to cryptographic advances, verifying untrusted X.509
6063   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
6064   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
6065   applications that must remain interoperable, you can use the
6066   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
6067   flags when verifying certificates.  Naturally, this is not
6068   recommended default behaviour for applications.  To enable the
6069   broken algorithms, call gnutls_certificate_set_verify_flags with the
6070   proper flag, to change the verification mode used by
6071   gnutls_certificate_verify_peers2.
6072 - Make it possible to send empty data through gnutls_record_send,
6073   to align with the send(2) API.
6074 - Some changes in the certificate receiving part of handshake to prevent
6075   some possible errors with non-blocking servers.
6076 - Added numeric version symbols to permit simple CPP-based feature
6077   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
6078 - The (experimental) low-level crypto alternative to libgcrypt used
6079   earlier (Nettle) has been replaced with crypto code from gnulib.
6080   This leads to easier re-use of these components in other projects,
6081   leading to more review and simpler maintenance.  The new configure
6082   parameter --with-builtin-crypto replace the old --with-nettle, and
6083   must be used if you wish to enable this functionality.  See README
6084   under "Experimental" for more information.  Internally, GnuTLS has
6085   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
6086   API is similar to the old crypto/gc.h, because the gnulib code were
6087   based on GnuTLS's gc.h.
6088 - Fix compiler warning in the "anonself" self test.
6089 - API and ABI modifications:
6090 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
6091                              This doesn't reflect a change in behaviour,
6092                              so we don't break backwards compatibility.
6093 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
6094 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
6095 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
6096 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
6097                                   Use when calling
6098                                   gnutls_x509_crt_list_verify,
6099                                   gnutls_x509_crt_verify, or
6100                                   gnutls_certificate_set_verify_flags.
6101 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
6102                                 used when broken signature algorithms
6103                                 is used (currently RSA-MD2/MD5).
6104 LIBGNUTLS_VERSION_MAJOR,
6105 LIBGNUTLS_VERSION_MINOR,
6106 LIBGNUTLS_VERSION_PATCH,
6107 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
6108                           version number, can be used for feature existence
6109                           tests.
6111 * Version 1.2.8 (2005-10-07)
6112 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
6113 - Don't install the auxilliary libexamples library used by the
6114   examples in doc/examples/ on "make install", report and tiny patch
6115   from Thomas Klausner <tk@giga.or.at>.
6116 - If you pass a X.509 CA or PGP trust database to the command line
6117   tool, it will now abort the connection if the server certificate
6118   validation fails.  Use the parameter --insecure to continue even
6119   after certificate validation failures.  Inspired from discussion
6120   with Alexander Kotelnikov <sacha@myxomop.com>.
6121 - The test for socklen_t has been moved to gnulib.
6122 - Link failures for duplicate or missing "program_name" symbol has been fixed,
6123   patch from Martin Lambers <marlam@marlam.de>.
6124 - The command line tool and the examples no longer uses mmap or bzero,
6125   to make them more portable, patch from Martin Lambers
6126   <marlam@marlam.de>.
6127 - Made the PKCS #12 API handle null passwords. Based on patch by
6128   Anton Altaparmakov <aia21@cam.ac.uk>.
6129 - The GTK-DOC manual should build with current released tools.
6130   (But a copy of the output is included, so the tools are not required.)
6131 - The inet_ntop function is now used through gnulib.
6132 - API and ABI modifications:
6133   No changes since last version.
6135 * Version 1.2.7 (2005-09-09)
6136 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
6137 - Certtool now complains when reading out-of-range X.509 serial
6138   numbers, suggested by Fran <e_agf@yahoo.es>.
6139 - Certtool now uses the readline library (when available) when reading
6140   X.509 serial numbers.
6141 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
6142 - Fixed compile warning regarding socklen_t on Mingw32, reported by
6143   Martin Lambers <marlam@marlam.de>.
6144 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
6145 - Gnulib is now used for the core library, enabling future code cleanups.
6146 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
6147   suggested by Daniel Stenberg <daniel@haxx.se>.
6148 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
6149 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
6150 - Disable zlib support if zlib.h is not present.
6151 - A number of internal cleanups.
6152 - API and ABI modifications:
6153   No changes since last version.
6155 * Version 1.2.6 (2005-07-16)
6156 - MiniLZO updated to version 2.01 and moved to separate directory.
6157 - Collision between system LZO header files and MiniLZO header file
6158   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
6159 - Will now test for liblzo functionality in liblzo2 too, reported by
6160   Thomas Klausner <tk@giga.or.at>.
6161 - Minilibtasn1 is now 0.2.14 (no code changes).
6162 - Some code changes to avoid GTK-DOC warnings.
6163 - API and ABI modifications:
6164   No changes since last version.
6166 * Version 1.2.5 (2005-07-03)
6167 - More builddir != srcdir fixes, reported by Mike Castle
6168   <dalgoda@ix.netcom.com>.
6169 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
6170   reported by Adam Langley <alangley@gmail.com>.
6171 - Corrected some stuff in minilzo detection. Pointed out by 
6172   Sergey Lipnevich.
6173 - MiniLZO updated to version 2.00.
6174 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
6175 - API and ABI modifications:
6176   No changes since last version.
6178 * Version 1.2.4 (2005-05-28)
6179 - Corrected some bugs that could affect 64 bit systems.
6180 - Some corrections in the header files to include the prototype
6181   of memmem properly (affected 64 bit systems). Report and patch
6182   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6183 - Introduced the --fix-key option to certtool, which can be used to
6184   regenerate the (optional) parameters in a private key. It should
6185   be used together with --key-info.
6186 - Corrected a bug in certificate chain verification that could lead
6187   to marking a trusted chain as non trusted, if the last certificate in
6188   the chain was a self signed one.
6189 - Gnulib portability files were updated.
6190 - License were updated to reflect new FSF address.
6191 - API and ABI modifications:
6192   No changes since last version.
6194 * Version 1.2.3 (2005-04-28)
6195 - Corrected bug in record packet parsing that could lead
6196   to a denial of service attack.
6197 - Corrected bug in RSA key export. Previously exported keys
6198   can be fixed using certtool. Use certtool -k <infile >outfile
6199 - API and ABI modifications:
6200     gnutls_x509_privkey_fix(): Add.
6202 * Version 1.2.2 (2005-04-25)
6203 - gnutls_error_to_alert() now considers
6204   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
6205 - Fixed error in session resuming that could cause a crash in a session.
6206 - Fixed pkcs12 friendly name and local key identifier decoding.
6207 - Internal cleanups, removed duplicate typedef/struct definitions,
6208   and made source code include external include file, to check
6209   function prototypes during compile time.
6210 - API and ABI modifications:
6211   No changes since last version.  At least not intentional, but due
6212   to the include header changes, there may be inadvertant changes,
6213   please let us know if you find any.
6215 * Version 1.2.1 (2005-04-04)
6216 - gnutls_bye() will no longer fail when RDWR is used and application
6217   data are available for reading.
6218 - Added more strict checks for the SRP parameters (g,n), when they
6219   are not in the included list.
6220 - Added warning to certtool when MD5 is being used for digital
6221   signatures.
6222 - Optimizations ("-O2 -finline-functions") are not enabled by default,
6223   instead the standard autoconf defaults are used.  Use `./configure
6224   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
6225 - Added the option --get-dh-params to certtool, in order to get the
6226   parameters included in the library primes and generators.
6227 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
6228   allow only trusted Version 1 CAs and introduced
6229   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
6230 - Nettle self tests now build properly, reported by Pierre
6231   <pierre42d@9online.fr>.
6232 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
6233   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6234 - If the library has been compiled with features disabled, a warning is 
6235   issued during the compilation of any program.
6236 - API and ABI modifications:
6237     gnutls_x509_crt_list_import(): Add
6238     gnutls_x509_crq_get_attribute_by_oid(): Add.
6239     gnutls_x509_crq_set_attribute_by_oid(): Add
6240     gnutls_x509_crt_set_extension_by_oid(): Add.
6241     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
6242     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
6244 * Version 1.2.0 (2005-01-27)
6245 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
6246 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
6247   gnutls_x509_crl_sign2().
6248 - Fixed license header in source code files.
6250 * Version 1.1.23 (2005-01-18)
6251 - It is now possible to generate PKCS#12 structures without private
6252   keys using "certtool --to-p12", suggested by Fabian Fagerholm
6253   <fabbe@paniq.net>.
6254 - Certtool now prints information for the RSA and DSA parameters of
6255   certificates and private keys.
6256 - Corrected the write of CRL distribution points.
6257 - The certificate chain verification function now checks certificates
6258   in the reverse order to minimize the spent resources.
6259 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
6260 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
6261   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
6262   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
6263   required, instead of the string length.  That is, the value has been
6264   incremented by 1 to account for the terminating zero. Reported by
6265   Martin Lambers <marlam@web.de>.
6266 - Debug output shouldn't crash on platforms that doesn't handle NULL
6267   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
6268 - Sync included copy of libtasn1 with version 0.2.13.
6269 - Client X.509 authenticated connections via gnutls-cli should now work again.
6271 * Version 1.1.22 (2004-11-04)
6272 - Replace GNU LD version script with Libtool -export-symbols-regex,
6273   from Joe Orton <joe@manyfish.co.uk>.
6274 - Documentation improvements.
6275 - Code indented using 'indent -i4 -kr'.
6276 - The API manual is included in Devhelp format.  (Was in last release too,
6277   but the NEWS entry was forgotten.)
6278 - The OpenSSL compatibility code now use the internal crypto interface.
6279 - Added simple self test of OpenSSL compatibility library.
6280 - Internally, libtool convenience libraries are used.
6281 - Cleanups to configure.ac.
6283 * Version 1.1.21 (2004-10-27)
6284 - Print DN of certificates with unknown characters in them, but in hexform
6285   only.
6286 - Added second precision to the X.509 parsing and generation functions.
6287 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
6288   actual OID.
6289 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
6290   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
6291 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
6292   <stephane.loeuillet@tiscali.fr>.
6293 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
6294   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
6295 - Add self test of PKCS#12 functionality in "certtool", based on test
6296   vectors from Joe Orton <joe@manyfish.co.uk>.
6297 - Fix library order in libgnutls*-config --libs output, to permit
6298   static linking, reported by Yoann Vandoorselaere
6299   <yoann@prelude-ids.org>.
6301 * Version 1.1.20 (2004-10-12)
6302 - Fix compile problem in gl/getpass.c on some systems.
6304 * Version 1.1.19 (2004-10-07)
6305 - Fix memory leak in gnutls_certificate_verify_peers and
6306   gnutls_certificate_free_credentials, report and patch by Simon
6307   Posnjak <simon.posnjak@cetrtapot.si>.
6308 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
6309   a key and no certificate to PKCS#12.
6310 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
6311   <gp@familiehaase.de>.
6312 - Fixes faulty getpass implementation in libextra/opencdk/, reported
6313   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
6314 - Uses memmem instead of strnstr in lib/.
6315 - Using more GNULib portability files, although not yet inside lib/.
6316 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
6317   Nikos deprecated gnutls_certificate_verify_peers in favor of
6318   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
6319 - Improvements to the manual.
6320 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
6321 - Known bug: the library require snprintf.  This has not yet been
6322   fixed, but will be handled via GNULib later on.
6324 * Version 1.1.18 (2004-08-24)
6325 - Corrected handling of certificate with dates after year 2038.
6326 - Corrected DER decoder which could incorrectly treat input as BER and fail.
6327 - Correct certtool --smime-to-p7 end of line character handling.
6328 - Added example client and server for anonymous authentication.
6329 - Added self test that tests anonymous TLS client and server.
6330 - Added self tests of Nettle and generic crypto layer.
6331 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
6332   Online version at <http://www.gnu.org/software/gnutls/reference/>.
6333 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
6334 - Man pages for API functions are included.
6336 * Version 1.1.17 (2004-08-18)
6337 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
6338   reported by Robey Pointer <robey@danger.com>.
6339 - Generic crypto interface for secret key ciphers, hashes and randomness added.
6340   See section "Experimental" within section "COMPILATION ISSUES" in README.
6341 - Removed length limit on passwords read by 'certtool'.
6342 - Documentation fixes.
6344 * Version 1.1.16 (2004-08-15)
6345 - Fix missing gnulib linker parameter when building certtool.
6346 - Add gnulib module 'progname', needed by module 'error'.
6347 - Improve building with srcdir != objdir.
6349 * Version 1.1.15 (2004-08-15)
6350 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
6351   PKCS #7 format.
6352 - Ported to Mac OS X / Darwin.
6353 - Ported to FreeBSD.
6355 * Version 1.1.14 (2004-08-09)
6356 - Documentation converted to Texinfo format.
6357 - Bug fix of test suite.
6358 - Configure now print build information, used by Autobuild.
6360 * Version 1.1.13 (2004-08-05)
6361 - Added simple self test suite.
6363 * Version 1.1.12 (2004-08-02)
6364 - Updated the SRP authentication to conform to the
6365   latest (yet unreleased) draft. Unfortunately this breaks
6366   compatibility with previous versions.
6367 - Changed the makefiles to be more portable.
6368 - SRP ciphersuites were moved to the gnutls library.
6369 - Added some default limits in the verification of certificate
6370   chains, to avoid denial of service attacks. Also added 
6371   gnutls_certificate_set_verify_limits() to override them.
6372   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
6373 - Added gnutls_certificate_verify_peers2().
6375 * Version 1.1.11 (2004-07-16)
6376 - Added the '_t' suffix to all exported symbols.
6377 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
6378   <mak@greenhills.co.uk>.
6379 - Corrected a bug in certificate verification. Pointed out by
6380   Yoann Vandoorselaere <yoann@prelude-ids.org>
6381 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
6382   verification functions.
6383 - The ephemeral DH and RSA parameters are no longer stored in the
6384   session resume DB.
6385 - Do not free the SRP (prime and generator) parameters obtained from the 
6386   callback if they are the static ones defined in extra.h
6387 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
6389 * Version 1.1.10 (2004-06-12)
6390 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
6391 - Corrected bug in TLS renegotiation.
6392 - Corrected bug in OpenPGP key loading using a callback.
6393 - gnutls-srpcrypt was renamed to srptool
6394 - Allow handshake requests by the client.
6395 - Automatically disable certificate types that do not have corresponding
6396   certificates.
6397 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
6398 - Opencdk library is being included if not found.
6399 - certtool can now add ip address SAN extension.
6400 - certtool has now support for more X.520 DN attribute types.
6401 - Better handling of EOF in gnutls_record_recv().
6402 - _gnutls_deinit() is no longer used. Sessions are not
6403   automatically removed any more, on abnormal termination.
6404 - Corrected session resuming in SRP ciphersuites.
6405 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
6406 - Added new functions to allow access to the ephemeral
6407   Diffie Hellman parameters.
6408 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
6409   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
6410 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
6411   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
6412   RSA-EXPORT key exchange.
6413 - Some fixes in the session resuming code.
6414 - Added gnutls_openpgp_keyring_check_id().
6416 * Version 1.1.9 (2004-04-14)
6417 - Added support for authority key identifier and the extended key usage
6418   X.509 extension fields. The certtoool was updated to support them.
6419 - The RC2 cipher is no more included. The one in libgcrypt is now used.
6420 - Added batch support to certtool. Now it can use templates.
6422 * Version 1.1.8 (2004-04-07)
6423 - Implemented all the tests for the SRP group parameters in
6424   client side. This may lead to incompatibility with very
6425   old gnutls servers.
6426 - Corrected bug in RSA parameters handling which could cause
6427   unexpected crashes.
6428 - Optimized the copying of rsa_params.
6430 * Version 1.1.7 (2004-03-29)
6431 - Added gnutls_certificate_set_params_function() and 
6432   gnutls_anon_set_params_function() that set the RSA or DH
6433   parameters using a callback.
6434 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
6435   and gnutls_x509_privkey_cpy().
6436 - Corrected a compilation issue when opencdk was installed in a
6437   non standard directory.
6438 - Deprecated: gnutls_srp_server_set_select_function(), 
6439   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
6441 * Version 1.1.6 (2004-02-24)
6442 - Several bug fixes, by Arne Thomassen.
6443 - Fixed a bug where 'server name' extension was always sent.
6445 * Version 1.1.5 (2004-01-06)
6446 - Added the gnutls_sign_algorithm type.
6448 * Version 1.1.4 (2004-01-04)
6449 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
6450   If they are of highest priority then the abbreviated handshake
6451   is used.
6452 - Removed all references of missing files.
6453 - Changed handshake behaviour to send the lowest TLS version
6454   when an unsupported version was advertized. The current behaviour
6455   is to send the maximum version we support.
6456 - Corrected problem printing the DC attributes in a DN.
6458 * Version 1.1.3 (2003-12-30)
6459 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
6460   hack).
6462 * Version 1.1.2 (2003-12-28)
6463 - Added CRL verification functionality to certtool.
6464 - Corrected the CRL distribution point extension handling.
6466 * Version 1.1.1 (2003-12-26)
6467 - Added PKCS #7 support to certtool utility.
6468 - Added support for reading and generating CRL distribution
6469   points extensions in certificates.
6470 - Added support for generating CRLs in the library and the
6471   certtool utility.
6472 - Added support for the Subject Key ID PKIX extension.
6474 * Version 1.1.0 (2003-12-21)
6475 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
6476   are no longer returned by the handshake function. Ciphersuites that
6477   require temporary parameters are removed when such parameters do not exist.
6478 - Added the callbacks gnutls_certificate_client_retrieve_function() and
6479   gnutls_certificate_server_retrieve_function(), to allow a client or a server
6480   to specify certificates for the handshake without storing them to the
6481   credentials structure.
6482 - Added support for generating and exporting DSA private keys.
6483 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
6484   certificate's key usage.
6485 - Added gnutls_openpgp_key_get_key_usage().
6487 * Version 1.0.25 (2005-04-27)
6488 - Corrected bug in record packet parsing that could lead
6489   to a denial of service attack.
6490 - Corrected bug in RSA key export.
6492 * Version 1.0.24 (2005-01-18)
6493 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
6495 * Version 1.0.23 (2004-11-13)
6496 - Replace GNU LD version script with Libtool -export-symbols-regex,
6497   from Joe Orton <joe@manyfish.co.uk>.
6498 - Copy libtasn1 has been updated to version 0.2.11.
6499 - Corrected the write of CRL distribution points.
6500 - It is now possible to generate PKCS#12 structures without private
6501   keys using "certtool --to-p12", suggested by Fabian Fagerholm
6502   <fabbe@paniq.net>.
6504 * Version 1.0.22 (2004-10-28)
6505 - Print DN of certificates with unknown characters in them, but in hexform
6506   only.
6507 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
6508   actual OID.
6509 - Added second precision to the X.509 parsing functions.
6510 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
6511   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
6512 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
6513   <stephane.loeuillet@tiscali.fr>.
6514 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
6515   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
6516 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
6517 - Fix library order in libgnutls*-config --libs output, to permit
6518   static linking, reported by Yoann Vandoorselaere
6519   <yoann@prelude-ids.org>.
6521 * Version 1.0.21 (2004-10-07)
6522 - Fix memory leak in gnutls_certificate_verify_peers and
6523   gnutls_certificate_free_credentials, report and patch by Simon
6524   Posnjak <simon.posnjak@cetrtapot.si>.
6525 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
6526   a key and no certificate to PKCS#12.
6527 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
6528   <gp@familiehaase.de>.
6529 - Avoid redefining getpass if system already has it, reported by
6530   Yoann Vandoorselaere <yoann@prelude-ids.org>.
6531 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
6532 - Known bug: the library require snprintf.
6534 * Version 1.0.20 (2004-08-18)
6535 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
6536   reported by Robey Pointer <robey@danger.com>.
6538 * Version 1.0.19 (2004-08-09)
6539 - Bug fix of test suite.
6541 * Version 1.0.18 (2004-08-05)
6542 - Added simple self test suite.
6544 * Version 1.0.17 (2004-08-02)
6545 - Updated the SRP authentication to conform to the
6546   latest (yet unreleased) draft. Unfortunately this breaks
6547   compatibility with previous versions.
6548 - Changed the makefiles to be more portable.
6549 - Added some default limits in the verification of certificate
6550   chains, to avoid denial of service attacks. Also added 
6551   gnutls_certificate_set_verify_limits() to override them.
6552   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
6553 - Added gnutls_certificate_verify_peers2().
6555 * Version 1.0.16 (2004-07-10)
6556 - Do not free the SRP (prime and generator) parameters obtained from the 
6557   callback if they are the static ones defined in extra.h.
6558 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
6559 - Some fixes in the makefiles.
6561 * Version 1.0.15 (2004-06-29)
6562 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
6563   <mak@greenhills.co.uk>.
6564 - Corrected a bug in certificate verification. Pointed out by
6565   Yoann Vandoorselaere <yoann@prelude-ids.org>.
6567 * Version 1.0.14 (2004-06-12)
6568 - Automatically disable certificate types that do not have corresponding
6569   certificates.
6570 - Updates in the documentation.
6571 - certtool can now add ip address SAN extension.
6572 - certtool has now support for more X.520 DN attribute types.
6573 - Opencdk library is being included if not found.
6574 - Added gnutls_openpgp_keyring_check_id().
6575 - Corrected a serious bug in the included libtasn1 library.
6576 - Corrected session resuming in SRP ciphersuites.
6577 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
6578 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
6579   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
6580 - Some fixes in the session resuming code.
6582 * Version 1.0.13 (2004-04-29)
6583 - Some complilation fixes.
6584 - Added the --xml parameter to the certtool utility.
6586 * Version 1.0.12 (2004-04-23)
6587 - Corrected bug in OpenPGP key loading using a callback.
6588 - Renamed gnutls-srpcrypt to srptool
6589 - Allow handshake requests by the client.
6590 * Things backported from the development branch:
6591 - Added support for authority key identifier and the extended key usage
6592   X.509 extension fields. The certtoool was updated to support them.
6593 - Added batch support to certtool. Now it can use templates.
6594 - The RC2 cipher is no more included. The one in libgcrypt is now used.
6596 * Version 1.0.11 (2004-04-17)
6597 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
6598 - Corrected bug in TLS renegotiation.
6600 * Version 1.0.10 (2004-04-03)
6601 - Corrected bug in RSA parameters handling which could cause
6602   unexpected crashes.
6603 - Corrected bug in SSL 3.0 authentication.
6605 * Version 1.0.9 (2004-03-29)
6606 - Added gnutls_certificate_set_params_function() and 
6607   gnutls_anon_set_params_function() that set the RSA or DH
6608   parameters using a callback.
6609 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
6610   and gnutls_x509_privkey_cpy().
6611 - Corrected a compilation issue when opencdk was installed in a
6612   non standard directory.
6613 - Documented the changes need in multi-threaded application due
6614   to the new libgcrypt.
6616 * Version 1.0.8 (2004-02-28)
6617 - Corrected bug in mutual certificate authentication in SSL 3.0.
6619 * Version 1.0.7 (2004-02-25)
6620 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
6621   hack).
6622 - Some updates in the documentation.
6624 * Version 1.0.6 (2004-02-12)
6625 * Backported things from the development branch (while maintaining
6626   backwards compatibility):
6627 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
6628   If they are of highest priority then the abbreviated handshake
6629   is used.
6630 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
6631   are no longer returned by the handshake function. Ciphersuites that
6632   require temporary parameters are removed when such parameters do not exist.
6633 - Added the callbacks gnutls_certificate_client_retrieve_function() and
6634   gnutls_certificate_server_retrieve_function(), to allow a client or a server
6635   to specify certificates for the handshake without storing them to the
6636   credentials structure.
6637 - Added support for generating and exporting DSA private keys.
6639 * Version 1.0.5 (2004-02-11)
6640 - Fixed a bug where 'server name' extension was always sent.
6641 * Backported things from the development branch:
6642 - Added CRL verification functionality to certtool.
6643 - Corrected the CRL distribution point extension handling.
6644 - Added PKCS #7 support to certtool utility.
6645 - Added support for reading and generating CRL distribution
6646   points extensions in certificates.
6647 - Added support for generating CRLs in the library and the
6648   certtool utility.
6649 - Added support for the Subject Key ID PKIX extension.
6650 - Added the gnutls_sign_algorithm type.
6652 * Version 1.0.4 (2004-01-04)
6653 - Changed handshake behaviour to send the lowest TLS version
6654   when an unsupported version was advertized. The current behaviour
6655   is to send the maximum version we support.
6656 - certtool no longer asks the password in unencrypted private
6657   keys.
6658 - The source is now compiled to use the reentrant libc functions.
6660 * Version 1.0.3 (2003-12-21)
6661 - Corrected bug in gnutls_bye() which made it return an error code
6662   of INVALID_REQUEST instead of success.
6663 - Corrected a bug in the GNUTLS_KEY key usage definitions.
6665 * Version 1.0.2 (2003-12-18)
6666 - Corrected a bug in the RSA key generation. This was
6667   generating unusable RSA keys.
6669 * Version 1.0.1 (2003-12-10)
6670 - Some minor fixes in the makefiles. They now include CFLAGS
6671   from libgcrypt or opencdk if installed in a non standard directory.
6672 - Fixed the SRP detection test in gnutls-cli-debug.
6673 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
6675 * Version 1.0.0 (2003-12-04)
6676 - Exported the static SRP group parameters.
6677 - Some fixes in the certificate authenticated SRP ciphersuites.
6678 - Improved the support for draft-ietf-tls-srp-05. The two-phase
6679   handshake is now fully supported without any interaction with
6680   the application layer (except for a callback).
6682 * Version 0.9.99 (2003-11-28)
6683 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
6684   and gnutls_server_name_get() prototypes.
6685 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
6686   and gnutls_x509_crt_verify_data().
6687 - Some fixes in the openpgp authentication.
6688 - Removed the Twofish cipher.
6690 * Version 0.9.98 (2003-11-16)
6691 - The openssl compatibility layer was moved to gnutls-openssl
6692   library instead of being included in the gnutls-extra library.
6693 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
6694 - Building with openpgp support is now mandatory.
6695 - gnutls4 compatibility header is no longer included by default in
6696   gnutls.h.
6697 - gnutls8 function usage yelds a deprecation warning in gcc3.
6698 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
6699   functions have a raw_flag parameter added.
6700 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
6701   functions which return the available OIDs.
6703 * Version 0.9.97 (2003-11-11)
6704 - The certtool utility can now generate PKCS #12 structures
6705   without specifying a certificate.
6706 - Added capability to read CRLs to certtool.
6707 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
6708   to properly set the required buffer size.
6709 - Corrected a bug in libgcrypt detection.
6711 * Version 0.9.96 (2003-11-09)
6712 - Some changes to allow compilation with mingw32.
6713 - Several code cleanups.
6715 * Version 0.9.95 (2003-11-02)
6716 - Improved the verification functions. Added new verification
6717   output flags and removed the unused and redundant ones.
6718 - Improved the OpenPGP key support.
6719 - The prime utility was removed, and its functionality was moved
6720   to certtool.
6722 * Version 0.9.94 (2003-10-30)
6723 - Added manpages for the included programs.
6724 - Documented and improved the certtool utility. 
6725 - Added PKCS #12 support to certtool utility.
6727 * Version 0.9.93 (2003-10-26)
6728 - Corrected some compilation issues.
6729 - Improved the certtool command line utility.
6731 * Version 0.9.92 (2003-10-25)
6732 - The RFC2818 hostname verification is now case insensitive.
6733 - Added support for generating X.509 certificates.
6734 - Added the certtool, a tool for generating X.509 certificates
6736 * Version 0.9.91 (2003-10-17)
6737 - Fixed a compilation issue in the openpgp authentication part.
6739 * Version 0.9.90 (2003-10-08)
6740 - Updated the openpgp key API (depends on the unreleased new
6741   opencdk).
6743 * Version 0.9.8 (2003-10-02)
6744 - Updated the SRP implementation to follow the latest draft
6745   (draft-ietf-tls-srp-05).
6746 - Improved the gnutls-cli behaviour in error handling,
6747   and added a check for the peer's hostname.
6748 - Use versioned symbols in the library (where available).
6749 - RIJNDAEL ciphersuites were renamed to AES.
6751 * Version 0.9.7 (2003-08-25)
6752 - The tex files are now included in the distribution.
6753 - The library can now decrypt PKCS #12 files encrypted with
6754   the RC2-40 cipher.
6755 - The missing rfc2818_hostname object is now included.
6756 - Several corrections and bug fixes in the library by 
6757   Arne Thomassen <arne@arne-thomassen.de>.
6758 - CR is now allowed in the base64 decoder.
6760 * Version 0.9.6 (2003-06-28)
6761 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
6762   functions which return a unique (per public key) ID. These can
6763   be used to check if the private key corresponds to a given certificate.
6764 - Corrections in the TLS layer openpgp certificate packet parser.
6765 - Corrected a bug in the record layer buffering, which affected
6766   the case where external pull function was used. Report and patch
6767   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
6768 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
6769   was freed.
6770 - SRP programs are now built by default.
6771 - Added API to read and write to PKCS #12 structures. Prototypes
6772   in gnutls/pkcs12.h.
6773 - The gnutls_transport_ptr type was changed to a pointer type (void*).
6775 * Version 0.9.5 (2003-04-06)
6776 - Several improvements in the PKCS #7 handling
6777 - Eliminated several hard coded constants in MPI parameters.
6779 * Version 0.9.4 (2003-03-28)
6780 - Corrected a parsing error in the Certificate request message.
6781 - Corrected behaviour when a certificate request message is received.
6782   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
6783   a no_certificate alert is sent instead.
6784 - Added functionality to generate PKCS #7 structures (with certificates).
6786 * Version 0.9.3 (2003-03-24)
6787 - Support for MD2 was dropped. 
6788 - Improved the error logging functions, by adding a level, and
6789   by allowing debugging messages just by increasing the level.
6790 - The diffie Hellman ciphersuites are now of higher priority than
6791   the plain RSA.
6792 - The RSA premaster secret version check can no longer be disabled.
6793 - Implemented the counter measure discussed in the paper "Attacking
6794   RSA-based Sessions in SSL/TLS", against the attack described in the
6795   same paper.
6796 - Added the functions: gnutls_handshake_get_last_in(), 
6797   gnutls_handshake_get_last_out().
6798 - The gnutls_certificate_set_rsa_params() was renamed to 
6799   gnutls_certificate_set_rsa_export_params().
6800 - Added the new functions: gnutls_certificate_set_x509_key()
6801   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
6802   gnutls_x509_crt_export(), gnutls_x509_crl_export().
6803 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
6804   RSA private keys.
6806 * Version 0.9.2 (2003-03-15)
6807 - Some corrections in the memory mapping code (file is unmapped after 
6808   it is read).
6809 - Added support for PKCS#10 certificate requests generation.
6811 * Version 0.9.1 (2003-03-12)
6812 - Corrected a bug in 64 bit architectures, which affected the
6813   serial number calculation in the record layer.
6814 - Added gnutls_certificate_free_keys() which deletes all the
6815   private keys and certificates from the credentials structure.
6816 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
6817   which caused some unexpected packet length errors. Report and patch
6818   by Ian Peters <itp@ximian.com>.
6819 - Added ability to generate RSA keys.
6820 - Increased the maximum parameter size in order to read some large keys
6821   by some CAs. Patch by Ian Peters <itp@ximian.com>.
6822 - Added an strnstr() function and the requirement in some functions to
6823   use null terminated PEM structures is no more.
6824 - Use mmap() if available to read files.
6825 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
6826   <r.kittinger@efkon.com>.
6828 * Version 0.9.0 (2003-03-03)
6829 - This version is not binary compatible with the previous ones.
6830 - The library notifies the application on empty and illegal SRP usernames, 
6831   so that proper notification (via an alert) is sent to the peer.
6832 - Added ability to send some messages back to the application using
6833   the gnutls_global_set_log_function().
6834 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
6835   gnutls_malloc() to allocate the output parameters.
6836 - Added support for MD2 algorithm in certificate signature verification.
6837 - The RSA and DH parameter generation interface was changed. Added
6838   ability to import and export from and to PKCS3 structures. This 
6839   was needed to read parameters generated using the openssl dhparam tool.
6840 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
6841   parameters are now included in the library. Also the credentials structure 
6842   can now hold only one temporary parameter of a kind.
6843 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
6844   API, defined in gnutls/x509.h
6845 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
6846   verification flags in the credentials structure. They will be used in the
6847   *verify_peers functions.
6848 - Added protection against the new TLS 1.0 record layer timing attack.
6849 - Added support for Certificate revocation lists. Functions defined
6850   in gnutls/x509.h
6851 - The only functions that were removed are:
6852   gnutls_x509_certificate_to_xml()
6853   gnutls_x509_extract_dn_string()
6854 - Ported to libtasn1 0.2.x
6856 * Version 0.8.1 (2003-01-22)
6857 - Improved the SRP support, to prevent attackers guessing the
6858   available usernames by brute force.
6859 - Improved the SRP detection in gnutls-cli-debug
6860 - Some fixes which now allow compilation.
6862 * Version 0.8.0 (2003-01-20)
6863 - Added gnutls_x509_extract_dn_string() which returns a 
6864   distinguished name in a single string.
6865 - Added gnutls_openpgp_extract_key_name_string() which returns
6866   an openpgp user ID in a single string.
6867 - Added gnutls_x509_extract_certificate_ca_status() which returns
6868   the CA status of the given certificate.
6869 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
6870 - If libtasn1 is not present in the system, it is included in 
6871   the main gnutls library.
6872 - If liblzo is present in the system, then the included minilzo
6873   will not be used, and libgnutls-extra will depend on liblzo.
6874 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
6875   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
6876   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
6878 * Version 0.6.0 (2002-12-08)
6879 - Added "gnutls/compat4.h" header. This is included in gnutls.h
6880   to emulate the old 0.4.x API.
6881 - Example programs are now stored in doc/examples/
6882 - Several improvements and updates in the documentation.
6883 - Added the certificate authenticated SRP cipher suites.
6884 - gnutls_x509_extract_certificate_dn_string() was updated to return
6885   an RFC2253 conforming string.
6886 - Added the SRP related functions:
6887    gnutls_srp_verifier()
6888    gnutls_srp_base64_encode()
6889    gnutls_srp_base64_decode()
6890 - Added the function gnutls_srp_set_server_credentials_function()
6891   to allow retrieving SRP parameters from an external backend - other
6892   than password files.
6893 - Added the function gnutls_openpgp_set_recv_key_function()
6894   which can be used to set a callback, to get OpenPGP keys.
6895 - Exported the functions:
6896    gnutls_malloc()
6897    gnutls_free()
6898   which should be used by callback functions.
6899 - Changed the semantics of gnutls_pem_base64_encode_alloc()
6900   and gnutls_pem_base64_decode_alloc(). In the default case
6901   were the gnutls library is used with malloc/realloc/free,
6902   these are binary compatible.
6904 * Version 0.5.11 (2002-11-05)
6905 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
6906   faults at exit.
6907 - Example programs found in the documentation can now be generated by
6908   running "make examples" in doc/tex directory.
6909 - Added more descriptive error strings, to gnutls_strerror().
6910 - Documented error codes, and the function reference list is now sorted.
6911 - Optimized buffering code.
6912 - gnutls_x509_extract_certificate_dn_string() was rewritten.
6913 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
6914   case where the memory buffer provided is not long enough.
6915 - Depends on the new OpenCDK 0.3.2.
6917 * Version 0.5.10 (2002-10-13)
6918 - Updated documentation.
6919 - Added server name extension. This allows clients to specify the
6920   name of the server they connect to. Useful to HTTPS.
6921 - Several corrections in the code base, mostly in signed/unsigned,
6922   checkings.
6924 * Version 0.5.9 (2002-10-10)
6925 - Corrected some code which worked fine in gcc 3.2, but not with any
6926   other compiler.
6927 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
6928   starttls implementations.
6929 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
6930   the private key type, of a DER encoded key.
6931 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
6932   certificate's distinguished name in a single string.
6933 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
6934   functions, to avoid calling all the *_priority() functions if the defaults
6935   are acceptable.
6936 - Added int gnutls_x509_check_certificates_hostname() which check whether
6937   the given hostname matches the owner of the given X.509 certificate.
6939 * Version 0.5.8 (2002-09-25)
6940 - Updated documentation.
6941 - Added gnutls_record_get_direction() which replaces the obsolete
6942   gnutls_handshake_get_direction().
6943 - Added function to convert error codes to alert descriptions
6944 - Added LZO compression
6946 * Version 0.5.7 (2002-09-11)
6947 - Some fixes in the memory allocation functions (realloc).
6948 - Improved the string functions used in XML certificate generation.
6949 - Removed dependency on libgdbm.
6950 - Corrected bug in gnutls_dh_params_set() which affected
6951   gnutls_dh_params_deinit().
6952 - Corrected bug in session resuming code in server side.
6954 * Version 0.5.6 (2002-09-06)
6955 - Corrected bugs in SRP implementation, which prevented gnutls 
6956   to interoperate with other implementations. (interoperability testing
6957   was done by David Taylor)
6958 - Corrected bug in cert_type extension.
6959 - Corrected extension type checks which used an 8 bit extension size,
6960   instead of 16 bits.
6961 - Added versioning in the XML output of certificate functions.
6962 - Removed the X.509 test suite.
6964 * Version 0.5.5 (2002-09-03)
6965 - Updated the SRP implementation to the latest draft. The blowfish
6966   crypt implementation was removed, since the new draft does not allow
6967   other hash algorithms except for the srpsha. 
6968 - Renamed all the constructed types in order to have more consistent
6969   names. 
6970 - Improved the certificate and key read functions. Now they can read 
6971   the certificate and the private key from the same file.
6972 - Updated and corrected documentation.
6974 * Version 0.5.4 (2002-08-27)
6975 - Fixes in TLS 1.0 PRF and SSL3 random functions.
6976 - gnutls_handshake_set_exportable_detection() was obsoleted.
6977 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
6978 - Corrected bug in DHE key exchange
6979 - Added support for temporary RSA keys which are needed for the
6980   export cipher suites.
6981 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
6983 * Version 0.5.3 (2002-08-23)
6984 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
6985   code from the unstable branch.
6987 * Version 0.5.2 (2002-08-22)
6988 - Added an error code that is returned in clients which connect
6989   to export only servers. This must be enabled using the
6990   gnutls_handshake_set_exportable_detection() function.
6991 - Updated openssl compatibility layer.
6992 - Added gnutls_handshake_get_direction() function which returns
6993   the state of the handshake when interrupted.
6995 * Version 0.5.1 (2002-07-17)
6996 - Corrected the m4 macros which used <gnutls.h> instead of
6997   <gnutls/gnutls.h>
6998 - Documentation fixes
6999 - Added gnutls_transport_set_ptr2() function, which accepts two
7000   different pointers, to be used while receiving, and 
7001   while sending data.
7002 - Semantic changes in gnutls_record_set_max_size(). The requested
7003   size is now immediately enforced at the output buffers.
7004 - gnutls_global_init_extra() now fails if the library versions do
7005   not match.
7006 - Fixes in client and server example programs. Null encryption can
7007   be used in these programs, to assist in debuging.
7008 - Fixes in zlib compression code.
7010 * Version 0.5.0 (2002-07-06)
7011 - Added X.509 certificate tests in tests/ directory
7012 - Removed stubs for SRP and Anonymous authentication. They served
7013   no purpose since they are always included, unless it was requested
7014   not to do so.
7015 - Added gnutls_handshake_set_private_extensions() function. This
7016   function can be used to enable private (gnutls specific) cipher suites
7017   and compression algorithms.
7018 - Added check for C99 macro support by the compiler.
7019 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
7020 - Added the new libtasn1 library.
7021 - Removed the gdbm backend. Applications are now responsible for the
7022   session resuming backend. The gnutls-serv application contains an
7023   simple example on how to use gdbm for resuming.
7024 - Headers for the gnutls library are now installed in $(includedir)/gnutls
7025 - Added an OpenSSL compatible interface (with some limitations).
7026 - Added functions to convert DER encoded certificates to XML format.
7028 * Version 0.4.4 (2002-06-24)
7029 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
7030   using keys of some specific size.
7032 * Version 0.4.3 (2002-05-23)
7033 - The gnutls-extra library now compiles fine, if the opencdk library is
7034   not present.
7035 - Several bug fixes.
7036 - Added gnutls_global_set_mem_func() function, to set the memory allocation
7037   functions, if other than the defaults are to be used.
7038 - The default memory allocation functions are now the ones in libc.
7040 * Version 0.4.2 (2002-05-21)
7041 - Separated ASN.1 structures parser documentation and TLS library
7042   documentation.
7043 - Added gnutls_handshake_set_rsa_pms() function, which disables the
7044   version check in RSA premaster secret.
7045 - Added gnutls_session_is_resumed() function, which reports if a session
7046   is a resumed one.
7047 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
7048   assist in callback functions.
7049 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
7050   random one.
7051 - Relicensed the library under the GNU Lesser General Public License
7052 - Added gnutls-extra library which contains the GPL covered code of gnutls.
7054 * Version 0.4.1 (2002-04-07)
7055 - Now uses alloca() for temporary variables
7056 - Optimized RSA signing
7057 - Added functions to return the peer's certificate activation and
7058   expiration time.
7059 - Corrected time function's behaviour (the time value returned no longer
7060   relate to local timezone).
7062 * Version 0.4.0 (2002-04-01)
7063 - Added support for RFC2630 (PKCS7) X.509 certificate sets
7064 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
7065   gnutls_openpgp_extract_key_pk_algorithm().
7066 - Several optimizations in the Handshake protocol
7067 - Several optimizations in RSA algorithm
7068 - Unified the return values because of small buffers.
7070 * Version 0.3.92 (2002-03-23)
7071 - Updated documentation
7072 - Combined error codes of ASN.1 parser and gnutls
7073 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
7074 - Added protection against CBC chosen plaintext attack (disabled by default)
7075 - Improved and optimized compression support
7077 * Version 0.3.91 (2002-03-03)
7078 - Added gnutls-cli-debug program
7079 - Corrections in session resumption
7080 - Rehandshake can now handle negotiation of different authentication
7081   type.
7082 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
7083   now being installed.
7085 * Version 0.3.90 (2002-02-24)
7086 - Handshake messages are not kept in memory any more. Now we use 
7087   less memory during a handshake
7088 - Added support for certificates with DSA parameters
7089 - Added DHE_DSS cipher suites
7090 - Key exchange methods changed so they do not depend on the 
7091   certificate type. Added certificate type negotiation TLS extension.
7092 - Added openpgp key support (EXPERIMENTAL)
7093 - Improved Diffie Hellman key exchange support.
7094 - Bug fixes in the RSA key exchange.
7095 - Added check for the requested TLS extensions
7096 - TLS extensions now use a 16 bit type field.
7097 - Added a minimal string library to assist in ASN.1 parsing
7098 - Changes in ASN.1 parser to work with the new bison
7099 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
7100   gnutls_x509_extract_subject_dns_name()
7101 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
7102 - gnutls_srp_server_set_cred_file() can now be called multiple times
7104 * Version 0.3.5 (2002-01-25)
7105 - Corrected the RSA key exchange method, to avoid attacks against
7106   PKCS-1 formating.
7108 * Version 0.3.4 (2002-01-20)
7109 - Corrected bugs in DHE_RSA key exchange method
7111 * Version 0.3.3 (2002-01-19)
7112 - Added gnutls_x509pki_verify_certificate()
7113 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
7114 - Bug fixes in srpcrypt (based on patch by Marc Huber)
7115 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
7116 - Corrected library versioning
7118 * Version 0.3.2 (2002-01-05)
7119 - Corrected bug which did not allow a client to accept multiple CA names
7120 - Added gnutls_fingerprint()
7121 - Added gnutls_x509pki_extract_certificate_serial()
7122 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
7123 - Corrected behaviour in version advertizing
7124 - Updated documentation
7125 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
7127 * Version 0.3.1 (2001-12-21)
7128 - Corrections in the configuration files
7129 - Fixes a bug in anonymous authentication
7131 * Version 0.3.0 (2001-12-17)
7132 - Corrected bug in new integer formatting (now we use the old format again)
7133 - Several corrections and usual cleanups
7135 * Version 0.2.91 (2001-12-10)
7136 - Fixes in MPI handling (fixes possible bug with signed integers)
7137 - Removed name indication extension
7138 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
7139 - Optimizations in server certificate callback.
7140 - Fixes in anonymous authentication
7141 - Corrections in client ciphersuite selection
7143 * Version 0.2.90 (2001-12-07)
7144 - gnutls_handshake(), gnutls_read() etc. functions no longer require
7145   the 'SOCKET cd' argument. This argument is set using the function
7146   gnutls_set_transport_ptr().
7147 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
7148   a list containing peer's certificate and issuers DER encoded.
7149 - Updated X.509 certificate handling API
7150 - Added callback to select the server certificate
7151 - More consistent function naming (changes in several function names)
7152 - Buffer overflow checking in ASN.1 structures parser
7153 - Updated documentation
7155 * Version 0.2.11 (2001-11-16)
7156 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
7157   is returned, then the caller should perform a handshake or send
7158   an alert to the peer.
7159 - Made receive buffer dynamic. Normally if no large chunks are received
7160   it occupies less space.
7161 - Added max_record_size extension
7162 - Bugfixes in session handling
7163 - Improved non blocking IO support in the Handshake Protocol
7164 - Usual bugfixes and cleanups
7165 - Documentation updated (includes ASN.1 documentation)
7167 * Version 0.2.10 (2001-11-05)
7168 - Corrected bugs and improved non blocking IO
7169 - Added hooks to use external database to store sessions
7170 - Usual cleanups
7172 * Version 0.2.9 (2001-10-27)
7173 - AUTH_INFO types and structures were moved to library internals
7174 - AUTH_FAILED is no longer returned in SRP authentication
7175   (any fatal error in SRP means auth failed)
7176 - Introduced GNUTLS_E_INTERRUPTED
7177 - Added support for non blocking IO
7178 - gnutls_recv() and gnutls_send() are now obsolete
7179 - Changed semantics of gnutls_rehandshake()
7181 * Version 0.2.4 (2001-10-12)
7182 - Better handling of X.509 certificate extensions
7183 - Added DHE_RSA ciphersuites
7184 - Updated the Name Indication (dnsname) extension
7185 - Improvements in Diffie Hellman primes handling
7187 * Version 0.2.3 (2001-09-19)
7188 - Memory optimizations in gnutls_recv()
7189 - Fixed several memory leaks
7190 - Added ability to specify callback for x509 client certificate selection
7191 - Better documentation
7193 * Version 0.2.2 (2001-08-21)
7194 - Several bugfixes (library and documentation)
7196 * Version 0.2.1 (2001-08-07)
7197 - SRP fixes
7199 * Version 0.2.0 (2001-08-07)
7200 - Partial support for X.509v3 Certificate extensions.
7201 - Added Internal memory handlers
7202 - Removed gnutls_x509_set_cn()
7203 - Added X.509 client authentication
7204 - Several bug fixes and protocol fixes
7206 * Version 0.1.9 (2001-07-30)
7207 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
7208 - SRP is updated to conform to the newest draft.
7209 - Added support for DNSNAME extension.
7210 - Reentracy fixes in ASN.1 Parsing.
7211 - Optimizations in hash/hmac functions
7212 - (Error) message handling has changed
7213 - Better Protocol Version handling
7214 - Added X.509 Certificate Verification
7215 - gnutls_read() semantics are now closer to read(2) - added EOF
7216 - Documented some part of gnutls in doc/tex/ using Latex
7218 * Version 0.1.4 (2001-06-22)
7219 - Corrected (srp) base64 encoding.
7220 - Changed bcrypt algorithm to include username.
7221 - Added RSA Ciphersuites (no certificate checking).
7222 - Fixes in SSL 2.0 client hello parsing.
7223 - Added ASN.1 and DER parsers.
7224 - Bugfixes in session resuming
7225 - Updated Ciphersuite selection algorithm
7226 - Added internal representation of X.509 structures.
7227 - Added global state
7229 * Version 0.1.3 (2001-06-01)
7230 - Updated API (and the way it is documented - we use inline documentation)
7231 - Added function to access alert messages.
7232 - Added support for renegotiating parameters.
7233 - Better and Faster Resume Database handling.
7234 - Several bugfixes
7236 * Version 0.1.2 (2001-05-14)
7237 - Updated API
7238 - Fixes in extension handling
7240 * Version 0.1.1 (2001-05-13)
7241 - Added compatibility with Stanford's libsrp library
7243 * Version 0.1.0 (2001-05-09)
7244 - Added SSL 2.0 client hello support
7245 - GNUTLS is a gnu library
7246 - Added support for TLS extensions.
7247 - Added support for SRP
7249 * Version 0.0.7 (2001-01-11)
7250 - Added server side session resuming (using gdbm)
7251 - Added twofish algorithm
7253 * Version 0.0.6 (2000-12-20)
7254 - Added client side session resuming
7255 - Better documentation (check doc/API)
7256 - Better socket handling (gnutls can be used with select())
7257 - Some primitive support for non blocking IO and socket options has been added.
7259 * Version 0.0.5 (2000-12-07)
7260 - Added Compression (using ZLIB)
7261 - Added SSL 3.0 support
7263 ----------------------------------------------------------------------
7264 Copying and distribution of this file, with or without modification,
7265 are permitted in any medium without royalty provided the copyright
7266 notice and this notice are preserved.