1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000-2014 Free Software Foundation, Inc.
3 Copyright (C) 2013, 2014 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 3.4.0 (unreleased)
8 ** libgnutls: Use pthread_atfork() to detect fork.
10 ** libgnutls: Added helper functions to obtain information on PKCS #8
13 ** libgnutls: Use nettle's PBKDF2 implementation.
15 ** libgnutls: gnutls_x509_crt_check_hostname() and friends will use
16 RFC6125 comparison of hostnames. That introduces a dependency on libidn.
18 ** libgnutls: when printing a certificate request print the signature
21 ** libgnutls: the gnutls_handshake() process will enforce a timeout by
24 ** libgnutls: the verification flag GNUTLS_REQUIRE_KEY_PURPOSE_ON_INTERMEDIATE
25 is introduced, and forces the application of the desired key purpose (extended
26 key usage) into intermediate certificates. The verification result
27 GNUTLS_CERT_PURPOSE_MISMATCH is also introduced.
29 ** libgnutls: Added support for the extended master secret
30 (triple-handshake fix) following draft-ietf-tls-session-hash-02.
32 ** certtool: Added --p8-info option, which will print PKCS #8 information
33 even if the password is not available.
35 ** certtool: --key-info option will print PKCS #8 encryption information
38 ** certtool: --p12-info option will print PKCS #12 MAC and cipher information
41 ** certtool: it will print the A-label (ACE) names in addition to UTF-8.
43 ** guile: new 'set-session-server-name!' procedure; see the manual for details.
45 ** API and ABI modifications:
46 gnutls_pkcs12_generate_mac2: Added
47 gnutls_pkcs12_mac_info: Added
48 gnutls_pkcs12_bag_enc_info: Added
49 gnutls_pkcs8_info: Added
50 gnutls_pkcs_schema_get_name: Added
51 gnutls_pkcs_schema_get_oid: Added
52 gnutls_pcert_export_x509: Added
53 gnutls_pcert_export_openpgp: Added
54 gnutls_pkcs11_privkey_cpy: Added
55 gnutls_x509_crq_get_signature_algorithm: Added
56 gnutls_x509_trust_list_iter_get_ca: Added
57 gnutls_x509_trust_list_iter_deinit: Added
58 gnutls_certificate_get_trust_list: Added
59 gnutls_privkey_export_x509: Added
60 gnutls_privkey_export_pkcs11: Added
61 gnutls_privkey_export_openpgp: Added
62 gnutls_privkey_import_ext3: Added
63 gnutls_certificate_get_x509_key: Added
64 gnutls_certificate_get_x509_crt: Added
65 gnutls_certificate_get_openpgp_key: Added
66 gnutls_certificate_get_openpgp_crt: Added
67 gnutls_record_discard_queued: Added
70 * Version 3.3.6 (released 2014-07-23)
72 ** libgnutls: Use inet_ntop to print IP addresses when available
74 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
75 IP addresses, and match documented behavior. Reported by David Woodhouse.
77 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
80 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
81 being usable after a reinitialization.
83 ** libgnutls: fixed PKCS #11 private key operations after a fork.
85 ** libgnutls: fixed PKCS #11 ECDSA key generation.
87 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
88 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
89 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
90 CPU. The currently available options are:
91 0x1: Disable all run-time detected optimizations
95 0x100000: Enable VIA padlock
96 0x200000: Enable VIA PHE
97 0x400000: Enable VIA PHE SHA512
99 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
101 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
103 ** p11tool: ask for label when one isn't provided.
105 ** p11tool: added --batch parameter to disable any interactivity.
107 ** p11tool: will not implicitly enable so-login for certain types of
108 objects. That avoids issues with tokens that require different login
111 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
112 specify the curve to use.
114 ** API and ABI modifications:
115 gnutls_certificate_set_x509_trust_dir: Added
116 gnutls_x509_trust_list_add_trust_dir: Added
119 * Version 3.3.5 (released 2014-06-26)
121 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
122 These functions provide a variant of gnutls_record_recv() that avoids
123 the final memcpy of data.
125 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
126 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
127 very large structures.
129 ** libgnutls: When the decoding of a printable DN element fails, then treat
130 it as unknown and print its hex value rather than failing. That works around
131 an issue in a TURKTRST root certificate which improperly encodes the
132 X520countryName element.
134 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
135 of certificates present in a PKCS #11 token when loading it.
137 ** libgnutls: Allow the post client hello callback to put the handshake on
138 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
140 ** certtool: option --to-p12 will now consider --load-ca-certificate
142 ** certtol: Added option to specify the PKCS #12 friendly name on command
145 ** p11tool: Allow marking a certificate copied to a token as a CA.
147 ** API and ABI modifications:
148 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
149 gnutls_x509_crl_iter_deinit: Added
150 gnutls_x509_crl_iter_crt_serial: Added
151 gnutls_record_recv_packet: Added
152 gnutls_packet_deinit: Added
153 gnutls_packet_get: Added
156 * Version 3.3.4 (released 2014-05-31)
158 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
159 crash on certain CPUs.
161 ** API and ABI modifications:
162 No changes since last version.
165 * Version 3.3.3 (released 2014-05-30)
167 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
168 Issue reported by Joonas Kuorilehto of Codenomicon.
170 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
171 new initialization process.
173 ** libgnutls: Increased the maximum certificate size buffer
174 in the PKCS #11 subsystem.
176 ** libgnutls: Check the return code of getpwuid_r() instead of relying
177 on the result value. That avoids issue in certain systems, when using
178 tofu authentication and the home path cannot be determined. Issue reported
181 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
182 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
184 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
187 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
188 be emulated with the implicit initialization of gnutls.
190 ** certtool: Allow multiple organizations and organizational unit names to
191 be specified in a template.
193 ** certtool: Warn when invalid configuration options are set to a template.
195 ** ocsptool: Include path in ocsp request. This resolves #108582
196 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
198 ** API and ABI modifications:
199 gnutls_credentials_get: Added
202 * Version 3.3.2 (released 2014-05-06)
204 ** libgnutls: Added the 'very weak' certificate verification profile
205 that corresponds to 64-bit security level.
207 ** libgnutls: Corrected file descriptor leak on random generator
210 ** libgnutls: Corrected file descriptor leak on PSK password file
211 reading. Issue identified using the Codenomicon TLS test suite.
213 ** libgnutls: Avoid deinitialization if initialization has failed.
215 ** libgnutls: null-terminate othername alternative names.
217 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
218 on a PKCS #11 trust list.
220 ** libgnutls: Several small bug fixes identified using valgrind and
221 the Codenomicon TLS test suite.
223 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
224 entry that matches the certificate. Patch by simon [at] arlott.org.
226 ** libgnutls-guile: Fixed compilation issue.
228 ** certtool: Allow exporting a CRL on DER format.
230 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
231 which is supported more widely than the previously used SECP224R1.
233 ** API and ABI modifications:
234 GNUTLS_PROFILE_VERY_WEAK: Added
237 * Version 3.3.1 (released 2014-04-19)
239 ** libgnutls: Enforce more strict checks to heartbeat messages
240 concerning padding and payload. Suggested by Peter Dettman.
242 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
245 ** libgnutls: Several small bug fixes found by coverity.
247 ** libgnutls: The conditionally available self-test functions
248 were moved to self-test.h.
250 ** libgnutls: Fixed issue with the check of incoming data when two
251 different recv and send pointers have been specified. Reported and
252 investigated by JMRecio.
254 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
255 result to illegal memory access if a server hint was provided. Reported
258 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
259 server hint was provided.
261 ** libgnutls: Corrected the *get_*_othername_oid() functions.
263 ** API and ABI modifications:
264 No changes since last version.
267 * Version 3.3.0 (released 2014-04-10)
269 ** libgnutls: The initialization of the library was moved to a
270 constructor. That is, gnutls_global_init() is no longer required
271 unless linking with a static library or a system that does not
272 support library constructors.
274 ** libgnutls: static libraries are not built by default.
276 ** libgnutls: PKCS #11 initialization is delayed to first usage.
277 That avoids long delays in gnutls initialization due to broken PKCS #11
280 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
281 on the first PKCS #11 API call after a fork.
283 ** libgnutls: certificate verification profiles were introduced
284 that can be specified as flags to verification functions. They
285 are enumerations in gnutls_certificate_verification_profiles_t
286 and can be converted to flags for use in a verification function
287 using GNUTLS_PROFILE_TO_VFLAGS().
289 ** libgnutls: Added the ability to read system-specific initial
290 keywords, if they are prefixed with '@'. That allows a compile-time
291 specified configuration file to be used to read pre-configured priority
292 strings from. That can be used to impose system specific policies.
294 ** libgnutls: Increased the default security level of priority
295 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
296 and set a verification profile by default. The LEGACY keyword is
297 introduced to set the old defaults.
299 ** libgnutls: Added support for the name constraints PKIX extension.
300 Currently only DNS names and e-mails are supported (no URIs, IPs
303 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
304 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
306 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
307 This API handles the X.509 extensions in isolation, allowing to parse
308 similarly formatted extensions stored in other structures.
310 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
311 can be used to specify a particular subgroup as the number of bits in
312 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
314 ** libgnutls: DH parameter generation is now delegated to nettle.
315 That unfortunately has the side-effect that DH parameters longer than
316 3072 bits, cannot be generated (not without a nettle update).
318 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
319 random number generator is based on salsa20/12.
321 ** libgnutls: The buffer alignment provided to crypto backend is
322 enforced to be 16-byte aligned, when compiled with cryptodev
323 support. That allows certain cryptodev drivers to operate more
326 ** libgnutls: Return error when a public/private key pair that doesn't
327 match is set into a credentials structure.
329 ** libgnutls: Depend on p11-kit 0.20.0 or later.
331 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
332 been removed. It was not approved by IETF.
334 ** libgnutls: The experimental xssl library is removed from the gnutls
337 ** libgnutls: Reduced the number of gnulib modules used in the main library.
339 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
341 ** libgnutls: Added the more extensible verification function
342 gnutls_certificate_verify_peers(), that allows checking, in addition
343 to a peer's DNS hostname, for the key purpose of the end certificate
344 (via PKIX extended key usage).
346 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
347 and in batch mode to 12 (appended with 4 random bytes).
349 ** certtool: When no CRL number is provided (or value set to -1), then
350 a time-based number will be used, similarly to the serial generation
351 number in certificates.
353 ** certtool: Print the SHA256 fingerprint of a certificate in addition
356 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
357 That option enables (when running on FIPS140-enabled system):
358 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
359 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
360 o Self-tests on initialization on ciphers/MACs, public key algorithms
361 and the random generator.
362 o HMAC-SHA256 verification of the library on load.
363 o MD5 is included for TLS purposes but cannot be used by the high level
365 o All ciphers except AES are disabled.
366 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
367 o All keys (temporal and long term) are zeroized after use.
368 o Security levels are adjusted to the FIPS140-2 recommendations (rather
371 ** API and ABI modifications:
372 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
373 gnutls_certificate_verify_peers: Added
374 gnutls_privkey_generate: Added
375 gnutls_pkcs11_crt_is_known: Added
376 gnutls_fips140_mode_enabled: Added
377 gnutls_sec_param_to_symmetric_bits: Added
378 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
379 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
380 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
381 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
382 gnutls_pubkey_verify_params: Added
383 gnutls_privkey_export_ecc_raw: Added
384 gnutls_privkey_export_dsa_raw: Added
385 gnutls_privkey_export_rsa_raw: Added
386 gnutls_privkey_import_ecc_raw: Added
387 gnutls_privkey_import_dsa_raw: Added
388 gnutls_privkey_import_rsa_raw: Added
389 gnutls_privkey_verify_params: Added
390 gnutls_x509_crt_check_hostname2: Added
391 gnutls_openpgp_crt_check_hostname2: Added
392 gnutls_x509_name_constraints_init: Added
393 gnutls_x509_name_constraints_deinit: Added
394 gnutls_x509_crt_get_name_constraints: Added
395 gnutls_x509_name_constraints_add_permitted: Added
396 gnutls_x509_name_constraints_add_excluded: Added
397 gnutls_x509_crt_set_name_constraints: Added
398 gnutls_x509_name_constraints_get_permitted: Added
399 gnutls_x509_name_constraints_get_excluded: Added
400 gnutls_x509_name_constraints_check: Added
401 gnutls_x509_name_constraints_check_crt: Added
402 gnutls_x509_crl_get_extension_data2: Added
403 gnutls_x509_crt_get_extension_data2: Added
404 gnutls_x509_crq_get_extension_data2: Added
405 gnutls_subject_alt_names_init: Added
406 gnutls_subject_alt_names_deinit: Added
407 gnutls_subject_alt_names_get: Added
408 gnutls_subject_alt_names_set: Added
409 gnutls_x509_ext_import_subject_alt_names: Added
410 gnutls_x509_ext_export_subject_alt_names: Added
411 gnutls_x509_crl_dist_points_init: Added
412 gnutls_x509_crl_dist_points_deinit: Added
413 gnutls_x509_crl_dist_points_get: Added
414 gnutls_x509_crl_dist_points_set: Added
415 gnutls_x509_ext_import_crl_dist_points: Added
416 gnutls_x509_ext_export_crl_dist_points: Added
417 gnutls_x509_ext_import_name_constraints: Added
418 gnutls_x509_ext_export_name_constraints: Added
419 gnutls_x509_aia_init: Added
420 gnutls_x509_aia_deinit: Added
421 gnutls_x509_aia_get: Added
422 gnutls_x509_aia_set: Added
423 gnutls_x509_ext_import_aia: Added
424 gnutls_x509_ext_export_aia: Added
425 gnutls_x509_ext_import_subject_key_id: Added
426 gnutls_x509_ext_export_subject_key_id: Added
427 gnutls_x509_ext_export_authority_key_id: Added
428 gnutls_x509_ext_import_authority_key_id: Added
429 gnutls_x509_aki_init: Added
430 gnutls_x509_aki_get_id: Added
431 gnutls_x509_aki_get_cert_issuer: Added
432 gnutls_x509_aki_set_id: Added
433 gnutls_x509_aki_set_cert_issuer: Added
434 gnutls_x509_aki_deinit: Added
435 gnutls_x509_ext_import_private_key_usage_period: Added
436 gnutls_x509_ext_export_private_key_usage_period: Added
437 gnutls_x509_ext_import_basic_constraints: Added
438 gnutls_x509_ext_export_basic_constraints: Added
439 gnutls_x509_ext_import_key_usage: Added
440 gnutls_x509_ext_export_key_usage: Added
441 gnutls_x509_ext_import_proxy: Added
442 gnutls_x509_ext_export_proxy: Added
443 gnutls_x509_policies_init: Added
444 gnutls_x509_policies_deinit: Added
445 gnutls_x509_policies_get: Added
446 gnutls_x509_policies_set: Added
447 gnutls_x509_ext_import_policies: Added
448 gnutls_x509_ext_export_policies: Added
449 gnutls_x509_key_purpose_init: Added
450 gnutls_x509_key_purpose_deinit: Added
451 gnutls_x509_key_purpose_set: Added
452 gnutls_x509_key_purpose_get: Added
453 gnutls_x509_ext_import_key_purposes: Added
454 gnutls_x509_ext_export_key_purposes: Added
455 gnutls_digest_self_test: Added (conditionally)
456 gnutls_mac_self_test: Added (conditionally)
457 gnutls_pk_self_test: Added (conditionally)
458 gnutls_cipher_self_test: Added (conditionally)
459 gnutls_global_set_mem_functions: Deprecated
462 * Version 3.2.6 (released 2013-10-31)
464 ** libgnutls: Support for TPM via trousers is now enabled by default.
466 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
467 GCM mode is prioritized over CBC in all of the default priority strings.
469 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
471 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
472 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
473 Reported by Stefan Buehler.
475 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
477 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
480 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
481 Contributed by Wolfgang Meyer zu Bergsten.
485 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
486 previous fix. Reported by Tomas Mraz.
488 ** p11tool: Added option generate-random.
490 ** API and ABI modifications:
491 gnutls_pkcs11_token_get_random: Added
494 * Version 3.2.5 (released 2013-10-23)
496 ** libgnutls: Documentation and build-time fixes.
498 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
500 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
501 as well as Camellia with GCM.
503 ** libdane: Added interfaces to allow initialization of dane_query_t from
504 external DNS resolutions, and to allow direct verification of a certificate
505 chain against a dane_query_t. Contributed by Christian Grothoff.
507 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
508 triggered by a DNS server supplying more than 4 DANE records. Report and fix
509 by Christian Grothoff.
511 ** srptool: Fixed index command line option. Patch by Attila Molnar.
513 ** gnutls-cli: Added support for inline commands, using the
514 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
516 ** certtool: pathlen constraint is now read correctly. Reported by
519 ** API and ABI modifications:
520 gnutls_certificate_get_crt_raw: Added
521 dane_verify_crt_raw: Added
525 * Version 3.2.4 (released 2013-08-31)
527 ** libgnutls: Fixes when session tickets and session DB are used.
528 Report and initial patch by Stefan Buehler.
530 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
531 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
533 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
536 ** libgnutls: Added the PFS priority string option.
538 ** libgnutls: Gnulib included files are strictly LGPLv2.
540 ** libgnutls: Corrected gnutls_certificate_server_set_request().
541 Reported by Petr Pisar.
543 ** API and ABI modifications:
544 gnutls_record_set_timeout: Exported
547 * Version 3.2.3 (released 2013-07-30)
549 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
551 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
552 (this fixes a bug that was accidentally introduced in 3.2.2)
554 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
557 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
560 ** API and ABI modifications:
561 gnutls_priority_kx_list: Added
562 gnutls_priority_mac_list: Added
563 gnutls_priority_cipher_list: Added
566 * Version 3.2.2 (released 2013-07-14)
568 ** libgnutls: Several optimizations in the related to packet processing
571 ** libgnutls: DTLS replay detection can now be disabled (to be used
572 in certain transport layers like SCTP).
574 ** libgnutls: Fixes in SRTP extension generation when MKI is being
577 ** libgnutls: Added ability to set hooks before or after sending or receiving
578 any handshake message with gnutls_handshake_set_hook_function().
580 ** API and ABI modifications:
581 GNUTLS_NO_REPLAY_PROTECTION: Added
582 gnutls_certificate_set_trust_list: Added
583 gnutls_cipher_get_tag_size: Added
584 gnutls_record_overhead_size: Added
585 gnutls_est_record_overhead_size: Added
586 gnutls_handshake_set_hook_function: Added
587 gnutls_handshake_description_get_name: Added
588 gnutls_digest_list: Added
589 gnutls_digest_get_id: Added
590 gnutls_digest_get_name: Added
593 * Version 3.2.1 (released 2013-06-01)
595 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
598 ** libgnutls: Fixes in interrupted function resumption. Report
599 and patch by Tim Kosse.
601 ** libgnutls: Corrected issue when receiving client hello verify requests
604 ** libgnutls: Fixes in DTLS record overhead size calculations.
606 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
609 ** API and ABI modifications:
610 gnutls_session_set_id: Added
613 * Version 3.2.0 (released 2013-05-10)
615 ** libgnutls: Use nettle's elliptic curve implementation.
617 ** libgnutls: Added Salsa20 cipher
619 ** libgnutls: Added UMAC-96 and UMAC-128
621 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
622 As they are not standardized they are defined using private ciphersuite
625 ** libgnutls: Added support for DTLS 1.2.
627 ** libgnutls: Added support for the Application Layer Protocol Negotiation
630 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
632 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
633 linking to pthreads if p11-kit isn't used).
635 ** API and ABI modifications:
636 gnutls_cipher_get_iv_size: Added
637 gnutls_hmac_set_nonce: Added
638 gnutls_mac_get_nonce_size: Added
641 * Version 3.1.10 (released 2013-03-22)
643 ** certtool: When generating PKCS #12 files use by default the
644 ARCFOUR (RC4) cipher to be compatible with devices that don't
645 support AES with PKCS #12.
647 ** libgnutls: Load CA certificates in android 4.x systems.
649 ** libgnutls: Optimized CA certificate loading.
651 ** libgnutls: Private keys are overwritten on deinitialization.
653 ** libgnutls: PKCS #11 slots are scanned only when needed, not
654 on initialization. This speeds up gnutls initialization when smart
657 ** libgnutls: Corrected issue in the (deprecated) external key
658 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
660 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
663 ** libgnutls-dane: Updated DANE verification options.
665 ** configure: Trust store file must be explicitly set or unset when
668 ** API and ABI modifications:
669 gnutls_x509_crt_get_issuer_dn2: Added
670 gnutls_x509_crt_get_dn2: Added
671 gnutls_x509_crl_get_issuer_dn2: Added
672 gnutls_x509_crq_get_dn2: Added
673 gnutls_x509_trust_list_remove_trust_mem: Added
674 gnutls_x509_trust_list_remove_trust_file: Added
675 gnutls_x509_trust_list_remove_cas: Added
676 gnutls_session_get_desc: Added
677 gnutls_privkey_sign_raw_data: Added
678 gnutls_privkey_status: Added
681 * Version 3.1.9 (released 2013-02-27)
683 ** certtool: Option --to-p12 will now ask for a password to generate
684 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
686 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
688 ** libgnutls: Corrected parsing issue in XMPP within a subject
689 alternative name. Reported by James Cloos.
691 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
692 modules, and not only the ones loaded via p11-kit.
694 ** libgnutls: Added function to check whether the private key is
695 still available (inserted).
697 ** libgnutls: Try to detect fork even during nonce generation.
699 ** API and ABI modifications:
700 gnutls_handshake_set_random: Added
701 gnutls_transport_set_int2: Added
702 gnutls_transport_get_int2: Added
703 gnutls_transport_get_int: Added
704 gnutls_record_cork: Exported
705 gnutls_record_uncork: Exported
706 gnutls_pkcs11_privkey_status: Added
709 * Version 3.1.8 (released 2013-02-10)
711 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
712 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
713 with encrypted keys. Reported by Yan Fiz.
715 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
716 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
719 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
720 to operate with long keys. Reported by Erik A Jensen.
722 ** API and ABI modifications:
723 No changes since last version.
726 * Version 3.1.7 (released 2013-02-04)
728 ** certtool: Added option "dn" which allows to directly set the DN
729 in a template from an RFC4514 string.
731 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
733 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
735 ** libgnutls-dane: Added function to specify a DLV file.
737 ** libgnutls: Heartbeat code was made optional.
739 ** libgnutls: Fixes in server side of DTLS-0.9.
741 ** libgnutls: DN variable 'T' was expanded to 'title'.
743 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
744 Issue reported by Kenny Paterson and Nadhem Alfardan.
746 ** libgnutls: Added functions to directly set the DN in a certificate
747 or request from an RFC4514 string.
749 ** libgnutls: Optimizations in the random generator. The re-seeding of
750 it is now explicitly done on every session deinit.
752 ** libgnutls: Simplified the DTLS sliding window implementation.
754 ** libgnutls: The minimum DH bits accepted by a client are now set
755 by the specified priority string. The current values correspond to the
756 previous defaults (727 bits), except for the SECURE128 and SECURE192
757 strings which increase the minimum to 1248 and 1776 respectively.
759 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
760 buffering in sending application data.
762 ** libgnutls: Removed default random padding, and added a length-hiding interface
763 instead. Both the server and the client must support this extension. Whether
764 length-hiding can be used on a given session can be checked using
765 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
767 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
768 a new padding mechanism in TLS allowing arbitrary padding in TLS records
769 in all ciphersuites, which makes length-hiding more efficient and solves
770 the issues with timing attacks on CBC ciphersuites.
772 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
773 ciphers (i.e., AES-GCM). Reported by William McGovern.
775 ** API and ABI modifications:
776 gnutls_db_check_entry_time: Added
777 gnutls_record_set_timeout: Added
778 gnutls_record_get_random_padding_status: Added
779 gnutls_x509_crt_set_dn: Added
780 gnutls_x509_crt_set_issuer_dn: Added
781 gnutls_x509_crq_set_dn: Added
782 gnutls_range_split: Added
783 gnutls_record_send_range: Added
784 gnutls_record_set_max_empty_records: Added
785 gnutls_record_can_use_length_hiding: Added
786 gnutls_rnd_refresh: Added
794 xssl_client_init: Added
795 xssl_server_init: Added
796 xssl_get_session: Added
797 xssl_get_verify_status: Added
798 xssl_cred_init: Added
799 xssl_cred_deinit: Added
800 dane_state_set_dlv_file: Added
801 GNUTLS_SEC_PARAM_EXPORT: Added
802 GNUTLS_SEC_PARAM_VERY_WEAK: Added
805 * Version 3.1.6 (released 2013-01-02)
807 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
808 Paterson and Nadhem Alfardan.
810 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
812 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
815 ** libgnutls: Ignore heartbeat messages when received out-of-order,
816 instead of issuing an error.
818 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
821 ** libgnutls: TPM support is disabled by default because GPL programs
822 cannot link with it. Use --with-tpm to enable it.
824 ** libgnutls-guile: Fixed parallel compilation issue.
826 ** gnutls-cli: It will try to connect to all possible returned addresses
829 ** API and ABI modifications:
830 No changes since last version.
833 * Version 3.1.5 (released 2012-11-24)
835 ** libgnutls: Added functions to parse the certificates policies
838 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
839 Name by translating it to UTF-8 (works on windows or systems with iconv).
841 ** libgnutls: Added PKCS #11 key generation function that returns the
842 public key on generation.
844 ** libgnutls: Corrected bug in priority string parsing, that mostly
845 affected combined levels. Patch by Tim Kosse.
847 ** certtool: The --pubkey-info option can be combined with the
848 --load-privkey or --load-request to print the corresponding public keys.
850 ** certtool: It is able to set certificate policies via a template.
852 ** certtool: Added --hex-numbers option which prints big numbers in
853 an easier to parse format.
855 ** p11tool: After key generation, outputs the public key (useful in
856 tokens that do not store the public key).
858 ** danetool: It is being built even without libgnutls-dane (the
859 --check functionality is disabled though).
861 ** API and ABI modifications:
862 gnutls_pkcs11_privkey_generate2: Added
863 gnutls_x509_crt_get_policy: Added
864 gnutls_x509_crt_set_policy: Added
865 gnutls_x509_policy_release: Added
866 gnutls_pubkey_import_x509_crq: Added
867 gnutls_pubkey_print: Added
868 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
871 * Version 3.1.4 (released 2012-11-10)
873 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
874 the available revocation data validity.
876 ** libgnutls: Added gnutls_certificate_verification_status_print(),
877 a function to print the verification status code in human readable text.
879 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
881 ** libgnutls: Simplified certificate verification by adding
882 gnutls_certificate_verify_peers3().
884 ** libgnutls: Added support for extension to establish keys for SRTP.
885 Contributed by Martin Storsjo.
887 ** libgnutls: The X.509 verification functions check the key
888 usage bits and pathlen constraints and on failure output
889 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
891 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
893 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
894 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
896 ** libgnutls: Always tolerate key usage violation errors from the side
897 of the peer, but also notify via an audit message.
899 ** gnutls-cli: Added --local-dns option.
901 ** danetool: Corrected bug that prevented loading PEM files.
903 ** danetool: Added --check option to allow querying and verifying
906 ** libgnutls-dane: Added pkg-config file for the library.
908 ** API and ABI modifications:
909 gnutls_session_get_id2: Added
910 gnutls_sign_is_secure: Added
911 gnutls_certificate_verify_peers3: Added
912 gnutls_ocsp_status_request_is_checked: Added
913 gnutls_certificate_verification_status_print: Added
914 gnutls_srtp_set_profile: Added
915 gnutls_srtp_set_profile_direct: Added
916 gnutls_srtp_get_selected_profile: Added
917 gnutls_srtp_get_profile_name: Added
918 gnutls_srtp_get_profile_id: Added
919 gnutls_srtp_get_keys: Added
920 gnutls_srtp_get_mki: Added
921 gnutls_srtp_set_mki: Added
922 gnutls_srtp_profile_t: Added
923 dane_cert_type_name: Added
924 dane_match_type_name: Added
925 dane_cert_usage_name: Added
926 dane_verification_status_print: Added
927 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
928 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
929 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
930 GNUTLS_CERT_UNEXPECTED_OWNER: Added
931 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
934 * Version 3.1.3 (released 2012-10-12)
936 ** libgnutls: Added support for the OCSP Certificate Status
939 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
940 certificate status extension in verification.
942 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
944 ** libgnutls: Increased maximum password length in the PKCS #12
947 ** libgnutls: Fixed the receipt of session tickets during session resumption.
948 Reported by danblack at http://savannah.gnu.org/support/?108146
950 ** libgnutls: Added functions to export structures in an allocated buffer.
952 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
953 response corresponds to the given certificate.
955 ** libgnutls: In client side gnutls_init() enables the session ticket and
956 OCSP certificate status request extensions by default. The flag
957 GNUTLS_NO_EXTENSIONS can be used to prevent that.
959 ** libgnutls: Several updates in the OpenPGP code. The generating code
960 is fully RFC6091 compliant and RFC5081 support is only supported in client
963 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
964 certificate verification.
966 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
968 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
970 ** API and ABI modifications:
971 gnutls_certificate_get_peers_subkey_id: Added
972 gnutls_certificate_set_ocsp_status_request_function: Added
973 gnutls_certificate_set_ocsp_status_request_file: Added
974 gnutls_ocsp_status_request_enable_client: Added
975 gnutls_ocsp_status_request_get: Added
976 gnutls_ocsp_resp_check_crt: Added
977 gnutls_dh_params_export2_pkcs3: Added
978 gnutls_pubkey_export2: Added
979 gnutls_x509_crt_export2: Added
980 gnutls_x509_dn_export2: Added
981 gnutls_x509_crl_export2: Added
982 gnutls_pkcs7_export2: Added
983 gnutls_x509_privkey_export2: Added
984 gnutls_x509_privkey_export2_pkcs8: Added
985 gnutls_x509_crq_export2: Added
986 gnutls_openpgp_crt_export2: Added
987 gnutls_openpgp_privkey_export2: Added
988 gnutls_pkcs11_obj_export2: Added
989 gnutls_pkcs12_export2: Added
990 gnutls_pubkey_import_openpgp_raw: Added
991 gnutls_pubkey_import_x509_raw: Added
992 dane_state_init: Added
993 dane_state_deinit: Added
994 dane_query_tlsa: Added
995 dane_query_status: Added
996 dane_query_entries: Added
997 dane_query_data: Added
998 dane_query_deinit: Added
999 dane_verify_session_crt: Added
1000 dane_verify_crt: Added
1001 dane_strerror: Added
1004 * Version 3.1.2 (released 2012-09-26)
1006 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
1007 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
1008 of certificates in the windows platform.
1010 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
1012 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
1013 (the work was done during Google Summer of Code).
1015 ** libgnutls: Added X.509 certificate verification flag
1016 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
1017 of unsorted certificate chains and is enabled by default for
1018 TLS certificate verification (if gnutls_certificate_set_verify_flags()
1019 does not override it).
1021 ** libgnutls: Prints warning on certificates that contain keys of
1022 an insecure level. If the %COMPAT priority flag is not specified
1023 the TLS connection fails.
1025 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
1026 if interrupted during the retrasmition of handshake data.
1028 ** libgnutls: Better mingw32 support (patch by LRN).
1030 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
1031 key usage violation errors (they are far too common to ignore).
1033 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
1034 which provides a tool to counter compression-related attacks where
1035 parts of the data are controlled by the attacker _and_ are placed in
1036 separate records (use with care - do not use compression if not sure).
1038 ** libgnutls: Depends on libtasn1 2.14 or later.
1040 ** certtool: Prints the number of bits of the public key algorithm
1041 parameter in a private key.
1043 ** API and ABI modifications:
1044 gnutls_x509_privkey_get_pk_algorithm2: Added
1045 gnutls_heartbeat_ping: Added
1046 gnutls_heartbeat_pong: Added
1047 gnutls_heartbeat_allowed: Added
1048 gnutls_heartbeat_enable: Added
1049 gnutls_heartbeat_set_timeouts: Added
1050 gnutls_heartbeat_get_timeout: Added
1051 GNUTLS_SEC_PARAM_WEAK: Added
1052 GNUTLS_SEC_PARAM_INSECURE: Added
1054 * Version 3.1.1 (released 2012-09-02)
1056 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1058 ** certtool: Changes in password handling of certtool.
1059 Ask password when required and only if the '--password' option is not
1060 given. If the '--password' option is given during key generation then
1061 assume the PKCS #8 file format, instead of ignoring the password.
1063 ** tpmtool: No longer asks for key password in registered keys.
1065 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1066 wmNAF is now used for point multiplication and other optimizations.
1067 (the major part of the work was done during Google Summer of Code).
1069 ** libgnutls: The default pull_timeout_function only uses select
1070 instead of a combination of select() and recv() to prevent issues
1071 when used in stream sockets in some systems.
1073 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1074 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1077 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1078 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1079 me with ECDSA capable smart cards.
1081 ** API and ABI modifications:
1082 gnutls_sign_algorithm_get: Added
1083 gnutls_sign_get_hash_algorithm: Added
1084 gnutls_sign_get_pk_algorithm: Added
1087 * Version 3.1.0 (released 2012-08-15)
1089 ** libgnutls: Added direct support for TPM as a cryptographic module
1090 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1091 using URLs of the following types:
1092 tpmkey:file=/path/to/file
1093 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1095 ** libgnutls: Priority string level keywords can be combined.
1096 For example the string "SECURE256:+SUITEB128" is now allowed.
1098 ** libgnutls: requires libnettle 2.5.
1100 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1101 for encryption and signatures.
1103 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1104 generic errors and signature verification errors in the verification
1107 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1108 to simplify parsing in most PKCS #12 use cases.
1110 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1111 the whole certificate chain (if any) to the credentials structure, instead
1112 of only the end-user certificate.
1114 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1115 and gnutls_x509_privkey_import_pkcs8(), return consistently
1116 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1117 password was provided.
1119 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1120 allows to set the maximum time spent in a handshake.
1122 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1125 ** tpmtool: Added. It is a tool to generate private keys in the
1128 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1129 and --benchmark-tls-ciphers
1131 ** certtool: generated PKCS #12 structures may hold more than one
1132 private key. Patch by Lucas Fisher.
1134 ** certtool: Added option --null-password to generate/decrypt keys
1135 that use a NULL password (in schemas that distinguish between NULL
1136 an empty passwords).
1138 ** minitasn1: Upgraded to libtasn1 version 2.13.
1140 ** API and ABI modifications:
1141 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1142 GNUTLS_CAMELLIA_192_CBC: Added
1143 GNUTLS_PKCS_NULL_PASSWORD: Added
1144 gnutls_url_is_supported: Added
1145 gnutls_pkcs11_obj_list_import_url2: Added
1146 gnutls_pkcs11_obj_set_pin_function: Added
1147 gnutls_pkcs11_privkey_set_pin_function: Added
1148 gnutls_pkcs11_get_pin_function: Added
1149 gnutls_privkey_import_tpm_raw: Added
1150 gnutls_privkey_import_tpm_url: Added
1151 gnutls_privkey_import_pkcs11_url: Added
1152 gnutls_privkey_import_openpgp_raw: Added
1153 gnutls_privkey_import_x509_raw: Added
1154 gnutls_privkey_import_ext2: Added
1155 gnutls_privkey_import_url: Added
1156 gnutls_privkey_set_pin_function: Added
1157 gnutls_tpm_privkey_generate: Added
1158 gnutls_tpm_key_list_deinit: Added
1159 gnutls_tpm_key_list_get_url: Added
1160 gnutls_tpm_get_registered: Added
1161 gnutls_tpm_privkey_delete: Added
1162 gnutls_pubkey_import_tpm_raw: Added
1163 gnutls_pubkey_import_tpm_url: Added
1164 gnutls_pubkey_import_url: Added
1165 gnutls_pubkey_verify_hash2: Added
1166 gnutls_pubkey_set_pin_function: Added
1167 gnutls_x509_privkey_import2: Added
1168 gnutls_x509_privkey_import_openssl: Added
1169 gnutls_x509_crt_set_pin_function: Added
1170 gnutls_load_file: Added
1171 gnutls_pkcs12_simple_parse: Added
1172 gnutls_certificate_set_x509_system_trust: Added
1173 gnutls_certificate_set_pin_function: Added
1174 gnutls_x509_trust_list_add_system_trust: Added
1175 gnutls_x509_trust_list_add_trust_file: Added
1176 gnutls_x509_trust_list_add_trust_mem: Added
1177 gnutls_pk_to_sign: Added
1178 gnutls_handshake_set_timeout: Added
1179 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1180 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1183 * Version 3.0.22 (released 2012-08-04)
1185 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1186 is now supported on OpenBSD.
1188 ** libgnutls: When verifying a certificate chain make sure it is chain.
1189 If the chain is wronly interrupted at some point then truncate it,
1190 and only try to verify the correct part. Patch by David Woodhouse
1192 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1193 which now may (again) accept a NULL password.
1195 ** certtool: Allow the user to choose the hash algorithm
1196 when signing certificate request or certificate revocation list.
1197 Patch by Petr Písař.
1199 ** API and ABI modifications:
1200 No changes since last version.
1203 * Version 3.0.21 (released 2012-07-02)
1205 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1206 that prevented the loading of EC private keys when DER
1207 encoded. Reported by David Woodhouse.
1209 ** libgnutls: In DTLS larger to mtu records result to
1210 GNUTLS_E_LARGE_PACKET instead of being truncated.
1212 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1213 on patch by David Woodhouse.
1215 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1217 ** libgnutls: Added support for an old version of the DTLS protocol
1218 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1219 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1222 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1223 if only the label is specified. Patch by David Woodhouse.
1225 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1228 ** API and ABI modifications:
1229 gnutls_dtls_set_data_mtu: Added
1230 gnutls_session_set_premaster: Added
1233 * Version 3.0.20 (released 2012-06-05)
1235 ** libgnutls: Corrected bug which prevented the parsing of
1236 handshake packets spanning multiple records.
1238 ** libgnutls: Check key identifiers when checking for an issuer.
1240 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1242 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1243 that loads the trusted CA certificates from system locations
1244 (e.g. trusted storage in windows and CA bundle files in other systems).
1246 ** certtool: Added support for the URI subject alternative
1247 name type in certtool.
1249 ** certtool: Increase to 128 the maximum number of distinct options
1250 (e.g. dns_names) allowed.
1252 ** gnutls-cli: If --print-cert is given, print the certificate,
1253 even on verification failure.
1255 ** API and ABI modifications:
1256 gnutls_pk_to_sign: Added
1257 gnutls_pubkey_verify_hash2: Added
1258 gnutls_certificate_set_x509_system_trust: Added
1261 * Version 3.0.19 (released 2012-04-22)
1263 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1264 is assumed to be a file that stores the pin. Based on patch
1267 ** libgnutls: gnutls_record_check_pending() no longer
1268 returns unprocessed data, and thus ensure the non-blocking
1269 of the next call to gnutls_record_recv().
1271 ** libgnutls: Added strict tests in Diffie-Hellman and
1272 SRP key exchange public keys.
1274 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1275 strict in hash selection, and allow a stronger hash to
1276 be used than the appropriate, to improve interoperability
1279 ** tests: Disabled floating point test, and corrections
1280 in pkcs12 decoding tests.
1282 ** API and ABI modifications:
1283 No changes since last version.
1286 * Version 3.0.18 (released 2012-04-02)
1288 ** certtool: Avoid a Y2K38 bug when generating certificates.
1289 Patch by Robert Millan.
1291 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1292 is returned on premature termination (and added unit test).
1294 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1296 ** libgnutls: Corrected VIA padlock detection for old
1297 VIA processors. Reported by Kris Karas.
1299 ** libgnutls: Updated assembler files.
1301 ** libgnutls: Time in generated certificates is stored
1302 as GeneralizedTime instead of UTCTime (which only stores
1303 2 digits of a year).
1305 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1307 ** API and ABI modifications:
1308 gnutls_x509_crt_set_private_key_usage_period: Added
1309 gnutls_x509_crt_get_private_key_usage_period: Added
1310 gnutls_x509_crq_set_private_key_usage_period: Added
1311 gnutls_x509_crq_get_private_key_usage_period: Added
1312 gnutls_session_get_random: Added
1315 * Version 3.0.17 (released 2012-03-17)
1317 ** command line apps: Always link with local libopts.
1319 ** API and ABI modifications:
1320 No changes since last version.
1323 * Version 3.0.16 (released 2012-03-16)
1325 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1327 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1329 ** libgnutls: included assembler files for MacOSX.
1331 ** p11tool: Small fixes in handling of the --private command
1334 ** certtool: The template option allows for setting the domain
1335 component (DC) option of the distinguished name, and the ocsp_uri
1336 as well as the ca_issuers_uri options.
1338 ** API and ABI modifications:
1339 gnutls_x509_crt_set_authority_info_access: Added
1342 * Version 3.0.15 (released 2012-03-02)
1344 ** test suite: Only run under valgrind in the development
1345 system (the full git repository)
1347 ** command line apps: Link with local libopts if the
1348 installed is an old one.
1350 ** libgnutls: Eliminate double free during SRP
1351 authentication. Reported by Peter Penzov.
1353 ** libgnutls: Corrections in record packet parsing.
1354 Reported by Matthew Hall.
1356 ** libgnutls: Cryptodev updates and fixes.
1358 ** libgnutls: Corrected issue with select() that affected
1359 FreeBSD. This prevented establishing DTLS sessions.
1360 Reported by Andreas Metzler.
1362 ** libgnutls: Corrected rehandshake and resumption
1363 operations in DTLS. Reported by Sean Buckheister.
1365 ** libgnutls: PKCS #11 objects that do not have ID
1366 no longer crash listing. Reported by Sven Geggus.
1368 ** API and ABI modifications:
1369 No changes since last version.
1372 * Version 3.0.14 (released 2012-02-24)
1374 ** command line apps: Included libopts doesn't get installed
1377 ** libgnutls: Eliminate double free on wrongly formatted
1378 certificate list. Reported by Remi Gacogne.
1380 ** libgnutls: cryptodev code corrected, updated to account
1381 for hashes and GCM mode.
1383 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1384 Report and fix by Sam Varshavchik.
1386 ** API and ABI modifications:
1387 No changes since last version.
1390 * Version 3.0.13 (released 2012-02-18)
1392 ** gnutls-cli: added the --ocsp option which will verify
1393 the peer's certificate with OCSP.
1395 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1396 will use an ssh-style authentication method.
1398 ** gnutls-cli: if no --x509cafile is provided a default is
1399 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1401 ** ocsptool: Added --ask parameter, to verify a certificate's
1402 status from an ocsp server.
1404 ** command line apps: Use gnu autogen (libopts) to parse command
1405 line arguments and template files.
1407 ** tests: Added stress test for DTLS packet losses and
1408 out-of-order receival. Contributed by Sean Buckheister.
1410 ** libgnutls: Several updates and corrections in the DTLS
1411 DTLS lost packet handling and retransmission timeouts.
1412 Report and patches by Sean Buckheister.
1414 ** libgnutls: Added new functions to easily allow the usage of
1415 a trust on first use (SSH-style) authentication.
1417 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1418 for the RFC6460 requirements.
1420 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1421 to account for security level of 96-bits.
1423 ** libgnutls: In client side if server does not advertise any
1424 known CAs and only a single certificate is set in the credentials,
1427 ** libgnutls: Added functions to parse authority key identifiers
1428 when stored as a 'general name' and serial combo.
1430 ** libgnutls: Added function to force explicit reinitialization
1431 of PKCS #11 modules. This is required on the child process after
1432 a fork (if PKCS #11 functionality is desirable).
1434 ** libgnutls: Depend on p11-kit 0.11.
1436 ** API and ABI modifications:
1437 gnutls_dtls_get_timeout: Added
1438 gnutls_verify_stored_pubkey: Added
1439 gnutls_store_pubkey: Added
1440 gnutls_store_commitment: Added
1441 gnutls_x509_crt_get_authority_key_gn_serial: Added
1442 gnutls_x509_crl_get_authority_key_gn_serial: Added
1443 gnutls_pkcs11_reinit: Added
1444 gnutls_ecc_curve_list: Added
1445 gnutls_priority_certificate_type_list: Added
1446 gnutls_priority_sign_list: Added
1447 gnutls_priority_protocol_list: Added
1448 gnutls_priority_compression_list: Added
1449 gnutls_priority_ecc_curve_list: Added
1450 gnutls_tdb_init: Added
1451 gnutls_tdb_set_store_func: Added
1452 gnutls_tdb_set_store_commitment_func: Added
1453 gnutls_tdb_set_verify_func: Added
1454 gnutls_tdb_deinit: Added
1457 * Version 3.0.12 (released 2012-01-20)
1459 ** libgnutls: Added OCSP support.
1460 There is a new header file gnutls/ocsp.h and a set of new functions
1461 under the gnutls_ocsp namespace. Currently the functionality provided
1462 is to parse and extract information from OCSP requests/responses, to
1463 generate OCSP requests and to verify OCSP responses. See the manual
1464 for more information. Run ./configure with --disable-ocsp to build
1465 GnuTLS without OCSP support.
1467 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1469 ** ocsptool: Added new command line tool.
1470 The tool can parse OCSP request/responses, generate OCSP requests and
1471 verify OCSP responses. See the manual for more information.
1473 ** certtool: --outder option now works for private
1474 and public keys as well.
1476 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1477 to warn when no or insufficient priorities were set.
1479 ** libgnutls: Corrected an alignment issue in ECDH
1480 key generation which prevented some keys from being
1481 correctly aligned in rare circumstances.
1483 ** libgnutls: Corrected memory leaks in DH parameter
1484 generation and ecc_projective_check_point().
1486 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1487 return a descriptive name of a DN OID.
1489 ** API and ABI modifications:
1490 gnutls_pubkey_encrypt_data: Added
1491 gnutls_x509_dn_oid_name: Added
1492 gnutls_session_resumption_requested: Added
1493 gnutls/ocsp.h: Added new header file.
1494 gnutls_ocsp_print_formats_t: Added new type.
1495 gnutls_ocsp_resp_status_t: Added new type.
1496 gnutls_ocsp_cert_status_t: Added new type.
1497 gnutls_x509_crl_reason_t: Added new type.
1498 gnutls_ocsp_req_add_cert: Added.
1499 gnutls_ocsp_req_add_cert_id: Added.
1500 gnutls_ocsp_req_deinit: Added.
1501 gnutls_ocsp_req_export: Added.
1502 gnutls_ocsp_req_get_cert_id: Added.
1503 gnutls_ocsp_req_get_extension: Added.
1504 gnutls_ocsp_req_get_nonce: Added.
1505 gnutls_ocsp_req_get_version: Added.
1506 gnutls_ocsp_req_import: Added.
1507 gnutls_ocsp_req_init: Added.
1508 gnutls_ocsp_req_print: Added.
1509 gnutls_ocsp_req_randomize_nonce: Added.
1510 gnutls_ocsp_req_set_extension: Added.
1511 gnutls_ocsp_req_set_nonce: Added.
1512 gnutls_ocsp_resp_deinit: Added.
1513 gnutls_ocsp_resp_export: Added.
1514 gnutls_ocsp_resp_get_certs: Added.
1515 gnutls_ocsp_resp_get_extension: Added.
1516 gnutls_ocsp_resp_get_nonce: Added.
1517 gnutls_ocsp_resp_get_produced: Added.
1518 gnutls_ocsp_resp_get_responder: Added.
1519 gnutls_ocsp_resp_get_response: Added.
1520 gnutls_ocsp_resp_get_signature: Added.
1521 gnutls_ocsp_resp_get_signature_algorithm: Added.
1522 gnutls_ocsp_resp_get_single: Added.
1523 gnutls_ocsp_resp_get_status: Added.
1524 gnutls_ocsp_resp_get_version: Added.
1525 gnutls_ocsp_resp_import: Added.
1526 gnutls_ocsp_resp_init: Added.
1527 gnutls_ocsp_resp_print: Added.
1528 gnutls_ocsp_resp_verify: Added.
1530 * Version 3.0.11 (released 2012-01-06)
1532 ** libgnutls: Corrected functionality of
1533 gnutls_record_get_direction(). Reported by Philip Allison.
1535 ** libgnutls: Provide less timing information when decoding
1536 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1538 ** API and ABI modifications:
1539 No changes since last version.
1542 * Version 3.0.10 (released 2012-01-04)
1544 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1545 in Linux as well as in BSD.
1547 ** gnutls-cli: Fixed reading from windows terminals.
1549 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1550 the stream is assumed to be base64 encoded (previously
1551 the encoding was auto-detected). This avoids a decoding
1552 issue in windows systems.
1554 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1556 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1557 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1559 ** libgnutls: Added function gnutls_random_art() to convert
1560 fingerprints to images (currently ascii-art).
1562 ** libgnutls: Corrected bug in DSA private key parsing, which
1563 prevented the verification of the key.
1565 ** API and ABI modifications:
1566 gnutls_random_art: Added
1569 * Version 3.0.9 (released 2011-12-13)
1571 ** certtool: Added new parameter --dh-info.
1573 ** certtool: -l option was overloaded so if combined with --priority
1574 it will only list the ciphersuites that are enabled by the given
1577 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1578 changes the ciphersuite selection procedure. If specified the server
1579 priorities will be used for selection instead of the client's.
1581 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1584 ** libgnutls: When session tickets are negotiated and used in a
1585 session, a server will not store that session data into its cache.
1587 ** libgnutls: Added the SECP192R1 curve.
1589 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1590 allow listing the ciphersuites enabled in a priority structure.
1591 It outputs an index to be used in gnutls_get_cipher_suite_info().
1593 ** libgnutls: Optimizations in the elliptic curve code --timing
1594 attacks resistant code is only used in ECDSA private key operations.
1596 ** doc: man pages for API functions generation was fixed and are
1597 now added again in the distribution.
1599 ** API and ABI modifications:
1600 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1601 gnutls_priority_get_cipher_suite_index: Added
1604 * Version 3.0.8 (released 2011-11-12)
1606 ** certtool: Certtool -e returns error code on verification
1609 ** certtool: Verifies parameters of generated keys.
1611 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1613 ** libgnutls: Provide less timing information when decoding
1614 TLS/DTLS record packets.
1616 ** doc: man pages for API functions were removed.
1617 The reason was that the code that auto-generated the man pages missed
1618 many APIs and we couldn't fix it (volunteers welcome). See the info
1619 manual or the GTK-DOC manual instead.
1621 ** API and ABI modifications:
1622 gnutls_x509_privkey_verify_params: Added
1625 * Version 3.0.7 (released 2011-11-08)
1627 ** libgnutls: Corrected fix in gnutls_session_get_data()
1628 to report the actual session size when the provided buffer
1631 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1632 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1634 ** API and ABI modifications:
1635 No changes since last version.
1638 * Version 3.0.6 (released 2011-11-07)
1640 ** gnutls-guile: Compilation fixes.
1642 ** libgnutls: Fixed possible buffer overflow in
1643 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1645 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1646 Reported by Fabrice Gautier.
1648 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1649 Thanks to Joseph Graham for providing access to such a system.
1651 ** libgnutls: Correctly report ECC private key parsing errors.
1652 Reported by Fabrice Gautier.
1654 ** libgnutls: In ECDHE verify that the received point lies on
1655 the selected curve. The ECDHE ciphersuites now take precendence
1658 ** API and ABI modifications:
1659 No changes since last version.
1662 * Version 3.0.5 (released 2011-10-27)
1664 ** libgnutls-extra: is no more
1666 ** libgnutls: Corrections in order to compile with mingw32.
1668 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1669 and new detection of PHE with support for partial hashing.
1671 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1674 ** minitasn1: Upgraded to libtasn1 version 2.10.
1676 ** API and ABI modifications:
1677 No changes since last version.
1680 * Version 3.0.4 (released 2011-10-15)
1682 ** libgnutls-extra: gnutls_register_md5_handler() was
1685 ** gnutls-cli-debug: Added more tests including AES-GCM,
1686 SHA256 and elliptic curves.
1688 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1689 the software version of the ciphers instead of hw accelerated
1692 ** libgnutls: Public key ID calculation is consistent among
1693 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1695 ** libgnutls: gnutls_privkey_t allows setting external callback
1696 to perform signing or decryption. Can be set using
1697 gnutls_privkey_import_ext()
1699 ** libgnutls: A certificate credentials structure can be
1700 used with a gnutls_privkey_t and a gnutls_pcert_st
1701 structure using gnutls_certificate_set_key().
1703 ** libgnutls: Fixes to enable external signing callback to
1704 operate with TLS 1.2.
1706 ** libgnutls: Fixed crash when printing ECDSA certificate key
1707 ID. Reported by Erik Jensen.
1709 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1710 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1711 support for hashes and HMACs.
1713 ** libgnutls: Compilation fixed when p11-kit is not detected.
1715 ** libgnutls: Fixed the deflate compression code.
1717 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1718 Used to get the PKIX Authority Information Access (AIA) field.
1720 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1722 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1723 signing callback function.
1725 ** API and ABI modifications:
1726 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1727 gnutls_privkey_import_ext: Added function.
1728 gnutls_certificate_set_key: Added function.
1729 gnutls_info_access_what_t (x509.h): Added enum.
1730 GNUTLS_OID_AIA (x509.h): Added symbol.
1731 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1732 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1734 * Version 3.0.3 (released 2011-09-18)
1736 ** libgnutls: Added gnutls_record_get_discarded() to return the
1737 number of discarded records in a DTLS session.
1739 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1740 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1742 ** libgnutls: Memory leak fixes in credentials private key
1743 deinitialization. Reported by Dan Winship.
1745 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1747 ** libgnutls: Do not send an empty extension structure in server
1748 hello. This affected old implementations that do not support extensions.
1749 Reported by J. Cameijo Cerdeira.
1751 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1752 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1753 <http://bugs.debian.org/640639>.
1755 ** libgnutls: Added support for VIA padlock AES optimizations.
1756 (disabled by default)
1758 ** libgnutls: Added support for elliptic curves in
1761 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1762 to allow generating a key in a token.
1764 ** p11tool: Added generate-rsa, generate-dsa and
1765 generate-ecc options to allow generating private
1768 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1771 ** API and ABI modifications:
1772 gnutls_pkcs11_privkey_generate: Added
1773 gnutls_pubkey_import_ecc_raw: Added
1774 gnutls_pubkey_import_ecc_x962: Added
1775 gnutls_pubkey_get_pk_ecc_x962: Added
1776 gnutls_record_get_discarded: Added
1779 * Version 3.0.2 (released 2011-09-01)
1781 ** libgnutls: OpenPGP certificate type is not enabled
1784 ** libgnutls: Added %NO_EXTENSIONS priority string.
1786 ** libgnutls: Corrected issue in gnutls_record_recv()
1787 triggered on encryption or compression error.
1789 ** libgnutls: Compatibility fixes in CPU ID detection
1790 for i386 and old GCC.
1792 ** gnutls-cli: Benchmark applications were incorporated
1795 ** libgnutls: Corrected parsing of XMPP subject
1798 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1801 ** libgnutls: gnutls_certificate_set_x509_key() and
1802 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1803 and allow the release of the private key during the
1804 lifetime of the certificate structure.
1806 ** API and ABI modifications:
1807 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1810 * Version 3.0.1 (released 2011-08-20)
1812 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1813 friends support server name indication. If multiple
1814 certificates are set using these functions the proper one
1815 will be selected during a handshake.
1817 ** libgnutls: Added AES-256-GCM which was left out from
1818 the previous release. Reported by Benjamin Hof.
1820 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1821 times, the flags in the callback were not being updated
1822 to reflect for PIN low count or final try.
1824 ** libgnutls: Do not allow second instances of PKCS #11
1827 ** libgnutls: fixed alignment issue in AES-NI code.
1829 ** libgnutls: The config file at gnutls_pkcs11_init()
1830 is being read if provided.
1832 ** libgnutls: Ensure that a certificate list specified
1833 using gnutls_certificate_set_x509_key() and friends, is
1834 sorted according to TLS specification (from subject to issuer).
1836 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1837 gnutls_x509_crt_list_import. It checks whether the list to be
1838 imported is properly sorted.
1840 ** crywrap: Added to the distribution. It is an application
1841 that proxies TLS session to a port using a plaintext service.
1843 ** doc: Many GTK-DOC improvements.
1845 ** i18n: Translations were updated.
1847 ** API and ABI modifications:
1848 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1849 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1852 * Version 3.0.0 (released 2011-07-29)
1854 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1857 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1860 ** certtool: bug fixes in certificate request generation. Patch
1863 ** API and ABI modifications:
1864 gnutls_pcert_list_import_x509_raw: ADDED
1867 * Version 2.99.4 (released 2011-07-23)
1869 ** doc: documentation updates.
1871 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1872 to avoid thread-safety issues. Reported by Sam Varshavchik.
1874 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1876 ** libgnutls: license upgraded to LGPLv3
1878 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1881 ** API and ABI modifications:
1882 No changes since last version.
1885 * Version 2.99.3 (released 2011-06-18)
1887 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1888 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1890 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1891 strings to enable the NSA SuiteB cryptography ciphersuites.
1893 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1894 verify data provided the signature algorithm.
1896 ** libgnutls: Simplified the handling of handshake messages to
1897 be hashed. Instead of hashing during the handshake process we now
1898 keep the data until handshake is over and hash them on request.
1899 This uses more memory but eliminates issues with TLS 1.2 and
1902 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1903 instruction. Uses Andy Polyakov's assembly code.
1905 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1906 gnutls_x509_trust_list_verify_named_crt() that allow having a
1907 list of certificates in the trusted list that will be associated
1908 with a name (e.g. server name) and will not be used as CAs.
1910 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1911 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1914 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1916 ** API and ABI modifications:
1917 gnutls_pubkey_verify_data2: ADDED
1918 gnutls_ecc_curve_get: ADDED
1919 gnutls_x509_trust_list_add_named_crt: ADDED
1920 gnutls_x509_trust_list_verify_named_crt: ADDED
1921 gnutls_x509_privkey_verify_data: REMOVED
1922 gnutls_crypto_bigint_register: REMOVED
1923 gnutls_crypto_cipher_register: REMOVED
1924 gnutls_crypto_digest_register: REMOVED
1925 gnutls_crypto_mac_register: REMOVED
1926 gnutls_crypto_pk_register: REMOVED
1927 gnutls_crypto_rnd_register: REMOVED
1928 gnutls_crypto_single_cipher_register: REMOVED
1929 gnutls_crypto_single_digest_register: REMOVED
1930 gnutls_crypto_single_mac_register: REMOVED
1931 GNUTLS_KX_ECDHE_PSK: New key exchange method
1932 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1933 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1934 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1937 * Version 2.99.2 (released 2011-05-26)
1939 ** libgnutls: Added Elliptic curve support. This is not
1940 enabled by default. Requires priority strings:
1941 +CURVE-ALL: to add all supported curves
1942 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1943 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1944 +ANON-ECDHE: to add anonymous ECDH
1946 ** libgnutls: PKCS #11 URLs conform to the latest draft
1947 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1949 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1952 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1953 to get important auditing information including the corresponding session.
1954 That might be useful to block DoS or other attacker from specific IPs.
1956 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1957 the public key algorithm of the key.
1959 ** libgnutls: Added gnutls_certificate_get_issuer() and
1960 gnutls_x509_trust_list_get_issuer() to compensate for the
1961 missing gnutls_certificate_get_x509_cas().
1963 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1964 verification of the self signature in a certificate request.
1965 This allows verifying whether the owner of the private key
1966 is the generator of the request.
1968 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1969 the self signature of the request.
1971 ** API and ABI modifications:
1972 gnutls_certificate_get_issuer: ADDED
1973 gnutls_x509_trust_list_get_issuer: ADDED
1974 gnutls_x509_crq_verify: ADDED
1975 gnutls_global_set_audit_log_function: ADDED
1976 gnutls_ecc_curve_get_name: ADDED
1977 gnutls_ecc_curve_get_size: ADDED
1978 gnutls_x509_privkey_import_ecc_raw: ADDED
1979 gnutls_x509_privkey_export_ecc_raw: ADDED
1980 gnutls_global_set_time_function: ADDED
1982 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1983 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1984 GNUTLS_KX_ECDHE_RSA: New key exchange method
1985 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1986 GNUTLS_KX_ANON_ECDH: New key exchange method
1987 GNUTLS_PK_ECC: New public key algorithm
1988 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1989 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1990 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1991 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
1992 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1993 GNUTLS_ECC_CURVE_INVALID: New curve definition
1994 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1995 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1996 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1997 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
2000 * Version 2.99.1 (released 2011-04-23)
2002 ** libgnutls: LZO support was removed.
2004 ** libgnutls: Corrections in SSLv2 client hello parsing.
2006 ** libgnutls: Added support for AES-NI if detected. Uses
2007 Andy Polyakov's AES-NI code.
2009 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
2010 weak, several sites require it for connection. It is enabled for
2011 "NORMAL" and "PERFORMANCE" priority strings.
2013 ** libgnutls: depend on libdl.
2015 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
2017 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
2018 function required GnuTLS to access system specific data, for no reason.
2019 Use gnutls_transport_set_errno(), or your system's errno fascility
2022 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
2023 to set a callback to retrieve a certificate. The certificate is
2024 received in a format that requires no processing from gnutls thus
2025 it is suitable when performance is required.
2027 ** API and ABI modifications:
2028 gnutls_transport_set_global_errno: REMOVED
2029 gnutls_certificate_set_retrieve_function2: ADDED
2031 * Version 2.99.0 (released 2011-04-09)
2033 ** libgnutls: Added Datagram TLS support.
2035 ** libgnutls: Uses a single configure file and a single
2036 gnulib library to save space.
2038 ** libgnutls: Several bug fixes.
2040 ** libgnutls: gnutls_transport_set_lowat() is no more.
2042 ** libgnutls-openssl: modified to use modern gnutls' functions.
2043 This introduces an ABI incompatibility with previous versions.
2045 ** libgnutls: Corrected signature generation and verification
2046 in the Certificate Verify message when in TLS 1.2. Reported
2049 ** libgnutlsxx: The C++ interface returns exception on
2050 every error and not only on fatal ones. This allows easier
2053 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
2056 ** libgnutls: SRP and PSK are no longer set on the default priorities.
2057 They have to be explicitly set.
2059 ** libgnutls: During handshake message verification using DSS
2060 use the hash algorithm required by it.
2062 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2063 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2065 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2067 ** libgnutls-extra: Inner application extension was removed.
2068 It was never standardized nor published as an RFC.
2070 ** libgnutls: Added new certificate verification functions, that
2071 can provide more details and are more efficient. Check
2072 gnutls_x509_trust_list_*.
2074 ** certtool: Uses the new certificate verification functions for
2077 ** certtool: Added new certificate verification functionality
2078 using the --verify option. Combined with --load-ca-certificate
2079 it can verify a certificate chain against a list of certificates.
2081 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2083 ** API and ABI modifications:
2084 gnutls_dtls_set_timeouts: ADDED
2085 gnutls_dtls_get_mtu: ADDED
2086 gnutls_dtls_get_data_mtu: ADDED
2087 gnutls_dtls_set_mtu: ADDED
2088 gnutls_dtls_cookie_send: ADDED
2089 gnutls_dtls_cookie_verify: ADDED
2090 gnutls_dtls_prestate_set: ADDED
2091 gnutls_x509_trust_list_verify_crt: ADDED
2092 gnutls_x509_trust_list_add_crls: ADDED
2093 gnutls_x509_trust_list_add_cas: ADDED
2094 gnutls_x509_trust_list_init: ADDED
2095 gnutls_x509_trust_list_deinit: ADDED
2096 gnutls_cipher_add_auth: ADDED
2097 gnutls_cipher_tag: ADDED
2098 gnutls_psk_netconf_derive_key: REMOVED
2099 gnutls_certificate_verify_peers: REMOVED
2100 gnutls_session_set_finished_function: REMOVED
2101 gnutls_ext_register: REMOVED
2102 gnutls_certificate_get_x509_crls: REMOVED
2103 gnutls_certificate_get_x509_cas: REMOVED
2104 gnutls_certificate_get_openpgp_keyring: REMOVED
2105 gnutls_session_get_server_random: REMOVED
2106 gnutls_session_get_client_random: REMOVED
2107 gnutls_session_get_master_secret: REMOVED
2108 gnutls_ia_allocate_client_credentials: REMOVED
2109 gnutls_ia_allocate_server_credentials: REMOVED
2110 gnutls_ia_enable: REMOVED
2111 gnutls_ia_endphase_send: REMOVED
2112 gnutls_ia_extract_inner_secret: REMOVED
2113 gnutls_ia_free_client_credentials: REMOVED
2114 gnutls_ia_free_server_credentials: REMOVED
2115 gnutls_ia_generate_challenge: REMOVED
2116 gnutls_ia_get_client_avp_ptr: REMOVED
2117 gnutls_ia_get_server_avp_ptr: REMOVED
2118 gnutls_ia_handshake: REMOVED
2119 gnutls_ia_handshake_p: REMOVED
2120 gnutls_ia_permute_inner_secret: REMOVED
2121 gnutls_ia_recv: REMOVED
2122 gnutls_ia_send: REMOVED
2123 gnutls_ia_set_client_avp_function: REMOVED
2124 gnutls_ia_set_client_avp_ptr: REMOVED
2125 gnutls_ia_set_server_avp_function: REMOVED
2126 gnutls_ia_set_server_avp_ptr: REMOVED
2127 gnutls_ia_verify_endphase: REMOVED
2130 * Version 2.12.2 (released 2011-04-08)
2132 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2134 ** libgnutls: Several bug and memory leak fixes.
2136 ** srptool: Accepts the -d option to enable debugging.
2138 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2139 the allocation of a verifier. Reported by Andrew Wiseman.
2141 ** API and ABI modifications:
2142 No changes since last version.
2145 * Version 2.12.1 (released 2011-04-02)
2147 ** certtool: Generated certificate request with stricter permissions.
2148 Reported by Luca Capello.
2150 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2152 ** libgnutls: Corrected windows system_errno() function prototype.
2154 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2156 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2157 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2159 ** API and ABI modifications:
2160 No changes since last version.
2165 * Version 2.12.0 (released 2011-03-24)
2167 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2168 the incompatibility with TLS other than 1.2.
2170 ** libgnutls: Modified signature algorithm selection in client
2171 certificate request, to avoid failures in DSA certificates.
2173 ** libgnutls: Instead of failing with internal error, return
2174 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2175 key with the negotiated protocol is encountered.
2177 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2179 ** libgnutls: Force state update when fork is detected in the nettle
2182 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2183 subkey instead of setting explicitly one.
2185 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2187 ** libgnutls-openssl: modified to use modern gnutls' functions.
2188 This introduces an ABI incompatibility with previous versions.
2190 ** API and ABI modifications:
2191 gnutls_pubkey_import_openpgp: MODIFIED
2196 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2197 replaced by gnutls_privkey_sign_hash2().
2199 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2200 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2201 gnutls_x509_crt_verify_hash return the negative error code
2202 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2205 ** libgnutls: Added helper functions for signature verification:
2206 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2208 ** libgnutls: Modified gnutls_privkey_sign_data().
2210 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2211 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2212 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2213 deprecated for gnutls_x509_crl_privkey_sign(),
2214 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2215 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2216 gnutls_pubkey_verify_data() respectively.
2218 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2221 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2222 and gnutls_x509_crt_list_import2().
2224 ** crypto.h: Fix use with C++.
2225 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2227 ** API and ABI modifications:
2228 gnutls_x509_crl_list_import: ADDED
2229 gnutls_x509_crl_list_import2: ADDED
2230 gnutls_x509_crt_list_import2: ADDED
2231 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2232 gnutls_pubkey_import_privkey: ADDED
2233 gnutls_pubkey_verify_data: ADDED
2234 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2235 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2236 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2237 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2238 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2239 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2240 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2241 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2242 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2243 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2244 gnutls_session_set_finished_function: DEPRECATED
2245 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2246 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2247 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2248 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2249 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2250 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2251 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2252 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2254 * Version 2.11.6 (released 2010-12-06)
2256 ** libgnutls: Record version of Client Hellos is now set by default to
2257 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2260 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2261 This makes us comply with RFC3279. Reported by Michael Rommel.
2263 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2265 ** API and ABI modifications:
2266 No changes since last version.
2268 * Version 2.11.5 (released 2010-12-01)
2270 ** libgnutls: Reverted default behavior for verification and
2271 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2272 V1 trusted CAs are allowed, unless the new flag is specified.
2274 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2275 Reported by Jeffrey Walton.
2277 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2278 as priority strings. Those allow to set all the supported algorithms
2281 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2283 ** gnutls-cli: Print channel binding only in verbose mode.
2284 Before it printed it after the 'Compression:' output, thus breaking
2285 Emacs starttls.el string searches.
2287 ** API and ABI modifications:
2288 gnutls_pkcs11_token_init: New function
2289 gnutls_pkcs11_token_set_pin: New function
2291 * Version 2.11.4 (released 2010-10-15)
2293 ** libgnutls: Add new API gnutls_session_channel_binding.
2294 The function is used to get the channel binding data. Currently only
2295 the "tls-unique" (RFC 5929) channel binding type is supported, through
2296 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2299 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2301 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2303 ** build: Update gnulib files.
2305 ** i18n: Update translations.
2307 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2309 ** API and ABI modifications:
2310 gnutls_session_channel_binding: New function.
2311 gnutls_channel_binding_t: New enumeration.
2312 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2313 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2315 * Version 2.11.3 (released 2010-10-14)
2317 ** Indent code to follow the GNU Coding Standard.
2318 You should be able to unpack the 2.11.2 release and run 'make indent'
2319 twice to get exactly the same content as 2.11.3 except for generated
2320 files. Using GNU Indent 2.2.11.
2322 ** API and ABI modifications:
2323 No changes since last version.
2325 * Version 2.11.2 (released 2010-10-08)
2327 ** libgnutls: Several bug fixes on session resumption
2328 and session tickets support.
2330 ** libgnutls: Add new extended key usage ipsecIKE.
2332 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2333 --p11-export-url, --p11-list-certs, --p11-list-certs,
2334 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2335 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2336 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2339 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2340 introduced with the new nettle code.
2342 ** libgnutls: Corrected advertizing issue for session tickets.
2344 ** API and ABI modifications:
2345 gnutls_x509_crt_get_subject_unique_id: ADDED.
2346 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2348 * Version 2.11.1 (released 2010-09-14)
2350 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2351 to use the libgcrypt back end.
2353 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2354 backend crypto library.
2356 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2358 ** libgnutls: Several updates in the buffering internal interface.
2360 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2361 tabs are being skipped.
2363 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2365 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2368 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2369 system calls. Applications that depended on it being 1 should explicitly call
2370 gnutls_transport_set_lowat().
2372 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2373 to ECRYPT II recommendations. Mappings were moved to a single location
2374 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2375 and 3072 keys only).
2377 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2378 gnutls_x509_privkey_import_pkcs8() without a password, if it
2379 is unable to decode the key.
2381 ** libgnutls: HMAC-MD5 no longer used by default.
2383 ** API and ABI modifications:
2384 gnutls_openpgp_privkey_sec_param: ADDED
2385 gnutls_x509_privkey_sec_param: ADDED
2387 * Version 2.11.0 (released 2010-07-22)
2389 ** libgnutls: support scattered write using writev(). This takes
2390 advantage of the new buffering layer and allows queuing of packets
2391 and flushing them. This is currently used for handshake messages
2394 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2395 alternative locking procedures. By default the system available
2396 locking is used. In *NIX pthreads are used and in windows the
2397 critical section API. This follows a different approach than the
2398 previous versions that depended on libgcrypt initialization. The
2399 locks are now set by default in systems that support it. Programs
2400 that used gcry_control() to set thread locks should insert it into
2402 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2406 ** libgnutls: Added support for reading DN from EV-certificates.
2408 jurisdictionOfIncorporationLocalityName,
2409 jurisdictionOfIncorporationStateOrProvinceName,
2410 jurisdictionOfIncorporationCountryName
2412 ** libgnutls: Added support for DSA signing/verifying with bit
2415 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2416 has to be called to register any required md5 handlers.
2418 ** libgnutls: Internal buffering code was replaced by simpler
2419 code contributed by Jonathan Bastien-Filiatrault.
2421 ** libgnutls: Internal API for extensions augmented to allow
2422 safe storing and loading of data on resumption. This allows writing
2423 self-contained extensions (when possible). As a side effect
2424 the OPRFI extension was removed.
2426 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2428 ** libgnutls: Added PKCS #11 support and an API to access objects in
2429 gnutls/pkcs11.h. Currently certificates and public keys can be
2430 imported from tokens, and operations can be performed on private keys.
2432 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2434 ** libgnutls: Added initial support for the nettle library. It uses
2435 the system's random generator for seeding. That is /dev/urandom in Linux,
2436 system calls in Win32 and EGD on other systems.
2438 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2439 works even when resuming a session.
2441 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2442 similar gnutls_certificate_set_server_retrieve_function() and
2443 gnutls_certificate_set_client_retrieve_function(). In addition it support
2444 PKCS #11 private keys.
2446 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2447 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2449 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2450 sizes for private keys using a human understandable scale.
2452 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2453 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2454 --pkcs11-delete-url, --pkcs11-write
2456 certtool: The --pkcs-cipher is taken into account when generating a
2457 private key. The default cipher used now is aes-128. The old behavior can
2458 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2460 certtool: Added --certificate-pubkey to print the public key of the
2463 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2464 can now accept a PKCS #11 URL in addition to a file. This will allow for
2465 example to use the Gnome-keyring trusted certificate list to verify
2466 connections using a url such as:
2467 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2469 ** API and ABI modifications:
2470 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2471 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2472 gnutls_sign_callback_set: DEPRECATED
2473 gnutls_global_set_mutex: ADDED
2474 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2475 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2476 gnutls_x509_privkey_export_rsa_raw2: ADDED
2478 gnutls_sec_param_to_pk_bits: ADDED
2479 gnutls_pk_bits_to_sec_param: ADDED
2480 gnutls_sec_param_get_name: ADDED
2481 gnutls_pkcs11_type_get_name: ADDED
2482 gnutls_certificate_set_retrieve_function: ADDED
2483 gnutls_pkcs11_init: ADDED
2484 gnutls_pkcs11_deinit: ADDED
2485 gnutls_pkcs11_set_pin_function: ADDED
2486 gnutls_pkcs11_set_token_function: ADDED
2487 gnutls_pkcs11_add_provider: ADDED
2488 gnutls_pkcs11_obj_init: ADDED
2489 gnutls_pkcs11_obj_import_url: ADDED
2490 gnutls_pkcs11_obj_export_url: ADDED
2491 gnutls_pkcs11_obj_deinit: ADDED
2492 gnutls_pkcs11_obj_export: ADDED
2493 gnutls_pkcs11_obj_list_import_url: ADDED
2494 gnutls_pkcs11_obj_export: ADDED
2495 gnutls_x509_crt_import_pkcs11: ADDED
2496 gnutls_pkcs11_obj_get_type: ADDED
2497 gnutls_x509_crt_list_import_pkcs11: ADDED
2498 gnutls_x509_crt_import_pkcs11_url: ADDED
2499 gnutls_pkcs11_obj_get_info: ADDED
2500 gnutls_pkcs11_token_get_info: ADDED
2501 gnutls_pkcs11_token_get_url: ADDED
2502 gnutls_pkcs11_privkey_init: ADDED
2503 gnutls_pkcs11_privkey_deinit: ADDED
2504 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2505 gnutls_pkcs11_privkey_get_info: ADDED
2506 gnutls_pkcs11_privkey_import_url: ADDED
2507 gnutls_pkcs11_privkey_sign_data: ADDED
2508 gnutls_pkcs11_privkey_sign_hash: ADDED
2509 gnutls_pkcs11_privkey_decrypt_data: ADDED
2510 gnutls_privkey_init: ADDED
2511 gnutls_privkey_deinit: ADDED
2512 gnutls_privkey_get_pk_algorithm: ADDED
2513 gnutls_privkey_get_type: ADDED
2514 gnutls_privkey_import_pkcs11: ADDED
2515 gnutls_privkey_import_x509: ADDED
2516 gnutls_privkey_import_openpgp: ADDED
2517 gnutls_privkey_sign_data: ADDED
2518 gnutls_privkey_sign_hash: ADDED
2519 gnutls_privkey_decrypt_data: ADDED
2520 gnutls_pkcs11_privkey_export_url: ADDED
2521 gnutls_x509_crq_privkey_sign: ADDED
2522 gnutls_x509_crl_privkey_sign: ADDED
2523 gnutls_x509_crt_privkey_sign: ADDED
2524 gnutls_pubkey_init: ADDED
2525 gnutls_pubkey_deinit: ADDED
2526 gnutls_pubkey_get_pk_algorithm: ADDED
2527 gnutls_pubkey_import_x509: ADDED
2528 gnutls_pubkey_import_openpgp: ADDED
2529 gnutls_pubkey_get_pk_rsa_raw: ADDED
2530 gnutls_pubkey_get_pk_dsa_raw: ADDED
2531 gnutls_pubkey_export: ADDED
2532 gnutls_pubkey_get_key_id: ADDED
2533 gnutls_pubkey_get_key_usage: ADDED
2534 gnutls_pubkey_verify_hash: ADDED
2535 gnutls_pubkey_get_verify_algorithm: ADDED
2536 gnutls_pkcs11_type_get_name: ADDED
2537 gnutls_pubkey_import_pkcs11_url: ADDED
2538 gnutls_pubkey_import: ADDED
2539 gnutls_pubkey_import_pkcs11: ADDED
2540 gnutls_pubkey_import_dsa_raw: ADDED
2541 gnutls_pubkey_import_rsa_raw: ADDED
2542 gnutls_x509_crt_set_pubkey: ADDED
2543 gnutls_x509_crq_set_pubkey: ADDED
2544 gnutls_pkcs11_copy_x509_crt: ADDED
2545 gnutls_pkcs11_copy_x509_privkey: ADDED
2546 gnutls_pkcs11_delete_url: ADDED
2548 * Version 2.10.1 (released 2010-07-25)
2550 ** libgnutls: Added support for broken certificates that indicate RSA
2553 ** gnutls-cli: Allow verification using V1 CAs.
2555 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2556 gnutls_x509_privkey_import_pkcs8() without a password, if it
2557 is unable to decode the key.
2559 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2560 a memory leak. Reported by Mads Kiilerich.
2562 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2563 issue a warning, that the output key might not be working everywhere.
2565 ** certtool: The --pkcs-cipher is taken into account when generating a
2566 private key. The default cipher used now is aes-128. The old behavior
2567 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2569 ** API and ABI modifications:
2570 No changes since last version.
2572 * Version 2.10.0 (released 2010-06-25)
2574 ** API and ABI modifications:
2575 No changes since last version.
2577 * Version 2.9.12 (released 2010-06-17)
2579 ** gnutls-cli: Make --starttls work again.
2580 Problem introduced in patch to use read() instead of fgets() committed
2583 ** API and ABI modifications:
2584 No changes since last version.
2586 * Version 2.9.11 (released 2010-06-07)
2588 ** libgnutls: Removed two APIs related to safe renegotiation.
2589 Use priority strings instead. The APIs were
2590 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2591 (Remember that we don't promise ABI stability during development
2592 series, so this doesn't cause an shared library ABI increment.)
2594 ** tests: More self testing of safe renegotiation extension.
2595 See tests/safe-renegotiation/README for more information.
2597 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2599 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2601 ** API and ABI modifications:
2602 gnutls_safe_negotiation_set_initial: REMOVED.
2603 gnutls_safe_renegotiation_set: REMOVED.
2605 * Version 2.9.10 (released 2010-04-22)
2607 ** libgnutls: Time verification extended to trusted certificate list.
2608 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2611 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2612 Based on patch by Pavan Konjarla. Adds new constant
2613 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2615 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2616 Solves the issue discussed in:
2617 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2618 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2619 Note that to allow connecting to unpatched servers the full protection
2620 is only enabled if the priority string %SAFE_RENEGOTIATION is
2621 specified. You can check whether protection is in place by querying
2622 gnutls_safe_renegotiation_status(). New error codes
2623 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2624 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2626 ** libgnutls: When checking openpgp self signature also check the signatures
2628 Ilari Liusvaara noticed and reported the issue and provided test
2631 ** libgnutls: Added cryptodev support (/dev/crypto).
2632 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2633 benchmark utility for AES. Adds new error codes
2634 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2636 ** libgnutls: Exported API to access encryption and hash algorithms.
2637 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2638 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2639 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2640 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2641 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2642 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2643 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2645 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2646 verification of certificate upon receipt rather than waiting until the
2647 end of the handshake.
2649 ** libgnutls: Don't send alerts during handshake.
2650 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2652 ** certtool: Corrected two issues that affected certificate request generation.
2653 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2654 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2655 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2656 those parameters there since other implementations don't do either and having
2657 them does not seem to offer anything (anyway you need the signer's certificate
2658 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2659 This however has the side-effect that public key IDs shown by certtool are
2660 now different than previous gnutls releases.
2661 (3) the option --pgp-certificate-info will verify self signatures
2663 ** certtool: Allow exporting of Certificate requests on DER format.
2665 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2667 ** gnutls-cli: Handle reading binary data from server.
2668 Reported by and tiny patch from Vitaly Mayatskikh
2669 <v.mayatskih@gmail.com> in
2670 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2672 ** minitasn1: Upgraded to libtasn1 version 2.6.
2674 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2675 ** Added Italian and Simplified Chinese translation.
2676 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2677 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2679 ** doc: The GTK-DOC manual is significantly improved.
2681 ** API and ABI modifications:
2682 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2683 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2684 %UNSAFE_RENEGOTIATION: Added to priority strings.
2685 GNUTLS_DIG_SHA224: ADDED.
2686 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2687 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2688 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2689 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2690 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2691 GNUTLS_MAC_SHA224: ADDED.
2692 GNUTLS_OID_X520_NAME: ADDED.
2693 GNUTLS_OID_X520_POSTALCODE: ADDED.
2694 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2695 GNUTLS_VERSION_MAX: ADDED.
2696 gnutls_certificate_set_verify_function: ADDED.
2697 gnutls_cipher_decrypt: ADDED.
2698 gnutls_cipher_deinit: ADDED.
2699 gnutls_cipher_encrypt: ADDED.
2700 gnutls_cipher_get_block_size: ADDED.
2701 gnutls_cipher_init: ADDED.
2703 gnutls_hash_deinit: ADDED.
2704 gnutls_hash_fast: ADDED.
2705 gnutls_hash_get_len: ADDED.
2706 gnutls_hash_init: ADDED.
2707 gnutls_hash_output: ADDED.
2709 gnutls_hmac_deinit: ADDED.
2710 gnutls_hmac_fast: ADDED.
2711 gnutls_hmac_get_len: ADDED.
2712 gnutls_hmac_init: ADDED.
2713 gnutls_hmac_output: ADDED.
2714 gnutls_safe_negotiation_set_initial: ADDED.
2715 gnutls_safe_renegotiation_set: ADDED.
2716 gnutls_safe_renegotiation_status: ADDED.
2718 * Version 2.9.9 (released 2009-11-09)
2720 ** libgnutls: Cleanups and several bug fixes.
2721 Found by Steve Grubb and Tomas Mraz.
2723 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2725 ** Fix --disable-valgrind-tests.
2726 Reported by Ingmar Vanhassel in
2727 <https://savannah.gnu.org/support/?107029>.
2729 ** API and ABI modifications:
2730 No changes since last version.
2732 * Version 2.9.8 (released 2009-11-05)
2734 ** libgnutls: Fix for memory leaks on interrupted handshake.
2735 Reported by Tang Tong.
2737 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2738 ** extension and certificate verify field.
2739 This requires changes for TLS 1.2 servers and clients that use
2740 callbacks for certificate retrieval. They are now required to check
2741 with gnutls_sign_algorithm_get_requested() whether the certificate
2742 they send complies with the peer's preferences in signature
2745 ** libgnutls: In server side when resuming a session do not overwrite the
2746 ** initial session data with the resumed session data.
2748 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2750 This affects also PKCS #12 encoded files. This adds the following new
2751 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2752 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2754 ** libgnutls: Fix PKCS#12 encoding.
2755 The error you would get was "The OID is not supported.". Problem
2756 introduced for the v2.8.x branch in 2.7.6.
2758 ** certtool: Added the --pkcs-cipher option.
2759 To explicitely specify the encryption algorithm to use.
2761 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2763 ** tests: Fix time bomb in chainverify self-test.
2764 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2765 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2767 ** tests: Fix expired cert in chainverify self-test.
2769 ** i18n: Vietnamese translation updated.
2770 Thanks to Clytie Siddall.
2772 ** API and ABI modifications:
2773 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2774 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2775 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2776 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2777 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2778 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2779 gnutls_sign_algorithm_get_requested: ADDED.
2781 * Version 2.9.7 (released 2009-10-06)
2783 ** libgnutls: TLS 1.2 server mode fixes.
2784 Now interoperates against Opera. Contributed by Daiki Ueno.
2786 ** libgnutlsxx: Fix link problems.
2787 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2789 ** guile: Compatibility with guile 2.x.
2790 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2792 ** API and ABI modifications:
2793 No changes since last version.
2795 * Version 2.9.6 (released 2009-09-22)
2797 ** libgnutls: Enable Camellia ciphers by default.
2799 ** API and ABI modifications:
2800 No changes since last version.
2802 * Version 2.9.5 (released 2009-09-10)
2804 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2805 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2806 gnutls_x509_crt_get_issuer_alt_name, and
2807 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2808 Hards <bradh@frogmouth.net>.
2810 ** API and ABI modifications:
2811 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2812 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2813 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2815 * Version 2.9.4 (released 2009-09-03)
2817 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2818 The new supported ciphersuites are AES-128/256 in CBC mode with
2819 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2820 SHA-256 is now the preferred default MAC (however it is only used with
2823 ** libgnutls: Make OpenPGP hostname checking work again.
2824 The patch to resolve the X.509 CN/SAN issue accidentally broken
2825 OpenPGP hostname comparison.
2827 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2828 Reported by Howard Chu <hyc@symas.com> in
2829 <https://savannah.gnu.org/support/?106975>.
2831 ** Fix use of deprecated types internally.
2832 Use of deprecated types in GnuTLS from now on will lead to a compile
2833 error, to prevent this from happening again.
2835 ** API and ABI modifications:
2836 No changes since last version.
2838 * Version 2.9.3 (released 2009-08-19)
2840 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2841 The new APIs are gnutls_session_ticket_enable_client,
2842 gnutls_session_ticket_enable_server, and
2843 gnutls_session_ticket_key_generate.
2845 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2847 ** API and ABI modifications:
2848 gnutls_session_ticket_key_generate: ADDED.
2849 gnutls_session_ticket_enable_client: ADDED.
2850 gnutls_session_ticket_enable_server: ADDED.
2852 * Version 2.9.2 (released 2009-08-14)
2854 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2855 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2856 into 1) not printing the entire CN/SAN field value when printing a
2857 certificate and 2) cause incorrect positive matches when matching a
2858 hostname against a certificate. Some CAs apparently have poor
2859 checking of CN/SAN values and issue these (arguable invalid)
2860 certificates. Combined, this can be used by attackers to become a
2861 MITM on server-authenticated TLS sessions. The problem is mitigated
2862 since attackers needs to get one certificate per site they want to
2863 attack, and the attacker reveals his tracks by applying for a
2864 certificate at the CA. It does not apply to client authenticated TLS
2865 sessions. Research presented independently by Dan Kaminsky and Moxie
2866 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2867 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2869 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2870 The function may fail incorrectly when an earlier certificate was
2871 imported to the same gnutls_x509_crt_t structure.
2873 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2875 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2876 Before it always returned false. Reported by Peter Hendrickson
2877 <pdh@wiredyne.com> in
2878 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2880 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2881 The error resulted in truncated strings when printing unknown OIDs in
2882 X.509 certificate DNs. Reported by Tim Kosse
2883 <tim.kosse@filezilla-project.org> in
2884 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2886 ** libgnutls: Fix PKCS#12 decryption from password.
2887 The encryption key derived from the password was incorrect for (on
2888 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2889 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2890 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2892 ** libgnutls: Return correct bit lengths of some MPIs.
2893 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2894 gnutls_dh_get_peers_public_bits. Before the reported value was
2895 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2896 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2898 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2899 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2900 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2902 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2904 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2905 Before we required that the runtime library used the same (or more
2906 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2907 that the runtime usage is above the minimum required. Reported by
2908 Marco d'Itri <md@linux.it> via Andreas Metzler
2909 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2911 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2913 ** tests: Improved test vectors in self-test pkcs12_s2k.
2915 ** tests: Added new self-test dn2 to detect off-by-one size error.
2917 ** tests: Fix failure in "chainverify" because a certificate have expired.
2919 ** API and ABI modifications:
2920 No changes since last version.
2922 * Version 2.9.1 (released 2009-06-08)
2924 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2925 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2926 <http://bugs.gentoo.org/272388>.
2928 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2930 ** Reduce stack usage for some CRQ functions.
2932 ** Doc fixes for CRQ functions.
2934 ** API and ABI modifications:
2935 No changes since last version.
2937 * Version 2.9.0 (released 2009-05-28)
2941 ** API and ABI modifications:
2942 No changes since last version.
2944 * Version 2.8.6 (released 2010-03-15)
2946 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2947 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2948 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2950 Note: As a side effect of this change, the "public key identifier"
2951 value computed for a certificate using this version of GnuTLS will be
2952 different from values computed using earlier versions of GnuTLS.
2954 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2955 ** optional SignatureAlgorithm parameter field.
2956 VeriSign rejected these CSRs. They are stricly speaking not needed
2957 since you need the signer's certificate to verify the certificate
2958 signature anyway. Reported by Wilankar Trupti
2959 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2961 ** libgnutls: When checking openpgp self signature also check the signatures
2963 Ilari Liusvaara noticed and reported the issue and provided test
2966 ** libgnutls: Cleanups and several bug fixes.
2967 Found by Steve Grubb and Tomas Mraz.
2969 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2971 ** Fix --disable-valgrind-tests.
2972 Reported by Ingmar Vanhassel in
2973 <https://savannah.gnu.org/support/?107029>.
2975 ** examples: Use the new APIs for printing X.509 certificate information.
2977 ** Fix build failures on Solaris.
2978 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2980 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2981 ** translations. Added Simplified Chinese translation.
2983 ** API and ABI modifications:
2984 No changes since last version.
2986 * Version 2.8.5 (released 2009-11-02)
2988 ** libgnutls: In server side when resuming a session do not overwrite the
2989 ** initial session data with the resumed session data.
2991 ** libgnutls: Fix PKCS#12 encoding.
2992 The error you would get was "The OID is not supported.". Problem
2993 introduced for the v2.8.x branch in 2.7.6.
2995 ** guile: Compatibility with guile 2.x.
2996 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2998 ** tests: Fix expired cert in chainverify self-test.
3000 ** tests: Fix time bomb in chainverify self-test.
3001 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3002 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3004 ** API and ABI modifications:
3005 No changes since last version.
3007 * Version 2.8.4 (released 2009-09-18)
3009 ** libgnutls: Enable Camellia ciphers by default.
3011 ** libgnutls: Make OpenPGP hostname checking work again.
3012 The patch to resolve the X.509 CN/SAN issue accidentally broken
3013 OpenPGP hostname comparison.
3015 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3016 Reported by Howard Chu <hyc@symas.com> in
3017 <https://savannah.gnu.org/support/?106975>.
3019 ** API and ABI modifications:
3020 No changes since last version.
3022 * Version 2.8.3 (released 2009-08-13)
3024 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
3025 Code intended to be removed would lead to an read-out-bound error in
3026 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
3027 code have been allocated for the vulnerability: [CVE-2009-2730].
3029 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3030 The function may fail incorrectly when an earlier certificate was
3031 imported to the same gnutls_x509_crt_t structure.
3033 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
3035 ** tests: Made self-test mini-eagain take less time.
3039 ** API and ABI modifications:
3040 No changes since last version.
3042 * Version 2.8.2 (released 2009-08-10)
3044 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3045 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3046 into 1) not printing the entire CN/SAN field value when printing a
3047 certificate and 2) cause incorrect positive matches when matching a
3048 hostname against a certificate. Some CAs apparently have poor
3049 checking of CN/SAN values and issue these (arguable invalid)
3050 certificates. Combined, this can be used by attackers to become a
3051 MITM on server-authenticated TLS sessions. The problem is mitigated
3052 since attackers needs to get one certificate per site they want to
3053 attack, and the attacker reveals his tracks by applying for a
3054 certificate at the CA. It does not apply to client authenticated TLS
3055 sessions. Research presented independently by Dan Kaminsky and Moxie
3056 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3057 for providing one part of the patch. [GNUTLS-SA-2009-4].
3059 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3060 Before it always returned false. Reported by Peter Hendrickson
3061 <pdh@wiredyne.com> in
3062 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3064 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3065 The error resulted in truncated strings when printing unknown OIDs in
3066 X.509 certificate DNs. Reported by Tim Kosse
3067 <tim.kosse@filezilla-project.org> in
3068 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3070 ** libgnutls: Return correct bit lengths of some MPIs.
3071 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3072 gnutls_dh_get_peers_public_bits. Before the reported value was
3073 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3074 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3076 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3077 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3078 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3080 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3082 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3083 Before we required that the runtime library used the same (or more
3084 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3085 that the runtime usage is above the minimum required. Reported by
3086 Marco d'Itri <md@linux.it> via Andreas Metzler
3087 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3089 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3091 ** tests: Fix failure in "chainverify" because a certificate have expired.
3093 ** API and ABI modifications:
3094 No changes since last version.
3096 * Version 2.8.1 (released 2009-06-10)
3098 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3099 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3100 <http://bugs.gentoo.org/272388>.
3102 ** libgnutls: Fix PKCS#12 decryption from password.
3103 The encryption key derived from the password was incorrect for (on
3104 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3105 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3106 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3108 ** API and ABI modifications:
3109 No changes since last version.
3111 * Version 2.8.0 (released 2009-05-27)
3113 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3115 ** Major changes compared to the v2.4 branch:
3117 *** lib: Linker version scripts reduces number of exported symbols.
3119 *** lib: Limit exported symbols on systems without LD linker scripts.
3121 *** libgnutls: Fix namespace issue with version symbols.
3123 *** libgnutls: Add functions to verify a hash against a certificate.
3124 gnutls_x509_crt_verify_hash: ADDED
3125 gnutls_x509_crt_get_verify_algorithm: ADDED
3127 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3129 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3131 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3133 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3135 *** gnutls-serv: No longer disable MAC padding by default.
3137 *** gnutls-cli: Certificate information output format changed.
3139 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3140 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3142 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3144 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3146 *** libgnutls: gnutls_handshake when sending client hello during a
3147 rehandshake, will not offer a version number larger than the current.
3149 *** libgnutls: New interface to get key id for certificate requests.
3150 gnutls_x509_crq_get_key_id: ADDED.
3152 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3154 *** certtool: --verify-chain now prints results of using library verification.
3156 *** libgnutls: Libgcrypt initialization changed.
3158 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3160 *** gnutls-cli: Return non-zero exit code on error conditions.
3162 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3164 *** certtool: allow setting arbitrary key purpose object identifiers.
3166 *** libgnutls: Change detection of when to use a linker version script.
3167 Use --enable-ld-version-script or --disable-ld-version-script to
3168 override auto-detection logic.
3170 *** Fix warnings and build GnuTLS with more warnings enabled.
3172 *** New API to set X.509 credentials from PKCS#12 memory structure.
3173 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3175 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3176 Please use pkg-config instead.
3178 *** libgnutls: Added functions to handle CRL extensions.
3179 gnutls_x509_crl_get_authority_key_id: ADDED
3180 gnutls_x509_crl_get_number: ADDED
3181 gnutls_x509_crl_get_extension_oid: ADDED
3182 gnutls_x509_crl_get_extension_info: ADDED
3183 gnutls_x509_crl_get_extension_data: ADDED
3184 gnutls_x509_crl_set_authority_key_id: ADDED
3185 gnutls_x509_crl_set_number: ADDED
3187 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3189 gnutls_x509_crq_get_key_rsa_raw: ADDED
3190 gnutls_x509_crq_get_attribute_info: ADDED
3191 gnutls_x509_crq_get_attribute_data: ADDED
3192 gnutls_x509_crq_get_extension_info: ADDED
3193 gnutls_x509_crq_get_extension_data: ADDED
3194 gnutls_x509_crq_get_key_usage: ADDED
3195 gnutls_x509_crq_get_basic_constraints: ADDED
3196 gnutls_x509_crq_get_subject_alt_name: ADDED
3197 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3198 gnutls_x509_crq_get_extension_by_oid: ADDED
3199 gnutls_x509_crq_set_subject_alt_name: ADDED
3200 gnutls_x509_crq_set_basic_constraints: ADDED
3201 gnutls_x509_crq_set_key_usage: ADDED
3202 gnutls_x509_crq_get_key_purpose_oid: ADDED
3203 gnutls_x509_crq_set_key_purpose_oid: ADDED
3204 gnutls_x509_crq_print: ADDED
3205 gnutls_x509_crt_set_crq_extensions: ADDED
3207 *** certtool: Print and set CRL and CRQ extensions.
3209 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3211 *** examples: Now released into the public domain.
3213 *** The Texinfo and GTK-DOC manuals were improved.
3215 *** Several self-tests were added and others improved.
3217 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3218 No offically supported interfaces have been modified or removed. The
3219 library should be completely backwards compatible on both the source
3222 The shared library no longer exports some symbols that have never been
3223 officially supported, i.e., not mentioned in any of the header files.
3229 Normally when symbols are removed, the shared library version has to
3230 be incremented. This leads to a significant cost for everyone using
3231 the library. Because none of the above symbols have ever been
3232 intended for use by well-behaved applications, we decided that the it
3233 would be better for those applications to pay the price rather than
3234 incurring problems on the majority of applications.
3236 If it turns out that applications have been using unofficial
3237 interfaces, we will need to release a follow-on release on the v2.8
3238 branch to exports additional interfaces. However, initial testing
3239 suggests that few if any applications have been using any of the
3242 Although not a new change compared to 2.6.x, we'd like to remind you
3243 interfaces have been modified so that X.509 chain verification now
3244 also checks activation/expiration times on certificates. The affected
3247 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3248 gnutls_certificate_verify_peers: Likewise.
3249 gnutls_certificate_verify_peers2: Likewise.
3250 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3251 GNUTLS_CERT_EXPIRED: ADDED.
3252 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3254 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3255 we gave our rationale for it in earlier release notes.
3257 The following symbols have been added to the library:
3259 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3260 gnutls_x509_crl_get_authority_key_id: ADDED
3261 gnutls_x509_crl_get_extension_data: ADDED
3262 gnutls_x509_crl_get_extension_info: ADDED
3263 gnutls_x509_crl_get_extension_oid: ADDED
3264 gnutls_x509_crl_get_number: ADDED
3265 gnutls_x509_crl_set_authority_key_id: ADDED
3266 gnutls_x509_crl_set_number: ADDED
3267 gnutls_x509_crq_get_attribute_data: ADDED
3268 gnutls_x509_crq_get_attribute_info: ADDED
3269 gnutls_x509_crq_get_basic_constraints: ADDED
3270 gnutls_x509_crq_get_extension_by_oid: ADDED
3271 gnutls_x509_crq_get_extension_data: ADDED
3272 gnutls_x509_crq_get_extension_info: ADDED
3273 gnutls_x509_crq_get_key_id: ADDED.
3274 gnutls_x509_crq_get_key_purpose_oid: ADDED
3275 gnutls_x509_crq_get_key_rsa_raw: ADDED
3276 gnutls_x509_crq_get_key_usage: ADDED
3277 gnutls_x509_crq_get_subject_alt_name: ADDED
3278 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3279 gnutls_x509_crq_print: ADDED
3280 gnutls_x509_crq_set_basic_constraints: ADDED
3281 gnutls_x509_crq_set_key_purpose_oid: ADDED
3282 gnutls_x509_crq_set_key_usage: ADDED
3283 gnutls_x509_crq_set_subject_alt_name: ADDED
3284 gnutls_x509_crt_get_verify_algorithm: ADDED
3285 gnutls_x509_crt_set_crq_extensions: ADDED
3286 gnutls_x509_crt_verify_hash: ADDED
3288 The following interfaces have been added to the header files:
3290 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3291 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3292 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3293 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3294 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3295 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3297 The following interfaces have been deprecated:
3299 LIBGNUTLS_VERSION: DEPRECATED.
3300 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3301 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3302 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3303 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3304 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3306 * Version 2.7.14 (released 2009-05-26)
3308 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3309 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3310 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3313 ** Doc: Several typo fixes in documentation.
3314 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3316 ** API and ABI modifications:
3317 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3318 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3320 * Version 2.7.13 (released 2009-05-25)
3322 ** libgnutls: Fix version of some exported symbols in the shared library.
3323 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3324 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3326 ** tests: Handle recently expired certificates in chainverify self-test.
3327 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3328 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3330 ** API and ABI modifications:
3331 No changes since last version.
3333 * Version 2.7.12 (released 2009-05-20)
3335 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3337 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3338 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3339 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3341 ** Fix build failures.
3342 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3343 G. Christensen" <tgc@jupiterrise.com> in
3344 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3346 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3347 GnuTLS should work fine with libtasn1 v1.x and that is still
3350 ** API and ABI modifications:
3351 No changes since last version.
3353 * Version 2.7.11 (released 2009-05-18)
3355 ** minitasn1: Fix build failure when using internal libtasn1.
3356 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3357 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3359 ** libgnutls: Fix build failure with --disable-cxx.
3360 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3361 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3363 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3364 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3365 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3367 ** Building with many warning flags now requires --enable-gcc-warnings.
3368 This avoids crying wolf for normal compiles.
3370 ** API and ABI modifications:
3371 No changes since last version.
3373 * Version 2.7.10 (released 2009-05-13)
3375 ** examples: Now released into the public domain.
3376 This makes the license of the example code compatible with more
3377 licenses, including the (L)GPL.
3379 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3380 GnuTLS should work fine with libtasn1 v1.x and that is still
3383 ** libgnutls: Fix crash in signature verification
3384 The fix for the CVE-2009-1415 problem wasn't merged completely.
3386 ** doc: Fixes for GTK-DOC output.
3388 ** API and ABI modifications:
3389 No changes since last version.
3391 * Version 2.7.9 (released 2009-05-11)
3393 ** doc: Fix strings in man page of gnutls_priority_init.
3395 ** doc: Fix tables of error codes and supported algorithms.
3397 ** Fix build failure when cross-compiled using MinGW.
3399 ** Fix build failure when LZO is enabled.
3400 Reported by Arfrever Frehtes Taifersar Arahesis
3401 <arfrever.fta@gmail.com> in
3402 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3404 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3405 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3406 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3408 ** Fix warnings in self-tests.
3410 ** API and ABI modifications:
3411 No changes since last version.
3413 * Version 2.7.8 (released 2009-05-03)
3415 ** libgnutls: Fix DSA key generation.
3416 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3418 ** libgnutls: Check expiration/activation time on untrusted certificates.
3419 Merged from stable branch. Reported by Romain Francoise
3420 <romain@orebokech.com>. This changes the semantics of
3421 gnutls_x509_crt_list_verify, which in turn is used by
3422 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3423 We add two new gnutls_certificate_status_t codes for reporting the new
3424 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3425 We also add a new gnutls_certificate_verify_flags flag,
3426 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3427 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3429 ** lib: Linker version scripts reduces number of exported symbols.
3430 The linker version script now lists all exported ABIs explicitly, to
3431 avoid accidentally exporting unintended functions. Compared to
3432 before, most symbols beginning with _gnutls* are no longer exported.
3433 These functions have never been intended for use by applications, and
3434 there were no prototypes for these function in the public header
3435 files. Thus we believe it is possible to do this without incrementing
3436 the library ABI version which normally has to be done when removing an
3439 ** lib: Limit exported symbols on systems without LD linker scripts.
3440 Before all symbols were exported. Now we limit the exported symbols
3441 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3442 _gnutls*. This is a superset of the actual supported ABI, but still
3443 an improvement compared to before. This is implemented using Libtool
3444 -export-symbols-regex. It is more portable than linker version
3447 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3448 This should have been done in the last release.
3450 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3451 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3452 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3454 ** doc: Improved sections for the info manual.
3455 We now follow the advice given by the texinfo manual on which
3456 directory categories to use. In particular, libgnutls moved from the
3457 'GNU Libraries' section to the 'Software libraries' and the command
3458 line tools moved from 'Network Applications' to 'System
3461 ** API and ABI modifications:
3462 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3463 gnutls_certificate_verify_peers: Likewise.
3464 gnutls_certificate_verify_peers2: Likewise.
3465 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3466 GNUTLS_CERT_EXPIRED: ADDED.
3467 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3469 * Version 2.7.7 (released 2009-04-20)
3471 ** libgnutls: Applied patch by Cedric Bail to add functions
3472 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3474 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3475 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3476 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3478 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3479 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3481 ** doc: Fix build failure of errcodes/printlist.
3482 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3483 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3485 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3486 It is currently only used by the core library. This will enable a new
3487 domain 'gnutls' for translations of the command line tools.
3489 ** Corrected possible memory corruption on signature verification failure.
3490 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3492 ** API and ABI modifications:
3493 gnutls_x509_crt_verify_hash: ADDED
3494 gnutls_x509_crt_get_verify_algorithm: ADDED
3496 * Version 2.7.6 (released 2009-02-27)
3498 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3499 This applies both to generating certificates and certificate requests.
3501 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3503 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3504 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3505 be used for chain verification.
3507 ** gnutls-serv: No longer disable MAC padding by default.
3508 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3510 ** gnutls-cli: Certificate information output format changed.
3511 The tool now uses libgnutls' functions to print certificate
3512 information. This avoids code duplication.
3514 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3515 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3516 They can be used to override the default certificate chain validation
3519 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3520 specify the client hello message record version. Used to overcome buggy
3521 TLS servers. Report by Martin von Gagern.
3523 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3525 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3527 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3529 ** API and ABI modifications:
3530 No changes since last version.
3532 * Version 2.7.5 (released 2009-02-06)
3534 ** libgnutls: Accept chains where intermediary certs are trusted.
3535 Before GnuTLS needed to validate the entire chain back to a
3536 self-signed certificate. GnuTLS will now stop looking when it has
3537 found an intermediary trusted certificate. The new behaviour is
3538 useful when chains, for example, contains a top-level CA, an
3539 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3540 To avoid chain validation errors due to the RSA-MD5 cert, you can
3541 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3542 The signature on trusted certificates are not checked, so the chain
3543 has a chance to validate correctly. Reported by "Douglas E. Engert"
3544 <deengert@anl.gov> in
3545 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3547 ** libgnutls: result_size in gnutls_hex_encode now holds
3548 the size of the result. Report by John Brooks <special@dereferenced.net>.
3550 ** libgnutls: gnutls_handshake when sending client hello during a
3551 rehandshake, will not offer a version number larger than the current.
3552 Reported by Tristan Hill <stan@saticed.me.uk>.
3554 ** libgnutls: Permit V1 Certificate Authorities properly.
3555 Before they were mistakenly rejected even though
3556 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3557 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3558 "Douglas E. Engert" <deengert@anl.gov> in
3559 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3561 ** API and ABI modifications:
3562 No changes since last version.
3564 * Version 2.7.4 (released 2009-01-07)
3566 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3567 This is a bugfix -- the previous attempt to do this from internal x509
3568 certificate verification procedures did not return the correct value
3569 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3570 <dkg@fifthhorseman.net> in
3571 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3572 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3573 Gillmor <dkg@fifthhorseman.net>.
3575 ** libgnutls: New interface to get key id for certificate requests.
3576 Patch from David Marín Carreño <davefx@gmail.com> in
3577 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3579 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3581 ** certtool: --verify-chain now prints results of using library verification.
3582 Earlier, certtool --verify-chain used its own validation algorithm
3583 which wasn't guaranteed to give the same result as the libgnutls
3584 internal validation algorithm. Now this command print a new final
3585 line with header 'Chain verification output:' that contains the result
3586 from using the internal verification algorithm on the same chain.
3588 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3590 ** API and ABI modifications:
3591 gnutls_x509_crq_get_key_id: ADDED.
3593 * Version 2.7.3 (released 2008-12-10)
3595 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3596 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3597 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3598 Andreas Metzler <ametzler@downhill.at.eu.org> in
3599 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3601 ** libgnutls: Libgcrypt initialization changed.
3602 If libgcrypt has not already been initialized, GnuTLS will now
3603 initialize libgcrypt with disabled secure memory. Initialize
3604 libgcrypt explicitly in your application if you want to enable secure
3605 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3606 allocation functions, which doesn't use secure memory, so there is no
3607 real change in behaviour.
3609 ** libgnutls: Fix memory leak in PSK authentication.
3610 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3611 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3613 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3615 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3616 It needs to be invoked before libgcrypt is initialized.
3618 ** gnutls-cli: Return non-zero exit code on error conditions.
3620 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3622 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3624 ** API and ABI modifications:
3625 No changes since last version.
3627 * Version 2.7.2 (released 2008-11-18)
3629 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3630 The flaw makes it possible for man in the middle attackers (i.e.,
3631 active attackers) to assume any name and trick GnuTLS clients into
3632 trusting that name. Thanks for report and analysis from Martin von
3633 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3635 Any updates with more details about this vulnerability will be added
3636 to <http://www.gnu.org/software/gnutls/security.html>
3638 ** libgnutls: Fix namespace issue with version symbols.
3639 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3640 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3641 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3642 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3643 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3644 work but are deprecated.
3646 ** certtool: allow setting arbitrary key purpose object identifiers.
3648 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3650 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3651 Reported by Kevin Quick <quick@sparq.org> in
3652 <https://savannah.gnu.org/support/index.php?106454>.
3654 ** libgnutls-extra: Make building with LZO compression work again.
3655 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3656 <arfrever.fta@gmail.com> in
3657 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3659 ** libgnutls: Change detection of when to use a linker version script.
3660 Use --enable-ld-version-script or --disable-ld-version-script to
3661 override auto-detection logic.
3663 ** doc: Change license on the manual to GFDLv1.3+.
3665 ** doc: GTK-DOC fixes for new splitted configuration system.
3667 ** doc: Texinfo stylesheet uses white background.
3669 ** tests: Add cve-2008-4989.c self-test.
3670 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3671 follow-on problem with crashes on length 1 certificate chains.
3673 ** gnulib: Deprecated modules removed.
3674 Modules include memchr and memcmp.
3676 ** Fix warnings and build GnuTLS with more warnings enabled.
3678 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3680 ** API and ABI modifications:
3681 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3682 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3683 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3684 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3685 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3686 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3687 LIBGNUTLS_VERSION: DEPRECATED.
3688 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3689 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3690 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3691 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3693 * Version 2.7.1 (released 2008-10-31)
3695 ** certtool: print a PKCS #8 key even if it is not encrypted.
3697 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3698 Please use pkg-config instead.
3700 ** Configuration system modified.
3701 There is now a configure script in lib/ and libextra/ as well, because
3702 gnulib works better with a config.h per gnulib directory.
3704 ** API and ABI modifications:
3705 No changes since last version.
3707 * Version 2.7.0 (released 2008-10-16)
3709 ** libgnutls: Added functions to handle CRL extensions.
3711 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3714 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3715 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3717 ** certtool: Print and set CRL and CRQ extensions.
3719 ** libgnutls-extra: Protect internal symbols with static.
3720 Fixes problem when linking certtool statically. Tiny patch from Aaron
3721 Ucko <ucko@ncbi.nlm.nih.gov>.
3723 ** libgnutls-openssl: fix out of bounds access.
3724 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3725 from Thomas Viehmann <tv@beamnet.de>.
3727 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3729 ** tests: Make tests compile when using internal libtasn1.
3730 Patch by ludo@gnu.org (Ludovic Courtès).
3732 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3733 We now require a libgcrypt that has Camellia constants declared in
3734 gcrypt.h, which means v1.3.0 or later.
3736 ** API and ABI modifications:
3737 gnutls_x509_crl_get_authority_key_id: ADDED
3738 gnutls_x509_crl_get_number: ADDED
3739 gnutls_x509_crl_get_extension_oid: ADDED
3740 gnutls_x509_crl_get_extension_info: ADDED
3741 gnutls_x509_crl_get_extension_data: ADDED
3742 gnutls_x509_crl_set_authority_key_id: ADDED
3743 gnutls_x509_crl_set_number: ADDED
3744 gnutls_x509_crq_get_key_rsa_raw: ADDED
3745 gnutls_x509_crq_get_attribute_info: ADDED
3746 gnutls_x509_crq_get_attribute_data: ADDED
3747 gnutls_x509_crq_get_extension_info: ADDED
3748 gnutls_x509_crq_get_extension_data: ADDED
3749 gnutls_x509_crq_get_key_usage: ADDED
3750 gnutls_x509_crq_get_basic_constraints: ADDED
3751 gnutls_x509_crq_get_subject_alt_name: ADDED
3752 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3753 gnutls_x509_crq_get_extension_by_oid: ADDED
3754 gnutls_x509_crq_set_subject_alt_name: ADDED
3755 gnutls_x509_crq_set_basic_constraints: ADDED
3756 gnutls_x509_crq_set_key_usage: ADDED
3757 gnutls_x509_crq_get_key_purpose_oid: ADDED
3758 gnutls_x509_crq_set_key_purpose_oid: ADDED
3759 gnutls_x509_crq_print: ADDED
3760 gnutls_x509_crt_set_crq_extensions: ADDED
3762 * Version 2.6.6 (released 2009-04-30)
3764 ** libgnutls: Corrected double free on signature verification failure.
3765 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
3766 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
3768 ** libgnutls: Fix DSA key generation.
3769 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
3770 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
3771 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3773 ** libgnutls: Check expiration/activation time on untrusted certificates.
3774 Reported by Romain Francoise <romain@orebokech.com>. Before the
3775 library did not check activation/expiration times on certificates, and
3776 was documented as not doing so. We have realized that many
3777 applications that use libgnutls, including gnutls-cli, fail to perform
3778 proper checks. Implementing similar logic in all applications leads
3779 to code duplication. Hence, we decided to check whether the current
3780 time (as reported by the time function) is within the
3781 activation/expiration period of certificates when verifying untrusted
3784 This changes the semantics of gnutls_x509_crt_list_verify, which in
3785 turn is used by gnutls_certificate_verify_peers and
3786 gnutls_certificate_verify_peers2. We add two new
3787 gnutls_certificate_status_t codes for reporting the new error
3788 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
3789 add a new gnutls_certificate_verify_flags flag,
3790 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3793 More details about the vulnerabilities will be posted at
3794 <http://www.gnu.org/software/gnutls/security.html>.
3796 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3797 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3798 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3800 ** tests: Fix linking of tests/openpgp/keyring self-test.
3801 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3803 ** API and ABI modifications:
3804 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3805 gnutls_certificate_verify_peers: Likewise.
3806 gnutls_certificate_verify_peers2: Likewise.
3807 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3808 GNUTLS_CERT_EXPIRED: ADDED.
3809 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3811 * Version 2.6.5 (released 2009-04-11)
3813 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3814 specify the client hello message record version. Used to overcome buggy
3815 TLS servers. Report by Martin von Gagern.
3817 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3818 Libtasn1 0.3.4 or later is required. This is to align with the
3819 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3821 ** API and ABI modifications:
3822 No changes since last version.
3824 * Version 2.6.4 (released 2009-02-06)
3826 ** libgnutls: Accept chains where intermediary certs are trusted.
3827 Before GnuTLS needed to validate the entire chain back to a
3828 self-signed certificate. GnuTLS will now stop looking when it has
3829 found an intermediary trusted certificate. The new behaviour is
3830 useful when chains, for example, contains a top-level CA, an
3831 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3832 To avoid chain validation errors due to the RSA-MD5 cert, you can
3833 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3834 The signature on trusted certificates are not checked, so the chain
3835 has a chance to validate correctly. Reported by "Douglas E. Engert"
3836 <deengert@anl.gov> in
3837 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3839 ** libgnutls: result_size in gnutls_hex_encode now holds
3840 the size of the result. Report by John Brooks <special@dereferenced.net>.
3842 ** libgnutls: gnutls_handshake when sending client hello during a
3843 rehandshake, will not offer a version number larger than the current.
3844 Reported by Tristan Hill <stan@saticed.me.uk>.
3846 ** libgnutls: Permit V1 Certificate Authorities properly.
3847 Before they were mistakenly rejected even though
3848 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3849 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3850 "Douglas E. Engert" <deengert@anl.gov> in
3851 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3853 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3854 This is a bugfix -- the previous attempt to do this from internal x509
3855 certificate verification procedures did not return the correct value
3856 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3857 <dkg@fifthhorseman.net> in
3858 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3859 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3860 Gillmor <dkg@fifthhorseman.net>.
3862 ** libgnutls: Fix compile error with Sun CC.
3863 Reported by Jeff Cai <jeff.cai@sun.com> in
3864 <https://savannah.gnu.org/support/?106549>.
3866 ** API and ABI modifications:
3867 No changes since last version.
3869 * Version 2.6.3 (released 2008-12-12)
3871 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3872 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3873 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3874 Andreas Metzler <ametzler@downhill.at.eu.org> in