1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 Version 2.12.14 (released 2011-11-08)
8 ** libgnutls: Corrected fix in gnutls_session_get_data()
9 to report the actual session size when the provided buffer
12 ** API and ABI modifications:
13 No changes since last version.
16 Version 2.12.13 (released 2011-11-07)
18 ** minitasn1: Upgraded to libtasn1 version 2.10.
20 ** libgnutls: Fixed possible buffer overflow in
21 gnutls_session_get_data(). Reported and fix by Alban Crequy.
23 ** API and ABI modifications:
24 No changes since last version.
27 Version 2.12.12 (released 2011-10-20)
31 ** libgnutls: Fixes to enable external signing callback to
34 ** API and ABI modifications:
35 No changes since last version.
38 Version 2.12.11 (released 2011-09-18)
40 ** libgnutls: Memory leak fixes in credentials private key
41 deinitialization. Reported by Dan Winship.
43 ** libgnutls: Allow CA importing of 0 certificates to succeed.
44 Reported by Jonathan Nieder <jrnieder@gmail.com> in
45 <http://bugs.debian.org/640639>.
47 ** API and ABI modifications:
48 No changes since last version.
51 * Version 2.12.10 (released 2011-09-01)
53 ** libgnutls: OpenPGP certificate type is not enabled
56 ** libgnutls: Corrected issue in gnutls_record_recv()
57 triggered on encryption or compression error.
59 ** libgnutls: Corrected parsing of XMPP subject alternative
62 ** libgnutls: gnutls_certificate_set_x509_key() and
63 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
64 and allow the release of the private key during the
65 lifetime of the certificate structure.
67 ** API and ABI modifications:
68 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
71 * Version 2.12.9 (released 2011-08-21)
73 ** libgnutls-extra: Replaced enumeration with unsigned
74 int, in openssl.h to make it identical to the 3.0.0 version.
75 This shouldn't introduce binary incompatibility.
77 ** libgnutls: When asking for a PIN multiple times, the
78 flags in the callback were not being updated to reflect
79 for PIN low count or final try.
81 ** API and ABI modifications:
82 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
85 * Version 2.12.8 (released 2011-08-08)
87 ** libgnutls: PKCS #11 back-end was replaced by p11-kit
88 http://p11-glue.freedesktop.org/p11-kit.html. This backports
89 the 3.0.0 PKCS #11 back-end. Rewrite by Stef Walter.
91 ** libgnutls: gcrypt: replaced occurences of gcry_sexp_nth_mpi (..., 0)
92 with gcry_sexp_nth_mpi (..., GCRYMPI_FMT_USG) to fix errors with 1.5.0.
93 Patch by Andreas Metzler.
95 ** libgnutls: Verify that a certificate list specified
96 using gnutls_certificate_set_x509_key*(), is sorted
97 according to TLS specification (from subject to issuer).
99 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
100 gnutls_x509_crt_list_import. It checks whether the list to be
101 imported is properly sorted.
103 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
106 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
109 ** certtool: bug fixes in certificate request generation. Patch
112 ** API and ABI modifications:
113 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
116 * Version 2.12.7 (released 2011-06-18)
118 ** p11tool: Require login as security officer if --trusted option is
119 provided. Reported by Rickard Bellgrim.
121 ** libgnutls: The CKA_SUBJECT field is specified when copying certificates
122 in PKCS #11 smart-cards. Patch by Rickard Bellgrim.
124 ** libgnutls: Write label when writing private keys in PKCS #11 tokens.
125 Reported by Rickard Bellgrim.
127 ** libgnutls: Accept CKR_USER_ALREADY_LOGGED_IN as a valid error code
128 when logging in to PKCS #11 tokens.
130 ** API and ABI modifications:
131 No changes since last version.
134 * Version 2.12.6 (released 2011-06-4)
136 ** libgnutls: Allow usage of DSA signatures with truncated hash.
137 Following: http://tools.ietf.org/html/draft-mavrogiannopoulos-tls-dss-00
139 ** libgnutls: Prevent the usage of write() and friends when no data
142 ** libgnutls: Correctly set compression method when resuming sessions.
143 Reported by Dash Shendy.
145 ** libgnutls: gnutls_pubkey_get_pk_dsa_raw() and gnutls_pubkey_get_pk_rsa_raw
146 add leading zeros to the exported values.
148 ** libgnutls: Added gnutls_global_set_time_function() to allow overriding the
149 default system time() function.
151 ** API and ABI modifications:
152 gnutls_global_set_time_function: ADDED
155 * Version 2.12.5 (released 2011-05-14)
157 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
160 ** libgnutls: PKCS #11 URLs conform to the latest draft
161 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
163 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
164 the public key algorithm of the key.
166 ** libgnutls: Added gnutls_x509_crq_verify() to allow
167 verification of the self signature in a certificate request.
168 This allows verifying whether the owner of the private key
169 is the generator of the request.
171 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
172 the self signature of the request.
174 ** API and ABI modifications:
175 gnutls_x509_crq_verify: ADDED
178 * Version 2.12.4 (released 2011-05-06)
180 ** libgnutls: Added gnutls_certificate_get_issuer() to
181 compensate for the deprecated gnutls_certificate_get_x509_cas().
183 ** libgnutls: Limited allowed wildcards to gnutls_x509_crt_check_hostname()
184 to prevent denial of service attacks. Reported by Kalle Olavi Niemitalo.
186 ** guile: Fix tests to match the `exit' behavior introduced in Guile 2.0.1.
187 This fix makes tests behave correctly wrt. to the Guile bug fix at
188 <http://git.sv.gnu.org/cgit/guile.git/commit/?id=e309f3bf9ee910c4772353ca3ff95f6f4ef466b5>.
190 ** API and ABI modifications:
191 gnutls_certificate_get_issuer: ADDED
194 * Version 2.12.3 (released 2011-04-22)
196 * libgnutls: Several minor bugfixes.
198 * libgnutls: Restored HMAC-MD5 for compatibility. Although considered
199 weak, several sites require it for connection. It is enabled for
200 "NORMAL" and "PERFORMANCE" priority strings.
202 * libgnutls: depend on libdl.
204 * libgnutls: gnutls_transport_set_global_errno() was deprecated.
205 Use your system's errno fascility or gnutls_transport_set_errno().
207 * gnutls-cli: Correction with usage of select to check for
208 pending data in gnutls sessions. It now uses gnutls_record_check_pending().
209 Reported by Herbert J. Skuhra.
211 * tests: More fixes and updates for win32. Patches by LRN.
213 * libgnutls: Several files unnecessarily included <gcrypt.h>; this has been fixed.
215 ** API and ABI modifications:
216 gnutls_transport_set_global_errno: DEPRECATED
219 * Version 2.12.2 (released 2011-04-08)
221 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
223 ** libgnutls: Several bug and memory leak fixes.
225 ** srptool: Accepts the -d option to enable debugging.
227 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
228 the allocation of a verifier. Reported by Andrew Wiseman.
230 ** API and ABI modifications:
231 No changes since last version.
234 * Version 2.12.1 (released 2011-04-02)
236 ** certtool: Generated certificate request with stricter permissions.
237 Reported by Luca Capello.
239 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
241 ** libgnutls: Corrected windows system_errno() function prototype.
243 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
245 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
246 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
248 ** API and ABI modifications:
249 No changes since last version.
252 * Version 2.12.0 (released 2011-03-24)
254 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
255 the incompatibility with TLS other than 1.2.
257 ** libgnutls: Modified signature algorithm selection in client
258 certificate request, to avoid failures in DSA certificates.
260 ** libgnutls: Instead of failing with internal error, return
261 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
262 key with the negotiated protocol is encountered.
264 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
266 ** libgnutls: Force state update when fork is detected in the nettle
269 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
270 subkey instead of setting explicitly one.
272 ** libgnutls: Corrected default behavior in record version of Client Hellos.
274 ** libgnutls-openssl: modified to use modern gnutls' functions.
275 This introduces an ABI incompatibility with previous versions.
277 ** API and ABI modifications:
278 gnutls_pubkey_import_openpgp: MODIFIED
281 * Version 2.11.7 (released 2011-03-09)
283 ** libgnutls: Corrected signature generation and verification
284 in the Certificate Verify message when in TLS 1.2. Reported
287 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
290 ** libgnutls: SRP and PSK are no longer set on the default priorities.
291 They have to be explicitly set.
293 ** libgnutls: During handshake message verification using DSS
294 use the hash algorithm required by it.
296 ** libgnutls: gnutls_x509_privkey_sign_hash() is deprecated.
297 Use gnutls_privkey_sign_hash() instead.
299 ** libgnutls: gnutls_transport_set_lowat() is deprecated. Support
300 for this functionality will be dropped in later versions.
302 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
303 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
304 gnutls_x509_crt_verify_hash return the negative error code
305 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
308 ** libgnutls: Added helper functions for signature verification:
309 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
311 ** libgnutls: Modified gnutls_privkey_sign_data().
313 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
314 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
315 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
316 deprecated for gnutls_x509_crl_privkey_sign(),
317 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
318 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
319 gnutls_pubkey_verify_data() respectively.
321 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
324 ** libgnutls: Added gnutls_transport_set_vec_push_function() that
325 can be used to specify a writev() like function. Using that gnutls
326 can provide more efficient writes to network layer in systems that
329 ** crypto.h: Fix use with C++.
330 Reported by "Brendan Doherty" <brendand@gentrack.com>.
332 ** API and ABI modifications:
333 gnutls_transport_set_vec_push_function: ADDED
334 gnutls_x509_crl_get_raw_issuer_dn: ADDED
335 gnutls_pubkey_import_privkey: ADDED
336 gnutls_pubkey_verify_data: ADDED
337 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
338 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
339 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
340 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
341 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
342 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
343 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
344 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data)
345 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash)
346 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
347 gnutls_psk_netconf_derive_key: DEPRECATED
348 gnutls_session_set_finished_function: DEPRECATED
349 gnutls_ext_register: DEPRECATED
350 gnutls_certificate_get_x509_crls: DEPRECATED
351 gnutls_certificate_get_x509_cas: DEPRECATED
352 gnutls_certificate_get_openpgp_keyring: DEPRECATED
353 gnutls_session_get_server_random: DEPRECATED
354 gnutls_session_get_client_random: DEPRECATED
355 gnutls_session_get_master_secret: DEPRECATED
356 gnutls_transport_set_lowat: DEPRECATED
357 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
358 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
359 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
360 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
361 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash)
362 gnutls_openpgp_privkey_decrypt_data: REMOVED (was added in 2.11.0)
363 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
364 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
365 gnutls_pkcs11_privkey_sign_data: REMOVED (was added in 2.11.0)
366 gnutls_x509_privkey_sign_data2: REMOVED (was added in 2.11.0)
368 * Version 2.11.6 (released 2010-12-06)
370 ** libgnutls: Record version of Client Hellos is now set by default to
371 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
374 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
375 This makes us comply with RFC3279. Reported by Michael Rommel.
377 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
379 ** API and ABI modifications:
380 No changes since last version.
382 * Version 2.11.5 (released 2010-12-01)
384 ** libgnutls: Reverted default behavior for verification and
385 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
386 V1 trusted CAs are allowed, unless the new flag is specified.
388 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
389 Reported by Jeffrey Walton.
391 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
392 as priority strings. Those allow to set all the supported algorithms
395 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
397 ** gnutls-cli: Print channel binding only in verbose mode.
398 Before it printed it after the 'Compression:' output, thus breaking
399 Emacs starttls.el string searches.
401 ** API and ABI modifications:
402 gnutls_pkcs11_token_init: New function
403 gnutls_pkcs11_token_set_pin: New function
405 * Version 2.11.4 (released 2010-10-15)
407 ** libgnutls: Add new API gnutls_session_channel_binding.
408 The function is used to get the channel binding data. Currently only
409 the "tls-unique" (RFC 5929) channel binding type is supported, through
410 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
413 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
415 ** doc: Added pkcs11.h header file to GTK-DOC manual.
417 ** build: Update gnulib files.
419 ** i18n: Update translations.
421 ** tests: Add self tests gendh.c. Speed up Guile self checks.
423 ** API and ABI modifications:
424 gnutls_session_channel_binding: New function.
425 gnutls_channel_binding_t: New enumeration.
426 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
427 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
429 * Version 2.11.3 (released 2010-10-14)
431 ** Indent code to follow the GNU Coding Standard.
432 You should be able to unpack the 2.11.2 release and run 'make indent'
433 twice to get exactly the same content as 2.11.3 except for generated
434 files. Using GNU Indent 2.2.11.
436 ** API and ABI modifications:
437 No changes since last version.
439 * Version 2.11.2 (released 2010-10-08)
441 ** libgnutls: Several bug fixes on session resumption
442 and session tickets support.
444 ** libgnutls: Add new extended key usage ipsecIKE.
446 ** certtool: Renamed PKCS #11 options to: --p11-provider,
447 --p11-export-url, --p11-list-certs, --p11-list-certs,
448 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
449 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
450 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
453 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
454 introduced with the new nettle code.
456 ** libgnutls: Corrected advertizing issue for session tickets.
458 ** API and ABI modifications:
459 gnutls_x509_crt_get_subject_unique_id: ADDED.
460 gnutls_x509_crt_get_issuer_unique_id: ADDED.
462 * Version 2.11.1 (released 2010-09-14)
464 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
465 to use the libgcrypt back end.
467 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
468 backend crypto library.
470 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
472 ** libgnutls: Several updates in the buffering internal interface.
474 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
475 tabs are being skipped.
477 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
479 ** libgnutls: The %COMPAT flag now allows larger records that violate the
482 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
483 system calls. Applications that depended on it being 1 should explicitly call
484 gnutls_transport_set_lowat().
486 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
487 to ECRYPT II recommendations. Mappings were moved to a single location
488 and DSA keys are handled differently (since DSA2 allows for 1024,2048
491 ** libgnutls: gnutls_x509_privkey_import() will fallback to
492 gnutls_x509_privkey_import_pkcs8() without a password, if it
493 is unable to decode the key.
495 ** libgnutls: HMAC-MD5 no longer used by default.
497 ** API and ABI modifications:
498 gnutls_openpgp_privkey_sec_param: ADDED
499 gnutls_x509_privkey_sec_param: ADDED
501 * Version 2.11.0 (released 2010-07-22)
503 ** libgnutls: support scattered write using writev(). This takes
504 advantage of the new buffering layer and allows queuing of packets
505 and flushing them. This is currently used for handshake messages
508 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
509 alternative locking procedures. By default the system available
510 locking is used. In *NIX pthreads are used and in windows the
511 critical section API. This follows a different approach than the
512 previous versions that depended on libgcrypt initialization. The
513 locks are now set by default in systems that support it. Programs
514 that used gcry_control() to set thread locks should insert it into
516 #if GNUTLS_VERSION_NUMBER <= 0x020b00
520 ** libgnutls: Added support for reading DN from EV-certificates.
522 jurisdictionOfIncorporationLocalityName,
523 jurisdictionOfIncorporationStateOrProvinceName,
524 jurisdictionOfIncorporationCountryName
526 ** libgnutls: Added support for DSA signing/verifying with bit
529 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
530 has to be called to register any required md5 handlers.
532 ** libgnutls: Internal buffering code was replaced by simpler
533 code contributed by Jonathan Bastien-Filiatrault.
535 ** libgnutls: Internal API for extensions augmented to allow
536 safe storing and loading of data on resumption. This allows writing
537 self-contained extensions (when possible). As a side effect
538 the OPRFI extension was removed.
540 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
542 ** libgnutls: Added PKCS #11 support and an API to access objects in
543 gnutls/pkcs11.h. Currently certificates and public keys can be
544 imported from tokens, and operations can be performed on private keys.
546 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
548 ** libgnutls: Added initial support for the nettle library. It uses
549 the system's random generator for seeding. That is /dev/urandom in Linux,
550 system calls in Win32 and EGD on other systems.
552 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
553 works even when resuming a session.
555 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
556 similar gnutls_certificate_set_server_retrieve_function() and
557 gnutls_certificate_set_client_retrieve_function(). In addition it support
558 PKCS #11 private keys.
560 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
561 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
563 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
564 sizes for private keys using a human understandable scale.
566 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
567 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
568 --pkcs11-delete-url, --pkcs11-write
570 certtool: The --pkcs-cipher is taken into account when generating a
571 private key. The default cipher used now is aes-128. The old behavior can
572 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
574 certtool: Added --certificate-pubkey to print the public key of the
577 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
578 can now accept a PKCS #11 URL in addition to a file. This will allow for
579 example to use the Gnome-keyring trusted certificate list to verify
580 connections using a url such as:
581 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
583 ** API and ABI modifications:
584 gnutls_certificate_set_server_retrieve_function: DEPRECATED
585 gnutls_certificate_set_client_retrieve_function: DEPRECATED
586 gnutls_sign_callback_set: DEPRECATED
587 gnutls_global_set_mutex: ADDED
588 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
589 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
590 gnutls_x509_privkey_export_rsa_raw2: ADDED
592 gnutls_sec_param_to_pk_bits: ADDED
593 gnutls_pk_bits_to_sec_param: ADDED
594 gnutls_sec_param_get_name: ADDED
595 gnutls_pkcs11_type_get_name: ADDED
596 gnutls_certificate_set_retrieve_function: ADDED
597 gnutls_pkcs11_init: ADDED
598 gnutls_pkcs11_deinit: ADDED
599 gnutls_pkcs11_set_pin_function: ADDED
600 gnutls_pkcs11_set_token_function: ADDED
601 gnutls_pkcs11_add_provider: ADDED
602 gnutls_pkcs11_obj_init: ADDED
603 gnutls_pkcs11_obj_import_url: ADDED
604 gnutls_pkcs11_obj_export_url: ADDED
605 gnutls_pkcs11_obj_deinit: ADDED
606 gnutls_pkcs11_obj_export: ADDED
607 gnutls_pkcs11_obj_list_import_url: ADDED
608 gnutls_pkcs11_obj_export: ADDED
609 gnutls_x509_crt_import_pkcs11: ADDED
610 gnutls_pkcs11_obj_get_type: ADDED
611 gnutls_x509_crt_list_import_pkcs11: ADDED
612 gnutls_x509_crt_import_pkcs11_url: ADDED
613 gnutls_pkcs11_obj_get_info: ADDED
614 gnutls_pkcs11_token_get_info: ADDED
615 gnutls_pkcs11_token_get_url: ADDED
616 gnutls_pkcs11_privkey_init: ADDED
617 gnutls_pkcs11_privkey_deinit: ADDED
618 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
619 gnutls_pkcs11_privkey_get_info: ADDED
620 gnutls_pkcs11_privkey_import_url: ADDED
621 gnutls_pkcs11_privkey_sign_data: ADDED
622 gnutls_pkcs11_privkey_sign_hash: ADDED
623 gnutls_pkcs11_privkey_decrypt_data: ADDED
624 gnutls_privkey_init: ADDED
625 gnutls_privkey_deinit: ADDED
626 gnutls_privkey_get_pk_algorithm: ADDED
627 gnutls_privkey_get_type: ADDED
628 gnutls_privkey_import_pkcs11: ADDED
629 gnutls_privkey_import_x509: ADDED
630 gnutls_privkey_import_openpgp: ADDED
631 gnutls_privkey_sign_data: ADDED
632 gnutls_privkey_sign_hash: ADDED
633 gnutls_privkey_decrypt_data: ADDED
634 gnutls_pkcs11_privkey_export_url: ADDED
635 gnutls_x509_crq_privkey_sign: ADDED
636 gnutls_x509_crl_privkey_sign: ADDED
637 gnutls_x509_crt_privkey_sign: ADDED
638 gnutls_pubkey_init: ADDED
639 gnutls_pubkey_deinit: ADDED
640 gnutls_pubkey_get_pk_algorithm: ADDED
641 gnutls_pubkey_import_x509: ADDED
642 gnutls_pubkey_import_openpgp: ADDED
643 gnutls_pubkey_get_pk_rsa_raw: ADDED
644 gnutls_pubkey_get_pk_dsa_raw: ADDED
645 gnutls_pubkey_export: ADDED
646 gnutls_pubkey_get_key_id: ADDED
647 gnutls_pubkey_get_key_usage: ADDED
648 gnutls_pubkey_verify_hash: ADDED
649 gnutls_pubkey_get_verify_algorithm: ADDED
650 gnutls_pkcs11_type_get_name: ADDED
651 gnutls_pubkey_import_pkcs11_url: ADDED
652 gnutls_pubkey_import: ADDED
653 gnutls_pubkey_import_pkcs11: ADDED
654 gnutls_pubkey_import_dsa_raw: ADDED
655 gnutls_pubkey_import_rsa_raw: ADDED
656 gnutls_x509_crt_set_pubkey: ADDED
657 gnutls_x509_crq_set_pubkey: ADDED
658 gnutls_pkcs11_copy_x509_crt: ADDED
659 gnutls_pkcs11_copy_x509_privkey: ADDED
660 gnutls_pkcs11_delete_url: ADDED
662 * Version 2.10.1 (released 2010-07-25)
664 ** libgnutls: Added support for broken certificates that indicate RSA
667 ** gnutls-cli: Allow verification using V1 CAs.
669 ** libgnutls: gnutls_x509_privkey_import() will fallback to
670 gnutls_x509_privkey_import_pkcs8() without a password, if it
671 is unable to decode the key.
673 ** libgnutls: Correctly deinitialize crypto API functions to prevent
674 a memory leak. Reported by Mads Kiilerich.
676 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
677 issue a warning, that the output key might not be working everywhere.
679 ** certtool: The --pkcs-cipher is taken into account when generating a
680 private key. The default cipher used now is aes-128. The old behavior
681 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
683 ** API and ABI modifications:
684 No changes since last version.
686 * Version 2.10.0 (released 2010-06-25)
688 ** API and ABI modifications:
689 No changes since last version.
691 * Version 2.9.12 (released 2010-06-17)
693 ** gnutls-cli: Make --starttls work again.
694 Problem introduced in patch to use read() instead of fgets() committed
697 ** API and ABI modifications:
698 No changes since last version.
700 * Version 2.9.11 (released 2010-06-07)
702 ** libgnutls: Removed two APIs related to safe renegotiation.
703 Use priority strings instead. The APIs were
704 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
705 (Remember that we don't promise ABI stability during development
706 series, so this doesn't cause an shared library ABI increment.)
708 ** tests: More self testing of safe renegotiation extension.
709 See tests/safe-renegotiation/README for more information.
711 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
713 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
715 ** API and ABI modifications:
716 gnutls_safe_negotiation_set_initial: REMOVED.
717 gnutls_safe_renegotiation_set: REMOVED.
719 * Version 2.9.10 (released 2010-04-22)
721 ** libgnutls: Time verification extended to trusted certificate list.
722 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
725 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
726 Based on patch by Pavan Konjarla. Adds new constant
727 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
729 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
730 Solves the issue discussed in:
731 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
732 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
733 Note that to allow connecting to unpatched servers the full protection
734 is only enabled if the priority string %SAFE_RENEGOTIATION is
735 specified. You can check whether protection is in place by querying
736 gnutls_safe_renegotiation_status(). New error codes
737 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
738 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
740 ** libgnutls: When checking openpgp self signature also check the signatures
742 Ilari Liusvaara noticed and reported the issue and provided test
745 ** libgnutls: Added cryptodev support (/dev/crypto).
746 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
747 benchmark utility for AES. Adds new error codes
748 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
750 ** libgnutls: Exported API to access encryption and hash algorithms.
751 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
752 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
753 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
754 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
755 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
756 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
757 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
759 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
760 verification of certificate upon receipt rather than waiting until the
761 end of the handshake.
763 ** libgnutls: Don't send alerts during handshake.
764 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
766 ** certtool: Corrected two issues that affected certificate request generation.
767 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
768 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
769 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
770 those parameters there since other implementations don't do either and having
771 them does not seem to offer anything (anyway you need the signer's certificate
772 to verify thus public key will be available). Found thanks to Boyan Kasarov.
773 This however has the side-effect that public key IDs shown by certtool are
774 now different than previous gnutls releases.
775 (3) the option --pgp-certificate-info will verify self signatures
777 ** certtool: Allow exporting of Certificate requests on DER format.
779 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
781 ** gnutls-cli: Handle reading binary data from server.
782 Reported by and tiny patch from Vitaly Mayatskikh
783 <v.mayatskih@gmail.com> in
784 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
786 ** minitasn1: Upgraded to libtasn1 version 2.6.
788 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
789 ** Added Italian and Simplified Chinese translation.
790 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
791 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
793 ** doc: The GTK-DOC manual is significantly improved.
795 ** API and ABI modifications:
796 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
797 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
798 %UNSAFE_RENEGOTIATION: Added to priority strings.
799 GNUTLS_DIG_SHA224: ADDED.
800 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
801 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
802 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
803 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
804 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
805 GNUTLS_MAC_SHA224: ADDED.
806 GNUTLS_OID_X520_NAME: ADDED.
807 GNUTLS_OID_X520_POSTALCODE: ADDED.
808 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
809 GNUTLS_VERSION_MAX: ADDED.
810 gnutls_certificate_set_verify_function: ADDED.
811 gnutls_cipher_decrypt: ADDED.
812 gnutls_cipher_deinit: ADDED.
813 gnutls_cipher_encrypt: ADDED.
814 gnutls_cipher_get_block_size: ADDED.
815 gnutls_cipher_init: ADDED.
817 gnutls_hash_deinit: ADDED.
818 gnutls_hash_fast: ADDED.
819 gnutls_hash_get_len: ADDED.
820 gnutls_hash_init: ADDED.
821 gnutls_hash_output: ADDED.
823 gnutls_hmac_deinit: ADDED.
824 gnutls_hmac_fast: ADDED.
825 gnutls_hmac_get_len: ADDED.
826 gnutls_hmac_init: ADDED.
827 gnutls_hmac_output: ADDED.
828 gnutls_safe_negotiation_set_initial: ADDED.
829 gnutls_safe_renegotiation_set: ADDED.
830 gnutls_safe_renegotiation_status: ADDED.
832 * Version 2.9.9 (released 2009-11-09)
834 ** libgnutls: Cleanups and several bug fixes.
835 Found by Steve Grubb and Tomas Mraz.
837 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
839 ** Fix --disable-valgrind-tests.
840 Reported by Ingmar Vanhassel in
841 <https://savannah.gnu.org/support/?107029>.
843 ** API and ABI modifications:
844 No changes since last version.
846 * Version 2.9.8 (released 2009-11-05)
848 ** libgnutls: Fix for memory leaks on interrupted handshake.
849 Reported by Tang Tong.
851 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
852 ** extension and certificate verify field.
853 This requires changes for TLS 1.2 servers and clients that use
854 callbacks for certificate retrieval. They are now required to check
855 with gnutls_sign_algorithm_get_requested() whether the certificate
856 they send complies with the peer's preferences in signature
859 ** libgnutls: In server side when resuming a session do not overwrite the
860 ** initial session data with the resumed session data.
862 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
864 This affects also PKCS #12 encoded files. This adds the following new
865 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
866 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
868 ** libgnutls: Fix PKCS#12 encoding.
869 The error you would get was "The OID is not supported.". Problem
870 introduced for the v2.8.x branch in 2.7.6.
872 ** certtool: Added the --pkcs-cipher option.
873 To explicitely specify the encryption algorithm to use.
875 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
877 ** tests: Fix time bomb in chainverify self-test.
878 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
879 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
881 ** tests: Fix expired cert in chainverify self-test.
883 ** i18n: Vietnamese translation updated.
884 Thanks to Clytie Siddall.
886 ** API and ABI modifications:
887 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
888 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
889 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
890 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
891 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
892 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
893 gnutls_sign_algorithm_get_requested: ADDED.
895 * Version 2.9.7 (released 2009-10-06)
897 ** libgnutls: TLS 1.2 server mode fixes.
898 Now interoperates against Opera. Contributed by Daiki Ueno.
900 ** libgnutlsxx: Fix link problems.
901 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
903 ** guile: Compatibility with guile 2.x.
904 By Ludovic Courtes <ludovic.courtes@laas.fr>.
906 ** API and ABI modifications:
907 No changes since last version.
909 * Version 2.9.6 (released 2009-09-22)
911 ** libgnutls: Enable Camellia ciphers by default.
913 ** API and ABI modifications:
914 No changes since last version.
916 * Version 2.9.5 (released 2009-09-10)
918 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
919 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
920 gnutls_x509_crt_get_issuer_alt_name, and
921 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
922 Hards <bradh@frogmouth.net>.
924 ** API and ABI modifications:
925 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
926 gnutls_x509_crt_get_issuer_alt_name: ADDED.
927 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
929 * Version 2.9.4 (released 2009-09-03)
931 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
932 The new supported ciphersuites are AES-128/256 in CBC mode with
933 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
934 SHA-256 is now the preferred default MAC (however it is only used with
937 ** libgnutls: Make OpenPGP hostname checking work again.
938 The patch to resolve the X.509 CN/SAN issue accidentally broken
939 OpenPGP hostname comparison.
941 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
942 Reported by Howard Chu <hyc@symas.com> in
943 <https://savannah.gnu.org/support/?106975>.
945 ** Fix use of deprecated types internally.
946 Use of deprecated types in GnuTLS from now on will lead to a compile
947 error, to prevent this from happening again.
949 ** API and ABI modifications:
950 No changes since last version.
952 * Version 2.9.3 (released 2009-08-19)
954 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
955 The new APIs are gnutls_session_ticket_enable_client,
956 gnutls_session_ticket_enable_server, and
957 gnutls_session_ticket_key_generate.
959 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
961 ** API and ABI modifications:
962 gnutls_session_ticket_key_generate: ADDED.
963 gnutls_session_ticket_enable_client: ADDED.
964 gnutls_session_ticket_enable_server: ADDED.
966 * Version 2.9.2 (released 2009-08-14)
968 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
969 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
970 into 1) not printing the entire CN/SAN field value when printing a
971 certificate and 2) cause incorrect positive matches when matching a
972 hostname against a certificate. Some CAs apparently have poor
973 checking of CN/SAN values and issue these (arguable invalid)
974 certificates. Combined, this can be used by attackers to become a
975 MITM on server-authenticated TLS sessions. The problem is mitigated
976 since attackers needs to get one certificate per site they want to
977 attack, and the attacker reveals his tracks by applying for a
978 certificate at the CA. It does not apply to client authenticated TLS
979 sessions. Research presented independently by Dan Kaminsky and Moxie
980 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
981 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
983 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
984 The function may fail incorrectly when an earlier certificate was
985 imported to the same gnutls_x509_crt_t structure.
987 ** minitasn1: Internal copy updated to libtasn1 v2.3.
989 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
990 Before it always returned false. Reported by Peter Hendrickson
991 <pdh@wiredyne.com> in
992 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
994 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
995 The error resulted in truncated strings when printing unknown OIDs in
996 X.509 certificate DNs. Reported by Tim Kosse
997 <tim.kosse@filezilla-project.org> in
998 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1000 ** libgnutls: Fix PKCS#12 decryption from password.
1001 The encryption key derived from the password was incorrect for (on
1002 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
1003 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1004 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1006 ** libgnutls: Return correct bit lengths of some MPIs.
1007 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1008 gnutls_dh_get_peers_public_bits. Before the reported value was
1009 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
1010 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1012 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1013 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1014 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1016 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1018 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1019 Before we required that the runtime library used the same (or more
1020 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
1021 that the runtime usage is above the minimum required. Reported by
1022 Marco d'Itri <md@linux.it> via Andreas Metzler
1023 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1025 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
1027 ** tests: Improved test vectors in self-test pkcs12_s2k.
1029 ** tests: Added new self-test dn2 to detect off-by-one size error.
1031 ** tests: Fix failure in "chainverify" because a certificate have expired.
1033 ** API and ABI modifications:
1034 No changes since last version.
1036 * Version 2.9.1 (released 2009-06-08)
1038 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1039 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1040 <http://bugs.gentoo.org/272388>.
1042 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
1044 ** Reduce stack usage for some CRQ functions.
1046 ** Doc fixes for CRQ functions.
1048 ** API and ABI modifications:
1049 No changes since last version.
1051 * Version 2.9.0 (released 2009-05-28)
1055 ** API and ABI modifications:
1056 No changes since last version.
1058 * Version 2.8.6 (released 2010-03-15)
1060 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
1061 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
1062 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1064 Note: As a side effect of this change, the "public key identifier"
1065 value computed for a certificate using this version of GnuTLS will be
1066 different from values computed using earlier versions of GnuTLS.
1068 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
1069 ** optional SignatureAlgorithm parameter field.
1070 VeriSign rejected these CSRs. They are stricly speaking not needed
1071 since you need the signer's certificate to verify the certificate
1072 signature anyway. Reported by Wilankar Trupti
1073 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
1075 ** libgnutls: When checking openpgp self signature also check the signatures
1077 Ilari Liusvaara noticed and reported the issue and provided test
1080 ** libgnutls: Cleanups and several bug fixes.
1081 Found by Steve Grubb and Tomas Mraz.
1083 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
1085 ** Fix --disable-valgrind-tests.
1086 Reported by Ingmar Vanhassel in
1087 <https://savannah.gnu.org/support/?107029>.
1089 ** examples: Use the new APIs for printing X.509 certificate information.
1091 ** Fix build failures on Solaris.
1092 Thanks to Dagobert Michelsen <dam@opencsw.org>.
1094 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
1095 ** translations. Added Simplified Chinese translation.
1097 ** API and ABI modifications:
1098 No changes since last version.
1100 * Version 2.8.5 (released 2009-11-02)
1102 ** libgnutls: In server side when resuming a session do not overwrite the
1103 ** initial session data with the resumed session data.
1105 ** libgnutls: Fix PKCS#12 encoding.
1106 The error you would get was "The OID is not supported.". Problem
1107 introduced for the v2.8.x branch in 2.7.6.
1109 ** guile: Compatibility with guile 2.x.
1110 By Ludovic Courtes <ludovic.courtes@laas.fr>.
1112 ** tests: Fix expired cert in chainverify self-test.
1114 ** tests: Fix time bomb in chainverify self-test.
1115 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1116 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
1118 ** API and ABI modifications:
1119 No changes since last version.
1121 * Version 2.8.4 (released 2009-09-18)
1123 ** libgnutls: Enable Camellia ciphers by default.
1125 ** libgnutls: Make OpenPGP hostname checking work again.
1126 The patch to resolve the X.509 CN/SAN issue accidentally broken
1127 OpenPGP hostname comparison.
1129 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
1130 Reported by Howard Chu <hyc@symas.com> in
1131 <https://savannah.gnu.org/support/?106975>.
1133 ** API and ABI modifications:
1134 No changes since last version.
1136 * Version 2.8.3 (released 2009-08-13)
1138 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
1139 Code intended to be removed would lead to an read-out-bound error in
1140 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
1141 code have been allocated for the vulnerability: [CVE-2009-2730].
1143 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
1144 The function may fail incorrectly when an earlier certificate was
1145 imported to the same gnutls_x509_crt_t structure.
1147 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
1149 ** tests: Made self-test mini-eagain take less time.
1153 ** API and ABI modifications:
1154 No changes since last version.
1156 * Version 2.8.2 (released 2009-08-10)
1158 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
1159 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
1160 into 1) not printing the entire CN/SAN field value when printing a
1161 certificate and 2) cause incorrect positive matches when matching a
1162 hostname against a certificate. Some CAs apparently have poor
1163 checking of CN/SAN values and issue these (arguable invalid)
1164 certificates. Combined, this can be used by attackers to become a
1165 MITM on server-authenticated TLS sessions. The problem is mitigated
1166 since attackers needs to get one certificate per site they want to
1167 attack, and the attacker reveals his tracks by applying for a
1168 certificate at the CA. It does not apply to client authenticated TLS
1169 sessions. Research presented independently by Dan Kaminsky and Moxie
1170 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
1171 for providing one part of the patch. [GNUTLS-SA-2009-4].
1173 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
1174 Before it always returned false. Reported by Peter Hendrickson
1175 <pdh@wiredyne.com> in
1176 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
1178 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
1179 The error resulted in truncated strings when printing unknown OIDs in
1180 X.509 certificate DNs. Reported by Tim Kosse
1181 <tim.kosse@filezilla-project.org> in
1182 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
1184 ** libgnutls: Return correct bit lengths of some MPIs.
1185 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
1186 gnutls_dh_get_peers_public_bits. Before the reported value was
1187 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
1188 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
1190 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
1191 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
1192 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
1194 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
1196 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
1197 Before we required that the runtime library used the same (or more
1198 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
1199 that the runtime usage is above the minimum required. Reported by
1200 Marco d'Itri <md@linux.it> via Andreas Metzler
1201 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
1203 ** minitasn1: Internal copy updated to libtasn1 v2.3.
1205 ** tests: Fix failure in "chainverify" because a certificate have expired.
1207 ** API and ABI modifications:
1208 No changes since last version.
1210 * Version 2.8.1 (released 2009-06-10)
1212 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
1213 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
1214 <http://bugs.gentoo.org/272388>.
1216 ** libgnutls: Fix PKCS#12 decryption from password.
1217 The encryption key derived from the password was incorrect for (on
1218 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
1219 Tomas" <tomas.kukosa@siemens-enterprise.com> in
1220 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
1222 ** API and ABI modifications:
1223 No changes since last version.
1225 * Version 2.8.0 (released 2009-05-27)
1227 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
1229 ** Major changes compared to the v2.4 branch:
1231 *** lib: Linker version scripts reduces number of exported symbols.
1233 *** lib: Limit exported symbols on systems without LD linker scripts.
1235 *** libgnutls: Fix namespace issue with version symbols.
1237 *** libgnutls: Add functions to verify a hash against a certificate.
1238 gnutls_x509_crt_verify_hash: ADDED
1239 gnutls_x509_crt_get_verify_algorithm: ADDED
1241 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1243 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1245 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1247 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1249 *** gnutls-serv: No longer disable MAC padding by default.
1251 *** gnutls-cli: Certificate information output format changed.
1253 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1254 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1256 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1258 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1260 *** libgnutls: gnutls_handshake when sending client hello during a
1261 rehandshake, will not offer a version number larger than the current.
1263 *** libgnutls: New interface to get key id for certificate requests.
1264 gnutls_x509_crq_get_key_id: ADDED.
1266 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
1268 *** certtool: --verify-chain now prints results of using library verification.
1270 *** libgnutls: Libgcrypt initialization changed.
1272 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1274 *** gnutls-cli: Return non-zero exit code on error conditions.
1276 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1278 *** certtool: allow setting arbitrary key purpose object identifiers.
1280 *** libgnutls: Change detection of when to use a linker version script.
1281 Use --enable-ld-version-script or --disable-ld-version-script to
1282 override auto-detection logic.
1284 *** Fix warnings and build GnuTLS with more warnings enabled.
1286 *** New API to set X.509 credentials from PKCS#12 memory structure.
1287 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1289 *** Old libgnutls.m4 and libgnutls-config scripts removed.
1290 Please use pkg-config instead.
1292 *** libgnutls: Added functions to handle CRL extensions.
1293 gnutls_x509_crl_get_authority_key_id: ADDED
1294 gnutls_x509_crl_get_number: ADDED
1295 gnutls_x509_crl_get_extension_oid: ADDED
1296 gnutls_x509_crl_get_extension_info: ADDED
1297 gnutls_x509_crl_get_extension_data: ADDED
1298 gnutls_x509_crl_set_authority_key_id: ADDED
1299 gnutls_x509_crl_set_number: ADDED
1301 *** libgnutls: Added functions to handle X.509 extensions in Certificate
1303 gnutls_x509_crq_get_key_rsa_raw: ADDED
1304 gnutls_x509_crq_get_attribute_info: ADDED
1305 gnutls_x509_crq_get_attribute_data: ADDED
1306 gnutls_x509_crq_get_extension_info: ADDED
1307 gnutls_x509_crq_get_extension_data: ADDED
1308 gnutls_x509_crq_get_key_usage: ADDED
1309 gnutls_x509_crq_get_basic_constraints: ADDED
1310 gnutls_x509_crq_get_subject_alt_name: ADDED
1311 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1312 gnutls_x509_crq_get_extension_by_oid: ADDED
1313 gnutls_x509_crq_set_subject_alt_name: ADDED
1314 gnutls_x509_crq_set_basic_constraints: ADDED
1315 gnutls_x509_crq_set_key_usage: ADDED
1316 gnutls_x509_crq_get_key_purpose_oid: ADDED
1317 gnutls_x509_crq_set_key_purpose_oid: ADDED
1318 gnutls_x509_crq_print: ADDED
1319 gnutls_x509_crt_set_crq_extensions: ADDED
1321 *** certtool: Print and set CRL and CRQ extensions.
1323 *** minitasn1: Internal copy updated to libtasn1 v2.1.
1325 *** examples: Now released into the public domain.
1327 *** The Texinfo and GTK-DOC manuals were improved.
1329 *** Several self-tests were added and others improved.
1331 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
1332 No offically supported interfaces have been modified or removed. The
1333 library should be completely backwards compatible on both the source
1336 The shared library no longer exports some symbols that have never been
1337 officially supported, i.e., not mentioned in any of the header files.
1343 Normally when symbols are removed, the shared library version has to
1344 be incremented. This leads to a significant cost for everyone using
1345 the library. Because none of the above symbols have ever been
1346 intended for use by well-behaved applications, we decided that the it
1347 would be better for those applications to pay the price rather than
1348 incurring problems on the majority of applications.
1350 If it turns out that applications have been using unofficial
1351 interfaces, we will need to release a follow-on release on the v2.8
1352 branch to exports additional interfaces. However, initial testing
1353 suggests that few if any applications have been using any of the
1356 Although not a new change compared to 2.6.x, we'd like to remind you
1357 interfaces have been modified so that X.509 chain verification now
1358 also checks activation/expiration times on certificates. The affected
1361 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1362 gnutls_certificate_verify_peers: Likewise.
1363 gnutls_certificate_verify_peers2: Likewise.
1364 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1365 GNUTLS_CERT_EXPIRED: ADDED.
1366 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1368 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
1369 we gave our rationale for it in earlier release notes.
1371 The following symbols have been added to the library:
1373 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1374 gnutls_x509_crl_get_authority_key_id: ADDED
1375 gnutls_x509_crl_get_extension_data: ADDED
1376 gnutls_x509_crl_get_extension_info: ADDED
1377 gnutls_x509_crl_get_extension_oid: ADDED
1378 gnutls_x509_crl_get_number: ADDED
1379 gnutls_x509_crl_set_authority_key_id: ADDED
1380 gnutls_x509_crl_set_number: ADDED
1381 gnutls_x509_crq_get_attribute_data: ADDED
1382 gnutls_x509_crq_get_attribute_info: ADDED
1383 gnutls_x509_crq_get_basic_constraints: ADDED
1384 gnutls_x509_crq_get_extension_by_oid: ADDED
1385 gnutls_x509_crq_get_extension_data: ADDED
1386 gnutls_x509_crq_get_extension_info: ADDED
1387 gnutls_x509_crq_get_key_id: ADDED.
1388 gnutls_x509_crq_get_key_purpose_oid: ADDED
1389 gnutls_x509_crq_get_key_rsa_raw: ADDED
1390 gnutls_x509_crq_get_key_usage: ADDED
1391 gnutls_x509_crq_get_subject_alt_name: ADDED
1392 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1393 gnutls_x509_crq_print: ADDED
1394 gnutls_x509_crq_set_basic_constraints: ADDED
1395 gnutls_x509_crq_set_key_purpose_oid: ADDED
1396 gnutls_x509_crq_set_key_usage: ADDED
1397 gnutls_x509_crq_set_subject_alt_name: ADDED
1398 gnutls_x509_crt_get_verify_algorithm: ADDED
1399 gnutls_x509_crt_set_crq_extensions: ADDED
1400 gnutls_x509_crt_verify_hash: ADDED
1402 The following interfaces have been added to the header files:
1404 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1405 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1406 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1407 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1408 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1409 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
1411 The following interfaces have been deprecated:
1413 LIBGNUTLS_VERSION: DEPRECATED.
1414 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1415 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1416 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1417 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1418 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
1420 * Version 2.7.14 (released 2009-05-26)
1422 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
1423 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
1424 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
1427 ** Doc: Several typo fixes in documentation.
1428 Reported by Peter Hendrickson <pdh@wiredyne.com>.
1430 ** API and ABI modifications:
1431 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
1432 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
1434 * Version 2.7.13 (released 2009-05-25)
1436 ** libgnutls: Fix version of some exported symbols in the shared library.
1437 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1438 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
1440 ** tests: Handle recently expired certificates in chainverify self-test.
1441 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1442 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
1444 ** API and ABI modifications:
1445 No changes since last version.
1447 * Version 2.7.12 (released 2009-05-20)
1449 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
1451 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
1452 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1453 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
1455 ** Fix build failures.
1456 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
1457 G. Christensen" <tgc@jupiterrise.com> in
1458 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
1460 ** minitasn1: Internal copy updated to libtasn1 v2.2.
1461 GnuTLS should work fine with libtasn1 v1.x and that is still
1464 ** API and ABI modifications:
1465 No changes since last version.
1467 * Version 2.7.11 (released 2009-05-18)
1469 ** minitasn1: Fix build failure when using internal libtasn1.
1470 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1471 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
1473 ** libgnutls: Fix build failure with --disable-cxx.
1474 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1475 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
1477 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
1478 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1479 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
1481 ** Building with many warning flags now requires --enable-gcc-warnings.
1482 This avoids crying wolf for normal compiles.
1484 ** API and ABI modifications:
1485 No changes since last version.
1487 * Version 2.7.10 (released 2009-05-13)
1489 ** examples: Now released into the public domain.
1490 This makes the license of the example code compatible with more
1491 licenses, including the (L)GPL.
1493 ** minitasn1: Internal copy updated to libtasn1 v2.1.
1494 GnuTLS should work fine with libtasn1 v1.x and that is still
1497 ** libgnutls: Fix crash in signature verification
1498 The fix for the CVE-2009-1415 problem wasn't merged completely.
1500 ** doc: Fixes for GTK-DOC output.
1502 ** API and ABI modifications:
1503 No changes since last version.
1505 * Version 2.7.9 (released 2009-05-11)
1507 ** doc: Fix strings in man page of gnutls_priority_init.
1509 ** doc: Fix tables of error codes and supported algorithms.
1511 ** Fix build failure when cross-compiled using MinGW.
1513 ** Fix build failure when LZO is enabled.
1514 Reported by Arfrever Frehtes Taifersar Arahesis
1515 <arfrever.fta@gmail.com> in
1516 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
1518 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
1519 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
1520 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
1522 ** Fix warnings in self-tests.
1524 ** API and ABI modifications:
1525 No changes since last version.
1527 * Version 2.7.8 (released 2009-05-03)
1529 ** libgnutls: Fix DSA key generation.
1530 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
1532 ** libgnutls: Check expiration/activation time on untrusted certificates.
1533 Merged from stable branch. Reported by Romain Francoise
1534 <romain@orebokech.com>. This changes the semantics of
1535 gnutls_x509_crt_list_verify, which in turn is used by
1536 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
1537 We add two new gnutls_certificate_status_t codes for reporting the new
1538 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
1539 We also add a new gnutls_certificate_verify_flags flag,
1540 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1541 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
1543 ** lib: Linker version scripts reduces number of exported symbols.
1544 The linker version script now lists all exported ABIs explicitly, to
1545 avoid accidentally exporting unintended functions. Compared to
1546 before, most symbols beginning with _gnutls* are no longer exported.
1547 These functions have never been intended for use by applications, and
1548 there were no prototypes for these function in the public header
1549 files. Thus we believe it is possible to do this without incrementing
1550 the library ABI version which normally has to be done when removing an
1553 ** lib: Limit exported symbols on systems without LD linker scripts.
1554 Before all symbols were exported. Now we limit the exported symbols
1555 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
1556 _gnutls*. This is a superset of the actual supported ABI, but still
1557 an improvement compared to before. This is implemented using Libtool
1558 -export-symbols-regex. It is more portable than linker version
1561 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
1562 This should have been done in the last release.
1564 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1565 Reported by Peter Hendrickson <pdh@wiredyne.com> in
1566 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
1568 ** doc: Improved sections for the info manual.
1569 We now follow the advice given by the texinfo manual on which
1570 directory categories to use. In particular, libgnutls moved from the
1571 'GNU Libraries' section to the 'Software libraries' and the command
1572 line tools moved from 'Network Applications' to 'System
1575 ** API and ABI modifications:
1576 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1577 gnutls_certificate_verify_peers: Likewise.
1578 gnutls_certificate_verify_peers2: Likewise.
1579 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1580 GNUTLS_CERT_EXPIRED: ADDED.
1581 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1583 * Version 2.7.7 (released 2009-04-20)
1585 ** libgnutls: Applied patch by Cedric Bail to add functions
1586 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
1588 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
1589 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1590 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
1592 ** minitasn1: Internal copy updated to libtasn1 v1.8.
1593 GnuTLS is also internally ready to be used with libtasn1 v2.0.
1595 ** doc: Fix build failure of errcodes/printlist.
1596 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1597 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
1599 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1600 It is currently only used by the core library. This will enable a new
1601 domain 'gnutls' for translations of the command line tools.
1603 ** Corrected possible memory corruption on signature verification failure.
1604 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
1606 ** API and ABI modifications:
1607 gnutls_x509_crt_verify_hash: ADDED
1608 gnutls_x509_crt_get_verify_algorithm: ADDED
1610 * Version 2.7.6 (released 2009-02-27)
1612 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1613 This applies both to generating certificates and certificate requests.
1615 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
1617 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1618 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
1619 be used for chain verification.
1621 ** gnutls-serv: No longer disable MAC padding by default.
1622 Use --priority NORMAL:%COMPAT to disable MAC padding again.
1624 ** gnutls-cli: Certificate information output format changed.
1625 The tool now uses libgnutls' functions to print certificate
1626 information. This avoids code duplication.
1628 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1629 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1630 They can be used to override the default certificate chain validation
1633 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1634 specify the client hello message record version. Used to overcome buggy
1635 TLS servers. Report by Martin von Gagern.
1637 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1639 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1641 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
1643 ** API and ABI modifications:
1644 No changes since last version.
1646 * Version 2.7.5 (released 2009-02-06)
1648 ** libgnutls: Accept chains where intermediary certs are trusted.
1649 Before GnuTLS needed to validate the entire chain back to a
1650 self-signed certificate. GnuTLS will now stop looking when it has
1651 found an intermediary trusted certificate. The new behaviour is
1652 useful when chains, for example, contains a top-level CA, an
1653 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1654 To avoid chain validation errors due to the RSA-MD5 cert, you can
1655 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1656 The signature on trusted certificates are not checked, so the chain
1657 has a chance to validate correctly. Reported by "Douglas E. Engert"
1658 <deengert@anl.gov> in
1659 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1661 ** libgnutls: result_size in gnutls_hex_encode now holds
1662 the size of the result. Report by John Brooks <special@dereferenced.net>.
1664 ** libgnutls: gnutls_handshake when sending client hello during a
1665 rehandshake, will not offer a version number larger than the current.
1666 Reported by Tristan Hill <stan@saticed.me.uk>.
1668 ** libgnutls: Permit V1 Certificate Authorities properly.
1669 Before they were mistakenly rejected even though
1670 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1671 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
1672 "Douglas E. Engert" <deengert@anl.gov> in
1673 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1675 ** API and ABI modifications:
1676 No changes since last version.
1678 * Version 2.7.4 (released 2009-01-07)
1680 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1681 This is a bugfix -- the previous attempt to do this from internal x509
1682 certificate verification procedures did not return the correct value
1683 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
1684 <dkg@fifthhorseman.net> in
1685 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1686 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1687 Gillmor <dkg@fifthhorseman.net>.
1689 ** libgnutls: New interface to get key id for certificate requests.
1690 Patch from David Marín Carreño <davefx@gmail.com> in
1691 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
1693 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
1695 ** certtool: --verify-chain now prints results of using library verification.
1696 Earlier, certtool --verify-chain used its own validation algorithm
1697 which wasn't guaranteed to give the same result as the libgnutls
1698 internal validation algorithm. Now this command print a new final
1699 line with header 'Chain verification output:' that contains the result
1700 from using the internal verification algorithm on the same chain.
1702 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
1704 ** API and ABI modifications:
1705 gnutls_x509_crq_get_key_id: ADDED.
1707 * Version 2.7.3 (released 2008-12-10)
1709 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1710 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1711 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1712 Andreas Metzler <ametzler@downhill.at.eu.org> in
1713 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1715 ** libgnutls: Libgcrypt initialization changed.
1716 If libgcrypt has not already been initialized, GnuTLS will now
1717 initialize libgcrypt with disabled secure memory. Initialize
1718 libgcrypt explicitly in your application if you want to enable secure
1719 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
1720 allocation functions, which doesn't use secure memory, so there is no
1721 real change in behaviour.
1723 ** libgnutls: Fix memory leak in PSK authentication.
1724 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1725 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1727 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1729 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1730 It needs to be invoked before libgcrypt is initialized.
1732 ** gnutls-cli: Return non-zero exit code on error conditions.
1734 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1736 ** tests: Added chainverify self-test that tests X.509 chain verifications.
1738 ** API and ABI modifications:
1739 No changes since last version.
1741 * Version 2.7.2 (released 2008-11-18)
1743 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1744 The flaw makes it possible for man in the middle attackers (i.e.,
1745 active attackers) to assume any name and trick GnuTLS clients into
1746 trusting that name. Thanks for report and analysis from Martin von
1747 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
1749 Any updates with more details about this vulnerability will be added
1750 to <http://www.gnu.org/software/gnutls/security.html>
1752 ** libgnutls: Fix namespace issue with version symbols.
1753 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
1754 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
1755 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
1756 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
1757 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
1758 work but are deprecated.
1760 ** certtool: allow setting arbitrary key purpose object identifiers.
1762 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
1764 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1765 Reported by Kevin Quick <quick@sparq.org> in
1766 <https://savannah.gnu.org/support/index.php?106454>.
1768 ** libgnutls-extra: Make building with LZO compression work again.
1769 Build failure reported by Arfrever Frehtes Taifersar Arahesis
1770 <arfrever.fta@gmail.com> in
1771 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
1773 ** libgnutls: Change detection of when to use a linker version script.
1774 Use --enable-ld-version-script or --disable-ld-version-script to
1775 override auto-detection logic.
1777 ** doc: Change license on the manual to GFDLv1.3+.
1779 ** doc: GTK-DOC fixes for new splitted configuration system.
1781 ** doc: Texinfo stylesheet uses white background.
1783 ** tests: Add cve-2008-4989.c self-test.
1784 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
1785 follow-on problem with crashes on length 1 certificate chains.
1787 ** gnulib: Deprecated modules removed.
1788 Modules include memchr and memcmp.
1790 ** Fix warnings and build GnuTLS with more warnings enabled.
1792 ** minitasn1: Internal copy updated to libtasn1 v1.7.
1794 ** API and ABI modifications:
1795 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1796 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1797 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1798 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1799 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1800 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1801 LIBGNUTLS_VERSION: DEPRECATED.
1802 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1803 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1804 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1805 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1807 * Version 2.7.1 (released 2008-10-31)
1809 ** certtool: print a PKCS #8 key even if it is not encrypted.
1811 ** Old libgnutls.m4 and libgnutls-config scripts removed.
1812 Please use pkg-config instead.
1814 ** Configuration system modified.
1815 There is now a configure script in lib/ and libextra/ as well, because
1816 gnulib works better with a config.h per gnulib directory.
1818 ** API and ABI modifications:
1819 No changes since last version.
1821 * Version 2.7.0 (released 2008-10-16)
1823 ** libgnutls: Added functions to handle CRL extensions.
1825 ** libgnutls: Added functions to handle X.509 extensions in Certificate
1828 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
1829 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
1831 ** certtool: Print and set CRL and CRQ extensions.
1833 ** libgnutls-extra: Protect internal symbols with static.
1834 Fixes problem when linking certtool statically. Tiny patch from Aaron
1835 Ucko <ucko@ncbi.nlm.nih.gov>.
1837 ** libgnutls-openssl: fix out of bounds access.
1838 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
1839 from Thomas Viehmann <tv@beamnet.de>.
1841 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1843 ** tests: Make tests compile when using internal libtasn1.
1844 Patch by ludo@gnu.org (Ludovic Courtès).
1846 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1847 We now require a libgcrypt that has Camellia constants declared in
1848 gcrypt.h, which means v1.3.0 or later.
1850 ** API and ABI modifications:
1851 gnutls_x509_crl_get_authority_key_id: ADDED
1852 gnutls_x509_crl_get_number: ADDED
1853 gnutls_x509_crl_get_extension_oid: ADDED
1854 gnutls_x509_crl_get_extension_info: ADDED
1855 gnutls_x509_crl_get_extension_data: ADDED
1856 gnutls_x509_crl_set_authority_key_id: ADDED
1857 gnutls_x509_crl_set_number: ADDED
1858 gnutls_x509_crq_get_key_rsa_raw: ADDED
1859 gnutls_x509_crq_get_attribute_info: ADDED
1860 gnutls_x509_crq_get_attribute_data: ADDED
1861 gnutls_x509_crq_get_extension_info: ADDED
1862 gnutls_x509_crq_get_extension_data: ADDED
1863 gnutls_x509_crq_get_key_usage: ADDED
1864 gnutls_x509_crq_get_basic_constraints: ADDED
1865 gnutls_x509_crq_get_subject_alt_name: ADDED
1866 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1867 gnutls_x509_crq_get_extension_by_oid: ADDED
1868 gnutls_x509_crq_set_subject_alt_name: ADDED
1869 gnutls_x509_crq_set_basic_constraints: ADDED
1870 gnutls_x509_crq_set_key_usage: ADDED
1871 gnutls_x509_crq_get_key_purpose_oid: ADDED
1872 gnutls_x509_crq_set_key_purpose_oid: ADDED
1873 gnutls_x509_crq_print: ADDED
1874 gnutls_x509_crt_set_crq_extensions: ADDED
1876 * Version 2.6.6 (released 2009-04-30)
1878 ** libgnutls: Corrected double free on signature verification failure.
1879 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
1880 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
1882 ** libgnutls: Fix DSA key generation.
1883 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
1884 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
1885 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
1887 ** libgnutls: Check expiration/activation time on untrusted certificates.
1888 Reported by Romain Francoise <romain@orebokech.com>. Before the
1889 library did not check activation/expiration times on certificates, and
1890 was documented as not doing so. We have realized that many
1891 applications that use libgnutls, including gnutls-cli, fail to perform
1892 proper checks. Implementing similar logic in all applications leads
1893 to code duplication. Hence, we decided to check whether the current
1894 time (as reported by the time function) is within the
1895 activation/expiration period of certificates when verifying untrusted
1898 This changes the semantics of gnutls_x509_crt_list_verify, which in
1899 turn is used by gnutls_certificate_verify_peers and
1900 gnutls_certificate_verify_peers2. We add two new
1901 gnutls_certificate_status_t codes for reporting the new error
1902 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
1903 add a new gnutls_certificate_verify_flags flag,
1904 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1907 More details about the vulnerabilities will be posted at
1908 <http://www.gnu.org/software/gnutls/security.html>.
1910 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1911 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1912 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1914 ** tests: Fix linking of tests/openpgp/keyring self-test.
1915 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1917 ** API and ABI modifications:
1918 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1919 gnutls_certificate_verify_peers: Likewise.
1920 gnutls_certificate_verify_peers2: Likewise.
1921 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1922 GNUTLS_CERT_EXPIRED: ADDED.
1923 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1925 * Version 2.6.5 (released 2009-04-11)
1927 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1928 specify the client hello message record version. Used to overcome buggy
1929 TLS servers. Report by Martin von Gagern.
1931 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1932 Libtasn1 0.3.4 or later is required. This is to align with the
1933 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1935 ** API and ABI modifications:
1936 No changes since last version.
1938 * Version 2.6.4 (released 2009-02-06)
1940 ** libgnutls: Accept chains where intermediary certs are trusted.
1941 Before GnuTLS needed to validate the entire chain back to a
1942 self-signed certificate. GnuTLS will now stop looking when it has
1943 found an intermediary trusted certificate. The new behaviour is
1944 useful when chains, for example, contains a top-level CA, an
1945 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1946 To avoid chain validation errors due to the RSA-MD5 cert, you can
1947 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1948 The signature on trusted certificates are not checked, so the chain
1949 has a chance to validate correctly. Reported by "Douglas E. Engert"
1950 <deengert@anl.gov> in
1951 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1953 ** libgnutls: result_size in gnutls_hex_encode now holds
1954 the size of the result. Report by John Brooks <special@dereferenced.net>.
1956 ** libgnutls: gnutls_handshake when sending client hello during a
1957 rehandshake, will not offer a version number larger than the current.
1958 Reported by Tristan Hill <stan@saticed.me.uk>.
1960 ** libgnutls: Permit V1 Certificate Authorities properly.
1961 Before they were mistakenly rejected even though
1962 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1963 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
1964 "Douglas E. Engert" <deengert@anl.gov> in
1965 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1967 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1968 This is a bugfix -- the previous attempt to do this from internal x509
1969 certificate verification procedures did not return the correct value
1970 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
1971 <dkg@fifthhorseman.net> in
1972 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1973 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1974 Gillmor <dkg@fifthhorseman.net>.
1976 ** libgnutls: Fix compile error with Sun CC.
1977 Reported by Jeff Cai <jeff.cai@sun.com> in
1978 <https://savannah.gnu.org/support/?106549>.
1980 ** API and ABI modifications:
1981 No changes since last version.
1983 * Version 2.6.3 (released 2008-12-12)
1985 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1986 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1987 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1988 Andreas Metzler <ametzler@downhill.at.eu.org> in
1989 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1991 ** libgnutls: Fix memory leak in PSK authentication.
1992 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1993 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1995 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1996 It needs to be invoked before libgcrypt is initialized.
1998 ** gnutls-cli: Return non-zero exit code on error conditions.
2000 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2002 ** API and ABI modifications:
2003 No changes since last version.
2005 * Version 2.6.2 (released 2008-11-12)
2007 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2008 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2009 problem for certificate chains that contained just one self-signed
2010 certificate. Reported by Michael Meskes <meskes@debian.org> in
2011 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2013 ** API and ABI modifications:
2014 No changes since last version.
2016 * Version 2.6.1 (released 2008-11-10)
2018 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2019 The flaw makes it possible for man in the middle attackers (i.e.,
2020 active attackers) to assume any name and trick GnuTLS clients into
2021 trusting that name. Thanks for report and analysis from Martin von
2022 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
2024 Any updates with more details about this vulnerability will be added
2025 to <http://www.gnu.org/software/gnutls/security.html>
2027 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
2028 Reported by Kevin Quick <quick@sparq.org> in
2029 <https://savannah.gnu.org/support/index.php?106454>.
2031 ** libgnutls-extra: Protect internal symbols with static.
2032 Fixes problem when linking certtool statically. Tiny patch from Aaron
2033 Ucko <ucko@ncbi.nlm.nih.gov>.
2035 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
2036 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
2037 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
2039 ** certtool: Print a PKCS #8 key even if it is not encrypted.
2041 ** tests: Make tests compile when using internal libtasn1.
2042 Patch by ludo@gnu.org (Ludovic Courtès).
2044 ** API and ABI modifications:
2045 No changes since last version.
2047 * Version 2.6.0 (released 2008-10-06)
2049 ** libgnutls: Correct printing and parsing of IPv6 addresses.
2051 ** libgnutls-openssl: fix out of bounds access.
2052 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
2053 from Thomas Viehmann <tv@beamnet.de>.
2055 ** certtool: Use inet_pton for parsing IPv6 addresses.
2057 ** Major changes compared to the v2.4 branch:
2059 *** Added API to replace and update the crypto backend.
2061 *** certtool: can add several subject alternative names via template file.
2063 *** opencdk: Parse (but not decrypt) encrypted secret keys.
2065 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2066 either set or append alternative names. It can also handle binary structures
2067 such as IP addresses.
2069 *** libgnutls: New function to set minimum acceptable SRP bits.
2070 The function is gnutls_srp_set_prime_bits.
2072 *** libgnutls: Add interface to deal with public key and signature algorithms.
2073 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2074 gnutls_sign_list, and gnutls_sign_get_id.
2076 *** libgnutls: New interfaces to get name of public key and signing algorithms.
2077 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2079 *** libgnutls: New API to get a string corresponding to a error symbol.
2080 The function is gnutls_strerror_name.
2082 *** libgnutls: New API to set the public parameters in a certificate request
2083 *** from a private key.
2084 The function is gnutls_x509_crq_set_key_rsa_raw.
2086 *** libgnutls: New API to set a callback to extract TLS Finished data.
2087 The function to register is gnutls_session_set_finished_function and
2088 it takes a callback of the gnutls_finished_callback_func type.
2090 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
2092 *** libgnutls: New interface to register a new TLS extension handler.
2093 The new function gnutls_ext_register can be used to register handlers
2094 for specific TLS extension types. The callback functions have the new
2095 types gnutls_ext_recv_func and gnutls_ext_send_func. A type to
2096 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
2099 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
2100 The function is gnutls_register_md5_handler. When libgcrypt is in
2101 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
2104 *** API/ABI changes in GnuTLS 2.6
2105 No functions have been removed or modified. The library should be
2106 fully backwards compatible on both the source and binary level.
2108 A new header file <gnutls/crypto.h> have been added. It contains
2109 definitions related to replacing the internal crypto functionality.
2110 All definitions and the header itself is experimental but supported.
2112 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
2113 does not use the normal namespace. We have added GNUTLS_MASTER_SIZE
2114 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
2116 The following functions have been added to libgnutls:
2120 gnutls_crypto_bigint_register2
2121 gnutls_crypto_cipher_register2
2122 gnutls_crypto_digest_register2
2123 gnutls_crypto_mac_register2
2124 gnutls_crypto_pk_register2
2125 gnutls_crypto_rnd_register2
2126 gnutls_crypto_single_cipher_register2
2127 gnutls_crypto_single_digest_register2
2128 gnutls_crypto_single_mac_register2
2133 gnutls_session_set_finished_function
2135 gnutls_sign_get_name
2137 gnutls_srp_set_prime_bits:
2138 gnutls_strerror_name
2139 gnutls_x509_crq_set_key_rsa_raw
2140 gnutls_x509_crt_set_crl_dist_points2
2141 gnutls_x509_crt_set_subject_alt_name
2143 The following functions have been added to libgnutls-extra:
2145 gnutls_register_md5_handler
2147 ** API and ABI modifications:
2148 No changes since last version.
2150 * Version 2.5.9 (released 2008-09-29)
2152 ** libgnutls: Fix several memory leaks.
2153 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2155 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
2156 Report and patch by Jonathan Manktelow.
2158 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
2159 The parameters are now allocated in the structure itself.
2161 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
2163 ** tests: Scripts now use EXEEXT properly.
2164 Modern libtool doesn't create wrapper script, so the self tests need
2165 to invoke certtool.exe under MinGW32+Wine.
2167 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
2168 Automake warnings are now also enabled.
2170 ** API and ABI modifications:
2171 gnutls_pk_params_st: MODIFIED
2173 * Version 2.5.8 (released 2008-09-21)
2175 ** certtool: updated so it can add several subject alternative names using
2178 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
2179 either set or append alternative names. It can also handle binary structures
2180 such as IP addresses.
2182 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
2184 ** libgnutls: New function to set minimum acceptable SRP bits.
2185 The function is gnutls_srp_set_prime_bits. Tiny patch by Kevin Quick
2186 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
2188 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
2189 Also fix overflows in calls to those functions. Reported by Werner
2190 Koch <wk@gnupg.org>.
2192 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
2193 The function is gnutls_register_md5_handler. When libgcrypt is in
2194 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
2197 ** Opencdk: Add calls to gnutls_assert to ease debugging.
2201 ** API and ABI modifications:
2202 gnutls_srp_set_prime_bits: ADDED
2203 gnutls_register_md5_handler: ADDED
2204 gnutls_x509_crt_set_crl_dist_points2: ADDED
2205 gnutls_x509_crt_set_subject_alt_name: ADDED
2207 * Version 2.5.7 (released 2008-09-16)
2209 ** libgnutls: New interfaces to get name of public key and signing algorithms.
2210 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
2212 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
2214 ** libgnutls: Fix libgnutls shared library version.
2215 It wasn't properly incremented after adding symbols in the last
2218 ** manual: Now mention supported public key and public key signing algorithms.
2220 ** tests/openssl: initialize gnutls before use.
2222 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
2224 ** GTK-DOC manual: mention new symbols in 2.6.x. Mention crypto.h functions.
2226 ** API and ABI modifications:
2227 gnutls_sign_get_name: ADDED
2228 gnutls_pk_get_name: ADDED
2230 * Version 2.5.6 (released 2008-09-08)
2232 ** libgnutls: Add interface to deal with public key and signature algorithms.
2233 The functions are called gnutls_pk_list, gnutls_pk_get_id,
2234 gnutls_sign_list, and gnutls_sign_get_id. Suggested by Sam
2235 Varshavchik <mrsam@courier-mta.com>.
2237 ** libgnutls: Refactor and clean up some code.
2239 ** libgnutls: Fix compile error with Sun CC.
2241 ** gnutls-cli: Improve --list output to include public key and signature algs.
2243 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
2244 Use standard --version to get license info.
2246 ** gnutls-cli.1: Document all new parameters.
2247 Thanks to James Westby <jw+debian@jameswestby.net>.
2249 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
2250 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2252 ** API and ABI modifications:
2253 gnutls_pk_list: ADDED
2254 gnutls_pk_get_id: ADDED
2255 gnutls_sign_list: ADDED
2256 gnutls_sign_get_id: ADDED
2258 * Version 2.5.5 (released 2008-08-29)
2260 ** libgnutls: New API to get a string corresponding to a error symbol.
2261 The function is gnutls_strerror_name.
2263 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
2264 Reported by "jth.net ApS" <info@jth.net>.
2266 ** libgnutls: Fix segmentation fault when generating private keys.
2267 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2269 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
2270 The code has not worked since v0.9.0 and apparently nobody has missed
2271 it, so we decided to remove the code rather than fix it. If you have
2272 old certificate chains stored in PKCS#7 format, you can convert them
2273 to a list of PEM certificates by using 'certtool --p7-info'. Reported
2274 by Christian Grothoff <christian@grothoff.org>.
2276 ** opencdk: Parse (but not decrypt) encrypted secret keys.
2277 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2279 ** libgnutls: Fix many warnings.
2281 ** Included copy of libtasn1 is upgraded to version 1.5.
2283 ** Add French translation, thanks to Nicolas Provost.
2285 ** API and ABI modifications:
2286 gnutls_strerror_name: ADDED
2288 * Version 2.5.4 (released 2008-08-19)
2290 ** Fix secure memory initialization of libgcrypt.
2291 Reported by Joe Orton <joe@manyfish.co.uk> in
2292 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
2295 Reference to NIST SP 800-57 in the manual on key size recommendations.
2296 Added 'Since:' tags to new APIs for gtk-doc.
2298 ** API and ABI modifications:
2299 No changes since last version.
2301 * Version 2.5.3 (released 2008-08-14)
2303 ** libgnutls: New API to set the public parameters in a certificate request
2304 ** from a private key.
2305 The function is gnutls_x509_crq_set_key_rsa_raw. Inspired by
2306 discussion with "Zach C." <fxchip@gmail.com>.
2308 ** libgnutls: New API to set a callback to extract TLS Finished data.
2309 The function to register is gnutls_session_set_finished_function and
2310 it takes a callback of the gnutls_finished_callback_func type.
2312 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
2313 Reported in <https://savannah.gnu.org/support/?106453>.
2315 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
2316 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE. The old
2317 names are mapped to the new names in compat.h. These mappings will
2318 likely be removed more quickly than other mappings in that file due to
2319 the namespace violation.
2321 ** libgnutlsxx: Make it build when SRP is disabled.
2323 ** doc: Add doxygen files in doc/doxygen/.
2325 ** API and ABI modifications:
2326 gnutls_x509_crq_set_key_rsa_raw: ADDED
2327 gnutls_session_set_finished_function: ADDED
2328 gnutls_finished_callback_func: ADDED
2329 GNUTLS_MASTER_SIZE: ADDED
2330 GNUTLS_RANDOM_SIZE: ADDED
2331 TLS_MASTER_SIZE: DEPRECATED
2332 TLS_RANDOM_SIZE: DEPRECATED
2334 * Version 2.5.2 (released 2008-07-08)
2336 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
2337 The prime and generator was swapped.
2339 ** libgnutls: New interface to register a new TLS extension handler.
2340 The new function gnutls_ext_register can be used to register handlers
2341 for specific TLS extension types. The callback functions have the new
2342 types gnutls_ext_recv_func and gnutls_ext_send_func. A type to
2343 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
2346 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
2347 This was made possible by using the new gnutls_ext_register interface.
2348 The TLS/IA functionality has only been supported through the
2349 libgnutls-extra library, so it makes sense for the code to belong
2352 ** API and ABI modifications:
2353 gnutls_ext_recv_func: ADDED
2354 gnutls_ext_send_func: ADDED
2355 gnutls_ext_parse_type_t: ADDED
2356 gnutls_ext_register: ADDED
2358 * Version 2.5.1 (released 2008-07-02)
2362 ** API and ABI modifications:
2363 No changes since last version.
2365 * Version 2.5.0 (released 2008-07-02)
2367 ** Port fixes from v2.4.1 release, see below.
2369 ** Added API to replace and update the crypto backend.
2370 The header gnutls/crypto.h is now officially supported, and declares
2373 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
2375 ** Update gnulib and translations.
2376 The gnulib gc crypto code has been removed since it was never finished
2377 and is no longer even used. An internal non-libgcrypt crypto
2378 implementation may be added in the future, but we'll decide that later
2381 ** API and ABI modifications:
2382 gnutls_crypto_bigint_register2: ADDED.
2383 gnutls_crypto_cipher_register2: ADDED.
2384 gnutls_crypto_digest_register2: ADDED.
2385 gnutls_crypto_mac_register2: ADDED.
2386 gnutls_crypto_pk_register2: ADDED.
2387 gnutls_crypto_rnd_register2: ADDED.
2388 gnutls_crypto_single_cipher_register2: ADDED.
2389 gnutls_crypto_single_digest_register2: ADDED.
2390 gnutls_crypto_single_mac_register2: ADDED.
2392 * Version 2.4.3 (released 2009-02-06)
2394 ** libgnutls: Accept chains where intermediary certs are trusted.
2395 Before GnuTLS needed to validate the entire chain back to a
2396 self-signed certificate. GnuTLS will now stop looking when it has
2397 found an intermediary trusted certificate. The new behaviour is
2398 useful when chains, for example, contains a top-level CA, an
2399 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2400 To avoid chain validation errors due to the RSA-MD5 cert, you can
2401 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2402 The signature on trusted certificates are not checked, so the chain
2403 has a chance to validate correctly. Reported by "Douglas E. Engert"
2404 <deengert@anl.gov> in
2405 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2407 ** libgnutls: Permit V1 Certificate Authorities properly.
2408 Before they were mistakenly rejected even though
2409 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2410 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
2411 "Douglas E. Engert" <deengert@anl.gov> in
2412 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2414 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2415 This is a bugfix -- the previous attempt to do this from internal x509
2416 certificate verification procedures did not return the correct value
2417 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
2418 <dkg@fifthhorseman.net> in
2419 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2420 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2421 Gillmor <dkg@fifthhorseman.net>.
2423 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2424 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2425 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2426 Andreas Metzler <ametzler@downhill.at.eu.org> in
2427 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2429 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
2430 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
2431 problem for certificate chains that contained just one self-signed
2432 certificate. Reported by Michael Meskes <meskes@debian.org> in
2433 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
2435 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
2436 The flaw makes it possible for man in the middle attackers (i.e.,
2437 active attackers) to assume any name and trick GnuTLS clients into
2438 trusting that name. Thanks for report and analysis from Martin von
2439 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
2441 Any updates with more details about this vulnerability will be added
2442 to <http://www.gnu.org/software/gnutls/security.html>
2444 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
2445 Report and patch by Jonathan Manktelow.
2447 ** libgnutls: Avoid use of non-thread safe strerror.
2449 ** API and ABI modifications:
2450 No changes since last version.
2452 * Version 2.4.2 (released 2008-09-15)
2454 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
2456 ** libgnutls: Corrected memory leak in X.509 functions.
2457 Thanks to Colin Leroy <colin@colino.net>.
2459 ** libgnutls: Fix compile error with Sun CC.
2461 ** gnutls-cli.1: Document all new parameters.
2462 Thanks to James Westby <jw+debian@jameswestby.net>.
2464 ** tests/openssl: initialize gnutls before use.
2465 Fixes crash with libgcrypt 1.4.2. Reported by Ludovic Courtes
2466 <ludovic.courtes@laas.fr>.
2468 ** doc/: Fix texinfo markup for old texinfo versions.
2470 ** Included copy of libtasn1 is upgraded to version 1.5.
2472 ** API and ABI modifications:
2473 No changes since last version.
2475 * Version 2.4.1 (released 2008-06-30)
2477 ** libgnutls: Fix local crash in gnutls_handshake. [GNUTLS-SA-2008-2]
2478 If the gnutls_handshake function is called for a normal session, which
2479 can happen for re-handshakes, the library would crash because it tried
2480 to hash some data using a libgcrypt handle that had been deallocated.
2481 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>. Any updates
2482 with more details about this vulnerability will be added to
2483 <http://www.gnu.org/software/gnutls/security.html>
2485 ** libgnutls: Fix memory leaks when doing a re-handshake.
2486 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
2487 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
2489 ** Fix compiler warnings.
2490 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2491 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
2493 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
2494 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2495 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
2497 ** srptool: Fix a problem where --verify check does not succeed.
2498 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
2499 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
2501 ** API and ABI modifications:
2502 No changes since last version.
2504 * Version 2.4.0 (released 2008-06-19)
2506 ** Major changes compared to the v2.2 branch:
2508 *** The OpenPGP sub-system has been improved and now supports subkeys.
2510 *** The PSK sub-system has been improved and now supports password
2511 *** derivation and PSK identity hints.
2512 The password derivation algorithms support is documented in
2513 draft-ietf-netconf-tls-02.txt.
2515 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
2516 This aligns terminology with OpenPGP, which doesn't use DER encoding.
2517 The old parameters will continue to work for some time.
2519 *** Certtool now confirm passwords and changes permissions of private key files.
2521 *** The default handshake size limit has been increased to 48kb.
2522 It appears as if some valid handshakes are large due to sending many
2523 CA certificates. (The earlier limit was 16kb.)
2525 *** LZO compression is now disabled by default.
2526 The main reason is that LZO compression in TLS is not standardized,
2527 but license compatiblity issues with minilzo triggered us to make this
2530 *** Improvements for cross-compilation to Windows and OpenWRT.
2532 *** The look of the GTK-DOC manual has been improved.
2533 Major developer visible changes compared to the v2.2 branch:
2535 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
2537 *** New APIs to access the raw X.509 Subject and Issuer DN's and
2538 *** elements from the certificate credentials structure.
2539 Thanks to Joe Orton.
2541 *** New APIs to improve working with username/passwords and PSK.
2543 *** Names of constants to affect certificate printing changed.
2544 The constants are used for OpenPGP too, which the names didn't
2545 reflect, so the following name change has been made:
2548 GNUTLS_X509_CRT_FULL GNUTLS_CRT_PRINT_FULL
2549 GNUTLS_X509_CRT_ONELINE GNUTLS_CRT_PRINT_ONELINE
2550 GNUTLS_X509_CRT_UNSIGNED_FULL GNUTLS_CRT_PRINT_UNSIGNED_FULL
2552 The old names will be mapped to the new names for some time.
2554 *** The function gnutls_openpgp_privkey_get_id has been renamed to
2555 *** gnutls_openpgp_privkey_get_key_id.
2556 A compatibility mapping exists to avoid breaking API backwards
2559 *** Replaced all uses of alloca with malloc and free.
2561 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
2562 We have been unable to find a documented rationale for this practice.
2564 *** Of course, many smaller fixes have been made, see the ChangeLog file.
2566 *** API/ABI changes in GnuTLS 2.4
2567 All OpenPGP related functions have been moved from libgnutls-extra to
2568 libgnutls, and several new functions have been added (see below).
2569 Before making the release, we discussed whether moving functions from
2570 libgnutls-extra to libgnutls would require us to increment the ABI
2571 version, but the general opinion was that this would not be required.
2572 All older functions continue to work the same. We are open to the
2573 possibility that this decision will lead to problem on some platform,
2574 and if it turns out that the Right Thing should have been to increment
2575 the shared library version, we would need to release an update within
2576 the 2.4.x branch that increments the shared library version.
2578 This release adds the following functions:
2580 gnutls_psk_client_get_hint
2581 gnutls_psk_set_server_credentials_hint
2582 gnutls_psk_netconf_derive_key
2584 Used to get/set the PSK identity hint, and derive PSK keys from
2585 passwords a'la netconf.
2587 gnutls_x509_dn_deinit
2588 gnutls_x509_dn_export
2589 gnutls_x509_dn_import
2592 Used to handle X.509 Certificate DN's directly.
2596 Converts a data buffer to hex. Useful for handling PSK/SRP shared
2599 gnutls_certificate_get_x509_cas
2600 gnutls_certificate_get_x509_crls
2601 gnutls_certificate_get_openpgp_keyring
2603 Functions for direct access to credential elements.
2605 gnutls_openpgp_crt_get_auth_subkey
2606 gnutls_openpgp_crt_get_key_id
2607 gnutls_openpgp_crt_get_pk_dsa_raw
2608 gnutls_openpgp_crt_get_pk_rsa_raw
2609 gnutls_openpgp_crt_get_preferred_key_id
2610 gnutls_openpgp_crt_get_revoked_status
2611 gnutls_openpgp_crt_get_subkey_count
2612 gnutls_openpgp_crt_get_subkey_creation_time
2613 gnutls_openpgp_crt_get_subkey_expiration_time
2614 gnutls_openpgp_crt_get_subkey_fingerprint
2615 gnutls_openpgp_crt_get_subkey_id
2616 gnutls_openpgp_crt_get_subkey_idx
2617 gnutls_openpgp_crt_get_subkey_pk_algorithm
2618 gnutls_openpgp_crt_get_subkey_pk_dsa_raw
2619 gnutls_openpgp_crt_get_subkey_pk_rsa_raw
2620 gnutls_openpgp_crt_get_subkey_revoked_status
2621 gnutls_openpgp_crt_get_subkey_usage
2622 gnutls_openpgp_crt_print
2623 gnutls_openpgp_crt_set_preferred_key_id
2624 gnutls_openpgp_keyring_get_crt
2625 gnutls_openpgp_keyring_get_crt_count
2626 gnutls_openpgp_privkey_export
2627 gnutls_openpgp_privkey_export_dsa_raw
2628 gnutls_openpgp_privkey_export_rsa_raw
2629 gnutls_openpgp_privkey_export_subkey_dsa_raw
2630 gnutls_openpgp_privkey_export_subkey_rsa_raw
2631 gnutls_openpgp_privkey_get_fingerprint
2632 gnutls_openpgp_privkey_get_key_id
2633 gnutls_openpgp_privkey_get_pk_algorithm
2634 gnutls_openpgp_privkey_get_preferred_key_id
2635 gnutls_openpgp_privkey_get_revoked_status
2636 gnutls_openpgp_privkey_get_subkey_count
2637 gnutls_openpgp_privkey_get_subkey_creation_time
2638 gnutls_openpgp_privkey_get_subkey_expiration_time
2639 gnutls_openpgp_privkey_get_subkey_fingerprint
2640 gnutls_openpgp_privkey_get_subkey_id
2641 gnutls_openpgp_privkey_get_subkey_idx
2642 gnutls_openpgp_privkey_get_subkey_pk_algorithm
2643 gnutls_openpgp_privkey_get_subkey_revoked_status
2644 gnutls_openpgp_privkey_set_preferred_key_id
2646 New OpenPGP related functions.
2648 The function gnutls_openpgp_crt_get_key_id is the same as the old
2649 from gnutls_openpgp_crt_get_id, see above.
2651 The release also adds a new header file 'gnutls/crypto.h', however it
2652 is currently not used.
2654 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
2655 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2657 ** API and ABI modifications:
2658 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
2659 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
2661 * Version 2.3.15 (released 2008-06-15)
2663 ** Disable the openpgp-certs self-tests.
2664 It results in failure under Wine and doesn't work on Debian buildds.
2666 ** API and ABI modifications:
2667 No changes since last version.
2669 * Version 2.3.14 (released 2008-06-11)
2671 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
2672 An OpenPGP certificate is now only considered verified if all the user
2675 ** Examples: Make C++ example compile.
2676 Earlier it may have failed with an unresolved reference to strlen.
2678 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
2679 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2681 ** API and ABI modifications:
2682 No changes since last version.
2684 * Version 2.3.13 (released 2008-06-07)
2686 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
2688 ** doc/: Add psktool to info index. Some minor cleanups.
2690 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
2692 ** tests/: Added libgcrypt.supp which can be used with valgrind.
2693 The file suppresses the known libgcrypt memory leaks, so they aren't
2694 printed when you run valgrind on the gnutls self-tests. Use it as
2695 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
2696 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
2699 ** tests/: Reduce amount of debugging output by default.
2700 Use --verbose for each test to get the full output.
2702 ** tests/: Fix memory leaks in several self-tests.
2703 None of the self tests should be leaking memory when running valgrind
2704 or similar tools. (Known exceptions are dhepskself, pskself, and
2705 set_pkcs12_cred, which appear likely to be due to memory leaks in the
2708 ** API and ABI modifications:
2709 No changes since last version.
2711 * Version 2.3.12 (released 2008-06-04)
2713 ** Merge gnutls_with_netconf branch.
2715 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
2716 The function is gnutls_psk_client_get_hint.
2718 *** libgnutls [PSK]: New API to set PSK identity hint in server.
2719 The function is gnutls_psk_set_server_credentials_hint.
2721 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
2722 In the client, the message is parsed and the application can use
2723 gnutls_psk_client_get_hint to retrieve the hint. In the server, the
2724 message is sent if the application has specified a PSK identity hint
2725 using gnutls_psk_set_server_credentials_hint.
2727 *** libgnutls [PSK]: Support Netconf PSK key derivation.
2728 The function gnutls_psk_netconf_derive_key supports the PSK key
2729 derivation as specified in draft-ietf-netconf-tls-02.txt. New self
2732 *** psktool: Support new --netconf-hint to generate PSK key from password.
2733 Uses the Netconf algorithm to derive PSK key from password.
2735 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
2737 *** gnutls-cli: Always support PSK modes, through a callback.
2738 The callback will derive a PSK key using Netconf algorithm. It will
2739 print the PSK identity hint to help the user.
2741 *** New PSK example client and server.
2742 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
2744 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
2745 The code didn't work properly on platforms where 'char' is unsigned,
2746 when you set version 0. Reported by Laurence Withers
2747 <l@lwithers.me.uk> in
2748 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
2750 ** libgnutls-openssl: added RAND_pseudo_bytes API.
2751 Patch from Robert Millan <rmh@aybabtu.com>.
2753 ** API and ABI modifications:
2754 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
2755 gnutls_psk_client_get_hint: ADDED.
2756 gnutls_psk_set_server_credentials_hint: ADDED.
2757 gnutls_psk_netconf_derive_key: ADDED
2759 * Version 2.3.11 (released 2008-05-20)
2761 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2762 The flaw would result in incorrectly terminated sessions with the
2763 error "Decryption has failed" when the server sends a small packet
2764 (typically when the session is closed). Reported by Andreas Metzler
2765 <ametzler@downhill.at.eu.org> in
2766 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2768 ** Don't use gnulib headers when building C++ library.
2769 Fixes builds under Windows.
2771 ** Make umask a requirement.
2772 We don't know of any system that lacks it, even GNU CoreUtils use it
2775 ** Update gnulib files.
2776 Fixes a problem where it pulled in a replacement for memcmp under
2777 MinGW, which caused the C++ example to fail to build.
2779 ** API and ABI modifications:
2780 No changes since last version.
2782 * Version 2.3.10 (released 2008-05-19)
2784 ** Added wide wildcard hostname matching.
2785 Tiny patch by Jean-Philippe Garcia Ballester.
2787 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
2788 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2789 which allowed the bugs to be reproduced and fixed easily. Patches
2790 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
2791 with more details about these vulnerabilities will be added to
2792 <http://www.gnu.org/software/gnutls/security.html>
2794 *** [GNUTLS-SA-2008-1-1]
2795 *** libgnutls: Fix crash when sending invalid server name.
2796 The crash can be triggered remotely before authentication, which can
2797 lead to a Daniel of Service attack to disable the server. The bug
2798 cause gnutls to store more session resumption data than what was
2799 allocated for, thus overwriting unallocated memory.
2801 *** [GNUTLS-SA-2008-1-2]
2802 *** libgnutls: Fix crash when sending repeated client hellos.
2803 The crash can be triggered remotely before authentication, which can
2804 lead to a Daniel of Service attack to disable the server. The bug
2805 triggers a null-pointer dereference.
2807 *** [GNUTLS-SA-2008-1-3]
2808 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2809 The crash can be triggered remotely before authentication, which can
2810 lead to a Daniel of Service attack to disable the server. The bug
2811 cause gnutls to read memory beyond the end of the received record.
2813 ** libgnutlsxx: Updated API according to patches from Eduardo
2814 Villanueva Che (discussion at
2815 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
2817 ** Use umask to restrict permissions to owner before creating a file.
2819 ** API and ABI modifications:
2820 No changes since last version.
2822 * Version 2.3.9 (released 2008-05-16)
2824 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
2825 Based on report and tiny patches from
2826 <jared.jennings.ctr@eglin.af.mil>, see
2827 <https://savannah.gnu.org/support/index.php?106342>.
2829 ** libgnutls: Translation fixes.
2831 ** gnutls-cli: Fix so that PSK authentication works.
2832 Also improve manual to give example for gnutls-cli PSK authentication.
2834 ** certtool: Encrypting a private key now require a confirmed password.
2835 Before './certtool -k -8' would merely ask for a password once.
2836 Reported by Daniel 'NebuchadnezzaR' Dehennin
2837 <nebuchadnezzar@asgardr.info> see
2838 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2840 ** certtool: When writing private keys to files, change permissions of file.
2841 Now the file which the private key is saved to is chmod'ed 0600.
2842 Reported by martin f krafft <madduck@debian.org> see
2843 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2845 ** guile: Fix -fgnu89-inline test.
2847 ** Removed --enable-profile-mode.
2848 The code linked gnutls with the libfc project (Function Check) which
2849 appears to have been stalled since around 2002.
2851 ** Clean up header file checks by ./configure.
2853 ** Update of gnulib files.
2855 ** API and ABI modifications:
2856 No changes since last version.
2858 * Version 2.3.8 (released 2008-04-29)
2860 ** libgnutls: Increase default handshake packet size limit to 48kb.
2861 The old limit was 16kb and some servers send huge list of trusted CAs,
2862 thus running into the limit. FYI, applications can further increase
2863 this limit using gnutls_handshake_set_max_packet_length. Thanks to
2864 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2865 <marc@mclemente.net> for reporting and providing test servers.
2867 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2868 Returned when the handshake data size is too large. Before
2869 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2872 ** libgnutls: Hide definitions in crypto.h.
2873 We have decided that the APIs defined in crypto.h are not stable
2874 enough for v2.4, so don't use any of those functions.
2876 ** gnutls-cli: exit when hostname doesn't match certificate.
2877 Use --insecure to avoid hostname comparison.
2879 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2880 The reason is to align terminology with OpenPGP, which doesn't use
2881 DER. The old parameters will continue to work for some time.
2883 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2885 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2887 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2888 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2889 vasprintf symbol from the libgcrypt library which caused problems.
2891 ** Update of gnulib files.
2893 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2895 ** API and ABI modifications:
2896 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2898 * Version 2.3.7 (released 2008-04-21)
2900 ** opencdk now properly sets the key usage bits into openpgp keys.
2902 ** gnutls-cli: Fix crash on TLS handshake failures.
2903 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2904 This is similar to <http://bugs.debian.org/429183>.
2906 ** certtool: with --generate-request and newly generated keys, print the key.
2908 ** Build fixes for MinGW.
2909 Missing rpl_fseeko symbol in lib/opencdk/. Better checks for linking
2910 with -lws2_32 when needed. Use ASCII only isprint() when printing
2911 X.509 certificate information, to avoid non-ASCII but printable
2912 characters. Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2915 ** Update internal copy of libtasn1 to version 1.4.
2917 ** API and ABI modifications:
2918 No changes since last version.
2920 * Version 2.3.6 (released 2008-04-17)
2922 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2923 ** Improve documentation for gnutls_x509_crq_sign2.
2924 Based on report from "John Brooks" <aspecialj@gmail.com> in
2925 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2927 ** tests/pathlen: run diff without parameters to improve portability.
2928 Based on HPUX build hints in
2929 <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>.
2931 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2932 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2933 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2935 ** Remove all uses of gnutls_alloca/gnutls_afree.
2936 Use normal gnutls_malloc instead. One reason is increased portability
2937 to Windows, the other is that several of the uses may be unsafe
2938 because the size of data allocated could be large. Reported by
2939 Massimo Gaspari <massimo.gaspari@alice.it> in
2940 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2942 ** Build Guile code with -fgnu89-inline only when supported.
2943 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2944 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2946 ** Several GTK-DOC related fixes.
2948 ** Clean up OpenCDK related code.
2949 GnuTLS now requires its internal OpenCDK code rather than the external
2950 GPL library OpenCDK. Unfortunately, we don't have resources to
2951 maintain an external library (help welcome).
2953 ** API and ABI modifications:
2954 No changes since last version.
2956 * Version 2.3.5 (released 2008-04-14)
2958 ** Build fix for MinGW and --disable-shared.
2959 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2960 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2962 ** Document how to generate CRLs.
2963 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2965 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2967 ** Several minor fixes in the OpenPGP interface.
2968 Thanks to Daniel Kahn Gillmor.
2970 ** Fix fopen file descriptor leak in PSK server code.
2971 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2972 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2974 ** Translations files not stored directly in git to avoid merge conflicts.
2976 ** New APIs to let applications replace the RNG used.
2977 Update all RNG callers in the code to use the new interface.
2979 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2981 ** Update gnulib files.
2983 ** API and ABI modifications:
2984 gnutls_crypto_rnd_register: ADDED
2985 gnutls_rnd_level_t: ADDED
2986 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2987 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2988 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2989 gnutls_crypto_rnd_st: ADDED
2990 GNUTLS_DIG_SHA224: ADDED
2991 GNUTLS_SIGN_RSA_SHA224: ADDED
2992 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2994 * Version 2.3.4 (released 2008-03-19)
2996 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2997 They weren't renamed in the public header file.
2999 ** Added functions to register a cipher/mac/digest. This allows to
3000 override the included ones.
3002 ** Fix a bunch of compiler warnings.
3004 ** API and ABI modifications:
3005 gnutls_crypto_cipher_st: ADDED
3006 gnutls_crypto_mac_st: ADDED
3007 gnutls_crypto_digest_st: ADDED
3008 gnutls_crypto_cipher_register: ADDED
3009 gnutls_crypto_mac_register: ADDED
3010 gnutls_crypto_digest_register: ADDED
3011 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
3013 * Version 2.3.3 (released 2008-03-10)
3015 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
3016 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3018 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
3019 We could not find any modern justification for enabling these flags by
3020 default. If you know of some platform that needs one of the flags to
3021 work properly, please let us know. (Actually introduced in v2.3.0 but
3022 not documented until now.)
3024 ** Importing many CA certificates are now considerably faster.
3025 This affect gnutls_certificate_set_x509_trust_mem,
3026 gnutls_certificate_set_x509_trust, and
3027 gnutls_certificate_set_x509_trust_file. The complexity was reduced
3028 from O(2*n^2) to O(n). When adding 206 files containing 408
3029 certificates, using gnutls_certificate_set_x509_trust_file, the time
3030 dropped from 40 seconds to 0.3 seconds. Thanks to Edgar Fuß for code
3031 to trigger the problem. See also
3032 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
3034 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
3035 ** to be explicit that it takes zero terminated data.
3037 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
3039 ** Documentation fixes for the GTK-DOC manual.
3041 ** Fix compilation error related to __FUNCTION__ on some systems.
3042 Reported by Tim Mooney, see
3043 <https://savannah.gnu.org/support/?106267>.
3045 ** Updated translations.
3047 ** Update gnulib files.
3049 ** API and ABI modifications:
3050 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
3051 and char* instead of void* for output buffer.
3053 * Version 2.3.2 (released 2008-02-26)
3055 ** Fix srcdir!=objdir failure in openpgpself test.
3057 ** Improved API documentation output from GTK-DOC.
3059 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
3061 ** Renamed gnutls_certificate_export_x509_cas and friends.
3062 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
3064 ** Internal header files cleanup.
3066 ** API and ABI modifications:
3067 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
3068 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
3069 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
3070 gnutls_x509_dn_export: ADDED
3072 * Version 2.3.1 (released 2008-02-21)
3074 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
3075 The included copy of OpenCDK has been stripped down and re-licensed
3078 ** Cipher priority string handling now handle strings that starts with NULL.
3079 Thanks to Laurence Withers <l@lwithers.me.uk>.
3081 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
3083 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3086 ** Increased the default certificate verification chain limits and allowed
3087 for checks without limitation.
3089 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3090 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3091 strings and return the proper size.
3093 ** Add section 'On Record Padding' to the manual.
3094 This collects all problems related to record padding with
3095 Nokia/Sony-Ericsson phones that we know about.
3097 ** Several improvements in the OpenPGP authentication.
3098 Now subkeys can be used for authentication, according to
3099 draft-mavrogiannopoulos-rfc5081bis-00.txt.
3101 ** certtool can print information on OpenPGP certificates and keys.
3103 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
3106 ** Added gnutls_certificate_export_x509_cas and other functions to
3107 export elements from the certificate credentials structure. Based on
3108 suggestion from Joe Orton.
3111 Clarify that srp_base64 is not the same as normal base64.
3113 ** Fix non-portable use of brace expansion in makefiles.
3115 ** API and ABI modifications:
3116 gnutls_certificate_export_x509_cas: ADDED
3117 gnutls_certificate_export_x509_crls: ADDED
3118 gnutls_certificate_export_openpgp_keyring: ADDED
3119 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
3120 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
3121 gnutls_openpgp_crt_get_revoked_status: ADDED
3122 gnutls_openpgp_crt_get_subkey_count: ADDED
3123 gnutls_openpgp_crt_get_subkey_idx: ADDED
3124 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
3125 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
3126 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
3127 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
3128 gnutls_openpgp_crt_get_subkey_id: ADDED
3129 gnutls_openpgp_crt_get_subkey_usage: ADDED
3130 gnutls_openpgp_privkey_get_fingerprint: ADDED
3131 gnutls_openpgp_privkey_get_key_id: ADDED
3132 gnutls_openpgp_privkey_get_subkey_count: ADDED
3133 gnutls_openpgp_privkey_get_subkey_idx: ADDED
3134 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
3135 gnutls_openpgp_privkey_get_revoked_status: ADDED
3136 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
3137 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
3138 gnutls_openpgp_privkey_get_subkey_id: ADDED
3139 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
3140 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
3141 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
3142 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
3143 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
3144 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
3145 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
3146 gnutls_openpgp_privkey_export_dsa_raw: ADDED
3147 gnutls_openpgp_privkey_export_rsa_raw: ADDED
3148 gnutls_openpgp_privkey_export: ADDED
3149 gnutls_certificate_set_openpgp_key_file2: ADDED
3150 gnutls_certificate_set_openpgp_key_mem2: ADDED
3151 gnutls_x509_dn_init: ADDED
3152 gnutls_x509_dn_import: ADDED
3153 gnutls_x509_dn_deinit: ADDED
3154 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
3155 gnutls_hex2bin: ADDED
3156 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
3157 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
3158 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
3159 old GNUTLS_X509_CRT_UNSIGNED_FULL.
3161 * Version 2.3.0 (released 2008-01-08)
3163 ** LZO compression is now disabled by default.
3164 The reason is that LZO compression is not standardized in TLS. If you
3165 wish to experiment with it, you will have to supply --with-lzo when
3166 invoking ./configure. The internal copy of minilzo is no longer
3167 included with GnuTLS, so you will need to install liblzo or liblzo2 on
3168 your system to have --with-lzo to be effective.
3170 ** More than one server name field is now sent to the server properly.
3171 Thanks to mark.phillips@virgin.net.
3173 ** Fixes the post_client_hello_function(). The extensions are now parsed
3174 in a callback friendly way.
3176 ** Fix for certificate selection in servers with certificate callbacks.
3178 ** Updated translations.
3180 ** Update gnulib files.
3182 ** API and ABI modifications:
3183 No changes since last version.
3185 * Version 2.2.5 (released 2008-05-19)
3187 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
3188 The flaw would result in incorrectly terminated sessions with the
3189 error "Decryption has failed" when the server sends a small packet
3190 (typically when the session is closed). Reported by Andreas Metzler
3191 <ametzler@downhill.at.eu.org> in
3192 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
3194 ** API and ABI modifications:
3195 No changes since last version.
3197 * Version 2.2.4 (released 2008-05-19)
3199 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
3200 Thanks to CERT-FI for finding the bugs and providing detailed reports,
3201 which allowed the bugs to be reproduced and fixed easily. Patches
3202 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
3203 with more details about these vulnerabilities will be added to
3204 <http://www.gnu.org/software/gnutls/security.html>
3206 *** [GNUTLS-SA-2008-1-1]
3207 *** libgnutls: Fix crash when sending invalid server name.
3208 The crash can be triggered remotely before authentication, which can
3209 lead to a Daniel of Service attack to disable the server. The bug
3210 cause gnutls to store more session resumption data than what was
3211 allocated for, thus overwriting unallocated memory.
3213 *** [GNUTLS-SA-2008-1-2]
3214 *** libgnutls: Fix crash when sending repeated client hellos.
3215 The crash can be triggered remotely before authentication, which can
3216 lead to a Daniel of Service attack to disable the server. The bug
3217 triggers a null-pointer dereference.
3219 *** [GNUTLS-SA-2008-1-3]
3220 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
3221 The crash can be triggered remotely before authentication, which can
3222 lead to a Daniel of Service attack to disable the server. The bug
3223 cause gnutls to read memory beyond the end of the received record.
3225 ** API and ABI modifications:
3226 No changes since last version.
3228 * Version 2.2.3 (released 2008-05-06)
3230 ** Increase default handshake packet size limit to 48kb.
3231 The old limit was 16kb and some servers send huge list of trusted CAs,
3232 thus running into the limit. FYI, applications can further increase
3233 this limit using gnutls_handshake_set_max_packet_length. Thanks to
3234 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
3235 <marc@mclemente.net> for reporting and providing test servers.
3237 ** Fix compilation error related to __FUNCTION__ on some systems.
3238 Reported by Tim Mooney, see
3239 <https://savannah.gnu.org/support/?106267>.
3241 ** Documented the --priority option to gnutls-cli and gnutls-serv.
3243 ** Fix fopen file descriptor leak in PSK server code.
3244 Thanks to Laurence Withers <l@lwithers.me.uk>, see
3245 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
3247 ** Build Guile code with -fgnu89-inline only when supported.
3248 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
3249 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
3251 ** Make Camellia encryption work.
3252 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
3253 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
3255 ** API and ABI modifications:
3256 No changes since last version.
3258 * Version 2.2.2 (released 2008-02-21)
3260 ** Cipher priority string handling now handle strings that starts with NULL.
3261 Thanks to Laurence Withers <l@lwithers.me.uk>.
3263 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
3266 ** Increased the default certificate verification chain limits and allowed
3267 for checks without limitation.
3269 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
3270 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
3271 strings and return the proper size.
3273 ** API and ABI modifications:
3274 No changes since last version.
3276 * Version 2.2.1 (released 2008-01-17)
3278 ** Prevent linking libextra against previously installed libgnutls.
3279 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
3280 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
3282 ** Fixes the post_client_hello_function(). The extensions are now parsed
3283 in a callback friendly way.
3285 ** Fix for certificate selection in servers with certificate callbacks.
3287 ** API and ABI modifications:
3288 No changes since last version.
3290 * Version 2.2.0 (released 2007-12-14)
3292 ** Update internal copy of libtasn1 to version 1.2.
3294 ** Certtool --verify-chain now handle inputs larger than 64kb.
3295 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
3296 recent versions of libgcrypt. The problem was that Wine with the
3297 libgcrypt RNG generates huge amounts of debugging output.
3299 ** Translation updates.
3300 Added Dutch translation. Updated Polish and Swedish translation.
3302 ** Major changes compared to the v2.0 branch:
3304 *** SRP support aligned with newly published RFC 5054.
3306 *** OpenPGP support aligned with newly published RFC 5081.
3308 *** Support for DSA2 keys.
3310 *** Support for Camellia cipher.
3312 *** Support for Opaque PRF Input extension.
3314 *** PKCS#8 parser now handle DSA keys.
3316 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
3317 Notice that liblzo2 2.02 is licensed under GPLv2 only. Earlier
3318 versions, such as 2.01 which is included with GnuTLS, is available
3319 under GPLv2 or later. If this incompatibility causes problems, we
3320 recommend you to disable LZO using --without-lzo. LZO compression is
3321 not a standard TLS compression algorithm, so the impact should be
3324 *** Functions for disabling record protocol padding.
3325 Works around bugs on Nokia/Ericsson phones.
3327 *** New functions gnutls_priority_set() for setting cipher priorities easily.
3328 Priorities like "COMPAT" also enables other work arounds, such as
3331 *** Other minor improvements and bug fixes.
3333 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
3334 To adapt to changes in the TLS extension specifications for OpenPGP
3335 and SRP, the GnuTLS API had to be modified. This means breaking the
3336 API and ABI backwards compatibility. That is something we try to
3337 avoid unless it is necessary. We decided to also remove the already
3338 deprecated stub functions for X.509 to XML conversion and TLS
3339 authorization (see below) when we had the opportunity.
3341 Generally, most applications does not need to be modified. Just
3342 re-compile them against the latest GnuTLS release, and it should work
3345 Applications that use the OpenPGP or SRP features needs to be
3346 modified. Below is a list of the modified APIs and discussion of what
3347 the minimal things you need to modify in your application to make it
3348 work with GnuTLS 2.2.
3350 Note that GnuTLS 2.2 also introduces new APIs -- such as
3351 gnutls_set_priority() that is superior to
3352 gnutls_set_default_priority() -- that you may want to start using.
3353 However, using those new APIs is not required to use GnuTLS 2.2 since
3354 the old functions continue are still supported. This text only
3355 discuss what you minimally have to modify.
3357 *** XML related changes
3358 The function `gnutls_x509_crt_to_xml' has been removed. It has been
3359 deprecated and only returned an error code since GnuTLS version
3360 1.2.11. Nobody has complained, so users doesn't seem to miss the
3361 functionality. We don't know of any other library to convert X.509
3362 certificates into XML format, but we decided (long ago) that GnuTLS
3363 isn't the right place for this kind of functionality. If you want
3364 help to find some other library to use here, please explain and
3365 discuss your use case on help-gnutls@gnu.org.
3367 *** TLS Authorization related changes
3368 Everything related to TLS authorizations have been removed, they were
3369 only stub functions that returned an error code:
3371 GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
3372 gnutls_authz_data_format_type_t
3373 gnutls_authz_recv_callback_func
3374 gnutls_authz_send_callback_func
3376 gnutls_authz_send_x509_attr_cert
3377 gnutls_authz_send_saml_assertion
3378 gnutls_authz_send_x509_attr_cert_url
3379 gnutls_authz_send_saml_assertion_url
3381 *** SRP related changes
3382 The callback gnutls_srp_client_credentials_function has a new
3383 prototype, and its semantic has changed. You need to rewrite the
3384 callback, see the updated function documentation and SRP example code
3385 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
3388 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
3389 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
3390 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
3391 used. There are #define's to map the old names to the new. You may
3392 run into problems if you have a switch-case with cases for both SRP
3393 alerts, since they are now mapped to the same value. The solution is
3394 to drop the SRP alerts from such switch cases, as they are now
3395 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
3397 *** OpenPGP related changes
3398 The function `gnutls_certificate_set_openpgp_keyserver' have been
3399 removed. There is no replacement functionality inside GnuTLS. If you
3400 need keyserver functionality, consider using the GnuPG tools.
3402 All functions, types, and error codes related to OpenPGP trustdb
3403 format have been removed. The trustdb format is a non-standard
3404 GnuPG-specific format, and we recommend you to use key rings instead.
3405 The following have been removed:
3407 gnutls_certificate_set_openpgp_trustdb
3408 gnutls_openpgp_trustdb_init
3409 gnutls_openpgp_trustdb_deinit
3410 gnutls_openpgp_trustdb_import
3411 gnutls_openpgp_key_verify_trustdb
3412 gnutls_openpgp_trustdb_t
3413 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
3415 The following functions has an added parameter of the (new) type
3416 `gnutls_openpgp_crt_fmt_t'. The type specify the format of the data
3417 (binary or base64). The functions are:
3418 gnutls_certificate_set_openpgp_key_file
3419 gnutls_certificate_set_openpgp_key_mem
3420 gnutls_certificate_set_openpgp_keyring_mem
3421 gnutls_certificate_set_openpgp_keyring_file
3423 To improve terminology and align with the X.509 interface, some
3424 functions have been renamed. Compatibility mappings exists. The old
3425 and new names of the affected functions and types are:
3428 gnutls_openpgp_key_t gnutls_openpgp_crt_t
3429 gnutls_openpgp_key_fmt_t gnutls_openpgp_crt_fmt_t
3430 gnutls_openpgp_key_status_t gnutls_openpgp_crt_status_t
3431 GNUTLS_OPENPGP_KEY GNUTLS_OPENPGP_CERT
3432 GNUTLS_OPENPGP_KEY_FINGERPRINT GNUTLS_OPENPGP_CERT_FINGERPRINT
3433 gnutls_openpgp_key_init gnutls_openpgp_crt_init
3434 gnutls_openpgp_key_deinit gnutls_openpgp_crt_deinit
3435 gnutls_openpgp_key_import gnutls_openpgp_crt_import
3436 gnutls_openpgp_key_export gnutls_openpgp_crt_export
3437 gnutls_openpgp_key_get_key_usage gnutls_openpgp_crt_get_key_usage
3438 gnutls_openpgp_key_get_fingerprint gnutls_openpgp_crt_get_fingerprint
3439 gnutls_openpgp_key_get_pk_algorithm gnutls_openpgp_crt_get_pk_algorithm
3440 gnutls_openpgp_key_get_name gnutls_openpgp_crt_get_name
3441 gnutls_openpgp_key_get_version gnutls_openpgp_crt_get_version
3442 gnutls_openpgp_key_get_creation_time gnutls_openpgp_crt_get_creation_time
3443 gnutls_openpgp_key_get_expiration_time gnutls_openpgp_crt_get_expiration_time
3444 gnutls_openpgp_key_get_id gnutls_openpgp_crt_get_id
3445 gnutls_openpgp_key_check_hostname gnutls_openpgp_crt_check_hostname
3446 gnutls_openpgp_send_key gnutls_openpgp_send_cert
3448 ** API and ABI modifications:
3449 No changes since last version.
3451 * Version 2.1.8 (released 2007-12-10)
3453 ** The GPL version has been changed from version 2 to version 3.
3454 This affects the self-tests, command-line tools, the libgnutls-extra
3455 library, the relevant guile parts, and the build environment.
3457 ** Added gnutls_x509_crt_get_subject_alt_name2().
3459 ** Corrected a segfault when setting an empty gnutls_priority_t
3460 at gnutls_priority_set().
3462 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
3463 Fixes a problem with spurious -L/usr/lib additions.
3465 ** API and ABI modifications:
3466 gnutls_x509_crt_get_subject_alt_name2: ADD.
3468 * Version 2.1.7 (released 2007-11-29)
3470 ** PKCS #8 parser can now encode/decode DSA keys.
3472 ** Updated gnutls_set_default_priority2() now renamed to
3473 gnutls_priority_set() and gnutls_priority_set_direct() which
3474 accept a string to indicate preferences of ciphersuite parameters.
3476 ** gnutls-cli and gnutls-serv now have a --priority option to set
3477 the priority string.
3479 ** The gnutls_*_convert_priority() functions were deprecated by
3480 the gnutls_priority_set() and gnutls_priority_set_direct().
3482 ** Internal copy of OpenCDK upgraded to version 0.6.6.
3484 ** API and ABI modifications:
3485 gnutls_priority_init: ADD.
3486 gnutls_priority_deinit: ADD.
3487 gnutls_priority_set: ADD.
3488 gnutls_priority_set_direct: ADD.
3489 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
3490 gnutls_mac_convert_priority: REMOVED
3491 gnutls_compression_convert_priority: REMOVED
3492 gnutls_protocol_convert_priority: REMOVED
3493 gnutls_kx_convert_priority: REMOVED
3494 gnutls_cipher_convert_priority: REMOVED
3495 gnutls_certificate_type_convert_priority: REMOVED
3496 gnutls_set_default_priority: UNDEPRECATED
3497 gnutls_set_default_priority_export: UNDEPRECATED
3499 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
3500 GNUTLS_CIPHER_UNKNOWN: ADD.
3501 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
3502 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
3503 GNUTLS_KX_UNKNOWN: ADD.
3504 GNUTLS_COMP_UNKNOWN: ADD.
3505 GNUTLS_CRT_UNKNOWN: ADD.
3506 gnutls_mac_get_id: ADD.
3507 gnutls_compression_get_id: ADD.
3508 gnutls_cipher_get_id: ADD.
3509 gnutls_kx_get_id: ADD.
3510 gnutls_protocol_get_id: ADD.
3511 gnutls_certificate_type_get_id: ADD.
3512 gnutls_handshake_post_client_hello_func: ADD.
3513 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
3515 * Version 2.1.6 (released 2007-11-15)
3517 ** Corrected bug in decompression of expanded compression data.
3519 ** Added the --to-p8 option to certtool to convert private keys
3522 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
3524 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
3527 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
3528 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
3529 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
3530 documented. This caused some problems (e.g., debian #450854). To
3531 avoid backwards compatibility problems, this release revert this
3532 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
3533 done in GnuTLS 2.0.x and earlier, and add a new error code
3534 GNUTLS_E_UNKNOWN_ALGORITHM.
3536 ** Fixes several gtk-doc warnings.
3538 ** API and ABI modifications:
3539 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
3540 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
3541 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
3543 * Version 2.1.5 (released 2007-11-01)
3545 ** Fix PKCS#3 parameter export problem.
3547 ** Improve certtool queries, they now print the default value.
3551 ** Update gnulib files.
3553 ** API and ABI modifications:
3554 No changes since last version.
3556 * Version 2.1.4 (released 2007-10-27)
3558 ** Added the --v1 option to certtool, to allow generating X.509
3559 version 1 certificates.
3561 ** certtool: Add option --disable-quick-random to enable the old behaviour
3562 of using /dev/random to generate keys.
3564 ** Added priority functions that accept strings.
3566 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
3567 priorities preferences.
3569 ** Added gnutls_record_disable_padding() to allow servers talking to
3570 buggy clients that complain if the TLS 1.0 record protocol padding is
3573 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3574 all supported compatibility options (like disabling padding).
3576 ** The gnutls_certificate_set_openpgp_* functions were modified to include
3577 the format. This makes the interface consistent with the x509 functions.
3579 ** Internal copy of OpenCDK upgraded to version 0.6.5.
3581 ** Update gnulib files.
3583 ** API and ABI modifications:
3584 gnutls_certificate_set_openpgp_key_mem: MODIFIED
3585 gnutls_certificate_set_openpgp_key_file: MODIFIED
3586 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
3587 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
3588 gnutls_set_default_priority: DEPRECATED
3589 gnutls_set_default_priority_export: DEPRECATED
3590 gnutls_set_default_priority2: ADDED
3591 gnutls_session_enable_compatibility_mode: ADDED
3592 gnutls_record_disable_padding: ADDED
3593 gnutls_mac_convert_priority: ADDED
3594 gnutls_compression_convert_priority: ADDED
3595 gnutls_protocol_convert_priority: ADDED
3596 gnutls_kx_convert_priority: ADDED
3597 gnutls_cipher_convert_priority: ADDED
3598 gnutls_certificate_type_convert_priority: ADDED
3599 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
3600 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
3601 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
3602 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
3603 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
3604 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
3605 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
3606 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
3607 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
3608 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
3609 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
3610 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
3611 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
3612 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
3613 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
3614 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
3615 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
3616 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
3618 * Version 2.1.3 (released 2007-10-17)
3620 ** TLS authorization support removed.
3621 This technique may be patented in the future, and it is not of crucial
3622 importance for the Internet community. After deliberation we have
3623 concluded that the best thing we can do in this situation is to
3624 encourage society not to adopt this technique. We have decided to
3625 lead the way with our own actions.
3627 ** Re-enabled the 256 bit ciphers in the default priorities.
3629 ** Corrected bugs in openpgp key verification using a keyring (both in
3632 ** API and ABI modifications:
3633 gnutls_certificate_set_openpgp_keyserver: REMOVED
3634 gnutls_authz_data_format_type_t,
3635 gnutls_authz_recv_callback_func,
3636 gnutls_authz_send_callback_func,
3637 gnutls_authz_enable,
3638 gnutls_authz_send_x509_attr_cert,
3639 gnutls_authz_send_saml_assertion,
3640 gnutls_authz_send_x509_attr_cert_url,
3641 gnutls_authz_send_saml_assertion_url: REMOVED.
3642 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
3643 gnutls_supplemental_data_format_type_t enum type becomes empty.
3645 * Version 2.1.2 (released 2007-10-14)
3647 ** Removed all the trustdb code from openpgp authentication.
3648 We now use only the well-specified keyrings.
3650 ** The 256 bit ciphers are not enabled in the default priorities.
3652 ** Added support for DSA2 using libgcrypt 1.3.0.
3654 ** certtool: Fixed data corruption when using --outder.
3656 ** Removed all the xml related stubs and functions.
3658 ** Added capability to set a callback after the client hello is received
3659 by the server in order to adjust parameters before the handshake.
3661 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
3663 ** Corrected bug which did not allow a server to run without supporting
3666 ** Updated the DN parser which now prints wrongly decoded values as hex
3669 ** certtool: Add option --quick-random.
3670 For generating low security test credentials.
3672 ** API and ABI modifications:
3673 gnutls_x509_crt_to_xml: REMOVED
3674 gnutls_openpgp_key_to_xml: REMOVED
3675 gnutls_openpgp_key_verify_trustdb: REMOVED
3676 gnutls_openpgp_trustdb_init: REMOVED
3677 gnutls_openpgp_trustdb_deinit: REMOVED
3678 gnutls_openpgp_trustdb_import: REMOVED
3679 gnutls_certificate_set_openpgp_trustdb: REMOVED
3680 gnutls_srp_client_credentials_function: CHANGED
3681 gnutls_handshake_set_post_client_hello_function: ADDED
3682 gnutls_mac_get_key_size: ADDED
3683 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
3684 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
3685 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
3687 * Version 2.1.1 (released 2007-09-24)
3689 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
3690 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
3691 compiled with Camellia support. See the libgcrypt documentation on
3692 how to enable it. Unconditionally disable it using the configure
3693 option --disable-camellia. Fixes #1.
3695 ** Properly document in the NEWS file the API change in the last release.
3697 ** API and ABI modifications:
3698 No changes since last version.
3700 * Version 2.1.0 (released 2007-09-20)
3702 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
3703 The support is disabled by default. Since no value has been allocated
3704 by the IANA for this extension yet, you will need to provide one
3705 yourself by invoking './configure --enable-opaque-prf-input=42'.
3708 ** Example code: Fix compilation flaw under MinGW.
3710 ** API and ABI modifications:
3711 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
3712 gnutls_oprfi_enable_client: ADD, new function.
3713 gnutls_oprfi_enable_server: ADD, new function.
3715 * Version 2.0.4 (released 2007-11-16)
3717 ** Corrected bug in decompression of expanded compression data.
3719 ** API and ABI modifications:
3720 No changes since last version.
3722 * Version 2.0.3 (released 2007-11-10)
3724 ** This version backports several fixes from the 2.1.x branch.
3726 ** Fixed PKCS #3 parameter export.
3728 ** Added gnutls_record_disable_padding() to allow servers talking to
3729 buggy clients that complain if the TLS 1.0 record protocol padding is
3732 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3733 all supported compatibility options (like disabling padding).
3735 ** Corrected bug which did not allow a server to run without supporting
3738 ** API and ABI modifications:
3739 gnutls_session_enable_compatibility_mode: ADDED
3740 gnutls_record_disable_padding: ADDED
3742 * Version 2.0.2 (released 2007-10-17)
3744 ** TLS authorization support removed.
3745 This technique may be patented in the future, and it is not of crucial
3746 importance for the Internet community. After deliberation we have
3747 concluded that the best thing we can do in this situation is to
3748 encourage society not to adopt this technique. We have decided to
3749 lead the way with our own actions.
3751 ** certtool: Fixed data corruption when using --outder.
3753 ** Fix configure-time Guile detection.
3755 ** API and ABI modifications:
3756 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
3757 gnutls_supplemental_data_format_type_t enum type becomes empty.
3759 * Version 2.0.1 (released 2007-09-20)
3761 ** New directory doc/credentials/ with test credentials.
3762 This collects the test credentials from the web page and from src/.
3763 The script gnutls-http-serv has also been moved to that directory.
3765 ** Update SRP extension type and cipher suite with official IANA values.
3766 This breaks backwards compatibility with SRP in older versions of
3767 GnuTLS, but this is intentional to speed up the adoption of the
3768 official values. The old values we used were incorrect.
3770 ** Guile: Fix `x509-certificate-dn-oid'
3772 ** API and ABI modifications:
3773 No changes since last version.
3775 * Version 2.0.0 (released 2007-09-04)
3777 ** Included copy of Libtasn1 upgraded to version 1.1.
3779 ** Disable building of some examples if anonymous ciphers are disabled.
3781 ** Don't build examples for disabled features.
3783 ** API and ABI modifications:
3784 No changes since last version.
3786 * Version 1.7.19 (released 2007-08-27)
3788 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
3789 This solves connection problems in mutt, see
3790 <http://bugs.debian.org/439640>.
3792 ** Update gnulib files.
3793 In particular, the getpass module -- with its dependencies on getline,
3794 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
3795 library) directory to the gl/ directory (only used by the command line
3796 tools). The reason is that getpass is now only used by the
3797 command-line tools, and reducing the number of gnulib modules linked
3798 to the core library helps portability and reduces size.
3802 ** Disable building of PGP examples if PGP is disabled.
3804 ** Included copy of OpenCDK upgraded to version 0.6.4.
3806 ** API and ABI modifications:
3807 No changes since last version.
3809 * Version 1.7.18 (released 2007-08-16)
3811 ** Install images for the info manual.
3812 This has a side effect of renaming the images. See
3813 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
3814 discussions on the approach chosen.
3816 ** Fix pointer mix to variables of different size.
3817 Patch extracted from
3818 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
3820 ** Fix warnings during build.
3821 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
3823 ** API and ABI modifications:
3824 No changes since last version.
3826 * Version 1.7.17 (released 2007-08-15)
3828 ** New functions to perform external signing.
3829 Set the signing callback function (of the gnutls_sign_func prototype)
3830 using the gnutls_sign_callback_set function. In the callback, you may
3831 find the new functions gnutls_x509_privkey_sign_hash and
3832 gnutls_openpgp_privkey_sign_hash useful. A new function
3833 gnutls_sign_callback_get is also added, to retrieve the function
3834 pointer. Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
3835 comments and testing.
3837 ** New self test of client and server authenticated X.509 TLS sessions.
3838 See tests/x509self.c and tests/x509signself.c. The latter also tests
3839 the new external signing callback interface.
3841 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3842 These two actually describe the outer limits of a range of error codes
3843 reserved to the application. All of the errors are treated as fatal
3844 by the library (it has to since it doesn't know the semantics of the
3845 error codes). This can be useful in callbacks, to signal some
3846 application-specific error condition, which will usually eventually
3847 cause some gnutls API to return the same error code as the callback,
3848 which then can be inspected by the application. Note that error codes
3851 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3852 The RFC is not released yet, and we're approaching a major release so
3853 let's not enable it just yet.
3855 ** Fix namespace so that gnutls_*_t is used consistently.
3856 Before, many places in the GnuTLS code used the old deprecated type
3857 names without the '_t' suffix.
3859 ** Build fixes for Guile code.
3860 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3862 ** More documentation fixes.
3863 In particular, the section headings were modified for casing. By
3864 Ludovic Courtes <ludovic.courtes@laas.fr>.
3866 ** Updated Polish and Swedish translations.
3867 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3868 <po@danielnylander.se>.
3870 ** API and ABI modifications:
3871 gnutls_sign_func: ADD, new type for sign callback.
3872 gnutls_sign_callback_set: ADD, new function to set sign callback.
3873 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3874 gnutls_x509_privkey_sign_hash,
3875 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3876 GNUTLS_E_APPLICATION_ERROR_MIN,
3877 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3879 * Version 1.7.16 (released 2007-08-07)
3881 ** Fix sanity checks and return values in certificate selection.
3882 In some cases, GnuTLS omitted to report suitable error codes when no
3883 suitable certificate was found.
3885 ** Fix gnutls-cli starttls EOF on Mac OS X.
3886 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3888 ** Documentation fixes.
3889 In particular, the section headings were modified for casing. By
3890 Ludovic Courtes <ludovic.courtes@laas.fr>.
3892 ** Update gnulib files.
3894 ** API and ABI modifications:
3895 No changes since last version.
3897 * Version 1.7.15 (released 2007-07-02)
3899 ** Fix self-tests key-id under mingw32.
3901 ** Test that the Guile header files are recent enough to work.
3902 Before we just tested that the command line tool 'guile' was recent
3903 enough, which may not be sufficient if you still have an old
3904 libguile.h header installed.
3906 ** Guile bindings are now installed under $prefix by default.
3907 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3908 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3909 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3910 The default, --with-guile-site-dir, will install the Guile bindings
3911 under $datadir/guile/site. There is a new section 'Guile
3912 Preparations' in the manual that discuss these issues.
3914 ** Fix run-time library path ordering in linking the Guile bindings.
3916 ** Improved manual on downloading, installing, getting help, bug reports etc.
3917 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3919 ** Add Malay message translations.
3920 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3922 ** API and ABI modifications:
3923 No changes since last version.
3925 * Version 1.7.14 (released 2007-06-26)
3927 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3928 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3930 ** Fix memory leak during DSA signature verification.
3931 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3933 ** Fix crash in gnutls-cli when TLS handshake fails.
3934 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3935 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3936 <http://bugs.debian.org/429183>.
3938 ** Minor OpenPGP fixes in stream_to_datum.
3939 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3940 <ludovic.courtes@laas.fr>.
3942 ** Fix off-by-one in TLS 1.2 handshake.
3943 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3945 ** Minor Guile binding self-test cleanup.
3946 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3948 ** Update gnulib files.
3950 ** API and ABI modifications:
3951 No changes since last version.
3953 * Version 1.7.13 (released 2007-06-11)
3955 ** OpenCDK copy updated to version 0.6.3.
3957 ** Build fixes for GnuTLS Guile bindings.
3958 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3960 ** Build fix for GTK-DOC manual.
3962 ** Update gnulib files.
3964 ** API and ABI modifications:
3965 No changes since last version.
3967 * Version 1.7.12 (released 2007-06-08)
3969 ** Guile bindings for GnuTLS have been included.
3970 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>. There is a
3971 new chapter 'Guile Bindings' in the manual.
3973 ** Have PKCS8 parser return better error codes.
3974 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3975 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3976 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3978 ** Fix mem leak for sessions with client authentication via certificates.
3979 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3980 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3983 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3984 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>. Added
3985 self-test tests/parse_ca.c to test regressions.
3987 ** Fix build failures related to missing images in manual.
3988 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3990 ** Update gnulib files.
3992 ** API and ABI modifications:
3993 No changes since last version.
3995 * Version 1.7.11 (released 2007-05-26)
3997 ** Include opencdk.h in the release.
3998 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4000 ** API and ABI modifications:
4001 No changes since last version.
4003 * Version 1.7.10 (released 2007-05-25)
4005 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4006 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
4008 ** Update of gnulib files.
4010 ** GnuTLS is now developed in GIT instead of CVS.
4011 See <http://repo.or.cz/w/gnutls.git> for a public repository.
4013 ** API and ABI modifications:
4014 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4015 gnutls_x509_crt_get_raw_dn: ADD.
4017 * Version 1.7.9 (released 2007-05-12)
4019 ** X.509 certificates are preferred over OpenPGP keys.
4020 This is a change in the semantics of gnutls_set_default_priority.
4022 ** The included copy of OpenCDK has been updated to 0.6.1.
4023 There has been some API changes in OpenCDK, and the GnuTLS layer have
4024 been modified as well. Note that while there are API/ABI incompatible
4025 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
4026 its API/ABI have not changed. From this version on, GnuTLS requires
4027 OpenCDK 0.6.0 or later.
4029 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
4031 ** Change certtool's default serial number from 0 to a time-based value.
4033 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4034 Before, we remove the parameters field, which resulted in a slightly
4035 different DER encoding which in turn caused signature verification
4036 failures of GnuTLS-generated RSA certificates in some other
4037 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
4038 you read, this may or may not be correct, but our new behaviour appear
4039 to be consistent with other widely used implementations.
4041 ** Fix mem leaks in gnutls_x509_crt_print.
4043 ** API and ABI modifications:
4044 No changes since last version.
4046 * Version 1.7.8 (released 2007-04-16)
4048 ** Added examples for the authorization extension.
4049 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
4051 ** The examples only use gnutls_set_default_priority().
4052 The exception is when DH_ANON is needed.
4054 ** Improve gnutls_set_default_priority() priorities.
4055 The new approach is for it to try and negotiate all secure and
4056 standard mechanisms available. Currently, DH_ANON ciphersuites and
4057 LZO compressions are not enabled by default, because they are,
4058 respectively, insecure and non-standardized. Note that TLS 1.2 will
4059 not be enabled by default in non-experimental release until it has
4060 been approved by the IETF.
4062 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
4063 This means that to get DH_ANON and LZO compression, you'll need to
4064 specify that manually using '--kx anon' or '--comp lzo'.
4066 ** Minor fixes to the human display format of X.509 certificates.
4068 ** New APIs to extract Distinguished Name's from X.509 certificates.
4069 Based on patch from Howard Chu <hyc@symas.com>.
4071 ** Improved library searching for opencdk.
4072 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
4073 The deprecated opencdk.m4 is no longer used.
4075 ** New APIs to list supported algorithms in the library.
4076 The APIs are gnutls_cipher_list, gnutls_mac_list,
4077 gnutls_compression_list, gnutls_protocol_list,
4078 gnutls_certificate_type_list, gnutls_kx_list, and
4079 gnutls_cipher_suite_info. Suggested by Howard Chu <hyc@symas.com>.
4081 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
4083 ** New configure option --disable-tls-authorization to disable tls-authz.
4085 ** Fix prototype for `gnutls_psk_set_client_credentials'.
4086 The last parameter was renamed from 'flags' to 'format' and the type
4087 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
4088 which shouldn't cause any ABI changes. Reported by ludo@chbouib.org
4091 ** Fix allocation in gnutls_certificate_set_openpgp_key.
4092 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
4094 ** API and ABI modifications:
4095 gnutls_x509_dn_t: ADD.
4096 gnutls_x509_ava_st: ADD.
4097 gnutls_x509_crt_get_subject,
4098 gnutls_x509_crt_get_issuer: ADD.
4099 gnutls_x509_dn_get_rdn_ava: ADD.
4100 gnutls_cipher_list: ADD.
4101 gnutls_mac_list: ADD.
4102 gnutls_compression_list: ADD.
4103 gnutls_protocol_list: ADD.
4104 gnutls_certificate_type_list: ADD.
4105 gnutls_kx_list: ADD.
4106 gnutls_cipher_suite_info: ADD.
4108 * Version 1.7.7 (released 2007-02-22)
4110 ** Support for supplemental handshake messages and authorization data.
4111 Supplemental data is described in RFC 4680 and the authorization
4112 extensions in draft-housley-tls-authz-extns-07.
4114 ** Support for authorization data in gnutls-cli and gnutls-serv.
4115 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
4117 ** Fix for gnutls_x509_crt_check_hostname.
4118 Before it would have reported that the certificate matched a hostname
4119 when it did not have any dNSName or any CN field. Report and tiny
4120 patch from "Richard W.M. Jones" <rjones@redhat.com>.
4122 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
4123 Tests regressions of the bug, and several other features.
4125 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
4126 Before there were no support for iPAddress SAN's during comparison.
4128 ** New API to print information about CRL's.
4129 The function is gnutls_x509_crl_print.
4131 ** New API to extract signature value from CRL's.
4132 The function is gnutls_x509_crl_get_signature.
4134 ** Support for directoryName Subject Alternative Name's.
4135 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
4136 string in the provided buffer.
4138 ** Internal improvements to certtool.
4139 It uses gnutls_x509_crl_print to print CRL information. It uses some
4140 more gnulib modules to simplify error handling.
4142 ** API and ABI modifications:
4143 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
4144 gnutls_supplemental_data_format_type_t: ADD.
4145 gnutls_authz_data_format_type_t: ADD.
4146 gnutls_supplemental_get_name: ADD.
4147 gnutls_authz_recv_callback_func,
4148 gnutls_authz_send_callback_func: ADD, callback prototypes.
4149 gnutls_authz_enable: ADD.
4150 gnutls_authz_send_x509_attr_cert,
4151 gnutls_authz_send_saml_assertion,
4152 gnutls_authz_send_x509_attr_cert_url,
4153 gnutls_authz_send_saml_assertion_url: ADD.
4154 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
4155 gnutls_x509_crl_print: ADD.
4156 gnutls_x509_crl_get_signature: ADD.
4158 * Version 1.7.6 (released 2007-02-12)
4160 ** Support for 'otherName' Subject Alternative Names.
4161 The existing API gnutls_x509_crt_get_subject_alt_name may now return
4162 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
4163 To find out the otherName OID (necessary for proper parsing of the
4164 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
4165 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
4166 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
4167 simplify OID matching. Suggested by Matthias Wimmer <m@tthias.eu>.
4169 ** Certtool can print otherName SAN values for certificates.
4170 For known otherName OIDs (currently only id-on-xmppAddr as defined by
4171 RFC 3920), it will also print the name.
4173 ** Fix TLS 1.2 RSA signing in servers.
4174 Before it used the old-style MD5+SHA1 signature, but the TLS
4175 signatures should be normal PKCS#1 signatures. FYI, we use and
4176 require that DigestInfo parameters are present and NULL for TLS 1.2.
4178 ** Add APIs to access X.509 extensions sequentially.
4179 The existing APIs gnutls_x509_crt_get_extension_oid() and
4180 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
4181 inspect the extensions in the order defined by the certificate.
4183 ** Add API to extract signature value from X.509 certificates.
4184 The function is gnutls_x509_crt_get_signature.
4186 ** Fix crash when generating proxy certificates in batch mode.
4187 If you don't specify a proxy policy in batch mode, it will use
4190 ** Add API to print information about X.509 certificates.
4191 The function is gnutls_x509_crt_print.
4193 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
4194 One consequence of this is that the output syntax has changed
4195 slightly. Some more fields are printed.
4199 ** API and ABI modifications:
4200 gnutls_x509_crt_print: ADD
4201 gnutls_certificate_print_formats_t: ADD, new enum.
4202 gnutls_x509_crt_get_signature: ADD.
4203 gnutls_x509_crt_get_extension_data: ADD.
4204 gnutls_x509_crt_get_extension_info: ADD.
4205 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
4206 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
4207 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
4209 * Version 1.7.5 (released 2007-02-06)
4211 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
4214 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
4216 ** Fix --list output for gnutls-cli and gnutls-serv.
4217 Mention TLS1.2, SHA512 etc.
4219 ** Manual contains new section on setting up a test HTTP server.
4220 A server set up following those descriptions are available online via
4221 <http://www.gnutls.org/server.html>.
4223 ** Update of gnulib files.
4225 ** API and ABI modifications:
4226 No changes since last version.
4228 * Version 1.7.4 (released 2007-02-05)
4230 ** Support for RSA signing using SHA-256/384/512.
4231 A new self test "sha2" tries to build a long X.509 certificate chain
4232 testing all new hashes.
4234 ** The gnutls-serv tool now use static DH parameters if none are supplied.
4236 ** Discuss proxy certificates in the manual.
4238 ** Improve bibliographical citations in the manual.
4240 ** Update of gnulib files.
4242 ** Fix certtool template handling of pathLenConstraints.
4243 It now defaults to -1 instead of 0, which causes the field to be
4244 missing unless the template specify it.
4246 ** API and ABI modifications:
4249 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
4252 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
4253 GNUTLS_SIGN_RSA_SHA256,
4254 GNUTLS_SIGN_RSA_SHA384,
4255 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
4257 * Version 1.7.3 (released 2007-02-01)
4259 ** New option to certtool: --generate-proxy.
4260 This will generate a Proxy Certificate from an end entity certificate.
4261 Proxy Certificates are documented in RFC 3820. You will need to
4262 specify the proxy certificate's private key with --load-privkey, the
4263 user certificate with --load-certificate and the private key used to
4264 sign the new proxy certificate with --load-ca-privkey. Certtool will
4265 query for proxy path length and the policy language OID. Currently
4266 only OIDs that have an empty policy are supported (which includes the
4267 two OIDs defined by RFC 3820).
4269 ** Certtool --certificate-info now prints information for Proxy Certificates.
4270 Before the proxy extension was just printed as DER encoded data.
4272 ** New APIs to set proxy subject names and get/set proxy cert extension.
4274 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
4276 ** Added self-test to test for regressions of pathLenConstraint bug.
4277 Incidentally, this also test (some) other regressions or changes in
4278 the output from certtool --certificate-info.
4280 ** When certtool generates CA certificates, pressing enter on the path
4281 ** length constraint query will now remove the field.
4282 Before it set the path length constraint to 0, which is a rather poor
4285 ** Certtool now print times in UTC when printing certificate/CRL info.
4287 ** Add better fix to work around C++ compiler bug on Mac OS X.
4288 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
4290 ** Fix import of ASCII armored OpenPGP keys.
4291 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
4293 ** Update of gnulib files.
4295 ** API and ABI modifications:
4296 gnutls_x509_crt_set_proxy_dn: ADD.
4297 gnutls_x509_crt_set_proxy: ADD.
4298 gnutls_x509_crt_get_proxy: ADD.
4300 * Version 1.7.2 (released 2007-01-14)
4302 ** Certtool now print the value of the pathLenConstraints field for certs.
4304 ** Certtool now query for path length constraints when generating CA certs.
4305 For batch uses, the certtool configuration name is "path_len".
4306 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
4308 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
4309 The new functions gnutls_x509_crt_get_basic_constraints and
4310 gnutls_x509_crt_set_basic_constraints provide a superset of the
4311 functionality in the old gnutls_x509_crt_get_ca_status and
4312 gnutls_x509_crt_set_ca_status (respectively), but the old functions
4313 will continue to be supported.
4315 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
4316 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp. A proper
4317 OpenCDK release with this patch will be made soon, which should bump
4318 the OpenCDK version number. Patch by Mario Lenz <mario.lenz@gmx.net>.
4320 ** Certtool --to-p12 can now store more than one certificate in the blob.
4321 Before it could only store one certificate, but now it will read and
4322 store as many certificate there are from the --load-certificate file.
4323 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
4325 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
4326 In particular, the OpenPGP function variables are no longer part of
4327 the exported libgnutls interface, and no header files from
4328 libgnutls-extra (GPL) are needed by libgnutls (LGPL). The variables
4329 were never intended for non-internal purposes, and thus this does not
4330 imply a change in the external API/ABI.
4332 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
4333 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4335 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
4336 Before these parameters were set to make GnuTLS build under mingw32,
4337 however, they appear to no longer be necessary.
4339 ** A minor fix to the C++ library to make it build.
4340 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
4342 ** Update of gnulib files.
4344 ** API and ABI modifications:
4345 gnutls_x509_crt_get_basic_constraints: ADD.
4346 gnutls_x509_crt_set_basic_constraints: ADD.
4347 cdk_pubkey_to_sexp: ADD (in opencdk).
4348 cdk_seckey_to_sexp: ADD (in opencdk).
4350 * Version 1.7.1 (released 2006-12-28)
4352 ** TLS 1.2 server side fix.
4353 The Certificate Request sent did not contain the list of supported
4354 hashes field, thus violating the protocol. It will now contain an
4355 empty list. Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4357 ** TLS 1.2 DSA signature verification fix.
4358 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4360 ** Fix the list of trusted CAs that server's send to clients.
4361 Before, the list contained issuer DN's instead of subject DN's of the
4362 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
4364 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
4365 Also added a self-test in tests/certificate_set_x509_crl.c to test the
4366 function. Reported by Max Kellermann <max@duempel.org>.
4368 ** Encode UID fields in DN's as DirectoryString.
4369 Before GnuTLS encoded and parsed UID fields as IA5String. This was
4370 incorrect, it should have used DirectoryString. Now it will use
4371 DirectoryString for the UID field, but for backwards compatibility it
4372 will also accept IA5String UID's. Reported by Max Kellermann
4375 ** Improve out-of-sourcedir builds from CVS.
4376 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
4378 ** Bootstrap tools changed.
4379 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
4380 building GnuTLS from CVS. Libtool 1.5.22 is used.
4382 ** Fixed a syntax error in lib/gnutls.asn.
4383 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
4385 ** Added German translation of GnuTLS messages.
4387 ** Update of gnulib files.
4389 ** API and ABI modifications:
4390 No changes since last version.
4392 * Version 1.7.0 (released 2006-11-29)
4394 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
4395 The details is that the protocol priority set by
4396 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
4397 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
4399 ** Preliminary support for TLS 1.2.
4400 The client has been successfully tested against
4401 https://www.mikestoolbox.org:4433/.
4403 ** Anonself test now print a lot of debugging info, including TLS version.
4405 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
4407 ** Update of gnulib files.
4409 ** API and ABI modifications:
4410 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
4412 *** Pulled up from stable 1.6.x branch:
4414 ** Fix ./configure failure with non-GCC compilers.
4415 This fixes the following error message:
4416 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
4417 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
4419 * Version 1.6.3 (released 2007-05-26)
4421 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
4422 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>. Backported
4423 from the 1.7.x branch, see
4424 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
4426 ** Have PKCS8 parser return better error codes.
4427 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
4428 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
4429 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
4431 ** Fix mem leak for sessions with client authentication via certificates.
4432 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
4433 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
4435 ** Fix building of 'tlsia' self test.
4436 Earlier some gcc are known to build tlsia linking to
4437 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
4438 the build directory, even though command line parameters look OK.
4439 Changing order of some parameters fixes it.
4441 ** API and ABI modifications:
4442 gnutls_x509_crt_get_raw_issuer_dn: ADD.
4443 gnutls_x509_crt_get_raw_dn: ADD.
4445 * Version 1.6.2 (released 2007-04-18)
4447 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
4448 Before, we remove the parameters field, which resulted in a slightly
4449 different DER encoding which in turn caused signature verification
4450 failures of GnuTLS-generated RSA certificates in some other
4451 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
4452 you read, this may or may not be correct, but our new behaviour appear
4453 to be consistent with other widely used implementations.
4455 ** Regenerate the PKIX ASN.1 syntax tree.
4456 For some reason, after changing the ASN.1 type of ldap-UID in the last
4457 release, the generated C file built from the ASN.1 schema was not
4458 refreshed. This can cause problems when reading/writing UID
4459 components inside X.500 Distinguished Names. Reported by devel
4460 <dev001@pas-world.com>.
4462 ** Updated translations.
4464 ** API and ABI modifications:
4465 No changes since last version.
4467 * Version 1.6.1 (released 2006-12-28)
4469 ** Fix the list of trusted CAs that server's send to clients.
4470 Before, the list contained issuer DN's instead of subject DN's of the
4471 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
4473 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
4474 Reported by Max Kellermann <max@duempel.org>.
4476 ** Encode UID fields in DN's as DirectoryString.
4477 Before GnuTLS encoded and parsed UID fields as IA5String. This was
4478 incorrect, it should have used DirectoryString. Now it will use
4479 DirectoryString for the UID field, but for backwards compatibility it
4480 will also accept IA5String UID's. Reported by Max Kellermann
4483 ** Fix ./configure failure with non-GCC compilers.
4484 This fixes the following error message:
4485 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
4486 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
4488 ** API and ABI modifications:
4489 No changes since last version.
4491 * Version 1.6.0 (released 2006-11-17)
4493 ** No changes since 1.5.5.
4494 The major changes compared to the 1.4.x branch are:
4496 *** A GnuTLS C++ library is part of the official distribution.
4497 Currently there are no examples or documentation, but hopefully this
4498 will change. See gnutlsxx.h for the API.
4500 *** Windows is a supported platform.
4501 There are, however, two know bugs. One is related to select() in
4502 command line tools (not, nota bene, in the library), the other is a
4503 problem with libgcrypt that causes delays. Help is needed to resolve
4504 those issues, so we feel we can't delay the release because of this.
4506 *** New APIs for custom push/pull function error reporting.
4507 The new APIs are gnutls_transport_set_errno and
4508 gnutls_transport_set_global_errno. See the release notes for version
4509 1.5.4 for more information.
4511 *** Self tests are run under valgrind, if available. See --disable-valgrind.
4513 * Version 1.5.5 (released 2006-11-16)
4515 ** Correctly bump shared library version after adding new APIs.
4516 This was forgotten in the last release.
4518 ** Fix unsigned vs signed problem in ex-x509-info.c example.
4519 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
4521 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
4523 ** Update of gnulib files.
4525 ** API and ABI modifications:
4526 No changes since last version.
4528 * Version 1.5.4 (released 2006-11-07)
4530 ** New API functions to set errno in push/pull functions.
4531 Under Windows, setting the errno variable in a push/pull replacement
4532 may end up setting the wrong errno variable, and GnuTLS send/recv
4533 functions become confused about the real errno returned from a failed
4534 push/pull function. Therefor, we have added two APIs to set the errno
4535 variable used by GnuTLS. The APIs can also help to keep things
4536 thread-safe, by avoiding potentially global variables. Typically,
4537 instead of setting errno in your push/pull function, you will call one
4538 of these functions. It is recommended to use
4539 gnutls_transport_set_errno, but if you don't have the session variable
4540 easily accessible in the push/pull replacement function, you can use
4541 gnutls_transport_set_global_errno. Suggested by Tim Kosse
4542 <tim.kosse@filezilla-project.org>.
4544 void gnutls_transport_set_errno (gnutls_session_t session, int err);
4545 void gnutls_transport_set_global_errno (int err);
4547 ** When calling `recv' or `send' Windows errors are handled properly.
4548 The Windows recv/send functions doesn't use errno, and GnuTLS now use
4549 WSAGetLastError to access the error condition instead.
4551 ** Several OpenPGP API fixes.
4552 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès). The most
4553 important fix is to change the return value of
4554 gnutls_openpgp_privkey_get_pk_algorithm and
4555 gnutls_openpgp_key_get_pk_algorithm from 'int' to
4556 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
4557 compatible with 'int').
4559 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4560 ** version, try to negotiate the highest version support by the GnuTLS server,
4561 ** instead of the lowest.
4562 Reported by <Pasi.Eronen@nokia.com>.
4564 ** Replace old constructs with use of gnulib modules.
4565 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
4566 the code. If the headers doesn't exist on the target system, gnulib
4567 will make sure its replacement header files are used instead.
4569 ** Fix SOVERSION computation for *.def files.
4570 This fixes build errors similar to "No rule to make target
4571 `libgnutls-`expr', needed by `all-am'." when building for Windows.
4573 ** gnutls_check-version uses strverscmp from gnulib.
4575 ** Update of gnulib files.
4577 ** API and ABI modifications:
4578 gnutls_transport_set_errno: ADD
4579 gnutls_transport_set_global_errno: ADD
4581 * Version 1.5.3 (released 2006-10-26)
4583 ** Add new self-test of RSA-MD5 signature chains.
4584 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
4585 when verifying X.509 chains. The code is in tests/rsa-md5-collision/
4586 and is based on the work by Marc Stevens et al, see
4587 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
4589 ** Re-factor self tests.
4591 ** The include copy of Libtasn1 is updated to version 0.3.7.
4593 ** The included copy of OpenCDK is updated to version 0.5.11.
4595 ** Fix the filename of the *.def file on Windows after library version bump.
4597 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
4598 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
4599 gnulib modules. Earlier we could only use the LGPL'ed module from
4600 gnulib, because two gnulib directories in the same project didn't
4603 ** API and ABI modifications:
4604 No changes since last version.
4606 * Version 1.5.2 (released 2006-10-03)
4608 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
4609 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
4610 shared library version than this version, so you'll have to remove
4611 them and possibly relink your applications. The reason for this is
4612 that no API/ABI changes have been made since the 1.4.x branch, and
4613 that incrementing the shared library version was a mistake. Reported
4614 by Andreas Metzler <ametzler@downhill.at.eu.org>.
4616 ** Fix off-by-one error when computing length to malloc.
4617 The code is used by gnutls_openpgp_add_keyring_file and
4618 gnutls_openpgp_add_keyring_mem. Reported by "Adam Langley"
4619 <agl@imperialviolet.org>.
4621 ** Add version script for the GnuTLS C++ library.
4622 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4624 ** Fix the C++ compiler detection logic.
4625 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4627 ** Update of gnulib files.
4629 ** API and ABI modifications:
4630 No changes since last version.
4632 * Version 1.5.1 (released 2006-09-21)
4634 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4635 ** Crypto 06 rump session attack.
4636 In particular, we check that the digestAlgorithm.parameters field is
4637 missing or empty, to avoid that it can contain "garbage" that may be
4638 used to alter the numeric properties of the signature. See
4639 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4640 not exactly the same as the problem we fix here). Reported by Yutaka
4641 OIWA <y.oiwa@aist.go.jp>.
4643 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4644 up to date information.
4646 ** Add self test to test for above flaw.
4648 ** Fix gnutls-cli-debug regarding resume support detection.
4649 Earlier, if the session-id from the server had a length of 0, it would
4650 indicate that the server supports resumption, which isn't the case.
4651 Reported by Kataja Kai <kai.kataja@op.fi>.
4653 ** Fix building of examples on FreeBSD by including netinet/in.h.
4654 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4656 ** Fix certtool bug that caused the private key to not be loaded when
4657 generating a certificate with --load-request, which in turn triggered
4658 another unrelated bug in gnutls_x509_crt_sign2 (also fixed). Reported
4659 by Sascha Ziemann <sascha.ziemann@secunet.com>.
4661 ** gnutls-cli and gnutls-serv works on Windows.
4662 The problem was the select() call that doesn't work on file
4663 descriptors (stdin) on Windows. We borrowed some code from plibc to
4664 solve this. It appears to be somewhat unreliable though.
4666 ** Autoconf 2.60 is now used.
4668 ** API and ABI modifications:
4669 No changes since last version.
4671 * Version 1.5.0 (released 2006-08-13)
4673 ** Change SRP and Cert-Type extensions to match IANA registry.
4675 ** Fixed bug in OpenPGP authentication handshake.
4677 ** Improvements for building under MinGW.
4678 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
4679 header. Calls WSAStartup and WSACleanup in gnutls_global_init and
4680 gnutls_global_deinit, respectively. Loads getaddrinfo and getnameinfo
4681 at run-time from ws2_32.dll, and falls back on a simple replacement if
4682 it is not available. Builds the library with -mms-bitfields
4683 -Wl,--enable-runtime-pseudo-reloc. Links with --output-def, to
4684 create *.def files, which are installed.
4686 ** The examples now (conditionally) include config.h and link to gnulib.
4687 No other source changes were necessary, so the examples should
4688 continue to be possible to use stand-alone without any autoconf or
4691 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
4692 You may unconditionally disable it with --disable-cxx. See
4693 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
4696 ** Made command line tool '--version' behave according to GNU Standards.
4697 This enables 'make distcheck' to succeed.
4699 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4701 ** Make --without-included-libtasn1 work.
4702 Reported by Daniel Black <dragonheart@gentoo.org>.
4704 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4705 See http://www.gnu.org/software/gnutls/security.html regardging
4706 GNUTLS-SA-2006-2 for more up to date information. Reported by
4707 satyakumar <satyam_kkd@hyd.hellosoft.com>.
4709 ** API and ABI modifications:
4710 No changes since last version.
4712 * Version 1.4.5 (released 2006-11-06)
4714 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4715 ** version, try to negotiate the highest version support by the GnuTLS server,
4716 ** instead of the lowest.
4717 Reported by <Pasi.Eronen@nokia.com>.
4719 ** Fix typo in doc/examples/ex-serv-pgp.c.
4720 Reported by Adam Langley" <agl@imperialviolet.org>.
4722 ** API and ABI modifications:
4723 No changes since last version.
4725 * Version 1.4.4 (released 2006-09-12)
4727 ** Relax the test that caught signatures that exploit the variant of
4728 ** Bleichenbacher's Crypto 06 rump session attack on our
4729 ** verification logic flaw.
4730 In particular, we now permit the digestAlgorithm.parameters field to
4731 be present but empty, whereas in 1.4.3 we actually checked that the
4734 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
4735 The messages are only printed in debug mode, which is not recommended
4736 for normal use, and thus logging this situation cannot be abused as an
4737 oracle in typical recommended situations.
4739 ** API and ABI modifications:
4740 No changes since last version.
4742 * Version 1.4.3 (released 2006-09-08)
4744 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4745 ** Crypto 06 rump session attack.
4746 In particular, we check that the digestAlgorithm.parameters field is
4747 empty, to avoid that it can contain "garbage" that may be used to
4748 alter the numeric properties of the signature. See
4749 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4750 not exactly the same as the problem we fix here). Reported by Yutaka
4751 OIWA <y.oiwa@aist.go.jp>.
4753 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4754 up to date information.
4756 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
4757 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
4758 Reported by Werner Koch <wk@gnupg.org>.
4760 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
4761 up to date information.
4763 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
4765 ** API and ABI modifications:
4766 No changes since last version.
4768 * Version 1.4.2 (released 2006-08-12)
4770 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4771 This can happen if you call gnutls_certificate_verify_peers2 and have
4772 a certain mix of local CA certificates and the peer send special
4773 certificates, that together trigger certain behaviour. It is not
4774 known at this point whether the crash can be triggered without the
4775 special local CA certificate, and thus turn this into a remote crash
4776 of clients that verify server certificates when they talk to a server
4777 with the special server certificate. See GNUTLS-SA-2006-2 on
4778 http://www.gnu.org/software/gnutls/security.html for more up to date
4779 information. Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
4781 ** Change SRP and Cert-Type extensions to match IANA registry.
4783 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4785 ** Make --without-included-libtasn1 work.
4786 Reported by Daniel Black <dragonheart@gentoo.org>.
4788 ** API and ABI modifications:
4789 No changes since last version.
4791 * Version 1.4.1 (released 2006-06-14)
4793 ** Replaced inactive ifdefs to enable openpgp support in test programs.
4795 ** Fixed bug in OpenPGP authentication handshake.
4797 ** Fixed typographical in man pages.
4799 ** Build fixes of the manual.
4801 ** Added Swedish translation.
4803 ** API and ABI modifications:
4804 No changes since last version.
4806 * Version 1.4.0 (released 2006-05-15)
4808 ** Remove GnuTLS 0.8.x compatibility functions.
4810 ** The libgcrypt RNG is initialized in gnutls_global_init().
4812 ** TLS/IA API changes from Emile van Bergen.
4813 A dummy credential structure is not needed now, if you wish to use the
4814 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
4817 ** The self-tests are now run under valgrind, if it is installed.
4819 ** Libtasn1 is updated to 0.3.4, and that version is now required.
4821 ** The command line tools now use getaddrinfo and support IPv6.
4823 ** API and ABI modifications:
4824 _gnutls_x509_get_raw_crt_activation_time,
4825 _gnutls_x509_get_raw_crt_expiration_time: Removed.
4826 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
4827 gnutls_ia_enable: Added.
4829 * Version 1.3.5 (released 2006-03-08)
4831 ** Error messages are now translated using GNU Gettext.
4833 ** The function gnutls_x509_crt_to_xml now return an internal error.
4834 This means that the code to convert X.509 certificates to XML format
4835 does not work any more. The reason is that the function called
4836 libtasn1 internal functions. It seems unclean for libtasn1 to export
4837 the APIs needed here. Instead it would be better to implement XML
4838 support inside libtasn1 properly. If you need this functionality
4839 strongly, please consider looking into implementing this suggested
4840 approach instead. As a workaround, you may also modify lib/x509/xml.c
4841 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4843 ** Libraries are now built with libtool's -no-undefined.
4844 This helps producing libraries for Windows using mingw32.
4846 ** Doc fixes to explain that gnutls_record_send can block.
4848 ** Libtasn1 0.3.1 or later is now required.
4849 The include copy has been updated too.
4851 ** gnutls-cli can now recognize services and port numbers with the -p option.
4853 ** API and ABI modifications:
4854 No changes since last version.
4856 * Version 1.3.4 (released 2006-02-09)
4858 ** Fix read of out bounds bug in DER parser.
4859 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4860 Protover SSL. Libtasn1 0.2.18 is now required, which contains the
4861 previous bug fix. The included libtasn1 version in GnuTLS has been
4864 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
4865 longer invalidate a session if the underlying send fails, but it will
4866 prevent future writes. That is to allow reading the already received data.
4867 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4869 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4870 gnutls_certificate_set_x509_trust(), that caused memory corruption if
4871 more than one certificates were added. Report and patch by Max Kellermann.
4873 ** Fix build problems of OpenCDK on AIX.
4874 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4876 ** API and ABI modifications:
4877 No changes since last version.
4879 * Version 1.3.3 (released 2006-01-12)
4881 ** New API to access the TLS master secret.
4882 When possible, you should use the TLS PRF functions instead.
4883 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4885 ** Improved handling when multiple libraries use GnuTLS at the same time.
4886 Now gnutls_global_init() can be called multiple times, and
4887 gnutls_global_deinit() will only deallocate the structure when it has
4888 been called as many times as gnutls_global_init() was called.
4890 ** Added a self test of TLS resume functionality.
4892 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4894 ** Documentation fixes about thread unsafety, prompted by
4895 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4896 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4897 thread safe. Careful callers may want to protect the call using a
4898 mutex. The problem could also be ignored, which would cause a memory
4899 leak under rare conditions when two threads invoke the function
4900 roughly at the same time.
4902 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4904 ** The code was indented again, including the external header files.
4906 ** API and ABI modifications:
4907 New functions to retrieve the master secret value:
4908 gnutls_session_get_master_secret
4910 Add a 'const' keyword to existing API:
4911 gnutls_x509_crq_get_challenge_password
4913 * Version 1.3.2 (released 2005-12-15)
4915 ** GnuTLS now support TLS Inner application (TLS/IA).
4916 This is per draft-funk-tls-inner-application-extension-01. This
4917 functionality is added to libgnutls-extra, so it is licensed under the
4918 GNU General Public License.
4920 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4921 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4922 and EAP-TTLS. One function to access the raw PRF and one to access
4923 the PRF seeded with the client/server random fields are provided.
4924 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4926 ** New APIs to acceess the client and server random fields in a session.
4927 These fields can be useful by protocols using TLS. Note that these
4928 fields are typically used as input to the TLS PRF, and if this is your
4929 intended use, you should use the TLS PRF API that use the
4930 client/server random field directly. Suggested by Jouni Malinen
4931 <jkmaline@cc.hut.fi>.
4933 ** Internal type cleanups.
4934 The uint8, uint16, uint32 types have been replaced by uint8_t,
4935 uint16_t, uint32_t. Gnulib is used to guarantee the presence of
4936 correct types on platforms that lack them. The uint type have been
4937 replaced by unsigned.
4939 ** API and ABI modifications:
4940 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4944 New functions to retrieve the session's client and server random values:
4945 gnutls_session_get_server_random
4946 gnutls_session_get_client_random
4948 New function, to perform TLS/IA handshake:
4951 New function to decide whether to do a TLS/IA handshake:
4952 gnutls_ia_handshake_p
4954 New functions to allocate a TLS/IA credential:
4955 gnutls_ia_allocate_client_credentials
4956 gnutls_ia_free_client_credentials
4957 gnutls_ia_allocate_server_credentials
4958 gnutls_ia_free_server_credentials
4960 New functions to handle the AVP callback:
4961 gnutls_ia_set_client_avp_function
4962 gnutls_ia_set_client_avp_ptr
4963 gnutls_ia_get_client_avp_ptr
4964 gnutls_ia_set_server_avp_function
4965 gnutls_ia_set_server_avp_ptr
4966 gnutls_ia_get_server_avp_ptr
4968 New functions, to toggle TLS/IA application phases:
4969 gnutls_ia_require_inner_phase
4971 New function to mix session keys with inner secret:
4972 gnutls_ia_permute_inner_secret
4974 Low-level API (used internally by gnutls_ia_handshake):
4975 gnutls_ia_endphase_send
4979 New functions that can be used after successful TLS/IA negotiation:
4980 gnutls_ia_generate_challenge
4981 gnutls_ia_extract_inner_secret
4983 Enum type with TLS/IA modes:
4986 Enum type with TLS/IA packet types:
4989 Enum values for TLS/IA alerts:
4990 GNUTLS_A_INNER_APPLICATION_FAILURE
4991 GNUTLS_A_INNER_APPLICATION_VERIFICATION
4993 New error codes, to signal when an application phase has finished:
4994 GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4995 GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4997 New error code to signal TLS/IA verify failure:
4998 GNUTLS_E_IA_VERIFY_FAILED
5000 * Version 1.3.1 (released 2005-12-08)
5002 ** Support for DHE-PSK cipher suites has been added.
5003 This method offers perfect forward secrecy.
5005 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5006 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5008 ** Corrected a bug in certtool for 64 bit machines. Reported
5009 by Max Kellermann <max@duempel.org>.
5011 ** New function to set a X.509 private key and certificate pairs, and/or
5012 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
5013 <emile@e-advies.nl>.
5015 The integrity of the PKCS#12 file is protected through a password
5016 based MAC; public-key based signatures for integrity protection are
5017 not supported. PKCS#12 bags may be encrypted using password derived
5018 symmetric keys, public-key based encryption is not supported. The
5019 PKCS#8 keys may be encrypted using passwords. The API use the same
5020 password for all operations. We believe that any more flexibility
5021 create too much complexity that would hurt overall security, but may
5022 add more PKCS#12 related APIs if real-world experience indicate
5025 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
5026 reported by Emile van Bergen <emile@e-advies.nl>.
5027 This will enable "certtool -k -8" to parse those keys.
5029 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
5030 Use "certtool -p -8" and press press enter at the prompt. Earlier,
5031 certtool would have encrypted the key using an empty password.
5033 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
5034 Earlier it would have prompted the user for it, even if --password was
5037 ** Added self test of PKCS#8 parsing.
5038 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
5039 pbeWithSHAAnd40BitRC2-CBC) formats are tested. The test is in
5042 ** API and ABI modifications:
5043 New function to set X.509 credentials from a PKCS#12 file:
5044 gnutls_certificate_set_x509_simple_pkcs12_file
5046 New gnutls_kx_algorithm_t enum type:
5049 New API to return session data (basically same as gnutls_session_get_data):
5050 gnutls_session_get_data2
5052 New API to set PSK Diffie-Hellman parameters:
5053 gnutls_psk_set_server_dh_params
5055 * Version 1.3.0 (2005-11-15)
5057 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
5058 This add several new APIs, see below. Read the updated manual for
5059 more information. A new self test "pskself" has been added, that will
5060 test this functionality.
5062 ** The session resumption data are now system independent.
5064 ** The code has been re-indented to conform to the GNU coding style.
5066 ** Removed the RIPEMD ciphersuites.
5068 ** Added a discussion of the internals of gnutls in manual.
5070 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
5072 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
5074 ** Make sure config.h is included first in a few files, from Albert Chin.
5076 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
5078 ** Don't install SRP programs and man pages if --disable-srp-authentication,
5081 ** API and ABI modifications:
5082 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
5084 New gnutls_credentials_type_t credential type:
5087 New credential types:
5088 gnutls_psk_server_credentials_t
5089 gnutls_psk_client_credentials_t
5091 New functions to allocate PSK credentials:
5092 gnutls_psk_allocate_client_credentials
5093 gnutls_psk_free_client_credentials
5094 gnutls_psk_free_server_credentials
5095 gnutls_psk_allocate_server_credentials
5097 New enum type for PSK key flags:
5098 gnutls_psk_key_flags
5100 New function prototypes for credential callback:
5101 gnutls_psk_client_credentials_function
5102 gnutls_psk_server_credentials_function
5104 New function to set PSK username and key:
5105 gnutls_psk_set_client_credentials
5107 New function to set PSK passwd file:
5108 gnutls_psk_set_server_credentials_file
5110 New function to extract PSK user in server:
5111 gnutls_psk_server_get_username
5113 New functions to set PSK callback:
5114 gnutls_psk_set_server_credentials_function
5115 gnutls_psk_set_client_credentials_function
5117 Use size_t instead of int for output size parameter:
5118 gnutls_srp_base64_encode
5119 gnutls_srp_base64_decode
5121 * Version 1.2.11 (2006-05-11)
5122 - The function gnutls_x509_crt_to_xml is not supported any more, and
5123 return an internal error. The reason is that the function called
5124 internal libtasn1 functions which are no longer exported from
5126 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
5127 - Updated gnulib compatibility files.
5128 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
5129 _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
5130 - API and ABI modifications:
5131 No changes since last version.
5133 * Version 1.2.10 (2006-02-09)
5134 - Fix read out bounds bug in DER parser. Reported by Evgeny Legerov
5135 <admin@gleg.net>, and debugging help from Protover SSL.
5136 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
5137 The included version has been updated too.
5138 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
5139 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
5140 - Corrected a bug in certtool for 64 bit machines. Reported
5141 by Max Kellermann <max@duempel.org>.
5142 - Corrected bugs in gnutls_certificate_set_x509_crl() and
5143 gnutls_certificate_set_x509_trust(), that caused memory corruption if
5144 more than one certificates were added. Report and patch by Max Kellermann.
5145 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
5146 longer invalidate a session if the underlying send fails, but it will
5147 prevent future writes. That is to allow reading the already received data.
5148 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
5150 * Version 1.2.9 (2005-11-07)
5151 - Documentation was updated and improved.
5152 - RSA-MD2 is now supported for verifying digital signatures.
5153 - Due to cryptographic advances, verifying untrusted X.509
5154 certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
5155 GNUTLS_CERT_INSECURE_ALGORITHM verification output. For
5156 applications that must remain interoperable, you can use the
5157 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
5158 flags when verifying certificates. Naturally, this is not
5159 recommended default behaviour for applications. To enable the
5160 broken algorithms, call gnutls_certificate_set_verify_flags with the
5161 proper flag, to change the verification mode used by
5162 gnutls_certificate_verify_peers2.
5163 - Make it possible to send empty data through gnutls_record_send,
5164 to align with the send(2) API.
5165 - Some changes in the certificate receiving part of handshake to prevent
5166 some possible errors with non-blocking servers.
5167 - Added numeric version symbols to permit simple CPP-based feature
5168 tests, suggested by Daniel Stenberg <daniel@haxx.se>.
5169 - The (experimental) low-level crypto alternative to libgcrypt used
5170 earlier (Nettle) has been replaced with crypto code from gnulib.
5171 This leads to easier re-use of these components in other projects,
5172 leading to more review and simpler maintenance. The new configure
5173 parameter --with-builtin-crypto replace the old --with-nettle, and
5174 must be used if you wish to enable this functionality. See README
5175 under "Experimental" for more information. Internally, GnuTLS has
5176 been updated to use the new "Generic Crypto" API in gl/gc.h. The
5177 API is similar to the old crypto/gc.h, because the gnulib code were
5178 based on GnuTLS's gc.h.
5179 - Fix compiler warning in the "anonself" self test.
5180 - API and ABI modifications:
5181 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
5182 This doesn't reflect a change in behaviour,
5183 so we don't break backwards compatibility.
5184 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
5185 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
5186 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
5187 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
5189 gnutls_x509_crt_list_verify,
5190 gnutls_x509_crt_verify, or
5191 gnutls_certificate_set_verify_flags.
5192 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
5193 used when broken signature algorithms
5194 is used (currently RSA-MD2/MD5).
5195 LIBGNUTLS_VERSION_MAJOR,
5196 LIBGNUTLS_VERSION_MINOR,
5197 LIBGNUTLS_VERSION_PATCH,
5198 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
5199 version number, can be used for feature existence
5202 * Version 1.2.8 (2005-10-07)
5203 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
5204 - Don't install the auxilliary libexamples library used by the
5205 examples in doc/examples/ on "make install", report and tiny patch
5206 from Thomas Klausner <tk@giga.or.at>.
5207 - If you pass a X.509 CA or PGP trust database to the command line
5208 tool, it will now abort the connection if the server certificate
5209 validation fails. Use the parameter --insecure to continue even
5210 after certificate validation failures. Inspired from discussion
5211 with Alexander Kotelnikov <sacha@myxomop.com>.
5212 - The test for socklen_t has been moved to gnulib.
5213 - Link failures for duplicate or missing "program_name" symbol has been fixed,
5214 patch from Martin Lambers <marlam@marlam.de>.
5215 - The command line tool and the examples no longer uses mmap or bzero,
5216 to make them more portable, patch from Martin Lambers
5218 - Made the PKCS #12 API handle null passwords. Based on patch by
5219 Anton Altaparmakov <aia21@cam.ac.uk>.
5220 - The GTK-DOC manual should build with current released tools.
5221 (But a copy of the output is included, so the tools are not required.)
5222 - The inet_ntop function is now used through gnulib.
5223 - API and ABI modifications:
5224 No changes since last version.
5226 * Version 1.2.7 (2005-09-09)
5227 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
5228 - Certtool now complains when reading out-of-range X.509 serial
5229 numbers, suggested by Fran <e_agf@yahoo.es>.
5230 - Certtool now uses the readline library (when available) when reading
5231 X.509 serial numbers.
5232 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
5233 - Fixed compile warning regarding socklen_t on Mingw32, reported by
5234 Martin Lambers <marlam@marlam.de>.
5235 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
5236 - Gnulib is now used for the core library, enabling future code cleanups.
5237 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
5238 suggested by Daniel Stenberg <daniel@haxx.se>.
5239 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
5240 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
5241 - Disable zlib support if zlib.h is not present.
5242 - A number of internal cleanups.
5243 - API and ABI modifications:
5244 No changes since last version.
5246 * Version 1.2.6 (2005-07-16)
5247 - MiniLZO updated to version 2.01 and moved to separate directory.
5248 - Collision between system LZO header files and MiniLZO header file
5249 fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
5250 - Will now test for liblzo functionality in liblzo2 too, reported by
5251 Thomas Klausner <tk@giga.or.at>.
5252 - Minilibtasn1 is now 0.2.14 (no code changes).
5253 - Some code changes to avoid GTK-DOC warnings.
5254 - API and ABI modifications:
5255 No changes since last version.
5257 * Version 1.2.5 (2005-07-03)
5258 - More builddir != srcdir fixes, reported by Mike Castle
5259 <dalgoda@ix.netcom.com>.
5260 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
5261 reported by Adam Langley <alangley@gmail.com>.
5262 - Corrected some stuff in minilzo detection. Pointed out by
5264 - MiniLZO updated to version 2.00.
5265 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
5266 - API and ABI modifications:
5267 No changes since last version.
5269 * Version 1.2.4 (2005-05-28)
5270 - Corrected some bugs that could affect 64 bit systems.
5271 - Some corrections in the header files to include the prototype
5272 of memmem properly (affected 64 bit systems). Report and patch
5273 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5274 - Introduced the --fix-key option to certtool, which can be used to
5275 regenerate the (optional) parameters in a private key. It should
5276 be used together with --key-info.
5277 - Corrected a bug in certificate chain verification that could lead
5278 to marking a trusted chain as non trusted, if the last certificate in
5279 the chain was a self signed one.
5280 - Gnulib portability files were updated.
5281 - License were updated to reflect new FSF address.
5282 - API and ABI modifications:
5283 No changes since last version.
5285 * Version 1.2.3 (2005-04-28)
5286 - Corrected bug in record packet parsing that could lead
5287 to a denial of service attack.
5288 - Corrected bug in RSA key export. Previously exported keys
5289 can be fixed using certtool. Use certtool -k <infile >outfile
5290 - API and ABI modifications:
5291 gnutls_x509_privkey_fix(): Add.
5293 * Version 1.2.2 (2005-04-25)
5294 - gnutls_error_to_alert() now considers
5295 GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
5296 - Fixed error in session resuming that could cause a crash in a session.
5297 - Fixed pkcs12 friendly name and local key identifier decoding.
5298 - Internal cleanups, removed duplicate typedef/struct definitions,
5299 and made source code include external include file, to check
5300 function prototypes during compile time.
5301 - API and ABI modifications:
5302 No changes since last version. At least not intentional, but due
5303 to the include header changes, there may be inadvertant changes,
5304 please let us know if you find any.
5306 * Version 1.2.1 (2005-04-04)
5307 - gnutls_bye() will no longer fail when RDWR is used and application
5308 data are available for reading.
5309 - Added more strict checks for the SRP parameters (g,n), when they
5310 are not in the included list.
5311 - Added warning to certtool when MD5 is being used for digital
5313 - Optimizations ("-O2 -finline-functions") are not enabled by default,
5314 instead the standard autoconf defaults are used. Use `./configure
5315 CFLAGS="-O2 -finline-functions"' to get the old optimizations.
5316 - Added the option --get-dh-params to certtool, in order to get the
5317 parameters included in the library primes and generators.
5318 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
5319 allow only trusted Version 1 CAs and introduced
5320 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
5321 - Nettle self tests now build properly, reported by Pierre
5322 <pierre42d@9online.fr>.
5323 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
5324 Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5325 - If the library has been compiled with features disabled, a warning is
5326 issued during the compilation of any program.
5327 - API and ABI modifications:
5328 gnutls_x509_crt_list_import(): Add
5329 gnutls_x509_crq_get_attribute_by_oid(): Add.
5330 gnutls_x509_crq_set_attribute_by_oid(): Add
5331 gnutls_x509_crt_set_extension_by_oid(): Add.
5332 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
5333 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
5335 * Version 1.2.0 (2005-01-27)
5336 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
5337 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and
5338 gnutls_x509_crl_sign2().
5339 - Fixed license header in source code files.
5341 * Version 1.1.23 (2005-01-18)
5342 - It is now possible to generate PKCS#12 structures without private
5343 keys using "certtool --to-p12", suggested by Fabian Fagerholm
5345 - Certtool now prints information for the RSA and DSA parameters of
5346 certificates and private keys.
5347 - Corrected the write of CRL distribution points.
5348 - The certificate chain verification function now checks certificates
5349 in the reverse order to minimize the spent resources.
5350 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5351 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
5352 gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
5353 gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
5354 required, instead of the string length. That is, the value has been
5355 incremented by 1 to account for the terminating zero. Reported by
5356 Martin Lambers <marlam@web.de>.
5357 - Debug output shouldn't crash on platforms that doesn't handle NULL
5358 printf %s values. Reported by Michael.Ringe@aachen.utimaco.de.
5359 - Sync included copy of libtasn1 with version 0.2.13.
5360 - Client X.509 authenticated connections via gnutls-cli should now work again.
5362 * Version 1.1.22 (2004-11-04)
5363 - Replace GNU LD version script with Libtool -export-symbols-regex,
5364 from Joe Orton <joe@manyfish.co.uk>.
5365 - Documentation improvements.
5366 - Code indented using 'indent -i4 -kr'.
5367 - The API manual is included in Devhelp format. (Was in last release too,
5368 but the NEWS entry was forgotten.)
5369 - The OpenSSL compatibility code now use the internal crypto interface.
5370 - Added simple self test of OpenSSL compatibility library.
5371 - Internally, libtool convenience libraries are used.
5372 - Cleanups to configure.ac.
5374 * Version 1.1.21 (2004-10-27)
5375 - Print DN of certificates with unknown characters in them, but in hexform
5377 - Added second precision to the X.509 parsing and generation functions.
5378 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5380 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5381 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5382 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5383 <stephane.loeuillet@tiscali.fr>.
5384 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5385 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5386 - Add self test of PKCS#12 functionality in "certtool", based on test
5387 vectors from Joe Orton <joe@manyfish.co.uk>.
5388 - Fix library order in libgnutls*-config --libs output, to permit
5389 static linking, reported by Yoann Vandoorselaere
5390 <yoann@prelude-ids.org>.
5392 * Version 1.1.20 (2004-10-12)
5393 - Fix compile problem in gl/getpass.c on some systems.
5395 * Version 1.1.19 (2004-10-07)
5396 - Fix memory leak in gnutls_certificate_verify_peers and
5397 gnutls_certificate_free_credentials, report and patch by Simon
5398 Posnjak <simon.posnjak@cetrtapot.si>.
5399 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5400 a key and no certificate to PKCS#12.
5401 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5402 <gp@familiehaase.de>.
5403 - Fixes faulty getpass implementation in libextra/opencdk/, reported
5404 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
5405 - Uses memmem instead of strnstr in lib/.
5406 - Using more GNULib portability files, although not yet inside lib/.
5407 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
5408 Nikos deprecated gnutls_certificate_verify_peers in favor of
5409 gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
5410 - Improvements to the manual.
5411 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5412 - Known bug: the library require snprintf. This has not yet been
5413 fixed, but will be handled via GNULib later on.
5415 * Version 1.1.18 (2004-08-24)
5416 - Corrected handling of certificate with dates after year 2038.
5417 - Corrected DER decoder which could incorrectly treat input as BER and fail.
5418 - Correct certtool --smime-to-p7 end of line character handling.
5419 - Added example client and server for anonymous authentication.
5420 - Added self test that tests anonymous TLS client and server.
5421 - Added self tests of Nettle and generic crypto layer.
5422 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
5423 Online version at <http://www.gnu.org/software/gnutls/reference/>.
5424 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
5425 - Man pages for API functions are included.
5427 * Version 1.1.17 (2004-08-18)
5428 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5429 reported by Robey Pointer <robey@danger.com>.
5430 - Generic crypto interface for secret key ciphers, hashes and randomness added.
5431 See section "Experimental" within section "COMPILATION ISSUES" in README.
5432 - Removed length limit on passwords read by 'certtool'.
5433 - Documentation fixes.
5435 * Version 1.1.16 (2004-08-15)
5436 - Fix missing gnulib linker parameter when building certtool.
5437 - Add gnulib module 'progname', needed by module 'error'.
5438 - Improve building with srcdir != objdir.
5440 * Version 1.1.15 (2004-08-15)
5441 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
5443 - Ported to Mac OS X / Darwin.
5444 - Ported to FreeBSD.
5446 * Version 1.1.14 (2004-08-09)
5447 - Documentation converted to Texinfo format.
5448 - Bug fix of test suite.
5449 - Configure now print build information, used by Autobuild.
5451 * Version 1.1.13 (2004-08-05)
5452 - Added simple self test suite.
5454 * Version 1.1.12 (2004-08-02)
5455 - Updated the SRP authentication to conform to the
5456 latest (yet unreleased) draft. Unfortunately this breaks
5457 compatibility with previous versions.
5458 - Changed the makefiles to be more portable.
5459 - SRP ciphersuites were moved to the gnutls library.
5460 - Added some default limits in the verification of certificate
5461 chains, to avoid denial of service attacks. Also added
5462 gnutls_certificate_set_verify_limits() to override them.
5463 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5464 - Added gnutls_certificate_verify_peers2().
5466 * Version 1.1.11 (2004-07-16)
5467 - Added the '_t' suffix to all exported symbols.
5468 - Fixed bug in RSA encryption, report and patch by Martijn Koster
5469 <mak@greenhills.co.uk>.
5470 - Corrected a bug in certificate verification. Pointed out by
5471 Yoann Vandoorselaere <yoann@prelude-ids.org>
5472 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
5473 verification functions.
5474 - The ephemeral DH and RSA parameters are no longer stored in the
5476 - Do not free the SRP (prime and generator) parameters obtained from the
5477 callback if they are the static ones defined in extra.h
5478 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5480 * Version 1.1.10 (2004-06-12)
5481 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5482 - Corrected bug in TLS renegotiation.
5483 - Corrected bug in OpenPGP key loading using a callback.
5484 - gnutls-srpcrypt was renamed to srptool
5485 - Allow handshake requests by the client.
5486 - Automatically disable certificate types that do not have corresponding
5488 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
5489 - Opencdk library is being included if not found.
5490 - certtool can now add ip address SAN extension.
5491 - certtool has now support for more X.520 DN attribute types.
5492 - Better handling of EOF in gnutls_record_recv().
5493 - _gnutls_deinit() is no longer used. Sessions are not
5494 automatically removed any more, on abnormal termination.
5495 - Corrected session resuming in SRP ciphersuites.
5496 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5497 - Added new functions to allow access to the ephemeral
5498 Diffie Hellman parameters.
5499 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5500 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5501 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
5502 gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
5503 RSA-EXPORT key exchange.
5504 - Some fixes in the session resuming code.
5505 - Added gnutls_openpgp_keyring_check_id().
5507 * Version 1.1.9 (2004-04-14)
5508 - Added support for authority key identifier and the extended key usage
5509 X.509 extension fields. The certtoool was updated to support them.
5510 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5511 - Added batch support to certtool. Now it can use templates.
5513 * Version 1.1.8 (2004-04-07)
5514 - Implemented all the tests for the SRP group parameters in
5515 client side. This may lead to incompatibility with very
5517 - Corrected bug in RSA parameters handling which could cause
5519 - Optimized the copying of rsa_params.
5521 * Version 1.1.7 (2004-03-29)
5522 - Added gnutls_certificate_set_params_function() and
5523 gnutls_anon_set_params_function() that set the RSA or DH
5524 parameters using a callback.
5525 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5526 and gnutls_x509_privkey_cpy().
5527 - Corrected a compilation issue when opencdk was installed in a
5528 non standard directory.
5529 - Deprecated: gnutls_srp_server_set_select_function(),
5530 gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
5532 * Version 1.1.6 (2004-02-24)
5533 - Several bug fixes, by Arne Thomassen.
5534 - Fixed a bug where 'server name' extension was always sent.
5536 * Version 1.1.5 (2004-01-06)
5537 - Added the gnutls_sign_algorithm type.
5539 * Version 1.1.4 (2004-01-04)
5540 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5541 If they are of highest priority then the abbreviated handshake
5543 - Removed all references of missing files.
5544 - Changed handshake behaviour to send the lowest TLS version
5545 when an unsupported version was advertized. The current behaviour
5546 is to send the maximum version we support.
5547 - Corrected problem printing the DC attributes in a DN.
5549 * Version 1.1.3 (2003-12-30)
5550 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5553 * Version 1.1.2 (2003-12-28)
5554 - Added CRL verification functionality to certtool.
5555 - Corrected the CRL distribution point extension handling.
5557 * Version 1.1.1 (2003-12-26)
5558 - Added PKCS #7 support to certtool utility.
5559 - Added support for reading and generating CRL distribution
5560 points extensions in certificates.
5561 - Added support for generating CRLs in the library and the
5563 - Added support for the Subject Key ID PKIX extension.
5565 * Version 1.1.0 (2003-12-21)
5566 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5567 are no longer returned by the handshake function. Ciphersuites that
5568 require temporary parameters are removed when such parameters do not exist.
5569 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5570 gnutls_certificate_server_retrieve_function(), to allow a client or a server
5571 to specify certificates for the handshake without storing them to the
5572 credentials structure.
5573 - Added support for generating and exporting DSA private keys.
5574 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
5575 certificate's key usage.
5576 - Added gnutls_openpgp_key_get_key_usage().
5578 * Version 1.0.25 (2005-04-27)
5579 - Corrected bug in record packet parsing that could lead
5580 to a denial of service attack.
5581 - Corrected bug in RSA key export.
5583 * Version 1.0.24 (2005-01-18)
5584 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5586 * Version 1.0.23 (2004-11-13)
5587 - Replace GNU LD version script with Libtool -export-symbols-regex,
5588 from Joe Orton <joe@manyfish.co.uk>.
5589 - Copy libtasn1 has been updated to version 0.2.11.
5590 - Corrected the write of CRL distribution points.
5591 - It is now possible to generate PKCS#12 structures without private
5592 keys using "certtool --to-p12", suggested by Fabian Fagerholm
5595 * Version 1.0.22 (2004-10-28)
5596 - Print DN of certificates with unknown characters in them, but in hexform
5598 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5600 - Added second precision to the X.509 parsing functions.
5601 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5602 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5603 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5604 <stephane.loeuillet@tiscali.fr>.
5605 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5606 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5607 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
5608 - Fix library order in libgnutls*-config --libs output, to permit
5609 static linking, reported by Yoann Vandoorselaere
5610 <yoann@prelude-ids.org>.
5612 * Version 1.0.21 (2004-10-07)
5613 - Fix memory leak in gnutls_certificate_verify_peers and
5614 gnutls_certificate_free_credentials, report and patch by Simon
5615 Posnjak <simon.posnjak@cetrtapot.si>.
5616 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5617 a key and no certificate to PKCS#12.
5618 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5619 <gp@familiehaase.de>.
5620 - Avoid redefining getpass if system already has it, reported by
5621 Yoann Vandoorselaere <yoann@prelude-ids.org>.
5622 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5623 - Known bug: the library require snprintf.
5625 * Version 1.0.20 (2004-08-18)
5626 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5627 reported by Robey Pointer <robey@danger.com>.
5629 * Version 1.0.19 (2004-08-09)
5630 - Bug fix of test suite.
5632 * Version 1.0.18 (2004-08-05)
5633 - Added simple self test suite.
5635 * Version 1.0.17 (2004-08-02)
5636 - Updated the SRP authentication to conform to the
5637 latest (yet unreleased) draft. Unfortunately this breaks
5638 compatibility with previous versions.
5639 - Changed the makefiles to be more portable.
5640 - Added some default limits in the verification of certificate
5641 chains, to avoid denial of service attacks. Also added
5642 gnutls_certificate_set_verify_limits() to override them.
5643 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5644 - Added gnutls_certificate_verify_peers2().
5646 * Version 1.0.16 (2004-07-10)
5647 - Do not free the SRP (prime and generator) parameters obtained from the
5648 callback if they are the static ones defined in extra.h.
5649 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5650 - Some fixes in the makefiles.
5652 * Version 1.0.15 (2004-06-29)
5653 - Fixed bug in RSA encryption, report and patch by Martijn Koster
5654 <mak@greenhills.co.uk>.
5655 - Corrected a bug in certificate verification. Pointed out by
5656 Yoann Vandoorselaere <yoann@prelude-ids.org>.
5658 * Version 1.0.14 (2004-06-12)
5659 - Automatically disable certificate types that do not have corresponding
5661 - Updates in the documentation.
5662 - certtool can now add ip address SAN extension.
5663 - certtool has now support for more X.520 DN attribute types.
5664 - Opencdk library is being included if not found.
5665 - Added gnutls_openpgp_keyring_check_id().
5666 - Corrected a serious bug in the included libtasn1 library.
5667 - Corrected session resuming in SRP ciphersuites.
5668 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5669 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5670 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5671 - Some fixes in the session resuming code.
5673 * Version 1.0.13 (2004-04-29)
5674 - Some complilation fixes.
5675 - Added the --xml parameter to the certtool utility.
5677 * Version 1.0.12 (2004-04-23)
5678 - Corrected bug in OpenPGP key loading using a callback.
5679 - Renamed gnutls-srpcrypt to srptool
5680 - Allow handshake requests by the client.
5681 * Things backported from the development branch:
5682 - Added support for authority key identifier and the extended key usage
5683 X.509 extension fields. The certtoool was updated to support them.
5684 - Added batch support to certtool. Now it can use templates.
5685 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5687 * Version 1.0.11 (2004-04-17)
5688 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5689 - Corrected bug in TLS renegotiation.
5691 * Version 1.0.10 (2004-04-03)
5692 - Corrected bug in RSA parameters handling which could cause
5694 - Corrected bug in SSL 3.0 authentication.
5696 * Version 1.0.9 (2004-03-29)
5697 - Added gnutls_certificate_set_params_function() and
5698 gnutls_anon_set_params_function() that set the RSA or DH
5699 parameters using a callback.
5700 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5701 and gnutls_x509_privkey_cpy().
5702 - Corrected a compilation issue when opencdk was installed in a
5703 non standard directory.
5704 - Documented the changes need in multi-threaded application due
5705 to the new libgcrypt.
5707 * Version 1.0.8 (2004-02-28)
5708 - Corrected bug in mutual certificate authentication in SSL 3.0.
5710 * Version 1.0.7 (2004-02-25)
5711 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5713 - Some updates in the documentation.
5715 * Version 1.0.6 (2004-02-12)
5716 * Backported things from the development branch (while maintaining
5717 backwards compatibility):
5718 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5719 If they are of highest priority then the abbreviated handshake
5721 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5722 are no longer returned by the handshake function. Ciphersuites that
5723 require temporary parameters are removed when such parameters do not exist.
5724 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5725 gnutls_certificate_server_retrieve_function(), to allow a client or a server
5726 to specify certificates for the handshake without storing them to the
5727 credentials structure.
5728 - Added support for generating and exporting DSA private keys.
5730 * Version 1.0.5 (2004-02-11)
5731 - Fixed a bug where 'server name' extension was always sent.
5732 * Backported things from the development branch:
5733 - Added CRL verification functionality to certtool.
5734 - Corrected the CRL distribution point extension handling.
5735 - Added PKCS #7 support to certtool utility.
5736 - Added support for reading and generating CRL distribution
5737 points extensions in certificates.
5738 - Added support for generating CRLs in the library and the
5740 - Added support for the Subject Key ID PKIX extension.
5741 - Added the gnutls_sign_algorithm type.
5743 * Version 1.0.4 (2004-01-04)
5744 - Changed handshake behaviour to send the lowest TLS version
5745 when an unsupported version was advertized. The current behaviour
5746 is to send the maximum version we support.
5747 - certtool no longer asks the password in unencrypted private
5749 - The source is now compiled to use the reentrant libc functions.
5751 * Version 1.0.3 (2003-12-21)
5752 - Corrected bug in gnutls_bye() which made it return an error code
5753 of INVALID_REQUEST instead of success.
5754 - Corrected a bug in the GNUTLS_KEY key usage definitions.
5756 * Version 1.0.2 (2003-12-18)
5757 - Corrected a bug in the RSA key generation. This was
5758 generating unusable RSA keys.
5760 * Version 1.0.1 (2003-12-10)
5761 - Some minor fixes in the makefiles. They now include CFLAGS
5762 from libgcrypt or opencdk if installed in a non standard directory.
5763 - Fixed the SRP detection test in gnutls-cli-debug.
5764 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
5766 * Version 1.0.0 (2003-12-04)
5767 - Exported the static SRP group parameters.
5768 - Some fixes in the certificate authenticated SRP ciphersuites.
5769 - Improved the support for draft-ietf-tls-srp-05. The two-phase
5770 handshake is now fully supported without any interaction with
5771 the application layer (except for a callback).
5773 * Version 0.9.99 (2003-11-28)
5774 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
5775 and gnutls_server_name_get() prototypes.
5776 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data()
5777 and gnutls_x509_crt_verify_data().
5778 - Some fixes in the openpgp authentication.
5779 - Removed the Twofish cipher.
5781 * Version 0.9.98 (2003-11-16)
5782 - The openssl compatibility layer was moved to gnutls-openssl
5783 library instead of being included in the gnutls-extra library.
5784 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
5785 - Building with openpgp support is now mandatory.
5786 - gnutls4 compatibility header is no longer included by default in
5788 - gnutls8 function usage yelds a deprecation warning in gcc3.
5789 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
5790 functions have a raw_flag parameter added.
5791 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
5792 functions which return the available OIDs.
5794 * Version 0.9.97 (2003-11-11)
5795 - The certtool utility can now generate PKCS #12 structures
5796 without specifying a certificate.
5797 - Added capability to read CRLs to certtool.
5798 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
5799 to properly set the required buffer size.
5800 - Corrected a bug in libgcrypt detection.
5802 * Version 0.9.96 (2003-11-09)
5803 - Some changes to allow compilation with mingw32.
5804 - Several code cleanups.
5806 * Version 0.9.95 (2003-11-02)
5807 - Improved the verification functions. Added new verification
5808 output flags and removed the unused and redundant ones.
5809 - Improved the OpenPGP key support.
5810 - The prime utility was removed, and its functionality was moved
5813 * Version 0.9.94 (2003-10-30)
5814 - Added manpages for the included programs.
5815 - Documented and improved the certtool utility.
5816 - Added PKCS #12 support to certtool utility.
5818 * Version 0.9.93 (2003-10-26)
5819 - Corrected some compilation issues.
5820 - Improved the certtool command line utility.
5822 * Version 0.9.92 (2003-10-25)
5823 - The RFC2818 hostname verification is now case insensitive.
5824 - Added support for generating X.509 certificates.
5825 - Added the certtool, a tool for generating X.509 certificates
5827 * Version 0.9.91 (2003-10-17)
5828 - Fixed a compilation issue in the openpgp authentication part.
5830 * Version 0.9.90 (2003-10-08)
5831 - Updated the openpgp key API (depends on the unreleased new
5834 * Version 0.9.8 (2003-10-02)
5835 - Updated the SRP implementation to follow the latest draft
5836 (draft-ietf-tls-srp-05).
5837 - Improved the gnutls-cli behaviour in error handling,
5838 and added a check for the peer's hostname.
5839 - Use versioned symbols in the library (where available).
5840 - RIJNDAEL ciphersuites were renamed to AES.
5842 * Version 0.9.7 (2003-08-25)
5843 - The tex files are now included in the distribution.
5844 - The library can now decrypt PKCS #12 files encrypted with
5846 - The missing rfc2818_hostname object is now included.
5847 - Several corrections and bug fixes in the library by
5848 Arne Thomassen <arne@arne-thomassen.de>.
5849 - CR is now allowed in the base64 decoder.
5851 * Version 0.9.6 (2003-06-28)
5852 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5853 functions which return a unique (per public key) ID. These can
5854 be used to check if the private key corresponds to a given certificate.
5855 - Corrections in the TLS layer openpgp certificate packet parser.
5856 - Corrected a bug in the record layer buffering, which affected
5857 the case where external pull function was used. Report and patch
5858 by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5859 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5861 - SRP programs are now built by default.
5862 - Added API to read and write to PKCS #12 structures. Prototypes
5864 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5866 * Version 0.9.5 (2003-04-06)
5867 - Several improvements in the PKCS #7 handling
5868 - Eliminated several hard coded constants in MPI parameters.
5870 * Version 0.9.4 (2003-03-28)
5871 - Corrected a parsing error in the Certificate request message.
5872 - Corrected behaviour when a certificate request message is received.
5873 Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5874 a no_certificate alert is sent instead.
5875 - Added functionality to generate PKCS #7 structures (with certificates).
5877 * Version 0.9.3 (2003-03-24)
5878 - Support for MD2 was dropped.
5879 - Improved the error logging functions, by adding a level, and
5880 by allowing debugging messages just by increasing the level.
5881 - The diffie Hellman ciphersuites are now of higher priority than
5883 - The RSA premaster secret version check can no longer be disabled.
5884 - Implemented the counter measure discussed in the paper "Attacking
5885 RSA-based Sessions in SSL/TLS", against the attack described in the
5887 - Added the functions: gnutls_handshake_get_last_in(),
5888 gnutls_handshake_get_last_out().
5889 - The gnutls_certificate_set_rsa_params() was renamed to
5890 gnutls_certificate_set_rsa_export_params().
5891 - Added the new functions: gnutls_certificate_set_x509_key()
5892 gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5893 gnutls_x509_crt_export(), gnutls_x509_crl_export().
5894 - Added support for encoding and decoding PKCS #8 2.0 encrypted
5897 * Version 0.9.2 (2003-03-15)
5898 - Some corrections in the memory mapping code (file is unmapped after
5900 - Added support for PKCS#10 certificate requests generation.
5902 * Version 0.9.1 (2003-03-12)
5903 - Corrected a bug in 64 bit architectures, which affected the
5904 serial number calculation in the record layer.
5905 - Added gnutls_certificate_free_keys() which deletes all the
5906 private keys and certificates from the credentials structure.
5907 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5908 which caused some unexpected packet length errors. Report and patch
5909 by Ian Peters <itp@ximian.com>.
5910 - Added ability to generate RSA keys.
5911 - Increased the maximum parameter size in order to read some large keys
5912 by some CAs. Patch by Ian Peters <itp@ximian.com>.
5913 - Added an strnstr() function and the requirement in some functions to
5914 use null terminated PEM structures is no more.
5915 - Use mmap() if available to read files.
5916 - Fixed a memory leak in SRP code reported by Rupert Kittinger
5917 <r.kittinger@efkon.com>.
5919 * Version 0.9.0 (2003-03-03)
5920 - This version is not binary compatible with the previous ones.
5921 - The library notifies the application on empty and illegal SRP usernames,
5922 so that proper notification (via an alert) is sent to the peer.
5923 - Added ability to send some messages back to the application using
5924 the gnutls_global_set_log_function().
5925 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use
5926 gnutls_malloc() to allocate the output parameters.
5927 - Added support for MD2 algorithm in certificate signature verification.
5928 - The RSA and DH parameter generation interface was changed. Added
5929 ability to import and export from and to PKCS3 structures. This
5930 was needed to read parameters generated using the openssl dhparam tool.
5931 - Several changes in the temporary (DH/RSA) parameter codebase. No DH
5932 parameters are now included in the library. Also the credentials structure
5933 can now hold only one temporary parameter of a kind.
5934 - Added a new Certificate, CRL, Private key and PKCS7 structures handling
5935 API, defined in gnutls/x509.h
5936 - Added gnutls_certificate_set_verify_flags() function to allow setting the
5937 verification flags in the credentials structure. They will be used in the
5938 *verify_peers functions.
5939 - Added protection against the new TLS 1.0 record layer timing attack.
5940 - Added support for Certificate revocation lists. Functions defined
5942 - The only functions that were removed are:
5943 gnutls_x509_certificate_to_xml()
5944 gnutls_x509_extract_dn_string()
5945 - Ported to libtasn1 0.2.x
5947 * Version 0.8.1 (2003-01-22)
5948 - Improved the SRP support, to prevent attackers guessing the
5949 available usernames by brute force.
5950 - Improved the SRP detection in gnutls-cli-debug
5951 - Some fixes which now allow compilation.
5953 * Version 0.8.0 (2003-01-20)
5954 - Added gnutls_x509_extract_dn_string() which returns a
5955 distinguished name in a single string.
5956 - Added gnutls_openpgp_extract_key_name_string() which returns
5957 an openpgp user ID in a single string.
5958 - Added gnutls_x509_extract_certificate_ca_status() which returns
5959 the CA status of the given certificate.
5960 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5961 - If libtasn1 is not present in the system, it is included in
5962 the main gnutls library.
5963 - If liblzo is present in the system, then the included minilzo
5964 will not be used, and libgnutls-extra will depend on liblzo.
5965 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR,
5966 and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also
5967 replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5969 * Version 0.6.0 (2002-12-08)
5970 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5971 to emulate the old 0.4.x API.
5972 - Example programs are now stored in doc/examples/
5973 - Several improvements and updates in the documentation.
5974 - Added the certificate authenticated SRP cipher suites.
5975 - gnutls_x509_extract_certificate_dn_string() was updated to return
5976 an RFC2253 conforming string.
5977 - Added the SRP related functions:
5978 gnutls_srp_verifier()
5979 gnutls_srp_base64_encode()
5980 gnutls_srp_base64_decode()
5981 - Added the function gnutls_srp_set_server_credentials_function()
5982 to allow retrieving SRP parameters from an external backend - other
5983 than password files.
5984 - Added the function gnutls_openpgp_set_recv_key_function()
5985 which can be used to set a callback, to get OpenPGP keys.
5986 - Exported the functions:
5989 which should be used by callback functions.
5990 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5991 and gnutls_pem_base64_decode_alloc(). In the default case
5992 were the gnutls library is used with malloc/realloc/free,
5993 these are binary compatible.
5995 * Version 0.5.11 (2002-11-05)
5996 - Some fixes in 'gnutls-cli' client program to prevent some segmentation
5998 - Example programs found in the documentation can now be generated by
5999 running "make examples" in doc/tex directory.
6000 - Added more descriptive error strings, to gnutls_strerror().
6001 - Documented error codes, and the function reference list is now sorted.
6002 - Optimized buffering code.
6003 - gnutls_x509_extract_certificate_dn_string() was rewritten.
6004 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
6005 case where the memory buffer provided is not long enough.
6006 - Depends on the new OpenCDK 0.3.2.
6008 * Version 0.5.10 (2002-10-13)
6009 - Updated documentation.
6010 - Added server name extension. This allows clients to specify the
6011 name of the server they connect to. Useful to HTTPS.
6012 - Several corrections in the code base, mostly in signed/unsigned,
6015 * Version 0.5.9 (2002-10-10)
6016 - Corrected some code which worked fine in gcc 3.2, but not with any
6018 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
6019 starttls implementations.
6020 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
6021 the private key type, of a DER encoded key.
6022 - Added gnutls_x509_extract_certificate_dn_string() which returns the
6023 certificate's distinguished name in a single string.
6024 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
6025 functions, to avoid calling all the *_priority() functions if the defaults
6027 - Added int gnutls_x509_check_certificates_hostname() which check whether
6028 the given hostname matches the owner of the given X.509 certificate.
6030 * Version 0.5.8 (2002-09-25)
6031 - Updated documentation.
6032 - Added gnutls_record_get_direction() which replaces the obsolete
6033 gnutls_handshake_get_direction().
6034 - Added function to convert error codes to alert descriptions
6035 - Added LZO compression
6037 * Version 0.5.7 (2002-09-11)
6038 - Some fixes in the memory allocation functions (realloc).
6039 - Improved the string functions used in XML certificate generation.
6040 - Removed dependency on libgdbm.
6041 - Corrected bug in gnutls_dh_params_set() which affected
6042 gnutls_dh_params_deinit().
6043 - Corrected bug in session resuming code in server side.
6045 * Version 0.5.6 (2002-09-06)
6046 - Corrected bugs in SRP implementation, which prevented gnutls
6047 to interoperate with other implementations. (interoperability testing
6048 was done by David Taylor)
6049 - Corrected bug in cert_type extension.
6050 - Corrected extension type checks which used an 8 bit extension size,
6052 - Added versioning in the XML output of certificate functions.
6053 - Removed the X.509 test suite.
6055 * Version 0.5.5 (2002-09-03)
6056 - Updated the SRP implementation to the latest draft. The blowfish
6057 crypt implementation was removed, since the new draft does not allow
6058 other hash algorithms except for the srpsha.
6059 - Renamed all the constructed types in order to have more consistent
6061 - Improved the certificate and key read functions. Now they can read
6062 the certificate and the private key from the same file.
6063 - Updated and corrected documentation.
6065 * Version 0.5.4 (2002-08-27)
6066 - Fixes in TLS 1.0 PRF and SSL3 random functions.
6067 - gnutls_handshake_set_exportable_detection() was obsoleted.
6068 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
6069 - Corrected bug in DHE key exchange
6070 - Added support for temporary RSA keys which are needed for the
6071 export cipher suites.
6072 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
6074 * Version 0.5.3 (2002-08-23)
6075 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
6076 code from the unstable branch.
6078 * Version 0.5.2 (2002-08-22)
6079 - Added an error code that is returned in clients which connect
6080 to export only servers. This must be enabled using the
6081 gnutls_handshake_set_exportable_detection() function.
6082 - Updated openssl compatibility layer.
6083 - Added gnutls_handshake_get_direction() function which returns
6084 the state of the handshake when interrupted.
6086 * Version 0.5.1 (2002-07-17)
6087 - Corrected the m4 macros which used <gnutls.h> instead of
6089 - Documentation fixes
6090 - Added gnutls_transport_set_ptr2() function, which accepts two
6091 different pointers, to be used while receiving, and
6093 - Semantic changes in gnutls_record_set_max_size(). The requested
6094 size is now immediately enforced at the output buffers.
6095 - gnutls_global_init_extra() now fails if the library versions do
6097 - Fixes in client and server example programs. Null encryption can
6098 be used in these programs, to assist in debuging.
6099 - Fixes in zlib compression code.
6101 * Version 0.5.0 (2002-07-06)
6102 - Added X.509 certificate tests in tests/ directory
6103 - Removed stubs for SRP and Anonymous authentication. They served
6104 no purpose since they are always included, unless it was requested
6106 - Added gnutls_handshake_set_private_extensions() function. This
6107 function can be used to enable private (gnutls specific) cipher suites
6108 and compression algorithms.
6109 - Added check for C99 macro support by the compiler.
6110 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
6111 - Added the new libtasn1 library.
6112 - Removed the gdbm backend. Applications are now responsible for the
6113 session resuming backend. The gnutls-serv application contains an
6114 simple example on how to use gdbm for resuming.
6115 - Headers for the gnutls library are now installed in $(includedir)/gnutls
6116 - Added an OpenSSL compatible interface (with some limitations).
6117 - Added functions to convert DER encoded certificates to XML format.
6119 * Version 0.4.4 (2002-06-24)
6120 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
6121 using keys of some specific size.
6123 * Version 0.4.3 (2002-05-23)
6124 - The gnutls-extra library now compiles fine, if the opencdk library is
6126 - Several bug fixes.
6127 - Added gnutls_global_set_mem_func() function, to set the memory allocation
6128 functions, if other than the defaults are to be used.
6129 - The default memory allocation functions are now the ones in libc.
6131 * Version 0.4.2 (2002-05-21)
6132 - Separated ASN.1 structures parser documentation and TLS library
6134 - Added gnutls_handshake_set_rsa_pms() function, which disables the
6135 version check in RSA premaster secret.
6136 - Added gnutls_session_is_resumed() function, which reports if a session
6138 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
6139 assist in callback functions.
6140 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
6142 - Relicensed the library under the GNU Lesser General Public License
6143 - Added gnutls-extra library which contains the GPL covered code of gnutls.
6145 * Version 0.4.1 (2002-04-07)
6146 - Now uses alloca() for temporary variables
6147 - Optimized RSA signing
6148 - Added functions to return the peer's certificate activation and
6150 - Corrected time function's behaviour (the time value returned no longer
6151 relate to local timezone).
6153 * Version 0.4.0 (2002-04-01)
6154 - Added support for RFC2630 (PKCS7) X.509 certificate sets
6155 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
6156 gnutls_openpgp_extract_key_pk_algorithm().
6157 - Several optimizations in the Handshake protocol
6158 - Several optimizations in RSA algorithm
6159 - Unified the return values because of small buffers.
6161 * Version 0.3.92 (2002-03-23)
6162 - Updated documentation
6163 - Combined error codes of ASN.1 parser and gnutls
6164 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
6165 - Added protection against CBC chosen plaintext attack (disabled by default)
6166 - Improved and optimized compression support
6168 * Version 0.3.91 (2002-03-03)
6169 - Added gnutls-cli-debug program
6170 - Corrections in session resumption
6171 - Rehandshake can now handle negotiation of different authentication
6173 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are
6174 now being installed.
6176 * Version 0.3.90 (2002-02-24)
6177 - Handshake messages are not kept in memory any more. Now we use
6178 less memory during a handshake
6179 - Added support for certificates with DSA parameters
6180 - Added DHE_DSS cipher suites
6181 - Key exchange methods changed so they do not depend on the
6182 certificate type. Added certificate type negotiation TLS extension.
6183 - Added openpgp key support (EXPERIMENTAL)
6184 - Improved Diffie Hellman key exchange support.
6185 - Bug fixes in the RSA key exchange.
6186 - Added check for the requested TLS extensions
6187 - TLS extensions now use a 16 bit type field.
6188 - Added a minimal string library to assist in ASN.1 parsing
6189 - Changes in ASN.1 parser to work with the new bison
6190 - Added gnutls_x509_extract_subject_alt_name(), which deprecates
6191 gnutls_x509_extract_subject_dns_name()
6192 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
6193 - gnutls_srp_server_set_cred_file() can now be called multiple times
6195 * Version 0.3.5 (2002-01-25)
6196 - Corrected the RSA key exchange method, to avoid attacks against
6199 * Version 0.3.4 (2002-01-20)
6200 - Corrected bugs in DHE_RSA key exchange method
6202 * Version 0.3.3 (2002-01-19)
6203 - Added gnutls_x509pki_verify_certificate()
6204 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
6205 - Bug fixes in srpcrypt (based on patch by Marc Huber)
6206 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
6207 - Corrected library versioning
6209 * Version 0.3.2 (2002-01-05)
6210 - Corrected bug which did not allow a client to accept multiple CA names
6211 - Added gnutls_fingerprint()
6212 - Added gnutls_x509pki_extract_certificate_serial()
6213 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
6214 - Corrected behaviour in version advertizing
6215 - Updated documentation
6216 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
6218 * Version 0.3.1 (2001-12-21)
6219 - Corrections in the configuration files
6220 - Fixes a bug in anonymous authentication
6222 * Version 0.3.0 (2001-12-17)
6223 - Corrected bug in new integer formatting (now we use the old format again)
6224 - Several corrections and usual cleanups
6226 * Version 0.2.91 (2001-12-10)
6227 - Fixes in MPI handling (fixes possible bug with signed integers)
6228 - Removed name indication extension
6229 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
6230 - Optimizations in server certificate callback.
6231 - Fixes in anonymous authentication
6232 - Corrections in client ciphersuite selection
6234 * Version 0.2.90 (2001-12-07)
6235 - gnutls_handshake(), gnutls_read() etc. functions no longer require
6236 the 'SOCKET cd' argument. This argument is set using the function
6237 gnutls_set_transport_ptr().
6238 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
6239 a list containing peer's certificate and issuers DER encoded.
6240 - Updated X.509 certificate handling API
6241 - Added callback to select the server certificate
6242 - More consistent function naming (changes in several function names)
6243 - Buffer overflow checking in ASN.1 structures parser
6244 - Updated documentation
6246 * Version 0.2.11 (2001-11-16)
6247 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
6248 is returned, then the caller should perform a handshake or send
6249 an alert to the peer.
6250 - Made receive buffer dynamic. Normally if no large chunks are received
6251 it occupies less space.
6252 - Added max_record_size extension
6253 - Bugfixes in session handling
6254 - Improved non blocking IO support in the Handshake Protocol
6255 - Usual bugfixes and cleanups
6256 - Documentation updated (includes ASN.1 documentation)
6258 * Version 0.2.10 (2001-11-05)
6259 - Corrected bugs and improved non blocking IO
6260 - Added hooks to use external database to store sessions
6263 * Version 0.2.9 (2001-10-27)
6264 - AUTH_INFO types and structures were moved to library internals
6265 - AUTH_FAILED is no longer returned in SRP authentication
6266 (any fatal error in SRP means auth failed)
6267 - Introduced GNUTLS_E_INTERRUPTED
6268 - Added support for non blocking IO
6269 - gnutls_recv() and gnutls_send() are now obsolete
6270 - Changed semantics of gnutls_rehandshake()
6272 * Version 0.2.4 (2001-10-12)
6273 - Better handling of X.509 certificate extensions
6274 - Added DHE_RSA ciphersuites
6275 - Updated the Name Indication (dnsname) extension
6276 - Improvements in Diffie Hellman primes handling
6278 * Version 0.2.3 (2001-09-19)
6279 - Memory optimizations in gnutls_recv()
6280 - Fixed several memory leaks
6281 - Added ability to specify callback for x509 client certificate selection
6282 - Better documentation
6284 * Version 0.2.2 (2001-08-21)
6285 - Several bugfixes (library and documentation)
6287 * Version 0.2.1 (2001-08-07)
6290 * Version 0.2.0 (2001-08-07)
6291 - Partial support for X.509v3 Certificate extensions.
6292 - Added Internal memory handlers
6293 - Removed gnutls_x509_set_cn()
6294 - Added X.509 client authentication
6295 - Several bug fixes and protocol fixes
6297 * Version 0.1.9 (2001-07-30)
6298 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
6299 - SRP is updated to conform to the newest draft.
6300 - Added support for DNSNAME extension.
6301 - Reentracy fixes in ASN.1 Parsing.
6302 - Optimizations in hash/hmac functions
6303 - (Error) message handling has changed
6304 - Better Protocol Version handling
6305 - Added X.509 Certificate Verification
6306 - gnutls_read() semantics are now closer to read(2) - added EOF
6307 - Documented some part of gnutls in doc/tex/ using Latex
6309 * Version 0.1.4 (2001-06-22)
6310 - Corrected (srp) base64 encoding.
6311 - Changed bcrypt algorithm to include username.
6312 - Added RSA Ciphersuites (no certificate checking).
6313 - Fixes in SSL 2.0 client hello parsing.
6314 - Added ASN.1 and DER parsers.
6315 - Bugfixes in session resuming
6316 - Updated Ciphersuite selection algorithm
6317 - Added internal representation of X.509 structures.
6318 - Added global state
6320 * Version 0.1.3 (2001-06-01)
6321 - Updated API (and the way it is documented - we use inline documentation)
6322 - Added function to access alert messages.
6323 - Added support for renegotiating parameters.
6324 - Better and Faster Resume Database handling.
6327 * Version 0.1.2 (2001-05-14)
6329 - Fixes in extension handling
6331 * Version 0.1.1 (2001-05-13)
6332 - Added compatibility with Stanford's libsrp library
6334 * Version 0.1.0 (2001-05-09)
6335 - Added SSL 2.0 client hello support
6336 - GNUTLS is a gnu library
6337 - Added support for TLS extensions.
6338 - Added support for SRP
6340 * Version 0.0.7 (2001-01-11)
6341 - Added server side session resuming (using gdbm)
6342 - Added twofish algorithm
6344 * Version 0.0.6 (2000-12-20)
6345 - Added client side session resuming
6346 - Better documentation (check doc/API)
6347 - Better socket handling (gnutls can be used with select())
6348 - Some primitive support for non blocking IO and socket options has been added.
6350 * Version 0.0.5 (2000-12-07)
6351 - Added Compression (using ZLIB)
6352 - Added SSL 3.0 support
6354 ----------------------------------------------------------------------
6355 Copying and distribution of this file, with or without modification,
6356 are permitted in any medium without royalty provided the copyright
6357 notice and this notice are preserved.