Add `lib/gnutls_dtls.h' to the distribution.
[gnutls.git] / NEWS
blobae47f2d8c266892d25d5725c696b8962d6ba505c
1 GnuTLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3               2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 * Version 2.99.0 (unreleased)
8 ** libgnutls: Corrected signature generation and verification
9 in the Certificate Verify message when in TLS 1.2. Reported
10 by Todd A. Ouska.
12 ** libgnutlsxx: The C++ interface returns exception on
13 every error and not only on fatal ones. This allows easier
14 handling of errors.
16 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored    
17 the PSK callback.
19 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
20 They have to be explicitly set.
22 ** libgnutls: During handshake message verification using DSS
23 use the hash algorithm required by it.
25 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
26 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
28 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
30 ** libgnutls-extra: Inner application extension was removed.
31 It was never standardized nor published as an RFC.
33 ** libgnutls: Added new certificate verification functions, that
34 can provide more details and are more efficient. Check 
35 gnutls_x509_trust_list_*.
37 ** certtool: Uses the new certificate verification functions for
38 --verify-chain.
40 ** certtool: Added new certificate verification functionality
41 using the --verify option. Combined with --load-ca-certificate
42 it can verify a certificate chain against a list of certificates.
44 ** API and ABI modifications:
45 gnutls_cipher_add_auth: ADDED
46 gnutls_cipher_tag: ADDED
47 gnutls_psk_netconf_derive_key: REMOVED
48 gnutls_certificate_verify_peers: REMOVED
49 gnutls_session_set_finished_function: REMOVED
50 gnutls_ext_register: REMOVED
51 gnutls_certificate_get_x509_crls: REMOVED
52 gnutls_certificate_get_x509_cas: REMOVED
53 gnutls_certificate_get_openpgp_keyring: REMOVED
54 gnutls_session_get_server_random: REMOVED
55 gnutls_session_get_client_random: REMOVED
56 gnutls_session_get_master_secret: REMOVED
57 gnutls_ia_allocate_client_credentials: REMOVED
58 gnutls_ia_allocate_server_credentials: REMOVED
59 gnutls_ia_enable: REMOVED
60 gnutls_ia_endphase_send: REMOVED
61 gnutls_ia_extract_inner_secret: REMOVED
62 gnutls_ia_free_client_credentials: REMOVED
63 gnutls_ia_free_server_credentials: REMOVED
64 gnutls_ia_generate_challenge: REMOVED
65 gnutls_ia_get_client_avp_ptr: REMOVED
66 gnutls_ia_get_server_avp_ptr: REMOVED
67 gnutls_ia_handshake: REMOVED
68 gnutls_ia_handshake_p: REMOVED
69 gnutls_ia_permute_inner_secret: REMOVED
70 gnutls_ia_recv: REMOVED
71 gnutls_ia_send: REMOVED
72 gnutls_ia_set_client_avp_function: REMOVED
73 gnutls_ia_set_client_avp_ptr: REMOVED
74 gnutls_ia_set_server_avp_function: REMOVED
75 gnutls_ia_set_server_avp_ptr: REMOVED
76 gnutls_ia_verify_endphase: REMOVED
78 * Version 2.11.7
80 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
81 replaced by gnutls_privkey_sign_hash2().
83 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
84 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
85 gnutls_x509_crt_verify_hash return the negative error code 
86 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
87 checking.
89 ** libgnutls: Added helper functions for signature verification:
90 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
92 ** libgnutls: Modified gnutls_privkey_sign_data().
94 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
95 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
96 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
97 deprecated for gnutls_x509_crl_privkey_sign(),
98 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
99 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
100 gnutls_pubkey_verify_data() respectively.
102 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
103 integers.
105 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
106 and gnutls_x509_crt_list_import2().
108 ** crypto.h: Fix use with C++.
109 Reported by "Brendan Doherty" <brendand@gentrack.com>.
111 ** API and ABI modifications:
112 gnutls_x509_crl_list_import: ADDED
113 gnutls_x509_crl_list_import2: ADDED
114 gnutls_x509_crt_list_import2: ADDED
115 gnutls_x509_trust_list_verify_crt: ADDED
116 gnutls_x509_trust_list_add_crls: ADDED
117 gnutls_x509_trust_list_add_cas: ADDED
118 gnutls_x509_trust_list_init: ADDED
119 gnutls_x509_trust_list_deinit: ADDED
120 gnutls_x509_crl_get_raw_issuer_dn: ADDED
121 gnutls_pubkey_import_privkey: ADDED
122 gnutls_pubkey_verify_data: ADDED
123 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
124 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
125 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
126 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
127 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
128 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
129 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
130 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
131 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
132 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
133 gnutls_session_set_finished_function: DEPRECATED
134 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
135 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
136 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
137 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
138 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
139 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
140 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
141 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
143 * Version 2.11.6 (released 2010-12-06)
145 ** libgnutls: Record version of Client Hellos is now set by default to
146 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
147 priority string.
149 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
150 This makes us comply with RFC3279. Reported by Michael Rommel.
152 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
154 ** API and ABI modifications:
155 No changes since last version.
157 * Version 2.11.5 (released 2010-12-01)
159 ** libgnutls: Reverted default behavior for verification and
160 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
161 V1 trusted CAs are allowed, unless the new flag is specified.
163 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
164 Reported by Jeffrey Walton.
166 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
167 as priority strings. Those allow to set all the supported algorithms
168 at once.
170 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
172 ** gnutls-cli: Print channel binding only in verbose mode.
173 Before it printed it after the 'Compression:' output, thus breaking
174 Emacs starttls.el string searches.
176 ** API and ABI modifications:
177 gnutls_pkcs11_token_init: New function
178 gnutls_pkcs11_token_set_pin: New function
180 * Version 2.11.4 (released 2010-10-15)
182 ** libgnutls: Add new API gnutls_session_channel_binding.
183 The function is used to get the channel binding data.  Currently only
184 the "tls-unique" (RFC 5929) channel binding type is supported, through
185 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
186 the manual.
188 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
190 ** doc: Added pkcs11.h header file to GTK-DOC manual.
192 ** build: Update gnulib files.
194 ** i18n: Update translations.
196 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
198 ** API and ABI modifications:
199 gnutls_session_channel_binding: New function.
200 gnutls_channel_binding_t: New enumeration.
201 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
202 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
204 * Version 2.11.3 (released 2010-10-14)
206 ** Indent code to follow the GNU Coding Standard.
207 You should be able to unpack the 2.11.2 release and run 'make indent'
208 twice to get exactly the same content as 2.11.3 except for generated
209 files.  Using GNU Indent 2.2.11.
211 ** API and ABI modifications:
212 No changes since last version.
214 * Version 2.11.2 (released 2010-10-08)
216 ** libgnutls: Several bug fixes on session resumption
217 and session tickets support.
219 ** libgnutls: Add new extended key usage ipsecIKE.
221 ** certtool: Renamed PKCS #11 options to: --p11-provider,
222 --p11-export-url, --p11-list-certs, --p11-list-certs,
223 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
224 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
225 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
226 --p11-delete-url
228 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
229 introduced with the new nettle code.
231 ** libgnutls: Corrected advertizing issue for session tickets.
233 ** API and ABI modifications:
234 gnutls_x509_crt_get_subject_unique_id: ADDED.
235 gnutls_x509_crt_get_issuer_unique_id: ADDED.
237 * Version 2.11.1 (released 2010-09-14)
239 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
240 to use the libgcrypt back end.
242 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
243 backend crypto library.
245 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
247 ** libgnutls: Several updates in the buffering internal interface.
249 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
250 tabs are being skipped.
252 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
254 ** libgnutls: The %COMPAT flag now allows larger records that violate the
255 TLS spec.
257 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
258 system calls. Applications that depended on it being 1 should explicitly call
259 gnutls_transport_set_lowat().
261 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
262 to ECRYPT II recommendations. Mappings were moved to a single location
263 and DSA keys are handled differently (since DSA2 allows for 1024,2048
264 and 3072 keys only).
266 ** libgnutls: gnutls_x509_privkey_import() will fallback to
267 gnutls_x509_privkey_import_pkcs8() without a password, if it
268 is unable to decode the key.
270 ** libgnutls: HMAC-MD5 no longer used by default.
272 ** API and ABI modifications:
273 gnutls_openpgp_privkey_sec_param: ADDED
274 gnutls_x509_privkey_sec_param: ADDED
276 * Version 2.11.0 (released 2010-07-22)
278 ** libgnutls: support scattered write using writev(). This takes
279 advantage of the new buffering layer and allows queuing of packets
280 and flushing them. This is currently used for handshake messages
281 only.
283 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
284 alternative locking procedures. By default the system available
285 locking is used. In *NIX pthreads are used and in windows the
286 critical section API. This follows a different approach than the
287 previous versions that depended on libgcrypt initialization. The
288 locks are now set by default in systems that support it. Programs
289 that used gcry_control() to set thread locks should insert it into
290 a block of
291 #if GNUTLS_VERSION_NUMBER <= 0x020b00
292         gcry_control(...)
293 #endif
295 ** libgnutls: Added support for reading DN from EV-certificates.
296 New DN values:
297 jurisdictionOfIncorporationLocalityName,
298 jurisdictionOfIncorporationStateOrProvinceName,
299 jurisdictionOfIncorporationCountryName
301 ** libgnutls: Added support for DSA signing/verifying with bit 
302 length over 1024.
304 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
305 has to be called to register any required md5 handlers.
307 ** libgnutls: Internal buffering code was replaced by simpler
308 code contributed by Jonathan Bastien-Filiatrault.
310 ** libgnutls: Internal API for extensions augmented to allow
311 safe storing and loading of data on resumption. This allows writing
312 self-contained extensions (when possible). As a side effect
313 the OPRFI extension was removed.
315 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
317 ** libgnutls: Added PKCS #11 support and an API to access objects in
318 gnutls/pkcs11.h. Currently certificates and public keys can be
319 imported from tokens, and operations can be performed on private keys.
321 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
323 ** libgnutls: Added initial support for the nettle library. It uses
324 the system's random generator for seeding. That is /dev/urandom in Linux, 
325 system calls in Win32 and EGD on other systems.
327 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
328     works even when resuming a session.
330 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
331 similar gnutls_certificate_set_server_retrieve_function() and
332 gnutls_certificate_set_client_retrieve_function(). In addition it support
333 PKCS #11 private keys.
335 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
336 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
338 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
339 sizes for private keys using a human understandable scale.
341 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
342 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
343 --pkcs11-delete-url, --pkcs11-write
345 certtool: The --pkcs-cipher is taken into account when generating a
346 private key. The default cipher used now is aes-128. The old behavior can
347 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
349 certtool: Added --certificate-pubkey to print the public key of the
350 certificate.
352 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
353 can now accept a PKCS #11 URL in addition to a file. This will allow for
354 example to use the Gnome-keyring trusted certificate list to verify
355 connections using a url such as:
356 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
358 ** API and ABI modifications:
359 gnutls_certificate_set_server_retrieve_function: DEPRECATED
360 gnutls_certificate_set_client_retrieve_function: DEPRECATED
361 gnutls_sign_callback_set: DEPRECATED
362 gnutls_global_set_mutex: ADDED
363 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
364 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
365 gnutls_x509_privkey_export_rsa_raw2: ADDED
366 gnutls_rnd: ADDED
367 gnutls_sec_param_to_pk_bits: ADDED
368 gnutls_pk_bits_to_sec_param: ADDED
369 gnutls_sec_param_get_name: ADDED
370 gnutls_pkcs11_type_get_name: ADDED
371 gnutls_certificate_set_retrieve_function: ADDED
372 gnutls_pkcs11_init: ADDED
373 gnutls_pkcs11_deinit: ADDED
374 gnutls_pkcs11_set_pin_function: ADDED
375 gnutls_pkcs11_set_token_function: ADDED
376 gnutls_pkcs11_add_provider: ADDED
377 gnutls_pkcs11_obj_init: ADDED
378 gnutls_pkcs11_obj_import_url: ADDED
379 gnutls_pkcs11_obj_export_url: ADDED
380 gnutls_pkcs11_obj_deinit: ADDED
381 gnutls_pkcs11_obj_export: ADDED
382 gnutls_pkcs11_obj_list_import_url: ADDED
383 gnutls_pkcs11_obj_export: ADDED
384 gnutls_x509_crt_import_pkcs11: ADDED
385 gnutls_pkcs11_obj_get_type: ADDED
386 gnutls_x509_crt_list_import_pkcs11: ADDED
387 gnutls_x509_crt_import_pkcs11_url: ADDED
388 gnutls_pkcs11_obj_get_info: ADDED
389 gnutls_pkcs11_token_get_info: ADDED
390 gnutls_pkcs11_token_get_url: ADDED
391 gnutls_pkcs11_privkey_init: ADDED
392 gnutls_pkcs11_privkey_deinit: ADDED
393 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
394 gnutls_pkcs11_privkey_get_info: ADDED
395 gnutls_pkcs11_privkey_import_url: ADDED
396 gnutls_pkcs11_privkey_sign_data: ADDED
397 gnutls_pkcs11_privkey_sign_hash: ADDED
398 gnutls_pkcs11_privkey_decrypt_data: ADDED
399 gnutls_privkey_init: ADDED
400 gnutls_privkey_deinit: ADDED
401 gnutls_privkey_get_pk_algorithm: ADDED
402 gnutls_privkey_get_type: ADDED
403 gnutls_privkey_import_pkcs11: ADDED
404 gnutls_privkey_import_x509: ADDED
405 gnutls_privkey_import_openpgp: ADDED
406 gnutls_privkey_sign_data: ADDED
407 gnutls_privkey_sign_hash: ADDED
408 gnutls_privkey_decrypt_data: ADDED
409 gnutls_pkcs11_privkey_export_url: ADDED
410 gnutls_x509_crq_privkey_sign: ADDED
411 gnutls_x509_crl_privkey_sign: ADDED
412 gnutls_x509_crt_privkey_sign: ADDED
413 gnutls_pubkey_init: ADDED
414 gnutls_pubkey_deinit: ADDED
415 gnutls_pubkey_get_pk_algorithm: ADDED
416 gnutls_pubkey_import_x509: ADDED
417 gnutls_pubkey_import_openpgp: ADDED
418 gnutls_pubkey_get_pk_rsa_raw: ADDED
419 gnutls_pubkey_get_pk_dsa_raw: ADDED
420 gnutls_pubkey_export: ADDED
421 gnutls_pubkey_get_key_id: ADDED
422 gnutls_pubkey_get_key_usage: ADDED
423 gnutls_pubkey_verify_hash: ADDED
424 gnutls_pubkey_get_verify_algorithm: ADDED
425 gnutls_pkcs11_type_get_name: ADDED
426 gnutls_pubkey_import_pkcs11_url: ADDED
427 gnutls_pubkey_import: ADDED
428 gnutls_pubkey_import_pkcs11: ADDED
429 gnutls_pubkey_import_dsa_raw: ADDED
430 gnutls_pubkey_import_rsa_raw: ADDED
431 gnutls_x509_crt_set_pubkey: ADDED
432 gnutls_x509_crq_set_pubkey: ADDED
433 gnutls_pkcs11_copy_x509_crt: ADDED
434 gnutls_pkcs11_copy_x509_privkey: ADDED
435 gnutls_pkcs11_delete_url: ADDED
437 * Version 2.10.1 (released 2010-07-25)
439 ** libgnutls: Added support for broken certificates that indicate RSA
440 with strange OIDs.
442 ** gnutls-cli: Allow verification using V1 CAs.
444 ** libgnutls: gnutls_x509_privkey_import() will fallback to
445 gnutls_x509_privkey_import_pkcs8() without a password, if it
446 is unable to decode the key.
448 ** libgnutls: Correctly deinitialize crypto API functions to prevent
449 a memory leak.  Reported by Mads Kiilerich.
451 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
452 issue a warning, that the output key might not be working everywhere.
454 ** certtool: The --pkcs-cipher is taken into account when generating a
455 private key. The default cipher used now is aes-128. The old behavior
456 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
458 ** API and ABI modifications:
459 No changes since last version.
461 * Version 2.10.0 (released 2010-06-25)
463 ** API and ABI modifications:
464 No changes since last version.
466 * Version 2.9.12 (released 2010-06-17)
468 ** gnutls-cli: Make --starttls work again.
469 Problem introduced in patch to use read() instead of fgets() committed
470 on 2010-01-27.
472 ** API and ABI modifications:
473 No changes since last version.
475 * Version 2.9.11 (released 2010-06-07)
477 ** libgnutls: Removed two APIs related to safe renegotiation.
478 Use priority strings instead.  The APIs were
479 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
480 (Remember that we don't promise ABI stability during development
481 series, so this doesn't cause an shared library ABI increment.)
483 ** tests: More self testing of safe renegotiation extension.
484 See tests/safe-renegotiation/README for more information.
486 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
488 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
490 ** API and ABI modifications:
491 gnutls_safe_negotiation_set_initial: REMOVED.
492 gnutls_safe_renegotiation_set: REMOVED.
494 * Version 2.9.10 (released 2010-04-22)
496 ** libgnutls: Time verification extended to trusted certificate list.
497 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
498 specified.
500 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
501 Based on patch by Pavan Konjarla.  Adds new constant
502 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
504 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
505 Solves the issue discussed in:
506 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
507 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
508 Note that to allow connecting to unpatched servers the full protection
509 is only enabled if the priority string %SAFE_RENEGOTIATION is
510 specified. You can check whether protection is in place by querying
511 gnutls_safe_renegotiation_status().  New error codes
512 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
513 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
515 ** libgnutls: When checking openpgp self signature also check the signatures
516 ** of all subkeys.
517 Ilari Liusvaara noticed and reported the issue and provided test
518 vectors as well.
520 ** libgnutls: Added cryptodev support (/dev/crypto).
521 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
522 benchmark utility for AES.  Adds new error codes
523 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
525 ** libgnutls: Exported API to access encryption and hash algorithms.
526 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
527 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
528 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
529 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
530 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
531 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
532 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
534 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
535 verification of certificate upon receipt rather than waiting until the
536 end of the handshake.
538 ** libgnutls: Don't send alerts during handshake.
539 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
541 ** certtool: Corrected two issues that affected certificate request generation.
542 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
543 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
544 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
545 those parameters there since other implementations don't do either and having 
546 them does not seem to offer anything (anyway you need the signer's certificate
547 to verify thus public key will be available). Found thanks to Boyan Kasarov.
548 This however has the side-effect that public key IDs shown by certtool are
549 now different than previous gnutls releases.
550 (3) the option --pgp-certificate-info will verify self signatures
552 ** certtool: Allow exporting of Certificate requests on DER format.
554 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
556 ** gnutls-cli: Handle reading binary data from server.
557 Reported by and tiny patch from Vitaly Mayatskikh
558 <v.mayatskih@gmail.com> in
559 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
561 ** minitasn1: Upgraded to libtasn1 version 2.6.
563 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
564 ** Added Italian and Simplified Chinese translation.
565 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
566 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
568 ** doc: The GTK-DOC manual is significantly improved.
570 ** API and ABI modifications:
571 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
572 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
573 %UNSAFE_RENEGOTIATION: Added to priority strings.
574 GNUTLS_DIG_SHA224: ADDED.
575 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
576 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
577 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
578 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
579 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
580 GNUTLS_MAC_SHA224: ADDED.
581 GNUTLS_OID_X520_NAME: ADDED.
582 GNUTLS_OID_X520_POSTALCODE: ADDED.
583 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
584 GNUTLS_VERSION_MAX: ADDED.
585 gnutls_certificate_set_verify_function: ADDED.
586 gnutls_cipher_decrypt: ADDED.
587 gnutls_cipher_deinit: ADDED.
588 gnutls_cipher_encrypt: ADDED.
589 gnutls_cipher_get_block_size: ADDED.
590 gnutls_cipher_init: ADDED.
591 gnutls_hash: ADDED.
592 gnutls_hash_deinit: ADDED.
593 gnutls_hash_fast: ADDED.
594 gnutls_hash_get_len: ADDED.
595 gnutls_hash_init: ADDED.
596 gnutls_hash_output: ADDED.
597 gnutls_hmac: ADDED.
598 gnutls_hmac_deinit: ADDED.
599 gnutls_hmac_fast: ADDED.
600 gnutls_hmac_get_len: ADDED.
601 gnutls_hmac_init: ADDED.
602 gnutls_hmac_output: ADDED.
603 gnutls_safe_negotiation_set_initial: ADDED.
604 gnutls_safe_renegotiation_set: ADDED.
605 gnutls_safe_renegotiation_status: ADDED.
607 * Version 2.9.9 (released 2009-11-09)
609 ** libgnutls: Cleanups and several bug fixes.
610 Found by Steve Grubb and Tomas Mraz.
612 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
614 ** Fix --disable-valgrind-tests.
615 Reported by Ingmar Vanhassel in
616 <https://savannah.gnu.org/support/?107029>.
618 ** API and ABI modifications:
619 No changes since last version.
621 * Version 2.9.8 (released 2009-11-05)
623 ** libgnutls: Fix for memory leaks on interrupted handshake.
624 Reported by Tang Tong.
626 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
627 ** extension and certificate verify field.
628 This requires changes for TLS 1.2 servers and clients that use
629 callbacks for certificate retrieval.  They are now required to check
630 with gnutls_sign_algorithm_get_requested() whether the certificate
631 they send complies with the peer's preferences in signature
632 algorithms.
634 ** libgnutls: In server side when resuming a session do not overwrite the 
635 ** initial session data with the resumed session data.
637 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
638 ** encryption.
639 This affects also PKCS #12 encoded files.  This adds the following new
640 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
641 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
643 ** libgnutls: Fix PKCS#12 encoding.
644 The error you would get was "The OID is not supported.".  Problem
645 introduced for the v2.8.x branch in 2.7.6.
647 ** certtool: Added the --pkcs-cipher option.
648 To explicitely specify the encryption algorithm to use.
650 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
652 ** tests: Fix time bomb in chainverify self-test.
653 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
654 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
656 ** tests: Fix expired cert in chainverify self-test.
658 ** i18n: Vietnamese translation updated.
659 Thanks to Clytie Siddall.
661 ** API and ABI modifications:
662 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
663 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
664 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
665 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
666 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
667 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
668 gnutls_sign_algorithm_get_requested: ADDED.
670 * Version 2.9.7 (released 2009-10-06)
672 ** libgnutls: TLS 1.2 server mode fixes.
673 Now interoperates against Opera.  Contributed by Daiki Ueno.
675 ** libgnutlsxx: Fix link problems.
676 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
678 ** guile: Compatibility with guile 2.x.
679 By Ludovic Courtes <ludovic.courtes@laas.fr>.
681 ** API and ABI modifications:
682 No changes since last version.
684 * Version 2.9.6 (released 2009-09-22)
686 ** libgnutls: Enable Camellia ciphers by default.
688 ** API and ABI modifications:
689 No changes since last version.
691 * Version 2.9.5 (released 2009-09-10)
693 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
694 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
695 gnutls_x509_crt_get_issuer_alt_name, and
696 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
697 Hards <bradh@frogmouth.net>.
699 ** API and ABI modifications:
700 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
701 gnutls_x509_crt_get_issuer_alt_name: ADDED.
702 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
704 * Version 2.9.4 (released 2009-09-03)
706 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
707 The new supported ciphersuites are AES-128/256 in CBC mode with
708 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
709 SHA-256 is now the preferred default MAC (however it is only used with
710 TLS 1.2).
712 ** libgnutls: Make OpenPGP hostname checking work again.
713 The patch to resolve the X.509 CN/SAN issue accidentally broken
714 OpenPGP hostname comparison.
716 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
717 Reported by Howard Chu <hyc@symas.com> in
718 <https://savannah.gnu.org/support/?106975>.
720 ** Fix use of deprecated types internally.
721 Use of deprecated types in GnuTLS from now on will lead to a compile
722 error, to prevent this from happening again.
724 ** API and ABI modifications:
725 No changes since last version.
727 * Version 2.9.3 (released 2009-08-19)
729 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
730 The new APIs are gnutls_session_ticket_enable_client,
731 gnutls_session_ticket_enable_server, and
732 gnutls_session_ticket_key_generate.
734 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
736 ** API and ABI modifications:
737 gnutls_session_ticket_key_generate: ADDED.
738 gnutls_session_ticket_enable_client: ADDED.
739 gnutls_session_ticket_enable_server: ADDED.
741 * Version 2.9.2 (released 2009-08-14)
743 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
744 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
745 into 1) not printing the entire CN/SAN field value when printing a
746 certificate and 2) cause incorrect positive matches when matching a
747 hostname against a certificate.  Some CAs apparently have poor
748 checking of CN/SAN values and issue these (arguable invalid)
749 certificates.  Combined, this can be used by attackers to become a
750 MITM on server-authenticated TLS sessions.  The problem is mitigated
751 since attackers needs to get one certificate per site they want to
752 attack, and the attacker reveals his tracks by applying for a
753 certificate at the CA.  It does not apply to client authenticated TLS
754 sessions.  Research presented independently by Dan Kaminsky and Moxie
755 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
756 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
758 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
759 The function may fail incorrectly when an earlier certificate was
760 imported to the same gnutls_x509_crt_t structure.
762 ** minitasn1: Internal copy updated to libtasn1 v2.3.
764 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
765 Before it always returned false.  Reported by Peter Hendrickson
766 <pdh@wiredyne.com> in
767 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
769 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
770 The error resulted in truncated strings when printing unknown OIDs in
771 X.509 certificate DNs.  Reported by Tim Kosse
772 <tim.kosse@filezilla-project.org> in
773 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
775 ** libgnutls: Fix PKCS#12 decryption from password.
776 The encryption key derived from the password was incorrect for (on
777 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
778 Tomas" <tomas.kukosa@siemens-enterprise.com> in
779 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
781 ** libgnutls: Return correct bit lengths of some MPIs.
782 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
783 gnutls_dh_get_peers_public_bits.  Before the reported value was
784 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
785 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
787 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
788 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
789 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
791 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
793 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
794 Before we required that the runtime library used the same (or more
795 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
796 that the runtime usage is above the minimum required.  Reported by
797 Marco d'Itri <md@linux.it> via Andreas Metzler
798 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
800 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
802 ** tests: Improved test vectors in self-test pkcs12_s2k.
804 ** tests: Added new self-test dn2 to detect off-by-one size error.
806 ** tests: Fix failure in "chainverify" because a certificate have expired.
808 ** API and ABI modifications:
809 No changes since last version.
811 * Version 2.9.1 (released 2009-06-08)
813 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
814 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
815 <http://bugs.gentoo.org/272388>.
817 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
819 ** Reduce stack usage for some CRQ functions.
821 ** Doc fixes for CRQ functions.
823 ** API and ABI modifications:
824 No changes since last version.
826 * Version 2.9.0 (released 2009-05-28)
828 ** Doc fixes.
830 ** API and ABI modifications:
831 No changes since last version.
833 * Version 2.8.6 (released 2010-03-15)
835 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
836 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
837 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
839 Note: As a side effect of this change, the "public key identifier"
840 value computed for a certificate using this version of GnuTLS will be
841 different from values computed using earlier versions of GnuTLS.
843 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
844 ** optional SignatureAlgorithm parameter field.
845 VeriSign rejected these CSRs.  They are stricly speaking not needed
846 since you need the signer's certificate to verify the certificate
847 signature anyway.  Reported by Wilankar Trupti
848 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
850 ** libgnutls: When checking openpgp self signature also check the signatures
851 ** of all subkeys.
852 Ilari Liusvaara noticed and reported the issue and provided test
853 vectors as well.
855 ** libgnutls: Cleanups and several bug fixes.
856 Found by Steve Grubb and Tomas Mraz.
858 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
860 ** Fix --disable-valgrind-tests.
861 Reported by Ingmar Vanhassel in
862 <https://savannah.gnu.org/support/?107029>.
864 ** examples: Use the new APIs for printing X.509 certificate information.
866 ** Fix build failures on Solaris.
867 Thanks to Dagobert Michelsen <dam@opencsw.org>.
869 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
870 ** translations.  Added Simplified Chinese translation.
872 ** API and ABI modifications:
873 No changes since last version.
875 * Version 2.8.5 (released 2009-11-02)
877 ** libgnutls: In server side when resuming a session do not overwrite the 
878 ** initial session data with the resumed session data.
880 ** libgnutls: Fix PKCS#12 encoding.
881 The error you would get was "The OID is not supported.".  Problem
882 introduced for the v2.8.x branch in 2.7.6.
884 ** guile: Compatibility with guile 2.x.
885 By Ludovic Courtes <ludovic.courtes@laas.fr>.
887 ** tests: Fix expired cert in chainverify self-test.
889 ** tests: Fix time bomb in chainverify self-test.
890 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
891 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
893 ** API and ABI modifications:
894 No changes since last version.
896 * Version 2.8.4 (released 2009-09-18)
898 ** libgnutls: Enable Camellia ciphers by default.
900 ** libgnutls: Make OpenPGP hostname checking work again.
901 The patch to resolve the X.509 CN/SAN issue accidentally broken
902 OpenPGP hostname comparison.
904 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
905 Reported by Howard Chu <hyc@symas.com> in
906 <https://savannah.gnu.org/support/?106975>.
908 ** API and ABI modifications:
909 No changes since last version.
911 * Version 2.8.3 (released 2009-08-13)
913 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
914 Code intended to be removed would lead to an read-out-bound error in
915 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
916 code have been allocated for the vulnerability: [CVE-2009-2730].
918 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
919 The function may fail incorrectly when an earlier certificate was
920 imported to the same gnutls_x509_crt_t structure.
922 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
924 ** tests: Made self-test mini-eagain take less time.
926 ** doc: Typo fixes.
928 ** API and ABI modifications:
929 No changes since last version.
931 * Version 2.8.2 (released 2009-08-10)
933 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
934 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
935 into 1) not printing the entire CN/SAN field value when printing a
936 certificate and 2) cause incorrect positive matches when matching a
937 hostname against a certificate.  Some CAs apparently have poor
938 checking of CN/SAN values and issue these (arguable invalid)
939 certificates.  Combined, this can be used by attackers to become a
940 MITM on server-authenticated TLS sessions.  The problem is mitigated
941 since attackers needs to get one certificate per site they want to
942 attack, and the attacker reveals his tracks by applying for a
943 certificate at the CA.  It does not apply to client authenticated TLS
944 sessions.  Research presented independently by Dan Kaminsky and Moxie
945 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
946 for providing one part of the patch.  [GNUTLS-SA-2009-4].
948 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
949 Before it always returned false.  Reported by Peter Hendrickson
950 <pdh@wiredyne.com> in
951 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
953 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
954 The error resulted in truncated strings when printing unknown OIDs in
955 X.509 certificate DNs.  Reported by Tim Kosse
956 <tim.kosse@filezilla-project.org> in
957 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
959 ** libgnutls: Return correct bit lengths of some MPIs.
960 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
961 gnutls_dh_get_peers_public_bits.  Before the reported value was
962 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
963 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
965 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
966 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
967 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
969 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
971 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
972 Before we required that the runtime library used the same (or more
973 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
974 that the runtime usage is above the minimum required.  Reported by
975 Marco d'Itri <md@linux.it> via Andreas Metzler
976 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
978 ** minitasn1: Internal copy updated to libtasn1 v2.3.
980 ** tests: Fix failure in "chainverify" because a certificate have expired.
982 ** API and ABI modifications:
983 No changes since last version.
985 * Version 2.8.1 (released 2009-06-10)
987 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
988 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
989 <http://bugs.gentoo.org/272388>.
991 ** libgnutls: Fix PKCS#12 decryption from password.
992 The encryption key derived from the password was incorrect for (on
993 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
994 Tomas" <tomas.kukosa@siemens-enterprise.com> in
995 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
997 ** API and ABI modifications:
998 No changes since last version.
1000 * Version 2.8.0 (released 2009-05-27)
1002 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
1004 ** Major changes compared to the v2.4 branch:
1006 *** lib: Linker version scripts reduces number of exported symbols.
1008 *** lib: Limit exported symbols on systems without LD linker scripts.
1010 *** libgnutls: Fix namespace issue with version symbols.
1012 *** libgnutls: Add functions to verify a hash against a certificate.
1013 gnutls_x509_crt_verify_hash: ADDED
1014 gnutls_x509_crt_get_verify_algorithm: ADDED
1016 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1018 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1020 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1022 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1024 *** gnutls-serv: No longer disable MAC padding by default.
1026 *** gnutls-cli: Certificate information output format changed.
1028 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1029 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1031 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1033 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1035 *** libgnutls: gnutls_handshake when sending client hello during a
1036 rehandshake, will not offer a version number larger than the current.
1038 *** libgnutls: New interface to get key id for certificate requests.
1039 gnutls_x509_crq_get_key_id: ADDED.
1041 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
1043 *** certtool: --verify-chain now prints results of using library verification.
1045 *** libgnutls: Libgcrypt initialization changed.
1047 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1049 *** gnutls-cli: Return non-zero exit code on error conditions.
1051 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1053 *** certtool: allow setting arbitrary key purpose object identifiers.
1055 *** libgnutls: Change detection of when to use a linker version script.
1056 Use --enable-ld-version-script or --disable-ld-version-script to
1057 override auto-detection logic.
1059 *** Fix warnings and build GnuTLS with more warnings enabled.
1061 *** New API to set X.509 credentials from PKCS#12 memory structure.
1062 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1064 *** Old libgnutls.m4 and libgnutls-config scripts removed.
1065 Please use pkg-config instead.
1067 *** libgnutls: Added functions to handle CRL extensions.
1068 gnutls_x509_crl_get_authority_key_id: ADDED
1069 gnutls_x509_crl_get_number: ADDED
1070 gnutls_x509_crl_get_extension_oid: ADDED
1071 gnutls_x509_crl_get_extension_info: ADDED
1072 gnutls_x509_crl_get_extension_data: ADDED
1073 gnutls_x509_crl_set_authority_key_id: ADDED
1074 gnutls_x509_crl_set_number: ADDED
1076 *** libgnutls: Added functions to handle X.509 extensions in Certificate
1077 Requests.
1078 gnutls_x509_crq_get_key_rsa_raw: ADDED
1079 gnutls_x509_crq_get_attribute_info: ADDED
1080 gnutls_x509_crq_get_attribute_data: ADDED
1081 gnutls_x509_crq_get_extension_info: ADDED
1082 gnutls_x509_crq_get_extension_data: ADDED
1083 gnutls_x509_crq_get_key_usage: ADDED
1084 gnutls_x509_crq_get_basic_constraints: ADDED
1085 gnutls_x509_crq_get_subject_alt_name: ADDED
1086 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1087 gnutls_x509_crq_get_extension_by_oid: ADDED
1088 gnutls_x509_crq_set_subject_alt_name: ADDED
1089 gnutls_x509_crq_set_basic_constraints: ADDED
1090 gnutls_x509_crq_set_key_usage: ADDED
1091 gnutls_x509_crq_get_key_purpose_oid: ADDED
1092 gnutls_x509_crq_set_key_purpose_oid: ADDED
1093 gnutls_x509_crq_print: ADDED
1094 gnutls_x509_crt_set_crq_extensions: ADDED
1096 *** certtool: Print and set CRL and CRQ extensions.
1098 *** minitasn1: Internal copy updated to libtasn1 v2.1.
1100 *** examples: Now released into the public domain.
1102 *** The Texinfo and GTK-DOC manuals were improved.
1104 *** Several self-tests were added and others improved.
1106 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
1107 No offically supported interfaces have been modified or removed.  The
1108 library should be completely backwards compatible on both the source
1109 and binary level.
1111 The shared library no longer exports some symbols that have never been
1112 officially supported, i.e., not mentioned in any of the header files.
1113 The symbols are:
1115   _gnutls*
1116   gnutls_asn1_tab
1117   
1118 Normally when symbols are removed, the shared library version has to
1119 be incremented.  This leads to a significant cost for everyone using
1120 the library.  Because none of the above symbols have ever been
1121 intended for use by well-behaved applications, we decided that the it
1122 would be better for those applications to pay the price rather than
1123 incurring problems on the majority of applications.
1125 If it turns out that applications have been using unofficial
1126 interfaces, we will need to release a follow-on release on the v2.8
1127 branch to exports additional interfaces.  However, initial testing
1128 suggests that few if any applications have been using any of the
1129 internal symbols.
1131 Although not a new change compared to 2.6.x, we'd like to remind you
1132 interfaces have been modified so that X.509 chain verification now
1133 also checks activation/expiration times on certificates.  The affected
1134 functions are:
1136 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1137 gnutls_certificate_verify_peers: Likewise.
1138 gnutls_certificate_verify_peers2: Likewise.
1139 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1140 GNUTLS_CERT_EXPIRED: ADDED.
1141 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1143 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
1144 we gave our rationale for it in earlier release notes.
1146 The following symbols have been added to the library:
1148 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1149 gnutls_x509_crl_get_authority_key_id: ADDED
1150 gnutls_x509_crl_get_extension_data: ADDED
1151 gnutls_x509_crl_get_extension_info: ADDED
1152 gnutls_x509_crl_get_extension_oid: ADDED
1153 gnutls_x509_crl_get_number: ADDED
1154 gnutls_x509_crl_set_authority_key_id: ADDED
1155 gnutls_x509_crl_set_number: ADDED
1156 gnutls_x509_crq_get_attribute_data: ADDED
1157 gnutls_x509_crq_get_attribute_info: ADDED
1158 gnutls_x509_crq_get_basic_constraints: ADDED
1159 gnutls_x509_crq_get_extension_by_oid: ADDED
1160 gnutls_x509_crq_get_extension_data: ADDED
1161 gnutls_x509_crq_get_extension_info: ADDED
1162 gnutls_x509_crq_get_key_id: ADDED.
1163 gnutls_x509_crq_get_key_purpose_oid: ADDED
1164 gnutls_x509_crq_get_key_rsa_raw: ADDED
1165 gnutls_x509_crq_get_key_usage: ADDED
1166 gnutls_x509_crq_get_subject_alt_name: ADDED
1167 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1168 gnutls_x509_crq_print: ADDED
1169 gnutls_x509_crq_set_basic_constraints: ADDED
1170 gnutls_x509_crq_set_key_purpose_oid: ADDED
1171 gnutls_x509_crq_set_key_usage: ADDED
1172 gnutls_x509_crq_set_subject_alt_name: ADDED
1173 gnutls_x509_crt_get_verify_algorithm: ADDED
1174 gnutls_x509_crt_set_crq_extensions: ADDED
1175 gnutls_x509_crt_verify_hash: ADDED
1177 The following interfaces have been added to the header files:
1179 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1180 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1181 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1182 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1183 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1184 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
1186 The following interfaces have been deprecated:
1188 LIBGNUTLS_VERSION: DEPRECATED.
1189 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1190 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1191 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1192 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1193 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
1195 * Version 2.7.14 (released 2009-05-26)
1197 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
1198 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
1199 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
1200 deprecated.
1202 ** Doc: Several typo fixes in documentation.
1203 Reported by Peter Hendrickson <pdh@wiredyne.com>.
1205 ** API and ABI modifications:
1206 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
1207 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
1209 * Version 2.7.13 (released 2009-05-25)
1211 ** libgnutls: Fix version of some exported symbols in the shared library.
1212 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1213 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
1215 ** tests: Handle recently expired certificates in chainverify self-test.
1216 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1217 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
1219 ** API and ABI modifications:
1220 No changes since last version.
1222 * Version 2.7.12 (released 2009-05-20)
1224 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
1226 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
1227 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1228 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
1230 ** Fix build failures.
1231 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
1232 G. Christensen" <tgc@jupiterrise.com> in
1233 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
1235 ** minitasn1: Internal copy updated to libtasn1 v2.2.
1236 GnuTLS should work fine with libtasn1 v1.x and that is still
1237 supported.
1239 ** API and ABI modifications:
1240 No changes since last version.
1242 * Version 2.7.11 (released 2009-05-18)
1244 ** minitasn1: Fix build failure when using internal libtasn1.
1245 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1246 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
1248 ** libgnutls: Fix build failure with --disable-cxx.
1249 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1250 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
1252 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
1253 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1254 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
1256 ** Building with many warning flags now requires --enable-gcc-warnings.
1257 This avoids crying wolf for normal compiles.
1259 ** API and ABI modifications:
1260 No changes since last version.
1262 * Version 2.7.10 (released 2009-05-13)
1264 ** examples: Now released into the public domain.
1265 This makes the license of the example code compatible with more
1266 licenses, including the (L)GPL.
1268 ** minitasn1: Internal copy updated to libtasn1 v2.1.
1269 GnuTLS should work fine with libtasn1 v1.x and that is still
1270 supported.
1272 ** libgnutls: Fix crash in signature verification
1273 The fix for the CVE-2009-1415 problem wasn't merged completely.
1275 ** doc: Fixes for GTK-DOC output.
1277 ** API and ABI modifications:
1278 No changes since last version.
1280 * Version 2.7.9 (released 2009-05-11)
1282 ** doc: Fix strings in man page of gnutls_priority_init.
1284 ** doc: Fix tables of error codes and supported algorithms.
1286 ** Fix build failure when cross-compiled using MinGW.
1288 ** Fix build failure when LZO is enabled.
1289 Reported by Arfrever Frehtes Taifersar Arahesis
1290 <arfrever.fta@gmail.com> in
1291 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
1293 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
1294 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1295 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
1297 ** Fix warnings in self-tests.
1299 ** API and ABI modifications:
1300 No changes since last version.
1302 * Version 2.7.8 (released 2009-05-03)
1304 ** libgnutls: Fix DSA key generation.
1305 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1307 ** libgnutls: Check expiration/activation time on untrusted certificates.
1308 Merged from stable branch.  Reported by Romain Francoise
1309 <romain@orebokech.com>.  This changes the semantics of
1310 gnutls_x509_crt_list_verify, which in turn is used by
1311 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
1312 We add two new gnutls_certificate_status_t codes for reporting the new
1313 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
1314 We also add a new gnutls_certificate_verify_flags flag,
1315 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1316 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
1318 ** lib: Linker version scripts reduces number of exported symbols.
1319 The linker version script now lists all exported ABIs explicitly, to
1320 avoid accidentally exporting unintended functions.  Compared to
1321 before, most symbols beginning with _gnutls* are no longer exported.
1322 These functions have never been intended for use by applications, and
1323 there were no prototypes for these function in the public header
1324 files.  Thus we believe it is possible to do this without incrementing
1325 the library ABI version which normally has to be done when removing an
1326 interface.
1328 ** lib: Limit exported symbols on systems without LD linker scripts.
1329 Before all symbols were exported.  Now we limit the exported symbols
1330 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
1331 _gnutls*.  This is a superset of the actual supported ABI, but still
1332 an improvement compared to before.  This is implemented using Libtool
1333 -export-symbols-regex.  It is more portable than linker version
1334 scripts.
1336 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
1337 This should have been done in the last release.
1339 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1340 Reported by Peter Hendrickson <pdh@wiredyne.com> in
1341 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
1343 ** doc: Improved sections for the info manual.
1344 We now follow the advice given by the texinfo manual on which
1345 directory categories to use.  In particular, libgnutls moved from the
1346 'GNU Libraries' section to the 'Software libraries' and the command
1347 line tools moved from 'Network Applications' to 'System
1348 Administration'.
1350 ** API and ABI modifications:
1351 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1352 gnutls_certificate_verify_peers: Likewise.
1353 gnutls_certificate_verify_peers2: Likewise.
1354 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1355 GNUTLS_CERT_EXPIRED: ADDED.
1356 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1358 * Version 2.7.7 (released 2009-04-20)
1360 ** libgnutls: Applied patch by Cedric Bail to add functions
1361 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
1363 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
1364 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1365 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
1367 ** minitasn1: Internal copy updated to libtasn1 v1.8.
1368 GnuTLS is also internally ready to be used with libtasn1 v2.0.
1370 ** doc: Fix build failure of errcodes/printlist.
1371 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1372 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
1374 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1375 It is currently only used by the core library.  This will enable a new
1376 domain 'gnutls' for translations of the command line tools.
1378 ** Corrected possible memory corruption on signature verification failure. 
1379 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
1381 ** API and ABI modifications:
1382 gnutls_x509_crt_verify_hash: ADDED
1383 gnutls_x509_crt_get_verify_algorithm: ADDED
1385 * Version 2.7.6 (released 2009-02-27)
1387 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1388 This applies both to generating certificates and certificate requests.
1390 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
1392 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1393 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
1394 be used for chain verification.
1396 ** gnutls-serv: No longer disable MAC padding by default.
1397 Use --priority NORMAL:%COMPAT to disable MAC padding again.
1399 ** gnutls-cli: Certificate information output format changed.
1400 The tool now uses libgnutls' functions to print certificate
1401 information.  This avoids code duplication.
1403 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1404 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1405 They can be used to override the default certificate chain validation
1406 behaviour.
1408 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
1409 specify the client hello message record version. Used to overcome buggy 
1410 TLS servers. Report by Martin von Gagern.
1412 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1414 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1416 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
1418 ** API and ABI modifications:
1419 No changes since last version.
1421 * Version 2.7.5 (released 2009-02-06)
1423 ** libgnutls: Accept chains where intermediary certs are trusted.
1424 Before GnuTLS needed to validate the entire chain back to a
1425 self-signed certificate.  GnuTLS will now stop looking when it has
1426 found an intermediary trusted certificate.  The new behaviour is
1427 useful when chains, for example, contains a top-level CA, an
1428 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1429 To avoid chain validation errors due to the RSA-MD5 cert, you can
1430 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1431 The signature on trusted certificates are not checked, so the chain
1432 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1433 <deengert@anl.gov> in
1434 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1436 ** libgnutls: result_size in gnutls_hex_encode now holds
1437 the size of the result. Report by John Brooks <special@dereferenced.net>.
1439 ** libgnutls: gnutls_handshake when sending client hello during a
1440 rehandshake, will not offer a version number larger than the current.
1441 Reported by Tristan Hill <stan@saticed.me.uk>.
1443 ** libgnutls: Permit V1 Certificate Authorities properly.
1444 Before they were mistakenly rejected even though
1445 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1446 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1447 "Douglas E. Engert" <deengert@anl.gov> in
1448 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1450 ** API and ABI modifications:
1451 No changes since last version.
1453 * Version 2.7.4 (released 2009-01-07)
1455 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1456 This is a bugfix -- the previous attempt to do this from internal x509
1457 certificate verification procedures did not return the correct value
1458 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1459 <dkg@fifthhorseman.net> in
1460 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1461 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1462 Gillmor <dkg@fifthhorseman.net>.
1464 ** libgnutls: New interface to get key id for certificate requests.
1465 Patch from David Marín Carreño <davefx@gmail.com> in
1466 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
1468 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
1470 ** certtool: --verify-chain now prints results of using library verification.
1471 Earlier, certtool --verify-chain used its own validation algorithm
1472 which wasn't guaranteed to give the same result as the libgnutls
1473 internal validation algorithm.  Now this command print a new final
1474 line with header 'Chain verification output:' that contains the result
1475 from using the internal verification algorithm on the same chain.
1477 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
1479 ** API and ABI modifications:
1480 gnutls_x509_crq_get_key_id: ADDED.
1482 * Version 2.7.3 (released 2008-12-10)
1484 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1485 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1486 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1487 Andreas Metzler <ametzler@downhill.at.eu.org> in
1488 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1490 ** libgnutls: Libgcrypt initialization changed.
1491 If libgcrypt has not already been initialized, GnuTLS will now
1492 initialize libgcrypt with disabled secure memory.  Initialize
1493 libgcrypt explicitly in your application if you want to enable secure
1494 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
1495 allocation functions, which doesn't use secure memory, so there is no
1496 real change in behaviour.
1498 ** libgnutls: Fix memory leak in PSK authentication.
1499 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1500 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1502 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1504 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1505 It needs to be invoked before libgcrypt is initialized.
1507 ** gnutls-cli: Return non-zero exit code on error conditions.
1509 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1511 ** tests: Added chainverify self-test that tests X.509 chain verifications.
1513 ** API and ABI modifications:
1514 No changes since last version.
1516 * Version 2.7.2 (released 2008-11-18)
1518 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1519 The flaw makes it possible for man in the middle attackers (i.e.,
1520 active attackers) to assume any name and trick GnuTLS clients into
1521 trusting that name.  Thanks for report and analysis from Martin von
1522 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1524 Any updates with more details about this vulnerability will be added
1525 to <http://www.gnu.org/software/gnutls/security.html>
1527 ** libgnutls: Fix namespace issue with version symbols.
1528 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
1529 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
1530 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
1531 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
1532 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
1533 work but are deprecated.
1535 ** certtool: allow setting arbitrary key purpose object identifiers.
1537 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
1539 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1540 Reported by Kevin Quick <quick@sparq.org> in
1541 <https://savannah.gnu.org/support/index.php?106454>.
1543 ** libgnutls-extra: Make building with LZO compression work again.
1544 Build failure reported by Arfrever Frehtes Taifersar Arahesis
1545 <arfrever.fta@gmail.com> in
1546 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
1548 ** libgnutls: Change detection of when to use a linker version script.
1549 Use --enable-ld-version-script or --disable-ld-version-script to
1550 override auto-detection logic.
1552 ** doc: Change license on the manual to GFDLv1.3+.
1554 ** doc: GTK-DOC fixes for new splitted configuration system.
1556 ** doc: Texinfo stylesheet uses white background.
1558 ** tests: Add cve-2008-4989.c self-test.
1559 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
1560 follow-on problem with crashes on length 1 certificate chains.
1562 ** gnulib: Deprecated modules removed.
1563 Modules include memchr and memcmp.
1565 ** Fix warnings and build GnuTLS with more warnings enabled.
1567 ** minitasn1: Internal copy updated to libtasn1 v1.7.
1569 ** API and ABI modifications:
1570 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1571 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1572 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1573 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1574 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1575 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1576 LIBGNUTLS_VERSION: DEPRECATED.
1577 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1578 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1579 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1580 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1582 * Version 2.7.1 (released 2008-10-31)
1584 ** certtool: print a PKCS #8 key even if it is not encrypted.
1586 ** Old libgnutls.m4 and libgnutls-config scripts removed.
1587 Please use pkg-config instead.
1589 ** Configuration system modified.
1590 There is now a configure script in lib/ and libextra/ as well, because
1591 gnulib works better with a config.h per gnulib directory.
1593 ** API and ABI modifications:
1594 No changes since last version.
1596 * Version 2.7.0 (released 2008-10-16)
1598 ** libgnutls: Added functions to handle CRL extensions.
1600 ** libgnutls: Added functions to handle X.509 extensions in Certificate
1601 Requests.
1603 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
1604 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
1606 ** certtool: Print and set CRL and CRQ extensions.
1608 ** libgnutls-extra: Protect internal symbols with static.
1609 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1610 Ucko <ucko@ncbi.nlm.nih.gov>.
1612 ** libgnutls-openssl: fix out of bounds access.
1613 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1614 from Thomas Viehmann <tv@beamnet.de>.
1616 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1618 ** tests: Make tests compile when using internal libtasn1.
1619 Patch by ludo@gnu.org (Ludovic Courtès).
1621 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1622 We now require a libgcrypt that has Camellia constants declared in
1623 gcrypt.h, which means v1.3.0 or later.
1625 ** API and ABI modifications:
1626 gnutls_x509_crl_get_authority_key_id: ADDED
1627 gnutls_x509_crl_get_number: ADDED
1628 gnutls_x509_crl_get_extension_oid: ADDED
1629 gnutls_x509_crl_get_extension_info: ADDED
1630 gnutls_x509_crl_get_extension_data: ADDED
1631 gnutls_x509_crl_set_authority_key_id: ADDED
1632 gnutls_x509_crl_set_number: ADDED
1633 gnutls_x509_crq_get_key_rsa_raw: ADDED
1634 gnutls_x509_crq_get_attribute_info: ADDED
1635 gnutls_x509_crq_get_attribute_data: ADDED
1636 gnutls_x509_crq_get_extension_info: ADDED
1637 gnutls_x509_crq_get_extension_data: ADDED
1638 gnutls_x509_crq_get_key_usage: ADDED
1639 gnutls_x509_crq_get_basic_constraints: ADDED
1640 gnutls_x509_crq_get_subject_alt_name: ADDED
1641 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1642 gnutls_x509_crq_get_extension_by_oid: ADDED
1643 gnutls_x509_crq_set_subject_alt_name: ADDED
1644 gnutls_x509_crq_set_basic_constraints: ADDED
1645 gnutls_x509_crq_set_key_usage: ADDED
1646 gnutls_x509_crq_get_key_purpose_oid: ADDED
1647 gnutls_x509_crq_set_key_purpose_oid: ADDED
1648 gnutls_x509_crq_print: ADDED
1649 gnutls_x509_crt_set_crq_extensions: ADDED
1651 * Version 2.6.6 (released 2009-04-30)
1653 ** libgnutls: Corrected double free on signature verification failure.
1654 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
1655 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
1657 ** libgnutls: Fix DSA key generation.
1658 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
1659 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
1660 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1662 ** libgnutls: Check expiration/activation time on untrusted certificates.
1663 Reported by Romain Francoise <romain@orebokech.com>.  Before the
1664 library did not check activation/expiration times on certificates, and
1665 was documented as not doing so.  We have realized that many
1666 applications that use libgnutls, including gnutls-cli, fail to perform
1667 proper checks.  Implementing similar logic in all applications leads
1668 to code duplication.  Hence, we decided to check whether the current
1669 time (as reported by the time function) is within the
1670 activation/expiration period of certificates when verifying untrusted
1671 certificates.
1673 This changes the semantics of gnutls_x509_crt_list_verify, which in
1674 turn is used by gnutls_certificate_verify_peers and
1675 gnutls_certificate_verify_peers2.  We add two new
1676 gnutls_certificate_status_t codes for reporting the new error
1677 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
1678 add a new gnutls_certificate_verify_flags flag,
1679 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1680 behaviour.
1682 More details about the vulnerabilities will be posted at
1683 <http://www.gnu.org/software/gnutls/security.html>.
1685 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1686 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1687 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1689 ** tests: Fix linking of tests/openpgp/keyring self-test.
1690 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1692 ** API and ABI modifications:
1693 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1694 gnutls_certificate_verify_peers: Likewise.
1695 gnutls_certificate_verify_peers2: Likewise.
1696 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1697 GNUTLS_CERT_EXPIRED: ADDED.
1698 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1700 * Version 2.6.5 (released 2009-04-11)
1702 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1703 specify the client hello message record version. Used to overcome buggy
1704 TLS servers. Report by Martin von Gagern.
1706 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1707 Libtasn1 0.3.4 or later is required.  This is to align with the
1708 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1710 ** API and ABI modifications:
1711 No changes since last version.
1713 * Version 2.6.4 (released 2009-02-06)
1715 ** libgnutls: Accept chains where intermediary certs are trusted.
1716 Before GnuTLS needed to validate the entire chain back to a
1717 self-signed certificate.  GnuTLS will now stop looking when it has
1718 found an intermediary trusted certificate.  The new behaviour is
1719 useful when chains, for example, contains a top-level CA, an
1720 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1721 To avoid chain validation errors due to the RSA-MD5 cert, you can
1722 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1723 The signature on trusted certificates are not checked, so the chain
1724 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1725 <deengert@anl.gov> in
1726 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1728 ** libgnutls: result_size in gnutls_hex_encode now holds
1729 the size of the result. Report by John Brooks <special@dereferenced.net>.
1731 ** libgnutls: gnutls_handshake when sending client hello during a
1732 rehandshake, will not offer a version number larger than the current.
1733 Reported by Tristan Hill <stan@saticed.me.uk>.
1735 ** libgnutls: Permit V1 Certificate Authorities properly.
1736 Before they were mistakenly rejected even though
1737 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1738 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1739 "Douglas E. Engert" <deengert@anl.gov> in
1740 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1742 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1743 This is a bugfix -- the previous attempt to do this from internal x509
1744 certificate verification procedures did not return the correct value
1745 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1746 <dkg@fifthhorseman.net> in
1747 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1748 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1749 Gillmor <dkg@fifthhorseman.net>.
1751 ** libgnutls: Fix compile error with Sun CC.
1752 Reported by Jeff Cai <jeff.cai@sun.com> in
1753 <https://savannah.gnu.org/support/?106549>.
1755 ** API and ABI modifications:
1756 No changes since last version.
1758 * Version 2.6.3 (released 2008-12-12)
1760 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1761 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1762 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1763 Andreas Metzler <ametzler@downhill.at.eu.org> in
1764 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1766 ** libgnutls: Fix memory leak in PSK authentication.
1767 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1768 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1770 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1771 It needs to be invoked before libgcrypt is initialized.
1773 ** gnutls-cli: Return non-zero exit code on error conditions.
1775 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1777 ** API and ABI modifications:
1778 No changes since last version.
1780 * Version 2.6.2 (released 2008-11-12)
1782 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1783 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1784 problem for certificate chains that contained just one self-signed
1785 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1786 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1788 ** API and ABI modifications:
1789 No changes since last version.
1791 * Version 2.6.1 (released 2008-11-10)
1793 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1794 The flaw makes it possible for man in the middle attackers (i.e.,
1795 active attackers) to assume any name and trick GnuTLS clients into
1796 trusting that name.  Thanks for report and analysis from Martin von
1797 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1799 Any updates with more details about this vulnerability will be added
1800 to <http://www.gnu.org/software/gnutls/security.html>
1802 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1803 Reported by Kevin Quick <quick@sparq.org> in
1804 <https://savannah.gnu.org/support/index.php?106454>.
1806 ** libgnutls-extra: Protect internal symbols with static.
1807 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1808 Ucko <ucko@ncbi.nlm.nih.gov>.
1810 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1811 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1812 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1814 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1816 ** tests: Make tests compile when using internal libtasn1.
1817 Patch by ludo@gnu.org (Ludovic Courtès).
1819 ** API and ABI modifications:
1820 No changes since last version.
1822 * Version 2.6.0 (released 2008-10-06)
1824 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1826 ** libgnutls-openssl: fix out of bounds access.
1827 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1828 from Thomas Viehmann <tv@beamnet.de>.
1830 ** certtool: Use inet_pton for parsing IPv6 addresses.
1832 ** Major changes compared to the v2.4 branch:
1834 *** Added API to replace and update the crypto backend.
1836 *** certtool: can add several subject alternative names via template file.
1838 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1840 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1841 either set or append alternative names. It can also handle binary structures
1842 such as IP addresses.
1844 *** libgnutls: New function to set minimum acceptable SRP bits.
1845 The function is gnutls_srp_set_prime_bits.
1847 *** libgnutls: Add interface to deal with public key and signature algorithms.
1848 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1849 gnutls_sign_list, and gnutls_sign_get_id.
1851 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1852 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1854 *** libgnutls: New API to get a string corresponding to a error symbol.
1855 The function is gnutls_strerror_name.
1857 *** libgnutls: New API to set the public parameters in a certificate request
1858 *** from a private key.
1859 The function is gnutls_x509_crq_set_key_rsa_raw.
1861 *** libgnutls: New API to set a callback to extract TLS Finished data.
1862 The function to register is gnutls_session_set_finished_function and
1863 it takes a callback of the gnutls_finished_callback_func type.
1865 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1867 *** libgnutls: New interface to register a new TLS extension handler.
1868 The new function gnutls_ext_register can be used to register handlers
1869 for specific TLS extension types.  The callback functions have the new
1870 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1871 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1872 well.
1874 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1875 The function is gnutls_register_md5_handler.  When libgcrypt is in
1876 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1877 the PRF.
1879 *** API/ABI changes in GnuTLS 2.6
1880 No functions have been removed or modified.  The library should be
1881 fully backwards compatible on both the source and binary level.
1883 A new header file <gnutls/crypto.h> have been added.  It contains
1884 definitions related to replacing the internal crypto functionality.
1885 All definitions and the header itself is experimental but supported.
1887 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1888 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1889 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1891 The following functions have been added to libgnutls:
1893 GNUTLS_MASTER_SIZE
1894 GNUTLS_RANDOM_SIZE
1895 gnutls_crypto_bigint_register2
1896 gnutls_crypto_cipher_register2
1897 gnutls_crypto_digest_register2
1898 gnutls_crypto_mac_register2
1899 gnutls_crypto_pk_register2
1900 gnutls_crypto_rnd_register2
1901 gnutls_crypto_single_cipher_register2
1902 gnutls_crypto_single_digest_register2
1903 gnutls_crypto_single_mac_register2
1904 gnutls_ext_register
1905 gnutls_pk_get_id
1906 gnutls_pk_get_name
1907 gnutls_pk_list
1908 gnutls_session_set_finished_function
1909 gnutls_sign_get_id
1910 gnutls_sign_get_name
1911 gnutls_sign_list
1912 gnutls_srp_set_prime_bits:
1913 gnutls_strerror_name
1914 gnutls_x509_crq_set_key_rsa_raw
1915 gnutls_x509_crt_set_crl_dist_points2
1916 gnutls_x509_crt_set_subject_alt_name
1918 The following functions have been added to libgnutls-extra:
1920 gnutls_register_md5_handler
1922 ** API and ABI modifications:
1923 No changes since last version.
1925 * Version 2.5.9 (released 2008-09-29)
1927 ** libgnutls: Fix several memory leaks.
1928 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1930 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1931 Report and patch by Jonathan Manktelow.
1933 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1934 The parameters are now allocated in the structure itself.
1936 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1938 ** tests: Scripts now use EXEEXT properly.
1939 Modern libtool doesn't create wrapper script, so the self tests need
1940 to invoke certtool.exe under MinGW32+Wine.
1942 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1943 Automake warnings are now also enabled.
1945 ** API and ABI modifications:
1946 gnutls_pk_params_st: MODIFIED
1948 * Version 2.5.8 (released 2008-09-21)
1950 ** certtool: updated so it can add several subject alternative names using
1951 the template file.
1953 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1954 either set or append alternative names. It can also handle binary structures
1955 such as IP addresses.
1957 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1959 ** libgnutls: New function to set minimum acceptable SRP bits.
1960 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1961 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1963 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1964 Also fix overflows in calls to those functions.  Reported by Werner
1965 Koch <wk@gnupg.org>.
1967 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1968 The function is gnutls_register_md5_handler.  When libgcrypt is in
1969 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1970 the PRF.
1972 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1974 ** Indent code.
1976 ** API and ABI modifications:
1977 gnutls_srp_set_prime_bits: ADDED
1978 gnutls_register_md5_handler: ADDED
1979 gnutls_x509_crt_set_crl_dist_points2: ADDED
1980 gnutls_x509_crt_set_subject_alt_name: ADDED
1982 * Version 2.5.7 (released 2008-09-16)
1984 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1985 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1987 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1989 ** libgnutls: Fix libgnutls shared library version.
1990 It wasn't properly incremented after adding symbols in the last
1991 release.
1993 ** manual: Now mention supported public key and public key signing algorithms.
1995 ** tests/openssl: initialize gnutls before use.
1997 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1999 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
2001 ** API and ABI modifications:
2002 gnutls_sign_get_name: ADDED
2003 gnutls_pk_get_name: ADDED
2005 * Version 2.5.6 (released 2008-09-08)
2007 ** libgnutls: Add interface to deal with public key and signature algorithms.
2008 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2009 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
2010 Varshavchik <mrsam@courier-mta.com>.
2012 ** libgnutls: Refactor and clean up some code.
2014 ** libgnutls: Fix compile error with Sun CC.
2016 ** gnutls-cli: Improve --list output to include public key and signature algs.
2018 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
2019 Use standard --version to get license info.
2021 ** gnutls-cli.1: Document all new parameters.
2022 Thanks to James Westby <jw+debian@jameswestby.net>.
2024 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
2025 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2027 ** API and ABI modifications:
2028 gnutls_pk_list: ADDED
2029 gnutls_pk_get_id: ADDED
2030 gnutls_sign_list: ADDED
2031 gnutls_sign_get_id: ADDED
2033 * Version 2.5.5 (released 2008-08-29)
2035 ** libgnutls: New API to get a string corresponding to a error symbol.
2036 The function is gnutls_strerror_name.
2038 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
2039 Reported by "jth.net ApS" <info@jth.net>.
2041 ** libgnutls: Fix segmentation fault when generating private keys.
2042 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2044 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
2045 The code has not worked since v0.9.0 and apparently nobody has missed
2046 it, so we decided to remove the code rather than fix it.  If you have
2047 old certificate chains stored in PKCS#7 format, you can convert them
2048 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
2049 by Christian Grothoff <christian@grothoff.org>.
2051 ** opencdk: Parse (but not decrypt) encrypted secret keys.
2052 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2054 ** libgnutls: Fix many warnings.
2056 ** Included copy of libtasn1 is upgraded to version 1.5.
2058 ** Add French translation, thanks to Nicolas Provost.
2060 ** API and ABI modifications:
2061 gnutls_strerror_name: ADDED
2063 * Version 2.5.4 (released 2008-08-19)
2065 ** Fix secure memory initialization of libgcrypt.
2066 Reported by Joe Orton <joe@manyfish.co.uk> in
2067 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
2069 ** Doc fixes.
2070 Reference to NIST SP 800-57 in the manual on key size recommendations.
2071 Added 'Since:' tags to new APIs for gtk-doc.
2073 ** API and ABI modifications:
2074 No changes since last version.
2076 * Version 2.5.3 (released 2008-08-14)
2078 ** libgnutls: New API to set the public parameters in a certificate request
2079 ** from a private key.
2080 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
2081 discussion with "Zach C." <fxchip@gmail.com>.
2083 ** libgnutls: New API to set a callback to extract TLS Finished data.
2084 The function to register is gnutls_session_set_finished_function and
2085 it takes a callback of the gnutls_finished_callback_func type.
2087 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
2088 Reported in <https://savannah.gnu.org/support/?106453>.
2090 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
2091 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
2092 names are mapped to the new names in compat.h.  These mappings will
2093 likely be removed more quickly than other mappings in that file due to
2094 the namespace violation.
2096 ** libgnutlsxx: Make it build when SRP is disabled.
2098 ** doc: Add doxygen files in doc/doxygen/.
2100 ** API and ABI modifications:
2101 gnutls_x509_crq_set_key_rsa_raw: ADDED
2102 gnutls_session_set_finished_function: ADDED
2103 gnutls_finished_callback_func: ADDED
2104 GNUTLS_MASTER_SIZE: ADDED
2105 GNUTLS_RANDOM_SIZE: ADDED
2106 TLS_MASTER_SIZE: DEPRECATED
2107 TLS_RANDOM_SIZE: DEPRECATED
2109 * Version 2.5.2 (released 2008-07-08)
2111 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
2112 The prime and generator was swapped.
2114 ** libgnutls: New interface to register a new TLS extension handler.
2115 The new function gnutls_ext_register can be used to register handlers
2116 for specific TLS extension types.  The callback functions have the new
2117 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
2118 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
2119 well.
2121 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
2122 This was made possible by using the new gnutls_ext_register interface.
2123 The TLS/IA functionality has only been supported through the
2124 libgnutls-extra library, so it makes sense for the code to belong
2125 there too.
2127 ** API and ABI modifications:
2128 gnutls_ext_recv_func: ADDED
2129 gnutls_ext_send_func: ADDED
2130 gnutls_ext_parse_type_t: ADDED
2131 gnutls_ext_register: ADDED
2133 * Version 2.5.1 (released 2008-07-02)
2135 ** Indent code.
2137 ** API and ABI modifications:
2138 No changes since last version.
2140 * Version 2.5.0 (released 2008-07-02)
2142 ** Port fixes from v2.4.1 release, see below.
2144 ** Added API to replace and update the crypto backend.
2145 The header gnutls/crypto.h is now officially supported, and declares
2146 the symbols below.
2148 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
2150 ** Update gnulib and translations.
2151 The gnulib gc crypto code has been removed since it was never finished
2152 and is no longer even used.  An internal non-libgcrypt crypto
2153 implementation may be added in the future, but we'll decide that later
2156 ** API and ABI modifications:
2157 gnutls_crypto_bigint_register2: ADDED.
2158 gnutls_crypto_cipher_register2: ADDED.
2159 gnutls_crypto_digest_register2: ADDED.
2160 gnutls_crypto_mac_register2: ADDED.
2161 gnutls_crypto_pk_register2: ADDED.
2162 gnutls_crypto_rnd_register2: ADDED.
2163 gnutls_crypto_single_cipher_register2: ADDED.
2164 gnutls_crypto_single_digest_register2: ADDED.
2165 gnutls_crypto_single_mac_register2: ADDED.
2167 * Version 2.4.3 (released 2009-02-06)
2169 ** libgnutls: Accept chains where intermediary certs are trusted.
2170 Before GnuTLS needed to validate the entire chain back to a
2171 self-signed certificate.  GnuTLS will now stop looking when it has
2172 found an intermediary trusted certificate.  The new behaviour is
2173 useful when chains, for example, contains a top-level CA, an
2174 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2175 To avoid chain validation errors due to the RSA-MD5 cert, you can
2176 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2177 The signature on trusted certificates are not checked, so the chain
2178 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2179 <deengert@anl.gov> in
2180 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2182 ** libgnutls: Permit V1 Certificate Authorities properly.
2183 Before they were mistakenly rejected even though
2184 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2185 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2186 "Douglas E. Engert" <deengert@anl.gov> in
2187 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2189 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2190 This is a bugfix -- the previous attempt to do this from internal x509
2191 certificate verification procedures did not return the correct value
2192 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2193 <dkg@fifthhorseman.net> in
2194 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2195 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2196 Gillmor <dkg@fifthhorseman.net>.
2198 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2199 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2200 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2201 Andreas Metzler <ametzler@downhill.at.eu.org> in
2202 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2204 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2205 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2206 problem for certificate chains that contained just one self-signed
2207 certificate.  Reported by Michael Meskes <meskes@debian.org> in
2208 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2210 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2211 The flaw makes it possible for man in the middle attackers (i.e.,
2212 active attackers) to assume any name and trick GnuTLS clients into
2213 trusting that name.  Thanks for report and analysis from Martin von
2214 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
2216 Any updates with more details about this vulnerability will be added
2217 to <http://www.gnu.org/software/gnutls/security.html>
2219 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
2220 Report and patch by Jonathan Manktelow.
2222 ** libgnutls: Avoid use of non-thread safe strerror.
2224 ** API and ABI modifications:
2225 No changes since last version.
2227 * Version 2.4.2 (released 2008-09-15)
2229 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
2231 ** libgnutls: Corrected memory leak in X.509 functions.
2232 Thanks to Colin Leroy <colin@colino.net>.
2234 ** libgnutls: Fix compile error with Sun CC.
2236 ** gnutls-cli.1: Document all new parameters.
2237 Thanks to James Westby <jw+debian@jameswestby.net>.
2239 ** tests/openssl: initialize gnutls before use.
2240 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
2241 <ludovic.courtes@laas.fr>.
2243 ** doc/: Fix texinfo markup for old texinfo versions.
2245 ** Included copy of libtasn1 is upgraded to version 1.5.
2247 ** API and ABI modifications:
2248 No changes since last version.
2250 * Version 2.4.1 (released 2008-06-30)
2252 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
2253 If the gnutls_handshake function is called for a normal session, which
2254 can happen for re-handshakes, the library would crash because it tried
2255 to hash some data using a libgcrypt handle that had been deallocated.
2256 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
2257 with more details about this vulnerability will be added to
2258 <http://www.gnu.org/software/gnutls/security.html>
2260 ** libgnutls: Fix memory leaks when doing a re-handshake.
2261 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
2262 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
2264 ** Fix compiler warnings.
2265 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2266 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
2268 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
2269 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2270 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
2272 ** srptool: Fix a problem where --verify check does not succeed.
2273 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
2274 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
2276 ** API and ABI modifications:
2277 No changes since last version.
2279 * Version 2.4.0 (released 2008-06-19)
2281 ** Major changes compared to the v2.2 branch:
2283 *** The OpenPGP sub-system has been improved and now supports subkeys.
2285 *** The PSK sub-system has been improved and now supports password
2286 *** derivation and PSK identity hints.
2287 The password derivation algorithms support is documented in
2288 draft-ietf-netconf-tls-02.txt.
2290 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
2291 This aligns terminology with OpenPGP, which doesn't use DER encoding.
2292 The old parameters will continue to work for some time.
2294 *** Certtool now confirm passwords and changes permissions of private key files.
2296 *** The default handshake size limit has been increased to 48kb.
2297 It appears as if some valid handshakes are large due to sending many
2298 CA certificates.  (The earlier limit was 16kb.)
2300 *** LZO compression is now disabled by default.
2301 The main reason is that LZO compression in TLS is not standardized,
2302 but license compatiblity issues with minilzo triggered us to make this
2303 decision now.
2305 *** Improvements for cross-compilation to Windows and OpenWRT.
2307 *** The look of the GTK-DOC manual has been improved.
2308 Major developer visible changes compared to the v2.2 branch:
2310 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
2312 *** New APIs to access the raw X.509 Subject and Issuer DN's and
2313 *** elements from the certificate credentials structure.
2314 Thanks to Joe Orton.
2316 *** New APIs to improve working with username/passwords and PSK.
2318 *** Names of constants to affect certificate printing changed.
2319 The constants are used for OpenPGP too, which the names didn't
2320 reflect, so the following name change has been made:
2322             Old name                         New name
2323      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
2324      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
2325      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
2327 The old names will be mapped to the new names for some time.
2329 *** The function gnutls_openpgp_privkey_get_id has been renamed to
2330 *** gnutls_openpgp_privkey_get_key_id.
2331 A compatibility mapping exists to avoid breaking API backwards
2332 compatibility.
2334 *** Replaced all uses of alloca with malloc and free.
2336 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
2337 We have been unable to find a documented rationale for this practice.
2339 *** Of course, many smaller fixes have been made, see the ChangeLog file.
2341 *** API/ABI changes in GnuTLS 2.4
2342 All OpenPGP related functions have been moved from libgnutls-extra to
2343 libgnutls, and several new functions have been added (see below).
2344 Before making the release, we discussed whether moving functions from
2345 libgnutls-extra to libgnutls would require us to increment the ABI
2346 version, but the general opinion was that this would not be required.
2347 All older functions continue to work the same.  We are open to the
2348 possibility that this decision will lead to problem on some platform,
2349 and if it turns out that the Right Thing should have been to increment
2350 the shared library version, we would need to release an update within
2351 the 2.4.x branch that increments the shared library version.
2353 This release adds the following functions:
2355   gnutls_psk_client_get_hint
2356   gnutls_psk_set_server_credentials_hint
2357   gnutls_psk_netconf_derive_key
2359     Used to get/set the PSK identity hint, and derive PSK keys from
2360     passwords a'la netconf.
2362   gnutls_x509_dn_deinit
2363   gnutls_x509_dn_export
2364   gnutls_x509_dn_import
2365   gnutls_x509_dn_init
2367     Used to handle X.509 Certificate DN's directly.
2369   gnutls_hex2bin
2371     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
2372     secrets.
2374   gnutls_certificate_get_x509_cas
2375   gnutls_certificate_get_x509_crls
2376   gnutls_certificate_get_openpgp_keyring
2378     Functions for direct access to credential elements.
2380   gnutls_openpgp_crt_get_auth_subkey
2381   gnutls_openpgp_crt_get_key_id
2382   gnutls_openpgp_crt_get_pk_dsa_raw
2383   gnutls_openpgp_crt_get_pk_rsa_raw
2384   gnutls_openpgp_crt_get_preferred_key_id
2385   gnutls_openpgp_crt_get_revoked_status
2386   gnutls_openpgp_crt_get_subkey_count
2387   gnutls_openpgp_crt_get_subkey_creation_time
2388   gnutls_openpgp_crt_get_subkey_expiration_time
2389   gnutls_openpgp_crt_get_subkey_fingerprint
2390   gnutls_openpgp_crt_get_subkey_id
2391   gnutls_openpgp_crt_get_subkey_idx
2392   gnutls_openpgp_crt_get_subkey_pk_algorithm
2393   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
2394   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
2395   gnutls_openpgp_crt_get_subkey_revoked_status
2396   gnutls_openpgp_crt_get_subkey_usage
2397   gnutls_openpgp_crt_print
2398   gnutls_openpgp_crt_set_preferred_key_id
2399   gnutls_openpgp_keyring_get_crt
2400   gnutls_openpgp_keyring_get_crt_count
2401   gnutls_openpgp_privkey_export
2402   gnutls_openpgp_privkey_export_dsa_raw
2403   gnutls_openpgp_privkey_export_rsa_raw
2404   gnutls_openpgp_privkey_export_subkey_dsa_raw
2405   gnutls_openpgp_privkey_export_subkey_rsa_raw
2406   gnutls_openpgp_privkey_get_fingerprint
2407   gnutls_openpgp_privkey_get_key_id
2408   gnutls_openpgp_privkey_get_pk_algorithm
2409   gnutls_openpgp_privkey_get_preferred_key_id
2410   gnutls_openpgp_privkey_get_revoked_status
2411   gnutls_openpgp_privkey_get_subkey_count
2412   gnutls_openpgp_privkey_get_subkey_creation_time
2413   gnutls_openpgp_privkey_get_subkey_expiration_time
2414   gnutls_openpgp_privkey_get_subkey_fingerprint
2415   gnutls_openpgp_privkey_get_subkey_id
2416   gnutls_openpgp_privkey_get_subkey_idx
2417   gnutls_openpgp_privkey_get_subkey_pk_algorithm
2418   gnutls_openpgp_privkey_get_subkey_revoked_status
2419   gnutls_openpgp_privkey_set_preferred_key_id
2421     New OpenPGP related functions.
2423     The function gnutls_openpgp_crt_get_key_id is the same as the old
2424     from gnutls_openpgp_crt_get_id, see above.
2426 The release also adds a new header file 'gnutls/crypto.h', however it
2427 is currently not used.
2429 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
2430 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2432 ** API and ABI modifications:
2433 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
2434 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
2436 * Version 2.3.15 (released 2008-06-15)
2438 ** Disable the openpgp-certs self-tests.
2439 It results in failure under Wine and doesn't work on Debian buildds.
2441 ** API and ABI modifications:
2442 No changes since last version.
2444 * Version 2.3.14 (released 2008-06-11)
2446 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
2447 An OpenPGP certificate is now only considered verified if all the user
2448 IDs are verified.
2450 ** Examples: Make C++ example compile.
2451 Earlier it may have failed with an unresolved reference to strlen.
2453 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
2454 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2456 ** API and ABI modifications:
2457 No changes since last version.
2459 * Version 2.3.13 (released 2008-06-07)
2461 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
2463 ** doc/: Add psktool to info index.  Some minor cleanups.
2465 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
2467 ** tests/: Added libgcrypt.supp which can be used with valgrind.
2468 The file suppresses the known libgcrypt memory leaks, so they aren't
2469 printed when you run valgrind on the gnutls self-tests.  Use it as
2470 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
2471 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
2472 ~/.valgrindrc file.
2474 ** tests/: Reduce amount of debugging output by default.
2475 Use --verbose for each test to get the full output.
2477 ** tests/: Fix memory leaks in several self-tests.
2478 None of the self tests should be leaking memory when running valgrind
2479 or similar tools.  (Known exceptions are dhepskself, pskself, and
2480 set_pkcs12_cred, which appear likely to be due to memory leaks in the
2481 library.)
2483 ** API and ABI modifications:
2484 No changes since last version.
2486 * Version 2.3.12 (released 2008-06-04)
2488 ** Merge gnutls_with_netconf branch.
2490 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
2491 The function is gnutls_psk_client_get_hint.
2493 *** libgnutls [PSK]: New API to set PSK identity hint in server.
2494 The function is gnutls_psk_set_server_credentials_hint.
2496 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
2497 In the client, the message is parsed and the application can use
2498 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
2499 message is sent if the application has specified a PSK identity hint
2500 using gnutls_psk_set_server_credentials_hint.
2502 *** libgnutls [PSK]: Support Netconf PSK key derivation.
2503 The function gnutls_psk_netconf_derive_key supports the PSK key
2504 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
2505 test netconf-psk.c.
2507 *** psktool: Support new --netconf-hint to generate PSK key from password.
2508 Uses the Netconf algorithm to derive PSK key from password.
2510 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
2512 *** gnutls-cli: Always support PSK modes, through a callback.
2513 The callback will derive a PSK key using Netconf algorithm.  It will
2514 print the PSK identity hint to help the user.
2516 *** New PSK example client and server.
2517 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
2519 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
2520 The code didn't work properly on platforms where 'char' is unsigned,
2521 when you set version 0.  Reported by Laurence Withers
2522 <l@lwithers.me.uk> in
2523 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
2525 ** libgnutls-openssl: added RAND_pseudo_bytes API.
2526 Patch from Robert Millan <rmh@aybabtu.com>.
2528 ** API and ABI modifications:
2529 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
2530 gnutls_psk_client_get_hint: ADDED.
2531 gnutls_psk_set_server_credentials_hint: ADDED.
2532 gnutls_psk_netconf_derive_key: ADDED
2534 * Version 2.3.11 (released 2008-05-20)
2536 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2537 The flaw would result in incorrectly terminated sessions with the
2538 error "Decryption has failed" when the server sends a small packet
2539 (typically when the session is closed).  Reported by Andreas Metzler
2540 <ametzler@downhill.at.eu.org> in
2541 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2543 ** Don't use gnulib headers when building C++ library.
2544 Fixes builds under Windows.
2546 ** Make umask a requirement.
2547 We don't know of any system that lacks it, even GNU CoreUtils use it
2548 unconditionally.
2550 ** Update gnulib files.
2551 Fixes a problem where it pulled in a replacement for memcmp under
2552 MinGW, which caused the C++ example to fail to build.
2554 ** API and ABI modifications:
2555 No changes since last version.
2557 * Version 2.3.10 (released 2008-05-19)
2559 ** Added wide wildcard hostname matching.
2560 Tiny patch by Jean-Philippe Garcia Ballester.
2562 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2563 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2564 which allowed the bugs to be reproduced and fixed easily.  Patches
2565 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2566 with more details about these vulnerabilities will be added to
2567 <http://www.gnu.org/software/gnutls/security.html>
2569 *** [GNUTLS-SA-2008-1-1]
2570 *** libgnutls: Fix crash when sending invalid server name.
2571 The crash can be triggered remotely before authentication, which can
2572 lead to a Daniel of Service attack to disable the server.  The bug
2573 cause gnutls to store more session resumption data than what was
2574 allocated for, thus overwriting unallocated memory.
2576 *** [GNUTLS-SA-2008-1-2]
2577 *** libgnutls: Fix crash when sending repeated client hellos.
2578 The crash can be triggered remotely before authentication, which can
2579 lead to a Daniel of Service attack to disable the server.  The bug
2580 triggers a null-pointer dereference.
2582 *** [GNUTLS-SA-2008-1-3]
2583 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2584 The crash can be triggered remotely before authentication, which can
2585 lead to a Daniel of Service attack to disable the server.  The bug
2586 cause gnutls to read memory beyond the end of the received record.
2588 ** libgnutlsxx: Updated API according to patches from Eduardo 
2589 Villanueva Che (discussion at
2590 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
2592 ** Use umask to restrict permissions to owner before creating a file.
2594 ** API and ABI modifications:
2595 No changes since last version.
2597 * Version 2.3.9 (released 2008-05-16)
2599 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
2600 Based on report and tiny patches from
2601 <jared.jennings.ctr@eglin.af.mil>, see
2602 <https://savannah.gnu.org/support/index.php?106342>.
2604 ** libgnutls: Translation fixes.
2606 ** gnutls-cli: Fix so that PSK authentication works.
2607 Also improve manual to give example for gnutls-cli PSK authentication.
2609 ** certtool: Encrypting a private key now require a confirmed password.
2610 Before './certtool -k -8' would merely ask for a password once.
2611 Reported by Daniel 'NebuchadnezzaR' Dehennin
2612 <nebuchadnezzar@asgardr.info> see
2613 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2615 ** certtool: When writing private keys to files, change permissions of file.
2616 Now the file which the private key is saved to is chmod'ed 0600.
2617 Reported by martin f krafft <madduck@debian.org> see
2618 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2620 ** guile: Fix -fgnu89-inline test.
2622 ** Removed --enable-profile-mode.
2623 The code linked gnutls with the libfc project (Function Check) which
2624 appears to have been stalled since around 2002.
2626 ** Clean up header file checks by ./configure.
2628 ** Update of gnulib files.
2630 ** API and ABI modifications:
2631 No changes since last version.
2633 * Version 2.3.8 (released 2008-04-29)
2635 ** libgnutls: Increase default handshake packet size limit to 48kb.
2636 The old limit was 16kb and some servers send huge list of trusted CAs,
2637 thus running into the limit.  FYI, applications can further increase
2638 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2639 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2640 <marc@mclemente.net> for reporting and providing test servers.
2642 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2643 Returned when the handshake data size is too large.  Before
2644 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2645 error situations.
2647 ** libgnutls: Hide definitions in crypto.h.
2648 We have decided that the APIs defined in crypto.h are not stable
2649 enough for v2.4, so don't use any of those functions.
2651 ** gnutls-cli: exit when hostname doesn't match certificate.
2652 Use --insecure to avoid hostname comparison.
2654 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2655 The reason is to align terminology with OpenPGP, which doesn't use
2656 DER.  The old parameters will continue to work for some time.
2658 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2660 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2662 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2663 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2664 vasprintf symbol from the libgcrypt library which caused problems.
2666 ** Update of gnulib files.
2668 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2670 ** API and ABI modifications:
2671 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2673 * Version 2.3.7 (released 2008-04-21)
2675 ** opencdk now properly sets the key usage bits into openpgp keys.
2677 ** gnutls-cli: Fix crash on TLS handshake failures.
2678 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2679 This is similar to <http://bugs.debian.org/429183>.
2681 ** certtool: with --generate-request and newly generated keys, print the key.
2683 ** Build fixes for MinGW.
2684 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2685 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2686 X.509 certificate information, to avoid non-ASCII but printable
2687 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2688 reports.
2690 ** Update internal copy of libtasn1 to version 1.4.
2692 ** API and ABI modifications:
2693 No changes since last version.
2695 * Version 2.3.6 (released 2008-04-17)
2697 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2698 ** Improve documentation for gnutls_x509_crq_sign2.
2699 Based on report from "John Brooks" <aspecialj@gmail.com> in
2700 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2702 ** tests/pathlen: run diff without parameters to improve portability.
2703 Based on HPUX build hints in
2704 <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>.
2706 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2707 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2708 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2710 ** Remove all uses of gnutls_alloca/gnutls_afree.
2711 Use normal gnutls_malloc instead.  One reason is increased portability
2712 to Windows, the other is that several of the uses may be unsafe
2713 because the size of data allocated could be large.  Reported by
2714 Massimo Gaspari <massimo.gaspari@alice.it> in
2715 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2717 ** Build Guile code with -fgnu89-inline only when supported.
2718 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2719 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2721 ** Several GTK-DOC related fixes.
2723 ** Clean up OpenCDK related code.
2724 GnuTLS now requires its internal OpenCDK code rather than the external
2725 GPL library OpenCDK.  Unfortunately, we don't have resources to
2726 maintain an external library (help welcome).
2728 ** API and ABI modifications:
2729 No changes since last version.
2731 * Version 2.3.5 (released 2008-04-14)
2733 ** Build fix for MinGW and --disable-shared.
2734 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2735 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2737 ** Document how to generate CRLs.
2738 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2740 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2742 ** Several minor fixes in the OpenPGP interface.
2743 Thanks to Daniel Kahn Gillmor.
2745 ** Fix fopen file descriptor leak in PSK server code.
2746 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2747 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2749 ** Translations files not stored directly in git to avoid merge conflicts.
2751 ** New APIs to let applications replace the RNG used.
2752 Update all RNG callers in the code to use the new interface.
2754 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2756 ** Update gnulib files.
2758 ** API and ABI modifications:
2759 gnutls_crypto_rnd_register: ADDED
2760 gnutls_rnd_level_t: ADDED
2761 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2762 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2763 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2764 gnutls_crypto_rnd_st: ADDED
2765 GNUTLS_DIG_SHA224: ADDED
2766 GNUTLS_SIGN_RSA_SHA224: ADDED
2767 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2769 * Version 2.3.4 (released 2008-03-19)
2771 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2772 They weren't renamed in the public header file.
2774 ** Added functions to register a cipher/mac/digest. This allows to 
2775 override the included ones.
2777 ** Fix a bunch of compiler warnings.
2779 ** API and ABI modifications:
2780 gnutls_crypto_cipher_st: ADDED
2781 gnutls_crypto_mac_st: ADDED
2782 gnutls_crypto_digest_st: ADDED
2783 gnutls_crypto_cipher_register: ADDED
2784 gnutls_crypto_mac_register: ADDED
2785 gnutls_crypto_digest_register: ADDED
2786 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2788 * Version 2.3.3 (released 2008-03-10)
2790 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2791 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2793 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2794 We could not find any modern justification for enabling these flags by
2795 default.  If you know of some platform that needs one of the flags to
2796 work properly, please let us know.  (Actually introduced in v2.3.0 but
2797 not documented until now.)
2799 ** Importing many CA certificates are now considerably faster.
2800 This affect gnutls_certificate_set_x509_trust_mem,
2801 gnutls_certificate_set_x509_trust, and
2802 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2803 from O(2*n^2) to O(n).  When adding 206 files containing 408
2804 certificates, using gnutls_certificate_set_x509_trust_file, the time
2805 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2806 to trigger the problem.  See also
2807 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2809 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2810 ** to be explicit that it takes zero terminated data.
2812 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2814 ** Documentation fixes for the GTK-DOC manual.
2816 ** Fix compilation error related to __FUNCTION__ on some systems.
2817 Reported by Tim Mooney, see
2818 <https://savannah.gnu.org/support/?106267>.
2820 ** Updated translations.
2822 ** Update gnulib files.
2824 ** API and ABI modifications:
2825 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2826                 and char* instead of void* for output buffer.
2828 * Version 2.3.2 (released 2008-02-26)
2830 ** Fix srcdir!=objdir failure in openpgpself test.
2832 ** Improved API documentation output from GTK-DOC.
2834 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2836 ** Renamed gnutls_certificate_export_x509_cas and friends.
2837 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2839 ** Internal header files cleanup.
2841 ** API and ABI modifications:
2842 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2843 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2844 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2845 gnutls_x509_dn_export: ADDED
2847 * Version 2.3.1 (released 2008-02-21)
2849 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2850 The included copy of OpenCDK has been stripped down and re-licensed
2851 under the LGPL.
2853 ** Cipher priority string handling now handle strings that starts with NULL.
2854 Thanks to Laurence Withers <l@lwithers.me.uk>.
2856 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2858 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2859 by Daniel Stenberg.
2861 ** Increased the default certificate verification chain limits and allowed
2862 for checks without limitation.
2864 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2865 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2866 strings and return the proper size.
2868 ** Add section 'On Record Padding' to the manual.
2869 This collects all problems related to record padding with
2870 Nokia/Sony-Ericsson phones that we know about.
2872 ** Several improvements in the OpenPGP authentication.
2873 Now subkeys can be used for authentication, according to
2874 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2876 ** certtool can print information on OpenPGP certificates and keys.
2878 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2879 Patch by Joe Orton.
2881 ** Added gnutls_certificate_export_x509_cas and other functions to
2882 export elements from the certificate credentials structure.  Based on
2883 suggestion from Joe Orton.
2885 ** Doc fixes.
2886 Clarify that srp_base64 is not the same as normal base64.
2888 ** Fix non-portable use of brace expansion in makefiles.
2890 ** API and ABI modifications:
2891 gnutls_certificate_export_x509_cas: ADDED
2892 gnutls_certificate_export_x509_crls: ADDED
2893 gnutls_certificate_export_openpgp_keyring: ADDED
2894 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2895 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2896 gnutls_openpgp_crt_get_revoked_status: ADDED
2897 gnutls_openpgp_crt_get_subkey_count: ADDED
2898 gnutls_openpgp_crt_get_subkey_idx: ADDED
2899 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2900 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2901 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2902 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2903 gnutls_openpgp_crt_get_subkey_id: ADDED
2904 gnutls_openpgp_crt_get_subkey_usage: ADDED
2905 gnutls_openpgp_privkey_get_fingerprint: ADDED
2906 gnutls_openpgp_privkey_get_key_id: ADDED
2907 gnutls_openpgp_privkey_get_subkey_count: ADDED
2908 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2909 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2910 gnutls_openpgp_privkey_get_revoked_status: ADDED
2911 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2912 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2913 gnutls_openpgp_privkey_get_subkey_id: ADDED
2914 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2915 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2916 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2917 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2918 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2919 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2920 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2921 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2922 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2923 gnutls_openpgp_privkey_export: ADDED
2924 gnutls_certificate_set_openpgp_key_file2: ADDED
2925 gnutls_certificate_set_openpgp_key_mem2: ADDED
2926 gnutls_x509_dn_init: ADDED
2927 gnutls_x509_dn_import: ADDED
2928 gnutls_x509_dn_deinit: ADDED
2929 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2930 gnutls_hex2bin: ADDED
2931 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2932 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2933 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2934                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2936 * Version 2.3.0 (released 2008-01-08)
2938 ** LZO compression is now disabled by default.
2939 The reason is that LZO compression is not standardized in TLS.  If you
2940 wish to experiment with it, you will have to supply --with-lzo when
2941 invoking ./configure.  The internal copy of minilzo is no longer
2942 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2943 your system to have --with-lzo to be effective.
2945 ** More than one server name field is now sent to the server properly.
2946 Thanks to mark.phillips@virgin.net.
2948 ** Fixes the post_client_hello_function(). The extensions are now parsed
2949 in a callback friendly way.
2951 ** Fix for certificate selection in servers with certificate callbacks.
2953 ** Updated translations.
2955 ** Update gnulib files.
2957 ** API and ABI modifications:
2958 No changes since last version.
2960 * Version 2.2.5 (released 2008-05-19)
2962 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2963 The flaw would result in incorrectly terminated sessions with the
2964 error "Decryption has failed" when the server sends a small packet
2965 (typically when the session is closed).  Reported by Andreas Metzler
2966 <ametzler@downhill.at.eu.org> in
2967 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2969 ** API and ABI modifications:
2970 No changes since last version.
2972 * Version 2.2.4 (released 2008-05-19)
2974 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2975 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2976 which allowed the bugs to be reproduced and fixed easily.  Patches
2977 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2978 with more details about these vulnerabilities will be added to
2979 <http://www.gnu.org/software/gnutls/security.html>
2981 *** [GNUTLS-SA-2008-1-1]
2982 *** libgnutls: Fix crash when sending invalid server name.
2983 The crash can be triggered remotely before authentication, which can
2984 lead to a Daniel of Service attack to disable the server.  The bug
2985 cause gnutls to store more session resumption data than what was
2986 allocated for, thus overwriting unallocated memory.
2988 *** [GNUTLS-SA-2008-1-2]
2989 *** libgnutls: Fix crash when sending repeated client hellos.
2990 The crash can be triggered remotely before authentication, which can
2991 lead to a Daniel of Service attack to disable the server.  The bug
2992 triggers a null-pointer dereference.
2994 *** [GNUTLS-SA-2008-1-3]
2995 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2996 The crash can be triggered remotely before authentication, which can
2997 lead to a Daniel of Service attack to disable the server.  The bug
2998 cause gnutls to read memory beyond the end of the received record.
3000 ** API and ABI modifications:
3001 No changes since last version.
3003 * Version 2.2.3 (released 2008-05-06)
3005 ** Increase default handshake packet size limit to 48kb.
3006 The old limit was 16kb and some servers send huge list of trusted CAs,
3007 thus running into the limit.  FYI, applications can further increase
3008 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
3009 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3010 <marc@mclemente.net> for reporting and providing test servers.
3012 ** Fix compilation error related to __FUNCTION__ on some systems.
3013 Reported by Tim Mooney, see
3014 <https://savannah.gnu.org/support/?106267>.
3016 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3018 ** Fix fopen file descriptor leak in PSK server code.
3019 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3020 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3022 ** Build Guile code with -fgnu89-inline only when supported.
3023 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
3024 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
3026 ** Make Camellia encryption work.
3027 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
3028 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
3030 ** API and ABI modifications:
3031 No changes since last version.
3033 * Version 2.2.2 (released 2008-02-21)
3035 ** Cipher priority string handling now handle strings that starts with NULL.
3036 Thanks to Laurence Withers <l@lwithers.me.uk>.
3038 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3039 by Daniel Stenberg.
3041 ** Increased the default certificate verification chain limits and allowed
3042 for checks without limitation.
3044 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3045 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3046 strings and return the proper size.
3048 ** API and ABI modifications:
3049 No changes since last version.
3051 * Version 2.2.1 (released 2008-01-17)
3053 ** Prevent linking libextra against previously installed libgnutls.
3054 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
3055 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
3057 ** Fixes the post_client_hello_function(). The extensions are now parsed
3058 in a callback friendly way.
3060 ** Fix for certificate selection in servers with certificate callbacks.
3062 ** API and ABI modifications:
3063 No changes since last version.
3065 * Version 2.2.0 (released 2007-12-14)
3067 ** Update internal copy of libtasn1 to version 1.2.
3069 ** Certtool --verify-chain now handle inputs larger than 64kb.
3070 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
3071 recent versions of libgcrypt.  The problem was that Wine with the
3072 libgcrypt RNG generates huge amounts of debugging output.
3074 ** Translation updates.
3075 Added Dutch translation.  Updated Polish and Swedish translation.
3077 ** Major changes compared to the v2.0 branch:
3079 *** SRP support aligned with newly published RFC 5054.
3081 *** OpenPGP support aligned with newly published RFC 5081.
3083 *** Support for DSA2 keys.
3085 *** Support for Camellia cipher.
3087 *** Support for Opaque PRF Input extension.
3089 *** PKCS#8 parser now handle DSA keys.
3091 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
3092 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
3093 versions, such as 2.01 which is included with GnuTLS, is available
3094 under GPLv2 or later.  If this incompatibility causes problems, we
3095 recommend you to disable LZO using --without-lzo.  LZO compression is
3096 not a standard TLS compression algorithm, so the impact should be
3097 minimal.
3099 *** Functions for disabling record protocol padding.
3100 Works around bugs on Nokia/Ericsson phones.
3102 *** New functions gnutls_priority_set() for setting cipher priorities easily.
3103 Priorities like "COMPAT" also enables other work arounds, such as
3104 disabling padding.
3106 *** Other minor improvements and bug fixes.
3108 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
3109 To adapt to changes in the TLS extension specifications for OpenPGP
3110 and SRP, the GnuTLS API had to be modified.  This means breaking the
3111 API and ABI backwards compatibility.  That is something we try to
3112 avoid unless it is necessary.  We decided to also remove the already
3113 deprecated stub functions for X.509 to XML conversion and TLS
3114 authorization (see below) when we had the opportunity.
3116 Generally, most applications does not need to be modified.  Just
3117 re-compile them against the latest GnuTLS release, and it should work
3118 fine.
3120 Applications that use the OpenPGP or SRP features needs to be
3121 modified.  Below is a list of the modified APIs and discussion of what
3122 the minimal things you need to modify in your application to make it
3123 work with GnuTLS 2.2.
3125 Note that GnuTLS 2.2 also introduces new APIs -- such as
3126 gnutls_set_priority() that is superior to
3127 gnutls_set_default_priority() -- that you may want to start using.
3128 However, using those new APIs is not required to use GnuTLS 2.2 since
3129 the old functions continue are still supported.  This text only
3130 discuss what you minimally have to modify.
3132 *** XML related changes
3133 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
3134 deprecated and only returned an error code since GnuTLS version
3135 1.2.11.  Nobody has complained, so users doesn't seem to miss the
3136 functionality.  We don't know of any other library to convert X.509
3137 certificates into XML format, but we decided (long ago) that GnuTLS
3138 isn't the right place for this kind of functionality.  If you want
3139 help to find some other library to use here, please explain and
3140 discuss your use case on help-gnutls@gnu.org.
3142 *** TLS Authorization related changes
3143 Everything related to TLS authorizations have been removed, they were
3144 only stub functions that returned an error code:
3146  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
3147  gnutls_authz_data_format_type_t
3148  gnutls_authz_recv_callback_func
3149  gnutls_authz_send_callback_func
3150  gnutls_authz_enable
3151  gnutls_authz_send_x509_attr_cert
3152  gnutls_authz_send_saml_assertion
3153  gnutls_authz_send_x509_attr_cert_url
3154  gnutls_authz_send_saml_assertion_url
3156 *** SRP related changes
3157 The callback gnutls_srp_client_credentials_function has a new
3158 prototype, and its semantic has changed.  You need to rewrite the
3159 callback, see the updated function documentation and SRP example code
3160 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
3161 information.
3163 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
3164 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
3165 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
3166 used.  There are #define's to map the old names to the new.  You may
3167 run into problems if you have a switch-case with cases for both SRP
3168 alerts, since they are now mapped to the same value.  The solution is
3169 to drop the SRP alerts from such switch cases, as they are now
3170 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
3172 *** OpenPGP related changes
3173 The function `gnutls_certificate_set_openpgp_keyserver' have been
3174 removed.  There is no replacement functionality inside GnuTLS.  If you
3175 need keyserver functionality, consider using the GnuPG tools.
3177 All functions, types, and error codes related to OpenPGP trustdb
3178 format have been removed.  The trustdb format is a non-standard
3179 GnuPG-specific format, and we recommend you to use key rings instead.
3180 The following have been removed:
3182  gnutls_certificate_set_openpgp_trustdb
3183  gnutls_openpgp_trustdb_init
3184  gnutls_openpgp_trustdb_deinit
3185  gnutls_openpgp_trustdb_import
3186  gnutls_openpgp_key_verify_trustdb
3187  gnutls_openpgp_trustdb_t
3188  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
3190 The following functions has an added parameter of the (new) type
3191 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
3192 (binary or base64).  The functions are:
3193  gnutls_certificate_set_openpgp_key_file
3194  gnutls_certificate_set_openpgp_key_mem
3195  gnutls_certificate_set_openpgp_keyring_mem
3196  gnutls_certificate_set_openpgp_keyring_file
3198 To improve terminology and align with the X.509 interface, some
3199 functions have been renamed.  Compatibility mappings exists.  The old
3200 and new names of the affected functions and types are:
3202         Old name                                New name
3203  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
3204  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
3205  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
3206  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
3207  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
3208  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
3209  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
3210  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
3211  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
3212  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
3213  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
3214  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
3215  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
3216  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
3217  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
3218  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
3219  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
3220  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
3221  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
3223 ** API and ABI modifications:
3224 No changes since last version.
3226 * Version 2.1.8 (released 2007-12-10)
3228 ** The GPL version has been changed from version 2 to version 3.
3229 This affects the self-tests, command-line tools, the libgnutls-extra
3230 library, the relevant guile parts, and the build environment.
3232 ** Added gnutls_x509_crt_get_subject_alt_name2().
3234 ** Corrected a segfault when setting an empty gnutls_priority_t
3235 at gnutls_priority_set().
3237 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
3238 Fixes a problem with spurious -L/usr/lib additions.
3240 ** API and ABI modifications:
3241 gnutls_x509_crt_get_subject_alt_name2: ADD.
3243 * Version 2.1.7 (released 2007-11-29)
3245 ** PKCS #8 parser can now encode/decode DSA keys.
3247 ** Updated gnutls_set_default_priority2() now renamed to
3248 gnutls_priority_set() and gnutls_priority_set_direct() which
3249 accept a string to indicate preferences of ciphersuite parameters.
3251 ** gnutls-cli and gnutls-serv now have a --priority option to set
3252 the priority string.
3254 ** The gnutls_*_convert_priority() functions were deprecated by
3255 the gnutls_priority_set() and gnutls_priority_set_direct().
3257 ** Internal copy of OpenCDK upgraded to version 0.6.6.
3259 ** API and ABI modifications:
3260 gnutls_priority_init: ADD.
3261 gnutls_priority_deinit: ADD.
3262 gnutls_priority_set: ADD.
3263 gnutls_priority_set_direct: ADD.
3264 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
3265 gnutls_mac_convert_priority: REMOVED
3266 gnutls_compression_convert_priority: REMOVED
3267 gnutls_protocol_convert_priority: REMOVED
3268 gnutls_kx_convert_priority: REMOVED
3269 gnutls_cipher_convert_priority: REMOVED
3270 gnutls_certificate_type_convert_priority: REMOVED
3271 gnutls_set_default_priority: UNDEPRECATED
3272 gnutls_set_default_priority_export: UNDEPRECATED
3274 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
3275 GNUTLS_CIPHER_UNKNOWN: ADD.
3276 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
3277 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
3278 GNUTLS_KX_UNKNOWN: ADD.
3279 GNUTLS_COMP_UNKNOWN: ADD.
3280 GNUTLS_CRT_UNKNOWN: ADD.
3281 gnutls_mac_get_id: ADD.
3282 gnutls_compression_get_id: ADD.
3283 gnutls_cipher_get_id: ADD.
3284 gnutls_kx_get_id: ADD.
3285 gnutls_protocol_get_id: ADD.
3286 gnutls_certificate_type_get_id: ADD.
3287 gnutls_handshake_post_client_hello_func: ADD.
3288 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
3290 * Version 2.1.6 (released 2007-11-15)
3292 ** Corrected bug in decompression of expanded compression data.
3294 ** Added the --to-p8 option to certtool to convert private keys
3295 to PKCS #8 keys.
3297 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
3299 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
3300 private keys.
3302 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
3303 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
3304 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
3305 documented.  This caused some problems (e.g., debian #450854).  To
3306 avoid backwards compatibility problems, this release revert this
3307 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
3308 done in GnuTLS 2.0.x and earlier, and add a new error code
3309 GNUTLS_E_UNKNOWN_ALGORITHM.
3311 ** Fixes several gtk-doc warnings.
3313 ** API and ABI modifications:
3314 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
3315 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
3316 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
3318 * Version 2.1.5 (released 2007-11-01)
3320 ** Fix PKCS#3 parameter export problem.
3322 ** Improve certtool queries, they now print the default value.
3324 ** Fix ABI version.
3326 ** Update gnulib files.
3328 ** API and ABI modifications:
3329 No changes since last version.
3331 * Version 2.1.4 (released 2007-10-27)
3333 ** Added the --v1 option to certtool, to allow generating X.509
3334 version 1 certificates. 
3336 ** certtool: Add option --disable-quick-random to enable the old behaviour
3337 of using /dev/random to generate keys.
3339 ** Added priority functions that accept strings.
3341 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
3342 priorities preferences.
3344 ** Added gnutls_record_disable_padding() to allow servers talking to 
3345 buggy clients that complain if the TLS 1.0 record protocol padding is
3346 used.
3348 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3349 all supported compatibility options (like disabling padding).
3351 ** The gnutls_certificate_set_openpgp_* functions were modified to include
3352 the format. This makes the interface consistent with the x509 functions.
3354 ** Internal copy of OpenCDK upgraded to version 0.6.5.
3356 ** Update gnulib files.
3358 ** API and ABI modifications:
3359 gnutls_certificate_set_openpgp_key_mem: MODIFIED
3360 gnutls_certificate_set_openpgp_key_file: MODIFIED
3361 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
3362 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
3363 gnutls_set_default_priority: DEPRECATED
3364 gnutls_set_default_priority_export: DEPRECATED
3365 gnutls_set_default_priority2: ADDED
3366 gnutls_session_enable_compatibility_mode: ADDED
3367 gnutls_record_disable_padding: ADDED
3368 gnutls_mac_convert_priority: ADDED
3369 gnutls_compression_convert_priority: ADDED
3370 gnutls_protocol_convert_priority: ADDED
3371 gnutls_kx_convert_priority: ADDED
3372 gnutls_cipher_convert_priority: ADDED
3373 gnutls_certificate_type_convert_priority: ADDED
3374 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
3375 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
3376 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
3377 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
3378 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
3379 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
3380 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
3381 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
3382 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
3383 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
3384 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
3385 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
3386 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
3387 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
3388 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
3389 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
3390 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
3391 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
3393 * Version 2.1.3 (released 2007-10-17)
3395 ** TLS authorization support removed.
3396 This technique may be patented in the future, and it is not of crucial
3397 importance for the Internet community.  After deliberation we have
3398 concluded that the best thing we can do in this situation is to
3399 encourage society not to adopt this technique.  We have decided to
3400 lead the way with our own actions.
3402 ** Re-enabled the 256 bit ciphers in the default priorities.
3404 ** Corrected bugs in openpgp key verification using a keyring (both in
3405 gnutls and opencdk)
3407 ** API and ABI modifications:
3408 gnutls_certificate_set_openpgp_keyserver: REMOVED
3409 gnutls_authz_data_format_type_t,
3410 gnutls_authz_recv_callback_func,
3411 gnutls_authz_send_callback_func,
3412 gnutls_authz_enable,
3413 gnutls_authz_send_x509_attr_cert,
3414 gnutls_authz_send_saml_assertion,
3415 gnutls_authz_send_x509_attr_cert_url,
3416 gnutls_authz_send_saml_assertion_url: REMOVED.
3417 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
3418     gnutls_supplemental_data_format_type_t enum type becomes empty.
3420 * Version 2.1.2 (released 2007-10-14)
3422 ** Removed all the trustdb code from openpgp authentication.
3423 We now use only the well-specified keyrings.
3425 ** The 256 bit ciphers are not enabled in the default priorities.
3427 ** Added support for DSA2 using libgcrypt 1.3.0.
3429 ** certtool: Fixed data corruption when using --outder.
3431 ** Removed all the xml related stubs and functions.
3433 ** Added capability to set a callback after the client hello is received
3434 by the server in order to adjust parameters before the handshake.
3436 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
3438 ** Corrected bug which did not allow a server to run without supporting
3439 certificates.
3441 ** Updated the DN parser which now prints wrongly decoded values as hex
3442 strings.
3444 ** certtool: Add option --quick-random.
3445 For generating low security test credentials.
3447 ** API and ABI modifications:
3448 gnutls_x509_crt_to_xml: REMOVED
3449 gnutls_openpgp_key_to_xml: REMOVED
3450 gnutls_openpgp_key_verify_trustdb: REMOVED
3451 gnutls_openpgp_trustdb_init: REMOVED
3452 gnutls_openpgp_trustdb_deinit: REMOVED
3453 gnutls_openpgp_trustdb_import: REMOVED
3454 gnutls_certificate_set_openpgp_trustdb: REMOVED
3455 gnutls_srp_client_credentials_function: CHANGED
3456 gnutls_handshake_set_post_client_hello_function: ADDED
3457 gnutls_mac_get_key_size: ADDED
3458 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
3459 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
3460 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
3462 * Version 2.1.1 (released 2007-09-24)
3464 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
3465 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
3466 compiled with Camellia support.  See the libgcrypt documentation on
3467 how to enable it.  Unconditionally disable it using the configure
3468 option --disable-camellia.  Fixes #1.
3470 ** Properly document in the NEWS file the API change in the last release.
3472 ** API and ABI modifications:
3473 No changes since last version.
3475 * Version 2.1.0 (released 2007-09-20)
3477 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
3478 The support is disabled by default.  Since no value has been allocated
3479 by the IANA for this extension yet, you will need to provide one
3480 yourself by invoking './configure --enable-opaque-prf-input=42'.
3481 Fixes #2.
3483 ** Example code: Fix compilation flaw under MinGW.
3485 ** API and ABI modifications:
3486 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
3487 gnutls_oprfi_enable_client: ADD, new function.
3488 gnutls_oprfi_enable_server: ADD, new function.
3490 * Version 2.0.4 (released 2007-11-16)
3492 ** Corrected bug in decompression of expanded compression data.           
3494 ** API and ABI modifications:
3495 No changes since last version.
3497 * Version 2.0.3 (released 2007-11-10)
3499 ** This version backports several fixes from the 2.1.x branch.
3501 ** Fixed PKCS #3 parameter export.
3503 ** Added gnutls_record_disable_padding() to allow servers talking to
3504 buggy clients that complain if the TLS 1.0 record protocol padding is
3505 used.
3507 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3508 all supported compatibility options (like disabling padding).
3510 ** Corrected bug which did not allow a server to run without supporting
3511 certificates.
3513 ** API and ABI modifications:
3514 gnutls_session_enable_compatibility_mode: ADDED
3515 gnutls_record_disable_padding: ADDED
3517 * Version 2.0.2 (released 2007-10-17)
3519 ** TLS authorization support removed.
3520 This technique may be patented in the future, and it is not of crucial
3521 importance for the Internet community.  After deliberation we have
3522 concluded that the best thing we can do in this situation is to
3523 encourage society not to adopt this technique.  We have decided to
3524 lead the way with our own actions.
3526 ** certtool: Fixed data corruption when using --outder.
3528 ** Fix configure-time Guile detection.
3530 ** API and ABI modifications:
3531 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
3532     gnutls_supplemental_data_format_type_t enum type becomes empty.
3534 * Version 2.0.1 (released 2007-09-20)
3536 ** New directory doc/credentials/ with test credentials.
3537 This collects the test credentials from the web page and from src/.
3538 The script gnutls-http-serv has also been moved to that directory.
3540 ** Update SRP extension type and cipher suite with official IANA values.
3541 This breaks backwards compatibility with SRP in older versions of
3542 GnuTLS, but this is intentional to speed up the adoption of the
3543 official values.  The old values we used were incorrect.
3545 ** Guile: Fix `x509-certificate-dn-oid'
3547 ** API and ABI modifications:
3548 No changes since last version.
3550 * Version 2.0.0 (released 2007-09-04)
3552 ** Included copy of Libtasn1 upgraded to version 1.1.
3554 ** Disable building of some examples if anonymous ciphers are disabled.
3556 ** Don't build examples for disabled features.
3558 ** API and ABI modifications:
3559 No changes since last version.
3561 * Version 1.7.19 (released 2007-08-27)
3563 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
3564 This solves connection problems in mutt, see
3565 <http://bugs.debian.org/439640>.
3567 ** Update gnulib files.
3568 In particular, the getpass module -- with its dependencies on getline,
3569 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
3570 library) directory to the gl/ directory (only used by the command line
3571 tools).  The reason is that getpass is now only used by the
3572 command-line tools, and reducing the number of gnulib modules linked
3573 to the core library helps portability and reduces size.
3575 ** Fix warnings.
3577 ** Disable building of PGP examples if PGP is disabled.
3579 ** Included copy of OpenCDK upgraded to version 0.6.4.
3581 ** API and ABI modifications:
3582 No changes since last version.
3584 * Version 1.7.18 (released 2007-08-16)
3586 ** Install images for the info manual.
3587 This has a side effect of renaming the images.  See
3588 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
3589 discussions on the approach chosen.
3591 ** Fix pointer mix to variables of different size.
3592 Patch extracted from
3593 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
3595 ** Fix warnings during build.
3596 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
3598 ** API and ABI modifications:
3599 No changes since last version.
3601 * Version 1.7.17 (released 2007-08-15)
3603 ** New functions to perform external signing.
3604 Set the signing callback function (of the gnutls_sign_func prototype)
3605 using the gnutls_sign_callback_set function.  In the callback, you may
3606 find the new functions gnutls_x509_privkey_sign_hash and
3607 gnutls_openpgp_privkey_sign_hash useful.  A new function
3608 gnutls_sign_callback_get is also added, to retrieve the function
3609 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
3610 comments and testing.
3612 ** New self test of client and server authenticated X.509 TLS sessions.
3613 See tests/x509self.c and tests/x509signself.c.  The latter also tests
3614 the new external signing callback interface.
3616 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3617 These two actually describe the outer limits of a range of error codes
3618 reserved to the application.  All of the errors are treated as fatal
3619 by the library (it has to since it doesn't know the semantics of the
3620 error codes).  This can be useful in callbacks, to signal some
3621 application-specific error condition, which will usually eventually
3622 cause some gnutls API to return the same error code as the callback,
3623 which then can be inspected by the application.  Note that error codes
3624 are negative.
3626 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3627 The RFC is not released yet, and we're approaching a major release so
3628 let's not enable it just yet.
3630 ** Fix namespace so that gnutls_*_t is used consistently.
3631 Before, many places in the GnuTLS code used the old deprecated type
3632 names without the '_t' suffix.
3634 ** Build fixes for Guile code.
3635 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3637 ** More documentation fixes.
3638 In particular, the section headings were modified for casing.  By
3639 Ludovic Courtes <ludovic.courtes@laas.fr>.
3641 ** Updated Polish and Swedish translations.
3642 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3643 <po@danielnylander.se>.
3645 ** API and ABI modifications:
3646 gnutls_sign_func: ADD, new type for sign callback.
3647 gnutls_sign_callback_set: ADD, new function to set sign callback.
3648 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3649 gnutls_x509_privkey_sign_hash,
3650 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3651 GNUTLS_E_APPLICATION_ERROR_MIN,
3652 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3654 * Version 1.7.16 (released 2007-08-07)
3656 ** Fix sanity checks and return values in certificate selection.
3657 In some cases, GnuTLS omitted to report suitable error codes when no
3658 suitable certificate was found.
3660 ** Fix gnutls-cli starttls EOF on Mac OS X.
3661 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3663 ** Documentation fixes.
3664 In particular, the section headings were modified for casing.  By
3665 Ludovic Courtes <ludovic.courtes@laas.fr>.
3667 ** Update gnulib files.
3669 ** API and ABI modifications:
3670 No changes since last version.
3672 * Version 1.7.15 (released 2007-07-02)
3674 ** Fix self-tests key-id under mingw32.
3676 ** Test that the Guile header files are recent enough to work.
3677 Before we just tested that the command line tool 'guile' was recent
3678 enough, which may not be sufficient if you still have an old
3679 libguile.h header installed.
3681 ** Guile bindings are now installed under $prefix by default.
3682 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3683 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3684 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3685 The default, --with-guile-site-dir, will install the Guile bindings
3686 under $datadir/guile/site.  There is a new section 'Guile
3687 Preparations' in the manual that discuss these issues.
3689 ** Fix run-time library path ordering in linking the Guile bindings.
3691 ** Improved manual on downloading, installing, getting help, bug reports etc.
3692 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3694 ** Add Malay message translations.
3695 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3697 ** API and ABI modifications:
3698 No changes since last version.
3700 * Version 1.7.14 (released 2007-06-26)
3702 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3703 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3705 ** Fix memory leak during DSA signature verification.
3706 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3708 ** Fix crash in gnutls-cli when TLS handshake fails.
3709 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3710 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3711 <http://bugs.debian.org/429183>.
3713 ** Minor OpenPGP fixes in stream_to_datum.
3714 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3715 <ludovic.courtes@laas.fr>.
3717 ** Fix off-by-one in TLS 1.2 handshake.
3718 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3720 ** Minor Guile binding self-test cleanup.
3721 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3723 ** Update gnulib files.
3725 ** API and ABI modifications:
3726 No changes since last version.
3728 * Version 1.7.13 (released 2007-06-11)
3730 ** OpenCDK copy updated to version 0.6.3.
3732 ** Build fixes for GnuTLS Guile bindings.
3733 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3735 ** Build fix for GTK-DOC manual.
3737 ** Update gnulib files.
3739 ** API and ABI modifications:
3740 No changes since last version.
3742 * Version 1.7.12 (released 2007-06-08)
3744 ** Guile bindings for GnuTLS have been included.
3745 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3746 new chapter 'Guile Bindings' in the manual.
3748 ** Have PKCS8 parser return better error codes.
3749 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3750 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3751 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3753 ** Fix mem leak for sessions with client authentication via certificates.
3754 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3755 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3757 ** Fix mem leaks.
3758 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3759 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3760 self-test tests/parse_ca.c to test regressions.
3762 ** Fix build failures related to missing images in manual.
3763 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3765 ** Update gnulib files.
3767 ** API and ABI modifications:
3768 No changes since last version.
3770 * Version 1.7.11 (released 2007-05-26)
3772 ** Include opencdk.h in the release.
3773 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3775 ** API and ABI modifications:
3776 No changes since last version.
3778 * Version 1.7.10 (released 2007-05-25)
3780 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3781 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3783 ** Update of gnulib files.
3785 ** GnuTLS is now developed in GIT instead of CVS.
3786 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3788 ** API and ABI modifications:
3789 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3790 gnutls_x509_crt_get_raw_dn: ADD.
3792 * Version 1.7.9 (released 2007-05-12)
3794 ** X.509 certificates are preferred over OpenPGP keys.
3795 This is a change in the semantics of gnutls_set_default_priority.
3797 ** The included copy of OpenCDK has been updated to 0.6.1.
3798 There has been some API changes in OpenCDK, and the GnuTLS layer have
3799 been modified as well.  Note that while there are API/ABI incompatible
3800 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3801 its API/ABI have not changed.  From this version on, GnuTLS requires
3802 OpenCDK 0.6.0 or later.
3804 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3806 ** Change certtool's default serial number from 0 to a time-based value.
3808 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3809 Before, we remove the parameters field, which resulted in a slightly
3810 different DER encoding which in turn caused signature verification
3811 failures of GnuTLS-generated RSA certificates in some other
3812 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3813 you read, this may or may not be correct, but our new behaviour appear
3814 to be consistent with other widely used implementations.
3816 ** Fix mem leaks in gnutls_x509_crt_print.
3818 ** API and ABI modifications:
3819 No changes since last version.
3821 * Version 1.7.8 (released 2007-04-16)
3823 ** Added examples for the authorization extension.
3824 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3826 ** The examples only use gnutls_set_default_priority().
3827 The exception is when DH_ANON is needed.
3829 ** Improve gnutls_set_default_priority() priorities.
3830 The new approach is for it to try and negotiate all secure and
3831 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3832 LZO compressions are not enabled by default, because they are,
3833 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3834 not be enabled by default in non-experimental release until it has
3835 been approved by the IETF.
3837 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3838 This means that to get DH_ANON and LZO compression, you'll need to
3839 specify that manually using '--kx anon' or '--comp lzo'.
3841 ** Minor fixes to the human display format of X.509 certificates.
3843 ** New APIs to extract Distinguished Name's from X.509 certificates.
3844 Based on patch from Howard Chu <hyc@symas.com>.
3846 ** Improved library searching for opencdk.
3847 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3848 The deprecated opencdk.m4 is no longer used.
3850 ** New APIs to list supported algorithms in the library.
3851 The APIs are gnutls_cipher_list, gnutls_mac_list,
3852 gnutls_compression_list, gnutls_protocol_list,
3853 gnutls_certificate_type_list, gnutls_kx_list, and
3854 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3856 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3858 ** New configure option --disable-tls-authorization to disable tls-authz.
3860 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3861 The last parameter was renamed from 'flags' to 'format' and the type
3862 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3863 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3864 (Ludovic Courtès).
3866 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3867 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3869 ** API and ABI modifications:
3870 gnutls_x509_dn_t: ADD.
3871 gnutls_x509_ava_st: ADD.
3872 gnutls_x509_crt_get_subject,
3873 gnutls_x509_crt_get_issuer: ADD.
3874 gnutls_x509_dn_get_rdn_ava: ADD.
3875 gnutls_cipher_list: ADD.
3876 gnutls_mac_list: ADD.
3877 gnutls_compression_list: ADD.
3878 gnutls_protocol_list: ADD.
3879 gnutls_certificate_type_list: ADD.
3880 gnutls_kx_list: ADD.
3881 gnutls_cipher_suite_info: ADD.
3883 * Version 1.7.7 (released 2007-02-22)
3885 ** Support for supplemental handshake messages and authorization data.
3886 Supplemental data is described in RFC 4680 and the authorization
3887 extensions in draft-housley-tls-authz-extns-07.
3889 ** Support for authorization data in gnutls-cli and gnutls-serv.
3890 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3892 ** Fix for gnutls_x509_crt_check_hostname.
3893 Before it would have reported that the certificate matched a hostname
3894 when it did not have any dNSName or any CN field.  Report and tiny
3895 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3897 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3898 Tests regressions of the bug, and several other features.
3900 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3901 Before there were no support for iPAddress SAN's during comparison.
3903 ** New API to print information about CRL's.
3904 The function is gnutls_x509_crl_print.
3906 ** New API to extract signature value from CRL's.
3907 The function is gnutls_x509_crl_get_signature.
3909 ** Support for directoryName Subject Alternative Name's.
3910 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3911 string in the provided buffer.
3913 ** Internal improvements to certtool.
3914 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3915 more gnulib modules to simplify error handling.
3917 ** API and ABI modifications:
3918 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3919 gnutls_supplemental_data_format_type_t: ADD.
3920 gnutls_authz_data_format_type_t: ADD.
3921 gnutls_supplemental_get_name: ADD.
3922 gnutls_authz_recv_callback_func,
3923 gnutls_authz_send_callback_func: ADD, callback prototypes.
3924 gnutls_authz_enable: ADD.
3925 gnutls_authz_send_x509_attr_cert,
3926 gnutls_authz_send_saml_assertion,
3927 gnutls_authz_send_x509_attr_cert_url,
3928 gnutls_authz_send_saml_assertion_url: ADD.
3929 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3930 gnutls_x509_crl_print: ADD.
3931 gnutls_x509_crl_get_signature: ADD.
3933 * Version 1.7.6 (released 2007-02-12)
3935 ** Support for 'otherName' Subject Alternative Names.
3936 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3937 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3938 To find out the otherName OID (necessary for proper parsing of the
3939 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3940 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3941 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3942 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3944 ** Certtool can print otherName SAN values for certificates.
3945 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3946 RFC 3920), it will also print the name.
3948 ** Fix TLS 1.2 RSA signing in servers.
3949 Before it used the old-style MD5+SHA1 signature, but the TLS
3950 signatures should be normal PKCS#1 signatures.  FYI, we use and
3951 require that DigestInfo parameters are present and NULL for TLS 1.2.
3953 ** Add APIs to access X.509 extensions sequentially.
3954 The existing APIs gnutls_x509_crt_get_extension_oid() and
3955 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3956 inspect the extensions in the order defined by the certificate.
3958 ** Add API to extract signature value from X.509 certificates.
3959 The function is gnutls_x509_crt_get_signature.
3961 ** Fix crash when generating proxy certificates in batch mode.
3962 If you don't specify a proxy policy in batch mode, it will use
3963 id-ppl-inheritALL.
3965 ** Add API to print information about X.509 certificates.
3966 The function is gnutls_x509_crt_print.
3968 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3969 One consequence of this is that the output syntax has changed
3970 slightly.  Some more fields are printed.
3972 ** Doc fixes.
3974 ** API and ABI modifications:
3975 gnutls_x509_crt_print: ADD
3976 gnutls_certificate_print_formats_t: ADD, new enum.
3977 gnutls_x509_crt_get_signature: ADD.
3978 gnutls_x509_crt_get_extension_data: ADD.
3979 gnutls_x509_crt_get_extension_info: ADD.
3980 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3981 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3982 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3984 * Version 1.7.5 (released 2007-02-06)
3986 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3987 ** is set.
3989 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3991 ** Fix --list output for gnutls-cli and gnutls-serv.
3992 Mention TLS1.2, SHA512 etc.
3994 ** Manual contains new section on setting up a test HTTP server.
3995 A server set up following those descriptions are available online via
3996 <http://www.gnutls.org/server.html>.
3998 ** Update of gnulib files.
4000 ** API and ABI modifications:
4001 No changes since last version.
4003 * Version 1.7.4 (released 2007-02-05)
4005 ** Support for RSA signing using SHA-256/384/512.
4006 A new self test "sha2" tries to build a long X.509 certificate chain
4007 testing all new hashes.
4009 ** The gnutls-serv tool now use static DH parameters if none are supplied.
4011 ** Discuss proxy certificates in the manual.
4013 ** Improve bibliographical citations in the manual.
4015 ** Update of gnulib files.
4017 ** Fix certtool template handling of pathLenConstraints.
4018 It now defaults to -1 instead of 0, which causes the field to be
4019 missing unless the template specify it.
4021 ** API and ABI modifications:
4022 GNUTLS_MAC_SHA256,
4023 GNUTLS_MAC_SHA384,
4024 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
4025 GNUTLS_DIG_SHA256,
4026 GNUTLS_DIG_SHA384,
4027 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
4028 GNUTLS_SIGN_RSA_SHA256,
4029 GNUTLS_SIGN_RSA_SHA384,
4030 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
4032 * Version 1.7.3 (released 2007-02-01)
4034 ** New option to certtool: --generate-proxy.
4035 This will generate a Proxy Certificate from an end entity certificate.
4036 Proxy Certificates are documented in RFC 3820.  You will need to
4037 specify the proxy certificate's private key with --load-privkey, the
4038 user certificate with --load-certificate and the private key used to
4039 sign the new proxy certificate with --load-ca-privkey.  Certtool will
4040 query for proxy path length and the policy language OID.  Currently
4041 only OIDs that have an empty policy are supported (which includes the
4042 two OIDs defined by RFC 3820).
4044 ** Certtool --certificate-info now prints information for Proxy Certificates.
4045 Before the proxy extension was just printed as DER encoded data.
4047 ** New APIs to set proxy subject names and get/set proxy cert extension.
4049 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
4051 ** Added self-test to test for regressions of pathLenConstraint bug.
4052 Incidentally, this also test (some) other regressions or changes in
4053 the output from certtool --certificate-info.
4055 ** When certtool generates CA certificates, pressing enter on the path
4056 ** length constraint query will now remove the field.
4057 Before it set the path length constraint to 0, which is a rather poor
4058 default.
4060 ** Certtool now print times in UTC when printing certificate/CRL info.
4062 ** Add better fix to work around C++ compiler bug on Mac OS X.
4063 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
4065 ** Fix import of ASCII armored OpenPGP keys.
4066 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
4068 ** Update of gnulib files.
4070 ** API and ABI modifications:
4071 gnutls_x509_crt_set_proxy_dn: ADD.
4072 gnutls_x509_crt_set_proxy: ADD.
4073 gnutls_x509_crt_get_proxy: ADD.
4075 * Version 1.7.2 (released 2007-01-14)
4077 ** Certtool now print the value of the pathLenConstraints field for certs.
4079 ** Certtool now query for path length constraints when generating CA certs.
4080 For batch uses, the certtool configuration name is "path_len".
4081 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
4083 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
4084 The new functions gnutls_x509_crt_get_basic_constraints and
4085 gnutls_x509_crt_set_basic_constraints provide a superset of the
4086 functionality in the old gnutls_x509_crt_get_ca_status and
4087 gnutls_x509_crt_set_ca_status (respectively), but the old functions
4088 will continue to be supported.
4090 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
4091 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
4092 OpenCDK release with this patch will be made soon, which should bump
4093 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
4095 ** Certtool --to-p12 can now store more than one certificate in the blob.
4096 Before it could only store one certificate, but now it will read and
4097 store as many certificate there are from the --load-certificate file.
4098 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
4100 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
4101 In particular, the OpenPGP function variables are no longer part of
4102 the exported libgnutls interface, and no header files from
4103 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
4104 were never intended for non-internal purposes, and thus this does not
4105 imply a change in the external API/ABI.
4107 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
4108 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4110 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
4111 Before these parameters were set to make GnuTLS build under mingw32,
4112 however, they appear to no longer be necessary.
4114 ** A minor fix to the C++ library to make it build.
4115 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
4117 ** Update of gnulib files.
4119 ** API and ABI modifications:
4120 gnutls_x509_crt_get_basic_constraints: ADD.
4121 gnutls_x509_crt_set_basic_constraints: ADD.
4122 cdk_pubkey_to_sexp: ADD (in opencdk).
4123 cdk_seckey_to_sexp: ADD (in opencdk).
4125 * Version 1.7.1 (released 2006-12-28)
4127 ** TLS 1.2 server side fix.
4128 The Certificate Request sent did not contain the list of supported
4129 hashes field, thus violating the protocol.  It will now contain an
4130 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4132 ** TLS 1.2 DSA signature verification fix.
4133 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4135 ** Fix the list of trusted CAs that server's send to clients.
4136 Before, the list contained issuer DN's instead of subject DN's of the
4137 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
4139 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
4140 Also added a self-test in tests/certificate_set_x509_crl.c to test the
4141 function.  Reported by Max Kellermann <max@duempel.org>.
4143 ** Encode UID fields in DN's as DirectoryString.
4144 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
4145 incorrect, it should have used DirectoryString.  Now it will use
4146 DirectoryString for the UID field, but for backwards compatibility it
4147 will also accept IA5String UID's.  Reported by Max Kellermann
4148 <max@duempel.org>.
4150 ** Improve out-of-sourcedir builds from CVS.
4151 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4153 ** Bootstrap tools changed.
4154 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
4155 building GnuTLS from CVS.  Libtool 1.5.22 is used.
4157 ** Fixed a syntax error in lib/gnutls.asn.
4158 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
4160 ** Added German translation of GnuTLS messages.
4162 ** Update of gnulib files.
4164 ** API and ABI modifications:
4165 No changes since last version.
4167 * Version 1.7.0 (released 2006-11-29)
4169 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
4170 The details is that the protocol priority set by
4171 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
4172 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
4174 ** Preliminary support for TLS 1.2.
4175 The client has been successfully tested against
4176 https://www.mikestoolbox.org:4433/.
4178 ** Anonself test now print a lot of debugging info, including TLS version.
4180 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
4182 ** Update of gnulib files.
4184 ** API and ABI modifications:
4185 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
4187 *** Pulled up from stable 1.6.x branch:
4189 ** Fix ./configure failure with non-GCC compilers.
4190 This fixes the following error message:
4191 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
4192 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
4194 * Version 1.6.3 (released 2007-05-26)
4196 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4197 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
4198 from the 1.7.x branch, see
4199 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
4201 ** Have PKCS8 parser return better error codes.
4202 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
4203 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
4204 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
4206 ** Fix mem leak for sessions with client authentication via certificates.
4207 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
4208 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
4210 ** Fix building of 'tlsia' self test.
4211 Earlier some gcc are known to build tlsia linking to
4212 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
4213 the build directory, even though command line parameters look OK.
4214 Changing order of some parameters fixes it.
4216 ** API and ABI modifications:
4217 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4218 gnutls_x509_crt_get_raw_dn: ADD.
4220 * Version 1.6.2 (released 2007-04-18)
4222 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4223 Before, we remove the parameters field, which resulted in a slightly
4224 different DER encoding which in turn caused signature verification
4225 failures of GnuTLS-generated RSA certificates in some other
4226 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
4227 you read, this may or may not be correct, but our new behaviour appear
4228 to be consistent with other widely used implementations.
4230 ** Regenerate the PKIX ASN.1 syntax tree.
4231 For some reason, after changing the ASN.1 type of ldap-UID in the last
4232 release, the generated C file built from the ASN.1 schema was not
4233 refreshed.  This can cause problems when reading/writing UID
4234 components inside X.500 Distinguished Names.  Reported by devel
4235 <dev001@pas-world.com>.
4237 ** Updated translations.
4239 ** API and ABI modifications:
4240 No changes since last version.
4242 * Version 1.6.1 (released 2006-12-28)
4244 ** Fix the list of trusted CAs that server's send to clients.
4245 Before, the list contained issuer DN's instead of subject DN's of the
4246 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
4248 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
4249 Reported by Max Kellermann <max@duempel.org>.
4251 ** Encode UID fields in DN's as DirectoryString.
4252 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
4253 incorrect, it should have used DirectoryString.  Now it will use
4254 DirectoryString for the UID field, but for backwards compatibility it
4255 will also accept IA5String UID's.  Reported by Max Kellermann
4256 <max@duempel.org>.
4258 ** Fix ./configure failure with non-GCC compilers.
4259 This fixes the following error message:
4260 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
4261 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
4263 ** API and ABI modifications:
4264 No changes since last version.
4266 * Version 1.6.0 (released 2006-11-17)
4268 ** No changes since 1.5.5.
4269 The major changes compared to the 1.4.x branch are:
4271 *** A GnuTLS C++ library is part of the official distribution.
4272 Currently there are no examples or documentation, but hopefully this
4273 will change.  See gnutlsxx.h for the API.
4275 *** Windows is a supported platform.
4276 There are, however, two know bugs.  One is related to select() in
4277 command line tools (not, nota bene, in the library), the other is a
4278 problem with libgcrypt that causes delays.  Help is needed to resolve
4279 those issues, so we feel we can't delay the release because of this.
4281 *** New APIs for custom push/pull function error reporting.
4282 The new APIs are gnutls_transport_set_errno and
4283 gnutls_transport_set_global_errno.  See the release notes for version
4284 1.5.4 for more information.
4286 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
4288 * Version 1.5.5 (released 2006-11-16)
4290 ** Correctly bump shared library version after adding new APIs.
4291 This was forgotten in the last release.
4293 ** Fix unsigned vs signed problem in ex-x509-info.c example.
4294 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
4296 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
4298 ** Update of gnulib files.
4300 ** API and ABI modifications:
4301 No changes since last version.
4303 * Version 1.5.4 (released 2006-11-07)
4305 ** New API functions to set errno in push/pull functions.
4306 Under Windows, setting the errno variable in a push/pull replacement
4307 may end up setting the wrong errno variable, and GnuTLS send/recv
4308 functions become confused about the real errno returned from a failed
4309 push/pull function.  Therefor, we have added two APIs to set the errno
4310 variable used by GnuTLS.  The APIs can also help to keep things
4311 thread-safe, by avoiding potentially global variables.  Typically,
4312 instead of setting errno in your push/pull function, you will call one
4313 of these functions.  It is recommended to use
4314 gnutls_transport_set_errno, but if you don't have the session variable
4315 easily accessible in the push/pull replacement function, you can use
4316 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
4317 <tim.kosse@filezilla-project.org>.
4319 void gnutls_transport_set_errno (gnutls_session_t session, int err);
4320 void gnutls_transport_set_global_errno (int err);
4322 ** When calling `recv' or `send' Windows errors are handled properly.
4323 The Windows recv/send functions doesn't use errno, and GnuTLS now use
4324 WSAGetLastError to access the error condition instead.
4326 ** Several OpenPGP API fixes.
4327 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
4328 important fix is to change the return value of
4329 gnutls_openpgp_privkey_get_pk_algorithm and
4330 gnutls_openpgp_key_get_pk_algorithm from 'int' to
4331 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
4332 compatible with 'int').
4334 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4335 ** version, try to negotiate the highest version support by the GnuTLS server,
4336 ** instead of the lowest.
4337 Reported by <Pasi.Eronen@nokia.com>.
4339 ** Replace old constructs with use of gnulib modules.
4340 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
4341 the code.  If the headers doesn't exist on the target system, gnulib
4342 will make sure its replacement header files are used instead.
4344 ** Fix SOVERSION computation for *.def files.
4345 This fixes build errors similar to "No rule to make target
4346 `libgnutls-`expr', needed by `all-am'." when building for Windows.
4348 ** gnutls_check-version uses strverscmp from gnulib.
4350 ** Update of gnulib files.
4352 ** API and ABI modifications:
4353 gnutls_transport_set_errno: ADD
4354 gnutls_transport_set_global_errno: ADD
4356 * Version 1.5.3 (released 2006-10-26)
4358 ** Add new self-test of RSA-MD5 signature chains.
4359 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
4360 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
4361 and is based on the work by Marc Stevens et al, see
4362 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
4364 ** Re-factor self tests.
4366 ** The include copy of Libtasn1 is updated to version 0.3.7.
4368 ** The included copy of OpenCDK is updated to version 0.5.11.
4370 ** Fix the filename of the *.def file on Windows after library version bump.
4372 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
4373 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
4374 gnulib modules.  Earlier we could only use the LGPL'ed module from
4375 gnulib, because two gnulib directories in the same project didn't
4376 work.
4378 ** API and ABI modifications:
4379 No changes since last version.
4381 * Version 1.5.2 (released 2006-10-03)
4383 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
4384 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
4385 shared library version than this version, so you'll have to remove
4386 them and possibly relink your applications.  The reason for this is
4387 that no API/ABI changes have been made since the 1.4.x branch, and
4388 that incrementing the shared library version was a mistake.  Reported
4389 by Andreas Metzler <ametzler@downhill.at.eu.org>.
4391 ** Fix off-by-one error when computing length to malloc.
4392 The code is used by gnutls_openpgp_add_keyring_file and
4393 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
4394 <agl@imperialviolet.org>.
4396 ** Add version script for the GnuTLS C++ library.
4397 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4399 ** Fix the C++ compiler detection logic.
4400 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4402 ** Update of gnulib files.
4404 ** API and ABI modifications:
4405 No changes since last version.
4407 * Version 1.5.1 (released 2006-09-21)
4409 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4410 ** Crypto 06 rump session attack.
4411 In particular, we check that the digestAlgorithm.parameters field is
4412 missing or empty, to avoid that it can contain "garbage" that may be
4413 used to alter the numeric properties of the signature.  See
4414 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4415 not exactly the same as the problem we fix here).  Reported by Yutaka
4416 OIWA <y.oiwa@aist.go.jp>.
4418 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4419 up to date information.
4421 ** Add self test to test for above flaw.
4423 ** Fix gnutls-cli-debug regarding resume support detection.
4424 Earlier, if the session-id from the server had a length of 0, it would
4425 indicate that the server supports resumption, which isn't the case.
4426 Reported by Kataja Kai <kai.kataja@op.fi>.
4428 ** Fix building of examples on FreeBSD by including netinet/in.h.
4429 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4431 ** Fix certtool bug that caused the private key to not be loaded when
4432 generating a certificate with --load-request, which in turn triggered
4433 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
4434 by Sascha Ziemann <sascha.ziemann@secunet.com>.
4436 ** gnutls-cli and gnutls-serv works on Windows.
4437 The problem was the select() call that doesn't work on file
4438 descriptors (stdin) on Windows.  We borrowed some code from plibc to
4439 solve this.  It appears to be somewhat unreliable though.
4441 ** Autoconf 2.60 is now used.
4443 ** API and ABI modifications:
4444 No changes since last version.
4446 * Version 1.5.0 (released 2006-08-13)
4448 ** Change SRP and Cert-Type extensions to match IANA registry.
4450 ** Fixed bug in OpenPGP authentication handshake.
4452 ** Improvements for building under MinGW.
4453 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
4454 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
4455 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
4456 at run-time from ws2_32.dll, and falls back on a simple replacement if
4457 it is not available.  Builds the library with -mms-bitfields
4458 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
4459 create *.def files, which are installed.
4461 ** The examples now (conditionally) include config.h and link to gnulib.
4462 No other source changes were necessary, so the examples should
4463 continue to be possible to use stand-alone without any autoconf or
4464 gnulib stuff.
4466 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
4467 You may unconditionally disable it with --disable-cxx.  See
4468 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
4469 implementation.
4471 ** Made command line tool '--version' behave according to GNU Standards.
4472 This enables 'make distcheck' to succeed.
4474 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4476 ** Make --without-included-libtasn1 work.
4477 Reported by Daniel Black <dragonheart@gentoo.org>.
4479 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4480 See http://www.gnu.org/software/gnutls/security.html regardging
4481 GNUTLS-SA-2006-2 for more up to date information.  Reported by
4482 satyakumar <satyam_kkd@hyd.hellosoft.com>.
4484 ** API and ABI modifications:
4485 No changes since last version.
4487 * Version 1.4.5 (released 2006-11-06)
4489 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4490 ** version, try to negotiate the highest version support by the GnuTLS server,
4491 ** instead of the lowest.
4492 Reported by <Pasi.Eronen@nokia.com>.
4494 ** Fix typo in doc/examples/ex-serv-pgp.c.
4495 Reported by Adam Langley" <agl@imperialviolet.org>.
4497 ** API and ABI modifications:
4498 No changes since last version.
4500 * Version 1.4.4 (released 2006-09-12)
4502 ** Relax the test that caught signatures that exploit the variant of
4503 ** Bleichenbacher's Crypto 06 rump session attack on our
4504 ** verification logic flaw.
4505 In particular, we now permit the digestAlgorithm.parameters field to
4506 be present but empty, whereas in 1.4.3 we actually checked that the
4507 field was absent.
4509 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
4510 The messages are only printed in debug mode, which is not recommended
4511 for normal use, and thus logging this situation cannot be abused as an
4512 oracle in typical recommended situations.
4514 ** API and ABI modifications:
4515 No changes since last version.
4517 * Version 1.4.3 (released 2006-09-08)
4519 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4520 ** Crypto 06 rump session attack.
4521 In particular, we check that the digestAlgorithm.parameters field is
4522 empty, to avoid that it can contain "garbage" that may be used to
4523 alter the numeric properties of the signature.  See
4524 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4525 not exactly the same as the problem we fix here).  Reported by Yutaka
4526 OIWA <y.oiwa@aist.go.jp>.
4528 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4529 up to date information.
4531 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
4532 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
4533 Reported by Werner Koch <wk@gnupg.org>.
4535 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
4536 up to date information.
4538 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
4540 ** API and ABI modifications:
4541 No changes since last version.
4543 * Version 1.4.2 (released 2006-08-12)
4545 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4546 This can happen if you call gnutls_certificate_verify_peers2 and have
4547 a certain mix of local CA certificates and the peer send special
4548 certificates, that together trigger certain behaviour.  It is not
4549 known at this point whether the crash can be triggered without the
4550 special local CA certificate, and thus turn this into a remote crash
4551 of clients that verify server certificates when they talk to a server
4552 with the special server certificate.  See GNUTLS-SA-2006-2 on
4553 http://www.gnu.org/software/gnutls/security.html for more up to date
4554 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
4556 ** Change SRP and Cert-Type extensions to match IANA registry.
4558 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4560 ** Make --without-included-libtasn1 work.
4561 Reported by Daniel Black <dragonheart@gentoo.org>.
4563 ** API and ABI modifications:
4564 No changes since last version.
4566 * Version 1.4.1 (released 2006-06-14)
4568 ** Replaced inactive ifdefs to enable openpgp support in test programs.
4570 ** Fixed bug in OpenPGP authentication handshake.
4572 ** Fixed typographical in man pages.
4574 ** Build fixes of the manual.
4576 ** Added Swedish translation.
4578 ** API and ABI modifications:
4579 No changes since last version.
4581 * Version 1.4.0 (released 2006-05-15)
4583 ** Remove GnuTLS 0.8.x compatibility functions.
4585 ** The libgcrypt RNG is initialized in gnutls_global_init().
4587 ** TLS/IA API changes from Emile van Bergen.
4588 A dummy credential structure is not needed now, if you wish to use the
4589 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
4590 a session.
4592 ** The self-tests are now run under valgrind, if it is installed.
4594 ** Libtasn1 is updated to 0.3.4, and that version is now required.
4596 ** The command line tools now use getaddrinfo and support IPv6.
4598 ** API and ABI modifications:
4599 _gnutls_x509_get_raw_crt_activation_time,
4600 _gnutls_x509_get_raw_crt_expiration_time: Removed.
4601 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
4602 gnutls_ia_enable: Added.
4604 * Version 1.3.5 (released 2006-03-08)
4606 ** Error messages are now translated using GNU Gettext.
4608 ** The function gnutls_x509_crt_to_xml now return an internal error.
4609 This means that the code to convert X.509 certificates to XML format
4610 does not work any more.  The reason is that the function called
4611 libtasn1 internal functions.  It seems unclean for libtasn1 to export
4612 the APIs needed here.  Instead it would be better to implement XML
4613 support inside libtasn1 properly.  If you need this functionality
4614 strongly, please consider looking into implementing this suggested
4615 approach instead.  As a workaround, you may also modify lib/x509/xml.c
4616 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4618 ** Libraries are now built with libtool's -no-undefined.
4619 This helps producing libraries for Windows using mingw32.
4621 ** Doc fixes to explain that gnutls_record_send can block.
4623 ** Libtasn1 0.3.1 or later is now required.
4624 The include copy has been updated too.
4626 ** gnutls-cli can now recognize services and port numbers with the -p option.
4628 ** API and ABI modifications:
4629 No changes since last version.
4631 * Version 1.3.4 (released 2006-02-09)
4633 ** Fix read of out bounds bug in DER parser.
4634 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4635 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
4636 previous bug fix.  The included libtasn1 version in GnuTLS has been
4637 updated.
4639 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4640 longer invalidate a session if the underlying send fails, but it will 
4641 prevent future writes. That is to allow reading the already received data.
4642 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4644 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4645 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
4646 more than one certificates were added. Report and patch by Max Kellermann.
4648 ** Fix build problems of OpenCDK on AIX.
4649 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4651 ** API and ABI modifications:
4652 No changes since last version.
4654 * Version 1.3.3 (released 2006-01-12)
4656 ** New API to access the TLS master secret.
4657 When possible, you should use the TLS PRF functions instead.
4658 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4660 ** Improved handling when multiple libraries use GnuTLS at the same time.
4661 Now gnutls_global_init() can be called multiple times, and
4662 gnutls_global_deinit() will only deallocate the structure when it has
4663 been called as many times as gnutls_global_init() was called.
4665 ** Added a self test of TLS resume functionality.
4667 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4669 ** Documentation fixes about thread unsafety, prompted by
4670 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4671 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4672 thread safe.  Careful callers may want to protect the call using a
4673 mutex.  The problem could also be ignored, which would cause a memory
4674 leak under rare conditions when two threads invoke the function
4675 roughly at the same time.
4677 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4679 ** The code was indented again, including the external header files.
4681 ** API and ABI modifications:
4682 New functions to retrieve the master secret value:
4683   gnutls_session_get_master_secret
4685 Add a 'const' keyword to existing API:
4686   gnutls_x509_crq_get_challenge_password
4688 * Version 1.3.2 (released 2005-12-15)
4690 ** GnuTLS now support TLS Inner application (TLS/IA).
4691 This is per draft-funk-tls-inner-application-extension-01.  This
4692 functionality is added to libgnutls-extra, so it is licensed under the
4693 GNU General Public License.
4695 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4696 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4697 and EAP-TTLS.  One function to access the raw PRF and one to access
4698 the PRF seeded with the client/server random fields are provided.
4699 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4701 ** New APIs to acceess the client and server random fields in a session.
4702 These fields can be useful by protocols using TLS.  Note that these
4703 fields are typically used as input to the TLS PRF, and if this is your
4704 intended use, you should use the TLS PRF API that use the
4705 client/server random field directly.  Suggested by Jouni Malinen
4706 <jkmaline@cc.hut.fi>.
4708 ** Internal type cleanups.
4709 The uint8, uint16, uint32 types have been replaced by uint8_t,
4710 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4711 correct types on platforms that lack them.  The uint type have been
4712 replaced by unsigned.
4714 ** API and ABI modifications:
4715 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4716   gnutls_prf
4717   gnutls_prf_raw
4719 New functions to retrieve the session's client and server random values:
4720   gnutls_session_get_server_random
4721   gnutls_session_get_client_random
4723 New function, to perform TLS/IA handshake:
4724   gnutls_ia_handshake
4726 New function to decide whether to do a TLS/IA handshake:
4727   gnutls_ia_handshake_p
4729 New functions to allocate a TLS/IA credential:
4730   gnutls_ia_allocate_client_credentials
4731   gnutls_ia_free_client_credentials
4732   gnutls_ia_allocate_server_credentials
4733   gnutls_ia_free_server_credentials
4735 New functions to handle the AVP callback:
4736   gnutls_ia_set_client_avp_function
4737   gnutls_ia_set_client_avp_ptr
4738   gnutls_ia_get_client_avp_ptr
4739   gnutls_ia_set_server_avp_function
4740   gnutls_ia_set_server_avp_ptr
4741   gnutls_ia_get_server_avp_ptr
4743 New functions, to toggle TLS/IA application phases:
4744   gnutls_ia_require_inner_phase
4746 New function to mix session keys with inner secret:
4747   gnutls_ia_permute_inner_secret
4749 Low-level API (used internally by gnutls_ia_handshake):
4750   gnutls_ia_endphase_send
4751   gnutls_ia_send
4752   gnutls_ia_recv
4754 New functions that can be used after successful TLS/IA negotiation:
4755   gnutls_ia_generate_challenge
4756   gnutls_ia_extract_inner_secret
4758 Enum type with TLS/IA modes:
4759   gnutls_ia_mode_t
4761 Enum type with TLS/IA packet types:
4762   gnutls_ia_apptype_t
4764 Enum values for TLS/IA alerts:
4765   GNUTLS_A_INNER_APPLICATION_FAILURE
4766   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4768 New error codes, to signal when an application phase has finished:
4769   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4770   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4772 New error code to signal TLS/IA verify failure:
4773   GNUTLS_E_IA_VERIFY_FAILED
4775 * Version 1.3.1 (released 2005-12-08)
4777 ** Support for DHE-PSK cipher suites has been added.
4778 This method offers perfect forward secrecy.
4780 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4781 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4783 ** Corrected a bug in certtool for 64 bit machines. Reported
4784 by Max Kellermann <max@duempel.org>.
4786 ** New function to set a X.509 private key and certificate pairs, and/or
4787 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4788 <emile@e-advies.nl>.
4790 The integrity of the PKCS#12 file is protected through a password
4791 based MAC; public-key based signatures for integrity protection are
4792 not supported.  PKCS#12 bags may be encrypted using password derived
4793 symmetric keys, public-key based encryption is not supported.  The
4794 PKCS#8 keys may be encrypted using passwords.  The API use the same
4795 password for all operations.  We believe that any more flexibility
4796 create too much complexity that would hurt overall security, but may
4797 add more PKCS#12 related APIs if real-world experience indicate
4798 otherwise.
4800 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4801 reported by Emile van Bergen <emile@e-advies.nl>.
4802 This will enable "certtool -k -8" to parse those keys.
4804 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4805 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4806 certtool would have encrypted the key using an empty password.
4808 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4809 Earlier it would have prompted the user for it, even if --password was
4810 supplied.
4812 ** Added self test of PKCS#8 parsing.
4813 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4814 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4815 tests/pkcs8.
4817 ** API and ABI modifications:
4818 New function to set X.509 credentials from a PKCS#12 file:
4819   gnutls_certificate_set_x509_simple_pkcs12_file
4821 New gnutls_kx_algorithm_t enum type:
4822   GNUTLS_KX_DHE_PSK
4824 New API to return session data (basically same as gnutls_session_get_data):
4825   gnutls_session_get_data2
4827 New API to set PSK Diffie-Hellman parameters:
4828   gnutls_psk_set_server_dh_params
4830 * Version 1.3.0 (2005-11-15)
4832 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4833 This add several new APIs, see below.  Read the updated manual for
4834 more information.  A new self test "pskself" has been added, that will
4835 test this functionality.
4837 ** The session resumption data are now system independent.
4839 ** The code has been re-indented to conform to the GNU coding style.
4841 ** Removed the RIPEMD ciphersuites.
4843 ** Added a discussion of the internals of gnutls in manual.
4845 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4847 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4849 ** Make sure config.h is included first in a few files, from Albert Chin.
4851 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4853 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4854 from Albert Chin.
4856 ** API and ABI modifications:
4857 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4859 New gnutls_credentials_type_t credential type:
4860   GNUTLS_CRD_PSK
4862 New credential types:
4863   gnutls_psk_server_credentials_t
4864   gnutls_psk_client_credentials_t
4866 New functions to allocate PSK credentials:
4867   gnutls_psk_allocate_client_credentials
4868   gnutls_psk_free_client_credentials
4869   gnutls_psk_free_server_credentials
4870   gnutls_psk_allocate_server_credentials
4872 New enum type for PSK key flags:
4873   gnutls_psk_key_flags
4875 New function prototypes for credential callback:
4876   gnutls_psk_client_credentials_function
4877   gnutls_psk_server_credentials_function
4879 New function to set PSK username and key:
4880   gnutls_psk_set_client_credentials
4882 New function to set PSK passwd file:
4883   gnutls_psk_set_server_credentials_file
4885 New function to extract PSK user in server:
4886   gnutls_psk_server_get_username
4888 New functions to set PSK callback:
4889   gnutls_psk_set_server_credentials_function
4890   gnutls_psk_set_client_credentials_function
4892 Use size_t instead of int for output size parameter:
4893   gnutls_srp_base64_encode
4894   gnutls_srp_base64_decode
4896 * Version 1.2.11 (2006-05-11)
4897 - The function gnutls_x509_crt_to_xml is not supported any more, and
4898   return an internal error.  The reason is that the function called
4899   internal libtasn1 functions which are no longer exported from
4900   libtasn1.
4901 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4902 - Updated gnulib compatibility files.
4903 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4904   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4905 - API and ABI modifications:
4906   No changes since last version.
4908 * Version 1.2.10 (2006-02-09)
4909 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4910   <admin@gleg.net>, and debugging help from Protover SSL.
4911 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4912   The included version has been updated too.
4913 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4914   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4915 - Corrected a bug in certtool for 64 bit machines. Reported
4916   by Max Kellermann <max@duempel.org>.
4917 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4918   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4919   more than one certificates were added. Report and patch by Max Kellermann.
4920 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4921   longer invalidate a session if the underlying send fails, but it will 
4922   prevent future writes. That is to allow reading the already received data.
4923   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4925 * Version 1.2.9 (2005-11-07)
4926 - Documentation was updated and improved.
4927 - RSA-MD2 is now supported for verifying digital signatures.
4928 - Due to cryptographic advances, verifying untrusted X.509
4929   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4930   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4931   applications that must remain interoperable, you can use the
4932   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4933   flags when verifying certificates.  Naturally, this is not
4934   recommended default behaviour for applications.  To enable the
4935   broken algorithms, call gnutls_certificate_set_verify_flags with the
4936   proper flag, to change the verification mode used by
4937   gnutls_certificate_verify_peers2.
4938 - Make it possible to send empty data through gnutls_record_send,
4939   to align with the send(2) API.
4940 - Some changes in the certificate receiving part of handshake to prevent
4941   some possible errors with non-blocking servers.
4942 - Added numeric version symbols to permit simple CPP-based feature
4943   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4944 - The (experimental) low-level crypto alternative to libgcrypt used
4945   earlier (Nettle) has been replaced with crypto code from gnulib.
4946   This leads to easier re-use of these components in other projects,
4947   leading to more review and simpler maintenance.  The new configure
4948   parameter --with-builtin-crypto replace the old --with-nettle, and
4949   must be used if you wish to enable this functionality.  See README
4950   under "Experimental" for more information.  Internally, GnuTLS has
4951   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4952   API is similar to the old crypto/gc.h, because the gnulib code were
4953   based on GnuTLS's gc.h.
4954 - Fix compiler warning in the "anonself" self test.
4955 - API and ABI modifications:
4956 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4957                              This doesn't reflect a change in behaviour,
4958                              so we don't break backwards compatibility.
4959 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4960 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4961 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4962 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4963                                   Use when calling
4964                                   gnutls_x509_crt_list_verify,
4965                                   gnutls_x509_crt_verify, or
4966                                   gnutls_certificate_set_verify_flags.
4967 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4968                                 used when broken signature algorithms
4969                                 is used (currently RSA-MD2/MD5).
4970 LIBGNUTLS_VERSION_MAJOR,
4971 LIBGNUTLS_VERSION_MINOR,
4972 LIBGNUTLS_VERSION_PATCH,
4973 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4974                           version number, can be used for feature existence
4975                           tests.
4977 * Version 1.2.8 (2005-10-07)
4978 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4979 - Don't install the auxilliary libexamples library used by the
4980   examples in doc/examples/ on "make install", report and tiny patch
4981   from Thomas Klausner <tk@giga.or.at>.
4982 - If you pass a X.509 CA or PGP trust database to the command line
4983   tool, it will now abort the connection if the server certificate
4984   validation fails.  Use the parameter --insecure to continue even
4985   after certificate validation failures.  Inspired from discussion
4986   with Alexander Kotelnikov <sacha@myxomop.com>.
4987 - The test for socklen_t has been moved to gnulib.
4988 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4989   patch from Martin Lambers <marlam@marlam.de>.
4990 - The command line tool and the examples no longer uses mmap or bzero,
4991   to make them more portable, patch from Martin Lambers
4992   <marlam@marlam.de>.
4993 - Made the PKCS #12 API handle null passwords. Based on patch by
4994   Anton Altaparmakov <aia21@cam.ac.uk>.
4995 - The GTK-DOC manual should build with current released tools.
4996   (But a copy of the output is included, so the tools are not required.)
4997 - The inet_ntop function is now used through gnulib.
4998 - API and ABI modifications:
4999   No changes since last version.
5001 * Version 1.2.7 (2005-09-09)
5002 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
5003 - Certtool now complains when reading out-of-range X.509 serial
5004   numbers, suggested by Fran <e_agf@yahoo.es>.
5005 - Certtool now uses the readline library (when available) when reading
5006   X.509 serial numbers.
5007 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
5008 - Fixed compile warning regarding socklen_t on Mingw32, reported by
5009   Martin Lambers <marlam@marlam.de>.
5010 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
5011 - Gnulib is now used for the core library, enabling future code cleanups.
5012 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
5013   suggested by Daniel Stenberg <daniel@haxx.se>.
5014 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
5015 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
5016 - Disable zlib support if zlib.h is not present.
5017 - A number of internal cleanups.
5018 - API and ABI modifications:
5019   No changes since last version.
5021 * Version 1.2.6 (2005-07-16)
5022 - MiniLZO updated to version 2.01 and moved to separate directory.
5023 - Collision between system LZO header files and MiniLZO header file
5024   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
5025 - Will now test for liblzo functionality in liblzo2 too, reported by
5026   Thomas Klausner <tk@giga.or.at>.
5027 - Minilibtasn1 is now 0.2.14 (no code changes).
5028 - Some code changes to avoid GTK-DOC warnings.
5029 - API and ABI modifications:
5030   No changes since last version.
5032 * Version 1.2.5 (2005-07-03)
5033 - More builddir != srcdir fixes, reported by Mike Castle
5034   <dalgoda@ix.netcom.com>.
5035 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
5036   reported by Adam Langley <alangley@gmail.com>.
5037 - Corrected some stuff in minilzo detection. Pointed out by 
5038   Sergey Lipnevich.
5039 - MiniLZO updated to version 2.00.
5040 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
5041 - API and ABI modifications:
5042   No changes since last version.
5044 * Version 1.2.4 (2005-05-28)
5045 - Corrected some bugs that could affect 64 bit systems.
5046 - Some corrections in the header files to include the prototype
5047   of memmem properly (affected 64 bit systems). Report and patch
5048   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5049 - Introduced the --fix-key option to certtool, which can be used to
5050   regenerate the (optional) parameters in a private key. It should
5051   be used together with --key-info.
5052 - Corrected a bug in certificate chain verification that could lead
5053   to marking a trusted chain as non trusted, if the last certificate in
5054   the chain was a self signed one.
5055 - Gnulib portability files were updated.
5056 - License were updated to reflect new FSF address.
5057 - API and ABI modifications:
5058   No changes since last version.
5060 * Version 1.2.3 (2005-04-28)
5061 - Corrected bug in record packet parsing that could lead
5062   to a denial of service attack.
5063 - Corrected bug in RSA key export. Previously exported keys
5064   can be fixed using certtool. Use certtool -k <infile >outfile
5065 - API and ABI modifications:
5066     gnutls_x509_privkey_fix(): Add.
5068 * Version 1.2.2 (2005-04-25)
5069 - gnutls_error_to_alert() now considers
5070   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
5071 - Fixed error in session resuming that could cause a crash in a session.
5072 - Fixed pkcs12 friendly name and local key identifier decoding.
5073 - Internal cleanups, removed duplicate typedef/struct definitions,
5074   and made source code include external include file, to check
5075   function prototypes during compile time.
5076 - API and ABI modifications:
5077   No changes since last version.  At least not intentional, but due
5078   to the include header changes, there may be inadvertant changes,
5079   please let us know if you find any.
5081 * Version 1.2.1 (2005-04-04)
5082 - gnutls_bye() will no longer fail when RDWR is used and application
5083   data are available for reading.
5084 - Added more strict checks for the SRP parameters (g,n), when they
5085   are not in the included list.
5086 - Added warning to certtool when MD5 is being used for digital
5087   signatures.
5088 - Optimizations ("-O2 -finline-functions") are not enabled by default,
5089   instead the standard autoconf defaults are used.  Use `./configure
5090   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
5091 - Added the option --get-dh-params to certtool, in order to get the
5092   parameters included in the library primes and generators.
5093 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
5094   allow only trusted Version 1 CAs and introduced
5095   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
5096 - Nettle self tests now build properly, reported by Pierre
5097   <pierre42d@9online.fr>.
5098 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
5099   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5100 - If the library has been compiled with features disabled, a warning is 
5101   issued during the compilation of any program.
5102 - API and ABI modifications:
5103     gnutls_x509_crt_list_import(): Add
5104     gnutls_x509_crq_get_attribute_by_oid(): Add.
5105     gnutls_x509_crq_set_attribute_by_oid(): Add
5106     gnutls_x509_crt_set_extension_by_oid(): Add.
5107     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
5108     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
5110 * Version 1.2.0 (2005-01-27)
5111 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
5112 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
5113   gnutls_x509_crl_sign2().
5114 - Fixed license header in source code files.
5116 * Version 1.1.23 (2005-01-18)
5117 - It is now possible to generate PKCS#12 structures without private
5118   keys using "certtool --to-p12", suggested by Fabian Fagerholm
5119   <fabbe@paniq.net>.
5120 - Certtool now prints information for the RSA and DSA parameters of
5121   certificates and private keys.
5122 - Corrected the write of CRL distribution points.
5123 - The certificate chain verification function now checks certificates
5124   in the reverse order to minimize the spent resources.
5125 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5126 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
5127   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
5128   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
5129   required, instead of the string length.  That is, the value has been
5130   incremented by 1 to account for the terminating zero. Reported by
5131   Martin Lambers <marlam@web.de>.
5132 - Debug output shouldn't crash on platforms that doesn't handle NULL
5133   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
5134 - Sync included copy of libtasn1 with version 0.2.13.
5135 - Client X.509 authenticated connections via gnutls-cli should now work again.
5137 * Version 1.1.22 (2004-11-04)
5138 - Replace GNU LD version script with Libtool -export-symbols-regex,
5139   from Joe Orton <joe@manyfish.co.uk>.
5140 - Documentation improvements.
5141 - Code indented using 'indent -i4 -kr'.
5142 - The API manual is included in Devhelp format.  (Was in last release too,
5143   but the NEWS entry was forgotten.)
5144 - The OpenSSL compatibility code now use the internal crypto interface.
5145 - Added simple self test of OpenSSL compatibility library.
5146 - Internally, libtool convenience libraries are used.
5147 - Cleanups to configure.ac.
5149 * Version 1.1.21 (2004-10-27)
5150 - Print DN of certificates with unknown characters in them, but in hexform
5151   only.
5152 - Added second precision to the X.509 parsing and generation functions.
5153 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5154   actual OID.
5155 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5156   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5157 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5158   <stephane.loeuillet@tiscali.fr>.
5159 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5160   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5161 - Add self test of PKCS#12 functionality in "certtool", based on test
5162   vectors from Joe Orton <joe@manyfish.co.uk>.
5163 - Fix library order in libgnutls*-config --libs output, to permit
5164   static linking, reported by Yoann Vandoorselaere
5165   <yoann@prelude-ids.org>.
5167 * Version 1.1.20 (2004-10-12)
5168 - Fix compile problem in gl/getpass.c on some systems.
5170 * Version 1.1.19 (2004-10-07)
5171 - Fix memory leak in gnutls_certificate_verify_peers and
5172   gnutls_certificate_free_credentials, report and patch by Simon
5173   Posnjak <simon.posnjak@cetrtapot.si>.
5174 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5175   a key and no certificate to PKCS#12.
5176 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5177   <gp@familiehaase.de>.
5178 - Fixes faulty getpass implementation in libextra/opencdk/, reported
5179   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5180 - Uses memmem instead of strnstr in lib/.
5181 - Using more GNULib portability files, although not yet inside lib/.
5182 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
5183   Nikos deprecated gnutls_certificate_verify_peers in favor of
5184   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
5185 - Improvements to the manual.
5186 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5187 - Known bug: the library require snprintf.  This has not yet been
5188   fixed, but will be handled via GNULib later on.
5190 * Version 1.1.18 (2004-08-24)
5191 - Corrected handling of certificate with dates after year 2038.
5192 - Corrected DER decoder which could incorrectly treat input as BER and fail.
5193 - Correct certtool --smime-to-p7 end of line character handling.
5194 - Added example client and server for anonymous authentication.
5195 - Added self test that tests anonymous TLS client and server.
5196 - Added self tests of Nettle and generic crypto layer.
5197 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
5198   Online version at <http://www.gnu.org/software/gnutls/reference/>.
5199 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
5200 - Man pages for API functions are included.
5202 * Version 1.1.17 (2004-08-18)
5203 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5204   reported by Robey Pointer <robey@danger.com>.
5205 - Generic crypto interface for secret key ciphers, hashes and randomness added.
5206   See section "Experimental" within section "COMPILATION ISSUES" in README.
5207 - Removed length limit on passwords read by 'certtool'.
5208 - Documentation fixes.
5210 * Version 1.1.16 (2004-08-15)
5211 - Fix missing gnulib linker parameter when building certtool.
5212 - Add gnulib module 'progname', needed by module 'error'.
5213 - Improve building with srcdir != objdir.
5215 * Version 1.1.15 (2004-08-15)
5216 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
5217   PKCS #7 format.
5218 - Ported to Mac OS X / Darwin.
5219 - Ported to FreeBSD.
5221 * Version 1.1.14 (2004-08-09)
5222 - Documentation converted to Texinfo format.
5223 - Bug fix of test suite.
5224 - Configure now print build information, used by Autobuild.
5226 * Version 1.1.13 (2004-08-05)
5227 - Added simple self test suite.
5229 * Version 1.1.12 (2004-08-02)
5230 - Updated the SRP authentication to conform to the
5231   latest (yet unreleased) draft. Unfortunately this breaks
5232   compatibility with previous versions.
5233 - Changed the makefiles to be more portable.
5234 - SRP ciphersuites were moved to the gnutls library.
5235 - Added some default limits in the verification of certificate
5236   chains, to avoid denial of service attacks. Also added 
5237   gnutls_certificate_set_verify_limits() to override them.
5238   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5239 - Added gnutls_certificate_verify_peers2().
5241 * Version 1.1.11 (2004-07-16)
5242 - Added the '_t' suffix to all exported symbols.
5243 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
5244   <mak@greenhills.co.uk>.
5245 - Corrected a bug in certificate verification. Pointed out by
5246   Yoann Vandoorselaere <yoann@prelude-ids.org>
5247 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
5248   verification functions.
5249 - The ephemeral DH and RSA parameters are no longer stored in the
5250   session resume DB.
5251 - Do not free the SRP (prime and generator) parameters obtained from the 
5252   callback if they are the static ones defined in extra.h
5253 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5255 * Version 1.1.10 (2004-06-12)
5256 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5257 - Corrected bug in TLS renegotiation.
5258 - Corrected bug in OpenPGP key loading using a callback.
5259 - gnutls-srpcrypt was renamed to srptool
5260 - Allow handshake requests by the client.
5261 - Automatically disable certificate types that do not have corresponding
5262   certificates.
5263 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
5264 - Opencdk library is being included if not found.
5265 - certtool can now add ip address SAN extension.
5266 - certtool has now support for more X.520 DN attribute types.
5267 - Better handling of EOF in gnutls_record_recv().
5268 - _gnutls_deinit() is no longer used. Sessions are not
5269   automatically removed any more, on abnormal termination.
5270 - Corrected session resuming in SRP ciphersuites.
5271 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5272 - Added new functions to allow access to the ephemeral
5273   Diffie Hellman parameters.
5274 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5275   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5276 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
5277   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
5278   RSA-EXPORT key exchange.
5279 - Some fixes in the session resuming code.
5280 - Added gnutls_openpgp_keyring_check_id().
5282 * Version 1.1.9 (2004-04-14)
5283 - Added support for authority key identifier and the extended key usage
5284   X.509 extension fields. The certtoool was updated to support them.
5285 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5286 - Added batch support to certtool. Now it can use templates.
5288 * Version 1.1.8 (2004-04-07)
5289 - Implemented all the tests for the SRP group parameters in
5290   client side. This may lead to incompatibility with very
5291   old gnutls servers.
5292 - Corrected bug in RSA parameters handling which could cause
5293   unexpected crashes.
5294 - Optimized the copying of rsa_params.
5296 * Version 1.1.7 (2004-03-29)
5297 - Added gnutls_certificate_set_params_function() and 
5298   gnutls_anon_set_params_function() that set the RSA or DH
5299   parameters using a callback.
5300 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5301   and gnutls_x509_privkey_cpy().
5302 - Corrected a compilation issue when opencdk was installed in a
5303   non standard directory.
5304 - Deprecated: gnutls_srp_server_set_select_function(), 
5305   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
5307 * Version 1.1.6 (2004-02-24)
5308 - Several bug fixes, by Arne Thomassen.
5309 - Fixed a bug where 'server name' extension was always sent.
5311 * Version 1.1.5 (2004-01-06)
5312 - Added the gnutls_sign_algorithm type.
5314 * Version 1.1.4 (2004-01-04)
5315 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5316   If they are of highest priority then the abbreviated handshake
5317   is used.
5318 - Removed all references of missing files.
5319 - Changed handshake behaviour to send the lowest TLS version
5320   when an unsupported version was advertized. The current behaviour
5321   is to send the maximum version we support.
5322 - Corrected problem printing the DC attributes in a DN.
5324 * Version 1.1.3 (2003-12-30)
5325 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5326   hack).
5328 * Version 1.1.2 (2003-12-28)
5329 - Added CRL verification functionality to certtool.
5330 - Corrected the CRL distribution point extension handling.
5332 * Version 1.1.1 (2003-12-26)
5333 - Added PKCS #7 support to certtool utility.
5334 - Added support for reading and generating CRL distribution
5335   points extensions in certificates.
5336 - Added support for generating CRLs in the library and the
5337   certtool utility.
5338 - Added support for the Subject Key ID PKIX extension.
5340 * Version 1.1.0 (2003-12-21)
5341 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5342   are no longer returned by the handshake function. Ciphersuites that
5343   require temporary parameters are removed when such parameters do not exist.
5344 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5345   gnutls_certificate_server_retrieve_function(), to allow a client or a server
5346   to specify certificates for the handshake without storing them to the
5347   credentials structure.
5348 - Added support for generating and exporting DSA private keys.
5349 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
5350   certificate's key usage.
5351 - Added gnutls_openpgp_key_get_key_usage().
5353 * Version 1.0.25 (2005-04-27)
5354 - Corrected bug in record packet parsing that could lead
5355   to a denial of service attack.
5356 - Corrected bug in RSA key export.
5358 * Version 1.0.24 (2005-01-18)
5359 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5361 * Version 1.0.23 (2004-11-13)
5362 - Replace GNU LD version script with Libtool -export-symbols-regex,
5363   from Joe Orton <joe@manyfish.co.uk>.
5364 - Copy libtasn1 has been updated to version 0.2.11.
5365 - Corrected the write of CRL distribution points.
5366 - It is now possible to generate PKCS#12 structures without private
5367   keys using "certtool --to-p12", suggested by Fabian Fagerholm
5368   <fabbe@paniq.net>.
5370 * Version 1.0.22 (2004-10-28)
5371 - Print DN of certificates with unknown characters in them, but in hexform
5372   only.
5373 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5374   actual OID.
5375 - Added second precision to the X.509 parsing functions.
5376 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5377   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5378 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5379   <stephane.loeuillet@tiscali.fr>.
5380 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5381   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5382 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
5383 - Fix library order in libgnutls*-config --libs output, to permit
5384   static linking, reported by Yoann Vandoorselaere
5385   <yoann@prelude-ids.org>.
5387 * Version 1.0.21 (2004-10-07)
5388 - Fix memory leak in gnutls_certificate_verify_peers and
5389   gnutls_certificate_free_credentials, report and patch by Simon
5390   Posnjak <simon.posnjak@cetrtapot.si>.
5391 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5392   a key and no certificate to PKCS#12.
5393 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5394   <gp@familiehaase.de>.
5395 - Avoid redefining getpass if system already has it, reported by
5396   Yoann Vandoorselaere <yoann@prelude-ids.org>.
5397 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5398 - Known bug: the library require snprintf.
5400 * Version 1.0.20 (2004-08-18)
5401 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5402   reported by Robey Pointer <robey@danger.com>.
5404 * Version 1.0.19 (2004-08-09)
5405 - Bug fix of test suite.
5407 * Version 1.0.18 (2004-08-05)
5408 - Added simple self test suite.
5410 * Version 1.0.17 (2004-08-02)
5411 - Updated the SRP authentication to conform to the
5412   latest (yet unreleased) draft. Unfortunately this breaks
5413   compatibility with previous versions.
5414 - Changed the makefiles to be more portable.
5415 - Added some default limits in the verification of certificate
5416   chains, to avoid denial of service attacks. Also added 
5417   gnutls_certificate_set_verify_limits() to override them.
5418   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5419 - Added gnutls_certificate_verify_peers2().
5421 * Version 1.0.16 (2004-07-10)
5422 - Do not free the SRP (prime and generator) parameters obtained from the 
5423   callback if they are the static ones defined in extra.h.
5424 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5425 - Some fixes in the makefiles.
5427 * Version 1.0.15 (2004-06-29)
5428 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
5429   <mak@greenhills.co.uk>.
5430 - Corrected a bug in certificate verification. Pointed out by
5431   Yoann Vandoorselaere <yoann@prelude-ids.org>.
5433 * Version 1.0.14 (2004-06-12)
5434 - Automatically disable certificate types that do not have corresponding
5435   certificates.
5436 - Updates in the documentation.
5437 - certtool can now add ip address SAN extension.
5438 - certtool has now support for more X.520 DN attribute types.
5439 - Opencdk library is being included if not found.
5440 - Added gnutls_openpgp_keyring_check_id().
5441 - Corrected a serious bug in the included libtasn1 library.
5442 - Corrected session resuming in SRP ciphersuites.
5443 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5444 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5445   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5446 - Some fixes in the session resuming code.
5448 * Version 1.0.13 (2004-04-29)
5449 - Some complilation fixes.
5450 - Added the --xml parameter to the certtool utility.
5452 * Version 1.0.12 (2004-04-23)
5453 - Corrected bug in OpenPGP key loading using a callback.
5454 - Renamed gnutls-srpcrypt to srptool
5455 - Allow handshake requests by the client.
5456 * Things backported from the development branch:
5457 - Added support for authority key identifier and the extended key usage
5458   X.509 extension fields. The certtoool was updated to support them.
5459 - Added batch support to certtool. Now it can use templates.
5460 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5462 * Version 1.0.11 (2004-04-17)
5463 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5464 - Corrected bug in TLS renegotiation.
5466 * Version 1.0.10 (2004-04-03)
5467 - Corrected bug in RSA parameters handling which could cause
5468   unexpected crashes.
5469 - Corrected bug in SSL 3.0 authentication.
5471 * Version 1.0.9 (2004-03-29)
5472 - Added gnutls_certificate_set_params_function() and 
5473   gnutls_anon_set_params_function() that set the RSA or DH
5474   parameters using a callback.
5475 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5476   and gnutls_x509_privkey_cpy().
5477 - Corrected a compilation issue when opencdk was installed in a
5478   non standard directory.
5479 - Documented the changes need in multi-threaded application due
5480   to the new libgcrypt.
5482 * Version 1.0.8 (2004-02-28)
5483 - Corrected bug in mutual certificate authentication in SSL 3.0.
5485 * Version 1.0.7 (2004-02-25)
5486 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5487   hack).
5488 - Some updates in the documentation.
5490 * Version 1.0.6 (2004-02-12)
5491 * Backported things from the development branch (while maintaining
5492   backwards compatibility):
5493 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5494   If they are of highest priority then the abbreviated handshake
5495   is used.
5496 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5497   are no longer returned by the handshake function. Ciphersuites that
5498   require temporary parameters are removed when such parameters do not exist.
5499 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5500   gnutls_certificate_server_retrieve_function(), to allow a client or a server
5501   to specify certificates for the handshake without storing them to the
5502   credentials structure.
5503 - Added support for generating and exporting DSA private keys.
5505 * Version 1.0.5 (2004-02-11)
5506 - Fixed a bug where 'server name' extension was always sent.
5507 * Backported things from the development branch:
5508 - Added CRL verification functionality to certtool.
5509 - Corrected the CRL distribution point extension handling.
5510 - Added PKCS #7 support to certtool utility.
5511 - Added support for reading and generating CRL distribution
5512   points extensions in certificates.
5513 - Added support for generating CRLs in the library and the
5514   certtool utility.
5515 - Added support for the Subject Key ID PKIX extension.
5516 - Added the gnutls_sign_algorithm type.
5518 * Version 1.0.4 (2004-01-04)
5519 - Changed handshake behaviour to send the lowest TLS version
5520   when an unsupported version was advertized. The current behaviour
5521   is to send the maximum version we support.
5522 - certtool no longer asks the password in unencrypted private
5523   keys.
5524 - The source is now compiled to use the reentrant libc functions.
5526 * Version 1.0.3 (2003-12-21)
5527 - Corrected bug in gnutls_bye() which made it return an error code
5528   of INVALID_REQUEST instead of success.
5529 - Corrected a bug in the GNUTLS_KEY key usage definitions.
5531 * Version 1.0.2 (2003-12-18)
5532 - Corrected a bug in the RSA key generation. This was
5533   generating unusable RSA keys.
5535 * Version 1.0.1 (2003-12-10)
5536 - Some minor fixes in the makefiles. They now include CFLAGS
5537   from libgcrypt or opencdk if installed in a non standard directory.
5538 - Fixed the SRP detection test in gnutls-cli-debug.
5539 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
5541 * Version 1.0.0 (2003-12-04)
5542 - Exported the static SRP group parameters.
5543 - Some fixes in the certificate authenticated SRP ciphersuites.
5544 - Improved the support for draft-ietf-tls-srp-05. The two-phase
5545   handshake is now fully supported without any interaction with
5546   the application layer (except for a callback).
5548 * Version 0.9.99 (2003-11-28)
5549 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
5550   and gnutls_server_name_get() prototypes.
5551 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
5552   and gnutls_x509_crt_verify_data().
5553 - Some fixes in the openpgp authentication.
5554 - Removed the Twofish cipher.
5556 * Version 0.9.98 (2003-11-16)
5557 - The openssl compatibility layer was moved to gnutls-openssl
5558   library instead of being included in the gnutls-extra library.
5559 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
5560 - Building with openpgp support is now mandatory.
5561 - gnutls4 compatibility header is no longer included by default in
5562   gnutls.h.
5563 - gnutls8 function usage yelds a deprecation warning in gcc3.
5564 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
5565   functions have a raw_flag parameter added.
5566 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
5567   functions which return the available OIDs.
5569 * Version 0.9.97 (2003-11-11)
5570 - The certtool utility can now generate PKCS #12 structures
5571   without specifying a certificate.
5572 - Added capability to read CRLs to certtool.
5573 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
5574   to properly set the required buffer size.
5575 - Corrected a bug in libgcrypt detection.
5577 * Version 0.9.96 (2003-11-09)
5578 - Some changes to allow compilation with mingw32.
5579 - Several code cleanups.
5581 * Version 0.9.95 (2003-11-02)
5582 - Improved the verification functions. Added new verification
5583   output flags and removed the unused and redundant ones.
5584 - Improved the OpenPGP key support.
5585 - The prime utility was removed, and its functionality was moved
5586   to certtool.
5588 * Version 0.9.94 (2003-10-30)
5589 - Added manpages for the included programs.
5590 - Documented and improved the certtool utility. 
5591 - Added PKCS #12 support to certtool utility.
5593 * Version 0.9.93 (2003-10-26)
5594 - Corrected some compilation issues.
5595 - Improved the certtool command line utility.
5597 * Version 0.9.92 (2003-10-25)
5598 - The RFC2818 hostname verification is now case insensitive.
5599 - Added support for generating X.509 certificates.
5600 - Added the certtool, a tool for generating X.509 certificates
5602 * Version 0.9.91 (2003-10-17)
5603 - Fixed a compilation issue in the openpgp authentication part.
5605 * Version 0.9.90 (2003-10-08)
5606 - Updated the openpgp key API (depends on the unreleased new
5607   opencdk).
5609 * Version 0.9.8 (2003-10-02)
5610 - Updated the SRP implementation to follow the latest draft
5611   (draft-ietf-tls-srp-05).
5612 - Improved the gnutls-cli behaviour in error handling,
5613   and added a check for the peer's hostname.
5614 - Use versioned symbols in the library (where available).
5615 - RIJNDAEL ciphersuites were renamed to AES.
5617 * Version 0.9.7 (2003-08-25)
5618 - The tex files are now included in the distribution.
5619 - The library can now decrypt PKCS #12 files encrypted with
5620   the RC2-40 cipher.
5621 - The missing rfc2818_hostname object is now included.
5622 - Several corrections and bug fixes in the library by 
5623   Arne Thomassen <arne@arne-thomassen.de>.
5624 - CR is now allowed in the base64 decoder.
5626 * Version 0.9.6 (2003-06-28)
5627 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5628   functions which return a unique (per public key) ID. These can
5629   be used to check if the private key corresponds to a given certificate.
5630 - Corrections in the TLS layer openpgp certificate packet parser.
5631 - Corrected a bug in the record layer buffering, which affected
5632   the case where external pull function was used. Report and patch
5633   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5634 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5635   was freed.
5636 - SRP programs are now built by default.
5637 - Added API to read and write to PKCS #12 structures. Prototypes
5638   in gnutls/pkcs12.h.
5639 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5641 * Version 0.9.5 (2003-04-06)
5642 - Several improvements in the PKCS #7 handling
5643 - Eliminated several hard coded constants in MPI parameters.
5645 * Version 0.9.4 (2003-03-28)
5646 - Corrected a parsing error in the Certificate request message.
5647 - Corrected behaviour when a certificate request message is received.
5648   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5649   a no_certificate alert is sent instead.
5650 - Added functionality to generate PKCS #7 structures (with certificates).
5652 * Version 0.9.3 (2003-03-24)
5653 - Support for MD2 was dropped. 
5654 - Improved the error logging functions, by adding a level, and
5655   by allowing debugging messages just by increasing the level.
5656 - The diffie Hellman ciphersuites are now of higher priority than
5657   the plain RSA.
5658 - The RSA premaster secret version check can no longer be disabled.
5659 - Implemented the counter measure discussed in the paper "Attacking
5660   RSA-based Sessions in SSL/TLS", against the attack described in the
5661   same paper.
5662 - Added the functions: gnutls_handshake_get_last_in(), 
5663   gnutls_handshake_get_last_out().
5664 - The gnutls_certificate_set_rsa_params() was renamed to 
5665   gnutls_certificate_set_rsa_export_params().
5666 - Added the new functions: gnutls_certificate_set_x509_key()
5667   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5668   gnutls_x509_crt_export(), gnutls_x509_crl_export().
5669 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
5670   RSA private keys.
5672 * Version 0.9.2 (2003-03-15)
5673 - Some corrections in the memory mapping code (file is unmapped after 
5674   it is read).
5675 - Added support for PKCS#10 certificate requests generation.
5677 * Version 0.9.1 (2003-03-12)
5678 - Corrected a bug in 64 bit architectures, which affected the
5679   serial number calculation in the record layer.
5680 - Added gnutls_certificate_free_keys() which deletes all the
5681   private keys and certificates from the credentials structure.
5682 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5683   which caused some unexpected packet length errors. Report and patch
5684   by Ian Peters <itp@ximian.com>.
5685 - Added ability to generate RSA keys.
5686 - Increased the maximum parameter size in order to read some large keys
5687   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5688 - Added an strnstr() function and the requirement in some functions to
5689   use null terminated PEM structures is no more.
5690 - Use mmap() if available to read files.
5691 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5692   <r.kittinger@efkon.com>.
5694 * Version 0.9.0 (2003-03-03)
5695 - This version is not binary compatible with the previous ones.
5696 - The library notifies the application on empty and illegal SRP usernames, 
5697   so that proper notification (via an alert) is sent to the peer.
5698 - Added ability to send some messages back to the application using
5699   the gnutls_global_set_log_function().
5700 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5701   gnutls_malloc() to allocate the output parameters.
5702 - Added support for MD2 algorithm in certificate signature verification.
5703 - The RSA and DH parameter generation interface was changed. Added
5704   ability to import and export from and to PKCS3 structures. This 
5705   was needed to read parameters generated using the openssl dhparam tool.
5706 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5707   parameters are now included in the library. Also the credentials structure 
5708   can now hold only one temporary parameter of a kind.
5709 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5710   API, defined in gnutls/x509.h
5711 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5712   verification flags in the credentials structure. They will be used in the
5713   *verify_peers functions.
5714 - Added protection against the new TLS 1.0 record layer timing attack.
5715 - Added support for Certificate revocation lists. Functions defined
5716   in gnutls/x509.h
5717 - The only functions that were removed are:
5718   gnutls_x509_certificate_to_xml()
5719   gnutls_x509_extract_dn_string()
5720 - Ported to libtasn1 0.2.x
5722 * Version 0.8.1 (2003-01-22)
5723 - Improved the SRP support, to prevent attackers guessing the
5724   available usernames by brute force.
5725 - Improved the SRP detection in gnutls-cli-debug
5726 - Some fixes which now allow compilation.
5728 * Version 0.8.0 (2003-01-20)
5729 - Added gnutls_x509_extract_dn_string() which returns a 
5730   distinguished name in a single string.
5731 - Added gnutls_openpgp_extract_key_name_string() which returns
5732   an openpgp user ID in a single string.
5733 - Added gnutls_x509_extract_certificate_ca_status() which returns
5734   the CA status of the given certificate.
5735 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5736 - If libtasn1 is not present in the system, it is included in 
5737   the main gnutls library.
5738 - If liblzo is present in the system, then the included minilzo
5739   will not be used, and libgnutls-extra will depend on liblzo.
5740 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5741   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5742   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5744 * Version 0.6.0 (2002-12-08)
5745 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5746   to emulate the old 0.4.x API.
5747 - Example programs are now stored in doc/examples/
5748 - Several improvements and updates in the documentation.
5749 - Added the certificate authenticated SRP cipher suites.
5750 - gnutls_x509_extract_certificate_dn_string() was updated to return
5751   an RFC2253 conforming string.
5752 - Added the SRP related functions:
5753    gnutls_srp_verifier()
5754    gnutls_srp_base64_encode()
5755    gnutls_srp_base64_decode()
5756 - Added the function gnutls_srp_set_server_credentials_function()
5757   to allow retrieving SRP parameters from an external backend - other
5758   than password files.
5759 - Added the function gnutls_openpgp_set_recv_key_function()
5760   which can be used to set a callback, to get OpenPGP keys.
5761 - Exported the functions:
5762    gnutls_malloc()
5763    gnutls_free()
5764   which should be used by callback functions.
5765 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5766   and gnutls_pem_base64_decode_alloc(). In the default case
5767   were the gnutls library is used with malloc/realloc/free,
5768   these are binary compatible.
5770 * Version 0.5.11 (2002-11-05)
5771 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5772   faults at exit.
5773 - Example programs found in the documentation can now be generated by
5774   running "make examples" in doc/tex directory.
5775 - Added more descriptive error strings, to gnutls_strerror().
5776 - Documented error codes, and the function reference list is now sorted.
5777 - Optimized buffering code.
5778 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5779 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5780   case where the memory buffer provided is not long enough.
5781 - Depends on the new OpenCDK 0.3.2.
5783 * Version 0.5.10 (2002-10-13)
5784 - Updated documentation.
5785 - Added server name extension. This allows clients to specify the
5786   name of the server they connect to. Useful to HTTPS.
5787 - Several corrections in the code base, mostly in signed/unsigned,
5788   checkings.
5790 * Version 0.5.9 (2002-10-10)
5791 - Corrected some code which worked fine in gcc 3.2, but not with any
5792   other compiler.
5793 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5794   starttls implementations.
5795 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5796   the private key type, of a DER encoded key.
5797 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5798   certificate's distinguished name in a single string.
5799 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5800   functions, to avoid calling all the *_priority() functions if the defaults
5801   are acceptable.
5802 - Added int gnutls_x509_check_certificates_hostname() which check whether
5803   the given hostname matches the owner of the given X.509 certificate.
5805 * Version 0.5.8 (2002-09-25)
5806 - Updated documentation.
5807 - Added gnutls_record_get_direction() which replaces the obsolete
5808   gnutls_handshake_get_direction().
5809 - Added function to convert error codes to alert descriptions
5810 - Added LZO compression
5812 * Version 0.5.7 (2002-09-11)
5813 - Some fixes in the memory allocation functions (realloc).
5814 - Improved the string functions used in XML certificate generation.
5815 - Removed dependency on libgdbm.
5816 - Corrected bug in gnutls_dh_params_set() which affected
5817   gnutls_dh_params_deinit().
5818 - Corrected bug in session resuming code in server side.
5820 * Version 0.5.6 (2002-09-06)
5821 - Corrected bugs in SRP implementation, which prevented gnutls 
5822   to interoperate with other implementations. (interoperability testing
5823   was done by David Taylor)
5824 - Corrected bug in cert_type extension.
5825 - Corrected extension type checks which used an 8 bit extension size,
5826   instead of 16 bits.
5827 - Added versioning in the XML output of certificate functions.
5828 - Removed the X.509 test suite.
5830 * Version 0.5.5 (2002-09-03)
5831 - Updated the SRP implementation to the latest draft. The blowfish
5832   crypt implementation was removed, since the new draft does not allow
5833   other hash algorithms except for the srpsha. 
5834 - Renamed all the constructed types in order to have more consistent
5835   names. 
5836 - Improved the certificate and key read functions. Now they can read 
5837   the certificate and the private key from the same file.
5838 - Updated and corrected documentation.
5840 * Version 0.5.4 (2002-08-27)
5841 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5842 - gnutls_handshake_set_exportable_detection() was obsoleted.
5843 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5844 - Corrected bug in DHE key exchange
5845 - Added support for temporary RSA keys which are needed for the
5846   export cipher suites.
5847 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5849 * Version 0.5.3 (2002-08-23)
5850 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5851   code from the unstable branch.
5853 * Version 0.5.2 (2002-08-22)
5854 - Added an error code that is returned in clients which connect
5855   to export only servers. This must be enabled using the
5856   gnutls_handshake_set_exportable_detection() function.
5857 - Updated openssl compatibility layer.
5858 - Added gnutls_handshake_get_direction() function which returns
5859   the state of the handshake when interrupted.
5861 * Version 0.5.1 (2002-07-17)
5862 - Corrected the m4 macros which used <gnutls.h> instead of
5863   <gnutls/gnutls.h>
5864 - Documentation fixes
5865 - Added gnutls_transport_set_ptr2() function, which accepts two
5866   different pointers, to be used while receiving, and 
5867   while sending data.
5868 - Semantic changes in gnutls_record_set_max_size(). The requested
5869   size is now immediately enforced at the output buffers.
5870 - gnutls_global_init_extra() now fails if the library versions do
5871   not match.
5872 - Fixes in client and server example programs. Null encryption can
5873   be used in these programs, to assist in debuging.
5874 - Fixes in zlib compression code.
5876 * Version 0.5.0 (2002-07-06)
5877 - Added X.509 certificate tests in tests/ directory
5878 - Removed stubs for SRP and Anonymous authentication. They served
5879   no purpose since they are always included, unless it was requested
5880   not to do so.
5881 - Added gnutls_handshake_set_private_extensions() function. This
5882   function can be used to enable private (gnutls specific) cipher suites
5883   and compression algorithms.
5884 - Added check for C99 macro support by the compiler.
5885 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5886 - Added the new libtasn1 library.
5887 - Removed the gdbm backend. Applications are now responsible for the
5888   session resuming backend. The gnutls-serv application contains an
5889   simple example on how to use gdbm for resuming.
5890 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5891 - Added an OpenSSL compatible interface (with some limitations).
5892 - Added functions to convert DER encoded certificates to XML format.
5894 * Version 0.4.4 (2002-06-24)
5895 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5896   using keys of some specific size.
5898 * Version 0.4.3 (2002-05-23)
5899 - The gnutls-extra library now compiles fine, if the opencdk library is
5900   not present.
5901 - Several bug fixes.
5902 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5903   functions, if other than the defaults are to be used.
5904 - The default memory allocation functions are now the ones in libc.
5906 * Version 0.4.2 (2002-05-21)
5907 - Separated ASN.1 structures parser documentation and TLS library
5908   documentation.
5909 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5910   version check in RSA premaster secret.
5911 - Added gnutls_session_is_resumed() function, which reports if a session
5912   is a resumed one.
5913 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5914   assist in callback functions.
5915 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5916   random one.
5917 - Relicensed the library under the GNU Lesser General Public License
5918 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5920 * Version 0.4.1 (2002-04-07)
5921 - Now uses alloca() for temporary variables
5922 - Optimized RSA signing
5923 - Added functions to return the peer's certificate activation and
5924   expiration time.
5925 - Corrected time function's behaviour (the time value returned no longer
5926   relate to local timezone).
5928 * Version 0.4.0 (2002-04-01)
5929 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5930 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5931   gnutls_openpgp_extract_key_pk_algorithm().
5932 - Several optimizations in the Handshake protocol
5933 - Several optimizations in RSA algorithm
5934 - Unified the return values because of small buffers.
5936 * Version 0.3.92 (2002-03-23)
5937 - Updated documentation
5938 - Combined error codes of ASN.1 parser and gnutls
5939 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5940 - Added protection against CBC chosen plaintext attack (disabled by default)
5941 - Improved and optimized compression support
5943 * Version 0.3.91 (2002-03-03)
5944 - Added gnutls-cli-debug program
5945 - Corrections in session resumption
5946 - Rehandshake can now handle negotiation of different authentication
5947   type.
5948 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5949   now being installed.
5951 * Version 0.3.90 (2002-02-24)
5952 - Handshake messages are not kept in memory any more. Now we use 
5953   less memory during a handshake
5954 - Added support for certificates with DSA parameters
5955 - Added DHE_DSS cipher suites
5956 - Key exchange methods changed so they do not depend on the 
5957   certificate type. Added certificate type negotiation TLS extension.
5958 - Added openpgp key support (EXPERIMENTAL)
5959 - Improved Diffie Hellman key exchange support.
5960 - Bug fixes in the RSA key exchange.
5961 - Added check for the requested TLS extensions
5962 - TLS extensions now use a 16 bit type field.
5963 - Added a minimal string library to assist in ASN.1 parsing
5964 - Changes in ASN.1 parser to work with the new bison
5965 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5966   gnutls_x509_extract_subject_dns_name()
5967 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5968 - gnutls_srp_server_set_cred_file() can now be called multiple times
5970 * Version 0.3.5 (2002-01-25)
5971 - Corrected the RSA key exchange method, to avoid attacks against
5972   PKCS-1 formating.
5974 * Version 0.3.4 (2002-01-20)
5975 - Corrected bugs in DHE_RSA key exchange method
5977 * Version 0.3.3 (2002-01-19)
5978 - Added gnutls_x509pki_verify_certificate()
5979 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5980 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5981 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5982 - Corrected library versioning
5984 * Version 0.3.2 (2002-01-05)
5985 - Corrected bug which did not allow a client to accept multiple CA names
5986 - Added gnutls_fingerprint()
5987 - Added gnutls_x509pki_extract_certificate_serial()
5988 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5989 - Corrected behaviour in version advertizing
5990 - Updated documentation
5991 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5993 * Version 0.3.1 (2001-12-21)
5994 - Corrections in the configuration files
5995 - Fixes a bug in anonymous authentication
5997 * Version 0.3.0 (2001-12-17)
5998 - Corrected bug in new integer formatting (now we use the old format again)
5999 - Several corrections and usual cleanups
6001 * Version 0.2.91 (2001-12-10)
6002 - Fixes in MPI handling (fixes possible bug with signed integers)
6003 - Removed name indication extension
6004 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
6005 - Optimizations in server certificate callback.
6006 - Fixes in anonymous authentication
6007 - Corrections in client ciphersuite selection
6009 * Version 0.2.90 (2001-12-07)
6010 - gnutls_handshake(), gnutls_read() etc. functions no longer require
6011   the 'SOCKET cd' argument. This argument is set using the function
6012   gnutls_set_transport_ptr().
6013 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
6014   a list containing peer's certificate and issuers DER encoded.
6015 - Updated X.509 certificate handling API
6016 - Added callback to select the server certificate
6017 - More consistent function naming (changes in several function names)
6018 - Buffer overflow checking in ASN.1 structures parser
6019 - Updated documentation
6021 * Version 0.2.11 (2001-11-16)
6022 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
6023   is returned, then the caller should perform a handshake or send
6024   an alert to the peer.
6025 - Made receive buffer dynamic. Normally if no large chunks are received
6026   it occupies less space.
6027 - Added max_record_size extension
6028 - Bugfixes in session handling
6029 - Improved non blocking IO support in the Handshake Protocol
6030 - Usual bugfixes and cleanups
6031 - Documentation updated (includes ASN.1 documentation)
6033 * Version 0.2.10 (2001-11-05)
6034 - Corrected bugs and improved non blocking IO
6035 - Added hooks to use external database to store sessions
6036 - Usual cleanups
6038 * Version 0.2.9 (2001-10-27)
6039 - AUTH_INFO types and structures were moved to library internals
6040 - AUTH_FAILED is no longer returned in SRP authentication
6041   (any fatal error in SRP means auth failed)
6042 - Introduced GNUTLS_E_INTERRUPTED
6043 - Added support for non blocking IO
6044 - gnutls_recv() and gnutls_send() are now obsolete
6045 - Changed semantics of gnutls_rehandshake()
6047 * Version 0.2.4 (2001-10-12)
6048 - Better handling of X.509 certificate extensions
6049 - Added DHE_RSA ciphersuites
6050 - Updated the Name Indication (dnsname) extension
6051 - Improvements in Diffie Hellman primes handling
6053 * Version 0.2.3 (2001-09-19)
6054 - Memory optimizations in gnutls_recv()
6055 - Fixed several memory leaks
6056 - Added ability to specify callback for x509 client certificate selection
6057 - Better documentation
6059 * Version 0.2.2 (2001-08-21)
6060 - Several bugfixes (library and documentation)
6062 * Version 0.2.1 (2001-08-07)
6063 - SRP fixes
6065 * Version 0.2.0 (2001-08-07)
6066 - Partial support for X.509v3 Certificate extensions.
6067 - Added Internal memory handlers
6068 - Removed gnutls_x509_set_cn()
6069 - Added X.509 client authentication
6070 - Several bug fixes and protocol fixes
6072 * Version 0.1.9 (2001-07-30)
6073 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
6074 - SRP is updated to conform to the newest draft.
6075 - Added support for DNSNAME extension.
6076 - Reentracy fixes in ASN.1 Parsing.
6077 - Optimizations in hash/hmac functions
6078 - (Error) message handling has changed
6079 - Better Protocol Version handling
6080 - Added X.509 Certificate Verification
6081 - gnutls_read() semantics are now closer to read(2) - added EOF
6082 - Documented some part of gnutls in doc/tex/ using Latex
6084 * Version 0.1.4 (2001-06-22)
6085 - Corrected (srp) base64 encoding.
6086 - Changed bcrypt algorithm to include username.
6087 - Added RSA Ciphersuites (no certificate checking).
6088 - Fixes in SSL 2.0 client hello parsing.
6089 - Added ASN.1 and DER parsers.
6090 - Bugfixes in session resuming
6091 - Updated Ciphersuite selection algorithm
6092 - Added internal representation of X.509 structures.
6093 - Added global state
6095 * Version 0.1.3 (2001-06-01)
6096 - Updated API (and the way it is documented - we use inline documentation)
6097 - Added function to access alert messages.
6098 - Added support for renegotiating parameters.
6099 - Better and Faster Resume Database handling.
6100 - Several bugfixes
6102 * Version 0.1.2 (2001-05-14)
6103 - Updated API
6104 - Fixes in extension handling
6106 * Version 0.1.1 (2001-05-13)
6107 - Added compatibility with Stanford's libsrp library
6109 * Version 0.1.0 (2001-05-09)
6110 - Added SSL 2.0 client hello support
6111 - GNUTLS is a gnu library
6112 - Added support for TLS extensions.
6113 - Added support for SRP
6115 * Version 0.0.7 (2001-01-11)
6116 - Added server side session resuming (using gdbm)
6117 - Added twofish algorithm
6119 * Version 0.0.6 (2000-12-20)
6120 - Added client side session resuming
6121 - Better documentation (check doc/API)
6122 - Better socket handling (gnutls can be used with select())
6123 - Some primitive support for non blocking IO and socket options has been added.
6125 * Version 0.0.5 (2000-12-07)
6126 - Added Compression (using ZLIB)
6127 - Added SSL 3.0 support
6129 ----------------------------------------------------------------------
6130 Copying and distribution of this file, with or without modification,
6131 are permitted in any medium without royalty provided the copyright
6132 notice and this notice are preserved.