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 getrandom() or getentropy() when available. That
9 avoids the complexity of file descriptor handling and the issues with
10 applications closing all open file descriptors.
12 ** libgnutls: Use pthread_atfork() to detect fork.
14 ** libgnutls: Added helper functions to obtain information on PKCS #8
17 ** libgnutls: SSL 3.0 is no longer included in the default priorities
18 list. It has to be explicitly enabled, e.g., with a string like
19 "NORMAL:+VERS-SSL3.0".
21 ** libgnutls: Use nettle's PBKDF2 implementation.
23 ** libgnutls: gnutls_x509_crt_check_hostname() and friends will use
24 RFC6125 comparison of hostnames. That introduces a dependency on libidn.
26 ** libgnutls: when printing a certificate request print the signature
29 ** libgnutls: the gnutls_handshake() process will enforce a timeout by
32 ** libgnutls: if a key purpose (extended key usage) is specified for verification,
33 it is applied into intermediate certificates. The verification result
34 GNUTLS_CERT_PURPOSE_MISMATCH is also introduced.
36 ** libgnutls: Added support for the extended master secret
37 (triple-handshake fix) following draft-ietf-tls-session-hash-02.
39 ** libgnutls: Added a new easy and hard to misuse AEAD API (crypto.h).
41 ** libgnutls: When gnutls_certificate_set_x509_key_file2() is used in
42 combination with PKCS #11, or TPM URLs, it will utilize the provided
43 password as PIN if required. That would remove the requirement for the
44 application to set a callback for PINs.
46 ** libgnutls-openssl: it is no longer built by default.
48 ** certtool: Added --p8-info option, which will print PKCS #8 information
49 even if the password is not available.
51 ** certtool: --key-info option will print PKCS #8 encryption information
54 ** certtool: --p12-info option will print PKCS #12 MAC and cipher information
57 ** certtool: it will print the A-label (ACE) names in addition to UTF-8.
59 ** gnutls-cli: added option --priority-list.
61 ** guile: new 'set-session-server-name!' procedure; see the manual for details.
63 ** API and ABI modifications:
64 gnutls_aead_cipher_init: Added
65 gnutls_aead_cipher_decrypt: Added
66 gnutls_aead_cipher_encrypt: Added
67 gnutls_aead_cipher_set_nonce: Added
68 gnutls_aead_cipher_add_auth: Added
69 gnutls_aead_cipher_deinit: Added
70 gnutls_pkcs12_generate_mac2: Added
71 gnutls_pkcs12_mac_info: Added
72 gnutls_pkcs12_bag_enc_info: Added
73 gnutls_pkcs8_info: Added
74 gnutls_pkcs_schema_get_name: Added
75 gnutls_pkcs_schema_get_oid: Added
76 gnutls_pcert_export_x509: Added
77 gnutls_pcert_export_openpgp: Added
78 gnutls_pkcs11_privkey_cpy: Added
79 gnutls_x509_crq_get_signature_algorithm: Added
80 gnutls_x509_trust_list_iter_get_ca: Added
81 gnutls_x509_trust_list_iter_deinit: Added
82 gnutls_certificate_get_trust_list: Added
83 gnutls_privkey_export_x509: Added
84 gnutls_privkey_export_pkcs11: Added
85 gnutls_privkey_export_openpgp: Added
86 gnutls_privkey_import_ext3: Added
87 gnutls_certificate_get_x509_key: Added
88 gnutls_certificate_get_x509_crt: Added
89 gnutls_certificate_get_openpgp_key: Added
90 gnutls_certificate_get_openpgp_crt: Added
91 gnutls_record_discard_queued: Added
92 gnutls_session_ext_master_secret_status: Added
93 gnutls_priority_string_list: Added
94 gnutls_dh_params_import_raw2: Added
97 * Version 3.3.6 (released 2014-07-23)
99 ** libgnutls: Use inet_ntop to print IP addresses when available
101 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
102 IP addresses, and match documented behavior. Reported by David Woodhouse.
104 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
107 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
108 being usable after a reinitialization.
110 ** libgnutls: fixed PKCS #11 private key operations after a fork.
112 ** libgnutls: fixed PKCS #11 ECDSA key generation.
114 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
115 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
116 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
117 CPU. The currently available options are:
118 0x1: Disable all run-time detected optimizations
122 0x100000: Enable VIA padlock
123 0x200000: Enable VIA PHE
124 0x400000: Enable VIA PHE SHA512
126 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
128 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
130 ** p11tool: ask for label when one isn't provided.
132 ** p11tool: added --batch parameter to disable any interactivity.
134 ** p11tool: will not implicitly enable so-login for certain types of
135 objects. That avoids issues with tokens that require different login
138 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
139 specify the curve to use.
141 ** API and ABI modifications:
142 gnutls_certificate_set_x509_trust_dir: Added
143 gnutls_x509_trust_list_add_trust_dir: Added
146 * Version 3.3.5 (released 2014-06-26)
148 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
149 These functions provide a variant of gnutls_record_recv() that avoids
150 the final memcpy of data.
152 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
153 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
154 very large structures.
156 ** libgnutls: When the decoding of a printable DN element fails, then treat
157 it as unknown and print its hex value rather than failing. That works around
158 an issue in a TURKTRST root certificate which improperly encodes the
159 X520countryName element.
161 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
162 of certificates present in a PKCS #11 token when loading it.
164 ** libgnutls: Allow the post client hello callback to put the handshake on
165 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
167 ** certtool: option --to-p12 will now consider --load-ca-certificate
169 ** certtol: Added option to specify the PKCS #12 friendly name on command
172 ** p11tool: Allow marking a certificate copied to a token as a CA.
174 ** API and ABI modifications:
175 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
176 gnutls_x509_crl_iter_deinit: Added
177 gnutls_x509_crl_iter_crt_serial: Added
178 gnutls_record_recv_packet: Added
179 gnutls_packet_deinit: Added
180 gnutls_packet_get: Added
183 * Version 3.3.4 (released 2014-05-31)
185 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
186 crash on certain CPUs.
188 ** API and ABI modifications:
189 No changes since last version.
192 * Version 3.3.3 (released 2014-05-30)
194 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
195 Issue reported by Joonas Kuorilehto of Codenomicon.
197 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
198 new initialization process.
200 ** libgnutls: Increased the maximum certificate size buffer
201 in the PKCS #11 subsystem.
203 ** libgnutls: Check the return code of getpwuid_r() instead of relying
204 on the result value. That avoids issue in certain systems, when using
205 tofu authentication and the home path cannot be determined. Issue reported
208 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
209 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
211 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
214 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
215 be emulated with the implicit initialization of gnutls.
217 ** certtool: Allow multiple organizations and organizational unit names to
218 be specified in a template.
220 ** certtool: Warn when invalid configuration options are set to a template.
222 ** ocsptool: Include path in ocsp request. This resolves #108582
223 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
225 ** API and ABI modifications:
226 gnutls_credentials_get: Added
229 * Version 3.3.2 (released 2014-05-06)
231 ** libgnutls: Added the 'very weak' certificate verification profile
232 that corresponds to 64-bit security level.
234 ** libgnutls: Corrected file descriptor leak on random generator
237 ** libgnutls: Corrected file descriptor leak on PSK password file
238 reading. Issue identified using the Codenomicon TLS test suite.
240 ** libgnutls: Avoid deinitialization if initialization has failed.
242 ** libgnutls: null-terminate othername alternative names.
244 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
245 on a PKCS #11 trust list.
247 ** libgnutls: Several small bug fixes identified using valgrind and
248 the Codenomicon TLS test suite.
250 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
251 entry that matches the certificate. Patch by simon [at] arlott.org.
253 ** libgnutls-guile: Fixed compilation issue.
255 ** certtool: Allow exporting a CRL on DER format.
257 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
258 which is supported more widely than the previously used SECP224R1.
260 ** API and ABI modifications:
261 GNUTLS_PROFILE_VERY_WEAK: Added
264 * Version 3.3.1 (released 2014-04-19)
266 ** libgnutls: Enforce more strict checks to heartbeat messages
267 concerning padding and payload. Suggested by Peter Dettman.
269 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
272 ** libgnutls: Several small bug fixes found by coverity.
274 ** libgnutls: The conditionally available self-test functions
275 were moved to self-test.h.
277 ** libgnutls: Fixed issue with the check of incoming data when two
278 different recv and send pointers have been specified. Reported and
279 investigated by JMRecio.
281 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
282 result to illegal memory access if a server hint was provided. Reported
285 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
286 server hint was provided.
288 ** libgnutls: Corrected the *get_*_othername_oid() functions.
290 ** API and ABI modifications:
291 No changes since last version.
294 * Version 3.3.0 (released 2014-04-10)
296 ** libgnutls: The initialization of the library was moved to a
297 constructor. That is, gnutls_global_init() is no longer required
298 unless linking with a static library or a system that does not
299 support library constructors.
301 ** libgnutls: static libraries are not built by default.
303 ** libgnutls: PKCS #11 initialization is delayed to first usage.
304 That avoids long delays in gnutls initialization due to broken PKCS #11
307 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
308 on the first PKCS #11 API call after a fork.
310 ** libgnutls: certificate verification profiles were introduced
311 that can be specified as flags to verification functions. They
312 are enumerations in gnutls_certificate_verification_profiles_t
313 and can be converted to flags for use in a verification function
314 using GNUTLS_PROFILE_TO_VFLAGS().
316 ** libgnutls: Added the ability to read system-specific initial
317 keywords, if they are prefixed with '@'. That allows a compile-time
318 specified configuration file to be used to read pre-configured priority
319 strings from. That can be used to impose system specific policies.
321 ** libgnutls: Increased the default security level of priority
322 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
323 and set a verification profile by default. The LEGACY keyword is
324 introduced to set the old defaults.
326 ** libgnutls: Added support for the name constraints PKIX extension.
327 Currently only DNS names and e-mails are supported (no URIs, IPs
330 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
331 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
333 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
334 This API handles the X.509 extensions in isolation, allowing to parse
335 similarly formatted extensions stored in other structures.
337 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
338 can be used to specify a particular subgroup as the number of bits in
339 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
341 ** libgnutls: DH parameter generation is now delegated to nettle.
342 That unfortunately has the side-effect that DH parameters longer than
343 3072 bits, cannot be generated (not without a nettle update).
345 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
346 random number generator is based on salsa20/12.
348 ** libgnutls: The buffer alignment provided to crypto backend is
349 enforced to be 16-byte aligned, when compiled with cryptodev
350 support. That allows certain cryptodev drivers to operate more
353 ** libgnutls: Return error when a public/private key pair that doesn't
354 match is set into a credentials structure.
356 ** libgnutls: Depend on p11-kit 0.20.0 or later.
358 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
359 been removed. It was not approved by IETF.
361 ** libgnutls: The experimental xssl library is removed from the gnutls
364 ** libgnutls: Reduced the number of gnulib modules used in the main library.
366 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
368 ** libgnutls: Added the more extensible verification function
369 gnutls_certificate_verify_peers(), that allows checking, in addition
370 to a peer's DNS hostname, for the key purpose of the end certificate
371 (via PKIX extended key usage).
373 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
374 and in batch mode to 12 (appended with 4 random bytes).
376 ** certtool: When no CRL number is provided (or value set to -1), then
377 a time-based number will be used, similarly to the serial generation
378 number in certificates.
380 ** certtool: Print the SHA256 fingerprint of a certificate in addition
383 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
384 That option enables (when running on FIPS140-enabled system):
385 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
386 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
387 o Self-tests on initialization on ciphers/MACs, public key algorithms
388 and the random generator.
389 o HMAC-SHA256 verification of the library on load.
390 o MD5 is included for TLS purposes but cannot be used by the high level
392 o All ciphers except AES are disabled.
393 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
394 o All keys (temporal and long term) are zeroized after use.
395 o Security levels are adjusted to the FIPS140-2 recommendations (rather
398 ** API and ABI modifications:
399 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
400 gnutls_certificate_verify_peers: Added
401 gnutls_privkey_generate: Added
402 gnutls_pkcs11_crt_is_known: Added
403 gnutls_fips140_mode_enabled: Added
404 gnutls_sec_param_to_symmetric_bits: Added
405 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
406 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
407 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
408 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
409 gnutls_pubkey_verify_params: Added
410 gnutls_privkey_export_ecc_raw: Added
411 gnutls_privkey_export_dsa_raw: Added
412 gnutls_privkey_export_rsa_raw: Added
413 gnutls_privkey_import_ecc_raw: Added
414 gnutls_privkey_import_dsa_raw: Added
415 gnutls_privkey_import_rsa_raw: Added
416 gnutls_privkey_verify_params: Added
417 gnutls_x509_crt_check_hostname2: Added
418 gnutls_openpgp_crt_check_hostname2: Added
419 gnutls_x509_name_constraints_init: Added
420 gnutls_x509_name_constraints_deinit: Added
421 gnutls_x509_crt_get_name_constraints: Added
422 gnutls_x509_name_constraints_add_permitted: Added
423 gnutls_x509_name_constraints_add_excluded: Added
424 gnutls_x509_crt_set_name_constraints: Added
425 gnutls_x509_name_constraints_get_permitted: Added
426 gnutls_x509_name_constraints_get_excluded: Added
427 gnutls_x509_name_constraints_check: Added
428 gnutls_x509_name_constraints_check_crt: Added
429 gnutls_x509_crl_get_extension_data2: Added
430 gnutls_x509_crt_get_extension_data2: Added
431 gnutls_x509_crq_get_extension_data2: Added
432 gnutls_subject_alt_names_init: Added
433 gnutls_subject_alt_names_deinit: Added
434 gnutls_subject_alt_names_get: Added
435 gnutls_subject_alt_names_set: Added
436 gnutls_x509_ext_import_subject_alt_names: Added
437 gnutls_x509_ext_export_subject_alt_names: Added
438 gnutls_x509_crl_dist_points_init: Added
439 gnutls_x509_crl_dist_points_deinit: Added
440 gnutls_x509_crl_dist_points_get: Added
441 gnutls_x509_crl_dist_points_set: Added
442 gnutls_x509_ext_import_crl_dist_points: Added
443 gnutls_x509_ext_export_crl_dist_points: Added
444 gnutls_x509_ext_import_name_constraints: Added
445 gnutls_x509_ext_export_name_constraints: Added
446 gnutls_x509_aia_init: Added
447 gnutls_x509_aia_deinit: Added
448 gnutls_x509_aia_get: Added
449 gnutls_x509_aia_set: Added
450 gnutls_x509_ext_import_aia: Added
451 gnutls_x509_ext_export_aia: Added
452 gnutls_x509_ext_import_subject_key_id: Added
453 gnutls_x509_ext_export_subject_key_id: Added
454 gnutls_x509_ext_export_authority_key_id: Added
455 gnutls_x509_ext_import_authority_key_id: Added
456 gnutls_x509_aki_init: Added
457 gnutls_x509_aki_get_id: Added
458 gnutls_x509_aki_get_cert_issuer: Added
459 gnutls_x509_aki_set_id: Added
460 gnutls_x509_aki_set_cert_issuer: Added
461 gnutls_x509_aki_deinit: Added
462 gnutls_x509_ext_import_private_key_usage_period: Added
463 gnutls_x509_ext_export_private_key_usage_period: Added
464 gnutls_x509_ext_import_basic_constraints: Added
465 gnutls_x509_ext_export_basic_constraints: Added
466 gnutls_x509_ext_import_key_usage: Added
467 gnutls_x509_ext_export_key_usage: Added
468 gnutls_x509_ext_import_proxy: Added
469 gnutls_x509_ext_export_proxy: Added
470 gnutls_x509_policies_init: Added
471 gnutls_x509_policies_deinit: Added
472 gnutls_x509_policies_get: Added
473 gnutls_x509_policies_set: Added
474 gnutls_x509_ext_import_policies: Added
475 gnutls_x509_ext_export_policies: Added
476 gnutls_x509_key_purpose_init: Added
477 gnutls_x509_key_purpose_deinit: Added
478 gnutls_x509_key_purpose_set: Added
479 gnutls_x509_key_purpose_get: Added
480 gnutls_x509_ext_import_key_purposes: Added
481 gnutls_x509_ext_export_key_purposes: Added
482 gnutls_digest_self_test: Added (conditionally)
483 gnutls_mac_self_test: Added (conditionally)
484 gnutls_pk_self_test: Added (conditionally)
485 gnutls_cipher_self_test: Added (conditionally)
486 gnutls_global_set_mem_functions: Deprecated
489 * Version 3.2.6 (released 2013-10-31)
491 ** libgnutls: Support for TPM via trousers is now enabled by default.
493 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
494 GCM mode is prioritized over CBC in all of the default priority strings.
496 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
498 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
499 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
500 Reported by Stefan Buehler.
502 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
504 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
507 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
508 Contributed by Wolfgang Meyer zu Bergsten.
512 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
513 previous fix. Reported by Tomas Mraz.
515 ** p11tool: Added option generate-random.
517 ** API and ABI modifications:
518 gnutls_pkcs11_token_get_random: Added
521 * Version 3.2.5 (released 2013-10-23)
523 ** libgnutls: Documentation and build-time fixes.
525 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
527 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
528 as well as Camellia with GCM.
530 ** libdane: Added interfaces to allow initialization of dane_query_t from
531 external DNS resolutions, and to allow direct verification of a certificate
532 chain against a dane_query_t. Contributed by Christian Grothoff.
534 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
535 triggered by a DNS server supplying more than 4 DANE records. Report and fix
536 by Christian Grothoff.
538 ** srptool: Fixed index command line option. Patch by Attila Molnar.
540 ** gnutls-cli: Added support for inline commands, using the
541 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
543 ** certtool: pathlen constraint is now read correctly. Reported by
546 ** API and ABI modifications:
547 gnutls_certificate_get_crt_raw: Added
548 dane_verify_crt_raw: Added
552 * Version 3.2.4 (released 2013-08-31)
554 ** libgnutls: Fixes when session tickets and session DB are used.
555 Report and initial patch by Stefan Buehler.
557 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
558 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
560 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
563 ** libgnutls: Added the PFS priority string option.
565 ** libgnutls: Gnulib included files are strictly LGPLv2.
567 ** libgnutls: Corrected gnutls_certificate_server_set_request().
568 Reported by Petr Pisar.
570 ** API and ABI modifications:
571 gnutls_record_set_timeout: Exported
574 * Version 3.2.3 (released 2013-07-30)
576 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
578 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
579 (this fixes a bug that was accidentally introduced in 3.2.2)
581 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
584 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
587 ** API and ABI modifications:
588 gnutls_priority_kx_list: Added
589 gnutls_priority_mac_list: Added
590 gnutls_priority_cipher_list: Added
593 * Version 3.2.2 (released 2013-07-14)
595 ** libgnutls: Several optimizations in the related to packet processing
598 ** libgnutls: DTLS replay detection can now be disabled (to be used
599 in certain transport layers like SCTP).
601 ** libgnutls: Fixes in SRTP extension generation when MKI is being
604 ** libgnutls: Added ability to set hooks before or after sending or receiving
605 any handshake message with gnutls_handshake_set_hook_function().
607 ** API and ABI modifications:
608 GNUTLS_NO_REPLAY_PROTECTION: Added
609 gnutls_certificate_set_trust_list: Added
610 gnutls_cipher_get_tag_size: Added
611 gnutls_record_overhead_size: Added
612 gnutls_est_record_overhead_size: Added
613 gnutls_handshake_set_hook_function: Added
614 gnutls_handshake_description_get_name: Added
615 gnutls_digest_list: Added
616 gnutls_digest_get_id: Added
617 gnutls_digest_get_name: Added
620 * Version 3.2.1 (released 2013-06-01)
622 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
625 ** libgnutls: Fixes in interrupted function resumption. Report
626 and patch by Tim Kosse.
628 ** libgnutls: Corrected issue when receiving client hello verify requests
631 ** libgnutls: Fixes in DTLS record overhead size calculations.
633 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
636 ** API and ABI modifications:
637 gnutls_session_set_id: Added
640 * Version 3.2.0 (released 2013-05-10)
642 ** libgnutls: Use nettle's elliptic curve implementation.
644 ** libgnutls: Added Salsa20 cipher
646 ** libgnutls: Added UMAC-96 and UMAC-128
648 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
649 As they are not standardized they are defined using private ciphersuite
652 ** libgnutls: Added support for DTLS 1.2.
654 ** libgnutls: Added support for the Application Layer Protocol Negotiation
657 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
659 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
660 linking to pthreads if p11-kit isn't used).
662 ** API and ABI modifications:
663 gnutls_cipher_get_iv_size: Added
664 gnutls_hmac_set_nonce: Added
665 gnutls_mac_get_nonce_size: Added
668 * Version 3.1.10 (released 2013-03-22)
670 ** certtool: When generating PKCS #12 files use by default the
671 ARCFOUR (RC4) cipher to be compatible with devices that don't
672 support AES with PKCS #12.
674 ** libgnutls: Load CA certificates in android 4.x systems.
676 ** libgnutls: Optimized CA certificate loading.
678 ** libgnutls: Private keys are overwritten on deinitialization.
680 ** libgnutls: PKCS #11 slots are scanned only when needed, not
681 on initialization. This speeds up gnutls initialization when smart
684 ** libgnutls: Corrected issue in the (deprecated) external key
685 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
687 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
690 ** libgnutls-dane: Updated DANE verification options.
692 ** configure: Trust store file must be explicitly set or unset when
695 ** API and ABI modifications:
696 gnutls_x509_crt_get_issuer_dn2: Added
697 gnutls_x509_crt_get_dn2: Added
698 gnutls_x509_crl_get_issuer_dn2: Added
699 gnutls_x509_crq_get_dn2: Added
700 gnutls_x509_trust_list_remove_trust_mem: Added
701 gnutls_x509_trust_list_remove_trust_file: Added
702 gnutls_x509_trust_list_remove_cas: Added
703 gnutls_session_get_desc: Added
704 gnutls_privkey_sign_raw_data: Added
705 gnutls_privkey_status: Added
708 * Version 3.1.9 (released 2013-02-27)
710 ** certtool: Option --to-p12 will now ask for a password to generate
711 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
713 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
715 ** libgnutls: Corrected parsing issue in XMPP within a subject
716 alternative name. Reported by James Cloos.
718 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
719 modules, and not only the ones loaded via p11-kit.
721 ** libgnutls: Added function to check whether the private key is
722 still available (inserted).
724 ** libgnutls: Try to detect fork even during nonce generation.
726 ** API and ABI modifications:
727 gnutls_handshake_set_random: Added
728 gnutls_transport_set_int2: Added
729 gnutls_transport_get_int2: Added
730 gnutls_transport_get_int: Added
731 gnutls_record_cork: Exported
732 gnutls_record_uncork: Exported
733 gnutls_pkcs11_privkey_status: Added
736 * Version 3.1.8 (released 2013-02-10)
738 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
739 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
740 with encrypted keys. Reported by Yan Fiz.
742 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
743 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
746 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
747 to operate with long keys. Reported by Erik A Jensen.
749 ** API and ABI modifications:
750 No changes since last version.
753 * Version 3.1.7 (released 2013-02-04)
755 ** certtool: Added option "dn" which allows to directly set the DN
756 in a template from an RFC4514 string.
758 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
760 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
762 ** libgnutls-dane: Added function to specify a DLV file.
764 ** libgnutls: Heartbeat code was made optional.
766 ** libgnutls: Fixes in server side of DTLS-0.9.
768 ** libgnutls: DN variable 'T' was expanded to 'title'.
770 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
771 Issue reported by Kenny Paterson and Nadhem Alfardan.
773 ** libgnutls: Added functions to directly set the DN in a certificate
774 or request from an RFC4514 string.
776 ** libgnutls: Optimizations in the random generator. The re-seeding of
777 it is now explicitly done on every session deinit.
779 ** libgnutls: Simplified the DTLS sliding window implementation.
781 ** libgnutls: The minimum DH bits accepted by a client are now set
782 by the specified priority string. The current values correspond to the
783 previous defaults (727 bits), except for the SECURE128 and SECURE192
784 strings which increase the minimum to 1248 and 1776 respectively.
786 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
787 buffering in sending application data.
789 ** libgnutls: Removed default random padding, and added a length-hiding interface
790 instead. Both the server and the client must support this extension. Whether
791 length-hiding can be used on a given session can be checked using
792 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
794 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
795 a new padding mechanism in TLS allowing arbitrary padding in TLS records
796 in all ciphersuites, which makes length-hiding more efficient and solves
797 the issues with timing attacks on CBC ciphersuites.
799 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
800 ciphers (i.e., AES-GCM). Reported by William McGovern.
802 ** API and ABI modifications:
803 gnutls_db_check_entry_time: Added
804 gnutls_record_set_timeout: Added
805 gnutls_record_get_random_padding_status: Added
806 gnutls_x509_crt_set_dn: Added
807 gnutls_x509_crt_set_issuer_dn: Added
808 gnutls_x509_crq_set_dn: Added
809 gnutls_range_split: Added
810 gnutls_record_send_range: Added
811 gnutls_record_set_max_empty_records: Added
812 gnutls_record_can_use_length_hiding: Added
813 gnutls_rnd_refresh: Added
821 xssl_client_init: Added
822 xssl_server_init: Added
823 xssl_get_session: Added
824 xssl_get_verify_status: Added
825 xssl_cred_init: Added
826 xssl_cred_deinit: Added
827 dane_state_set_dlv_file: Added
828 GNUTLS_SEC_PARAM_EXPORT: Added
829 GNUTLS_SEC_PARAM_VERY_WEAK: Added
832 * Version 3.1.6 (released 2013-01-02)
834 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
835 Paterson and Nadhem Alfardan.
837 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
839 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
842 ** libgnutls: Ignore heartbeat messages when received out-of-order,
843 instead of issuing an error.
845 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
848 ** libgnutls: TPM support is disabled by default because GPL programs
849 cannot link with it. Use --with-tpm to enable it.
851 ** libgnutls-guile: Fixed parallel compilation issue.
853 ** gnutls-cli: It will try to connect to all possible returned addresses
856 ** API and ABI modifications:
857 No changes since last version.
860 * Version 3.1.5 (released 2012-11-24)
862 ** libgnutls: Added functions to parse the certificates policies
865 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
866 Name by translating it to UTF-8 (works on windows or systems with iconv).
868 ** libgnutls: Added PKCS #11 key generation function that returns the
869 public key on generation.
871 ** libgnutls: Corrected bug in priority string parsing, that mostly
872 affected combined levels. Patch by Tim Kosse.
874 ** certtool: The --pubkey-info option can be combined with the
875 --load-privkey or --load-request to print the corresponding public keys.
877 ** certtool: It is able to set certificate policies via a template.
879 ** certtool: Added --hex-numbers option which prints big numbers in
880 an easier to parse format.
882 ** p11tool: After key generation, outputs the public key (useful in
883 tokens that do not store the public key).
885 ** danetool: It is being built even without libgnutls-dane (the
886 --check functionality is disabled though).
888 ** API and ABI modifications:
889 gnutls_pkcs11_privkey_generate2: Added
890 gnutls_x509_crt_get_policy: Added
891 gnutls_x509_crt_set_policy: Added
892 gnutls_x509_policy_release: Added
893 gnutls_pubkey_import_x509_crq: Added
894 gnutls_pubkey_print: Added
895 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
898 * Version 3.1.4 (released 2012-11-10)
900 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
901 the available revocation data validity.
903 ** libgnutls: Added gnutls_certificate_verification_status_print(),
904 a function to print the verification status code in human readable text.
906 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
908 ** libgnutls: Simplified certificate verification by adding
909 gnutls_certificate_verify_peers3().
911 ** libgnutls: Added support for extension to establish keys for SRTP.
912 Contributed by Martin Storsjo.
914 ** libgnutls: The X.509 verification functions check the key
915 usage bits and pathlen constraints and on failure output
916 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
918 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
920 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
921 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
923 ** libgnutls: Always tolerate key usage violation errors from the side
924 of the peer, but also notify via an audit message.
926 ** gnutls-cli: Added --local-dns option.
928 ** danetool: Corrected bug that prevented loading PEM files.
930 ** danetool: Added --check option to allow querying and verifying
933 ** libgnutls-dane: Added pkg-config file for the library.
935 ** API and ABI modifications:
936 gnutls_session_get_id2: Added
937 gnutls_sign_is_secure: Added
938 gnutls_certificate_verify_peers3: Added
939 gnutls_ocsp_status_request_is_checked: Added
940 gnutls_certificate_verification_status_print: Added
941 gnutls_srtp_set_profile: Added
942 gnutls_srtp_set_profile_direct: Added
943 gnutls_srtp_get_selected_profile: Added
944 gnutls_srtp_get_profile_name: Added
945 gnutls_srtp_get_profile_id: Added
946 gnutls_srtp_get_keys: Added
947 gnutls_srtp_get_mki: Added
948 gnutls_srtp_set_mki: Added
949 gnutls_srtp_profile_t: Added
950 dane_cert_type_name: Added
951 dane_match_type_name: Added
952 dane_cert_usage_name: Added
953 dane_verification_status_print: Added
954 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
955 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
956 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
957 GNUTLS_CERT_UNEXPECTED_OWNER: Added
958 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
961 * Version 3.1.3 (released 2012-10-12)
963 ** libgnutls: Added support for the OCSP Certificate Status
966 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
967 certificate status extension in verification.
969 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
971 ** libgnutls: Increased maximum password length in the PKCS #12
974 ** libgnutls: Fixed the receipt of session tickets during session resumption.
975 Reported by danblack at http://savannah.gnu.org/support/?108146
977 ** libgnutls: Added functions to export structures in an allocated buffer.
979 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
980 response corresponds to the given certificate.
982 ** libgnutls: In client side gnutls_init() enables the session ticket and
983 OCSP certificate status request extensions by default. The flag
984 GNUTLS_NO_EXTENSIONS can be used to prevent that.
986 ** libgnutls: Several updates in the OpenPGP code. The generating code
987 is fully RFC6091 compliant and RFC5081 support is only supported in client
990 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
991 certificate verification.
993 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
995 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
997 ** API and ABI modifications:
998 gnutls_certificate_get_peers_subkey_id: Added
999 gnutls_certificate_set_ocsp_status_request_function: Added
1000 gnutls_certificate_set_ocsp_status_request_file: Added
1001 gnutls_ocsp_status_request_enable_client: Added
1002 gnutls_ocsp_status_request_get: Added
1003 gnutls_ocsp_resp_check_crt: Added
1004 gnutls_dh_params_export2_pkcs3: Added
1005 gnutls_pubkey_export2: Added
1006 gnutls_x509_crt_export2: Added
1007 gnutls_x509_dn_export2: Added
1008 gnutls_x509_crl_export2: Added
1009 gnutls_pkcs7_export2: Added
1010 gnutls_x509_privkey_export2: Added
1011 gnutls_x509_privkey_export2_pkcs8: Added
1012 gnutls_x509_crq_export2: Added
1013 gnutls_openpgp_crt_export2: Added
1014 gnutls_openpgp_privkey_export2: Added
1015 gnutls_pkcs11_obj_export2: Added
1016 gnutls_pkcs12_export2: Added
1017 gnutls_pubkey_import_openpgp_raw: Added
1018 gnutls_pubkey_import_x509_raw: Added
1019 dane_state_init: Added
1020 dane_state_deinit: Added
1021 dane_query_tlsa: Added
1022 dane_query_status: Added
1023 dane_query_entries: Added
1024 dane_query_data: Added
1025 dane_query_deinit: Added
1026 dane_verify_session_crt: Added
1027 dane_verify_crt: Added
1028 dane_strerror: Added
1031 * Version 3.1.2 (released 2012-09-26)
1033 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
1034 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
1035 of certificates in the windows platform.
1037 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
1039 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
1040 (the work was done during Google Summer of Code).
1042 ** libgnutls: Added X.509 certificate verification flag
1043 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
1044 of unsorted certificate chains and is enabled by default for
1045 TLS certificate verification (if gnutls_certificate_set_verify_flags()
1046 does not override it).
1048 ** libgnutls: Prints warning on certificates that contain keys of
1049 an insecure level. If the %COMPAT priority flag is not specified
1050 the TLS connection fails.
1052 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
1053 if interrupted during the retrasmition of handshake data.
1055 ** libgnutls: Better mingw32 support (patch by LRN).
1057 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
1058 key usage violation errors (they are far too common to ignore).
1060 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
1061 which provides a tool to counter compression-related attacks where
1062 parts of the data are controlled by the attacker _and_ are placed in
1063 separate records (use with care - do not use compression if not sure).
1065 ** libgnutls: Depends on libtasn1 2.14 or later.
1067 ** certtool: Prints the number of bits of the public key algorithm
1068 parameter in a private key.
1070 ** API and ABI modifications:
1071 gnutls_x509_privkey_get_pk_algorithm2: Added
1072 gnutls_heartbeat_ping: Added
1073 gnutls_heartbeat_pong: Added
1074 gnutls_heartbeat_allowed: Added
1075 gnutls_heartbeat_enable: Added
1076 gnutls_heartbeat_set_timeouts: Added
1077 gnutls_heartbeat_get_timeout: Added
1078 GNUTLS_SEC_PARAM_WEAK: Added
1079 GNUTLS_SEC_PARAM_INSECURE: Added
1081 * Version 3.1.1 (released 2012-09-02)
1083 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1085 ** certtool: Changes in password handling of certtool.
1086 Ask password when required and only if the '--password' option is not
1087 given. If the '--password' option is given during key generation then
1088 assume the PKCS #8 file format, instead of ignoring the password.
1090 ** tpmtool: No longer asks for key password in registered keys.
1092 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1093 wmNAF is now used for point multiplication and other optimizations.
1094 (the major part of the work was done during Google Summer of Code).
1096 ** libgnutls: The default pull_timeout_function only uses select
1097 instead of a combination of select() and recv() to prevent issues
1098 when used in stream sockets in some systems.
1100 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1101 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1104 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1105 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1106 me with ECDSA capable smart cards.
1108 ** API and ABI modifications:
1109 gnutls_sign_algorithm_get: Added
1110 gnutls_sign_get_hash_algorithm: Added
1111 gnutls_sign_get_pk_algorithm: Added
1114 * Version 3.1.0 (released 2012-08-15)
1116 ** libgnutls: Added direct support for TPM as a cryptographic module
1117 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1118 using URLs of the following types:
1119 tpmkey:file=/path/to/file
1120 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1122 ** libgnutls: Priority string level keywords can be combined.
1123 For example the string "SECURE256:+SUITEB128" is now allowed.
1125 ** libgnutls: requires libnettle 2.5.
1127 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1128 for encryption and signatures.
1130 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1131 generic errors and signature verification errors in the verification
1134 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1135 to simplify parsing in most PKCS #12 use cases.
1137 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1138 the whole certificate chain (if any) to the credentials structure, instead
1139 of only the end-user certificate.
1141 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1142 and gnutls_x509_privkey_import_pkcs8(), return consistently
1143 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1144 password was provided.
1146 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1147 allows to set the maximum time spent in a handshake.
1149 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1152 ** tpmtool: Added. It is a tool to generate private keys in the
1155 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1156 and --benchmark-tls-ciphers
1158 ** certtool: generated PKCS #12 structures may hold more than one
1159 private key. Patch by Lucas Fisher.
1161 ** certtool: Added option --null-password to generate/decrypt keys
1162 that use a NULL password (in schemas that distinguish between NULL
1163 an empty passwords).
1165 ** minitasn1: Upgraded to libtasn1 version 2.13.
1167 ** API and ABI modifications:
1168 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1169 GNUTLS_CAMELLIA_192_CBC: Added
1170 GNUTLS_PKCS_NULL_PASSWORD: Added
1171 gnutls_url_is_supported: Added
1172 gnutls_pkcs11_obj_list_import_url2: Added
1173 gnutls_pkcs11_obj_set_pin_function: Added
1174 gnutls_pkcs11_privkey_set_pin_function: Added
1175 gnutls_pkcs11_get_pin_function: Added
1176 gnutls_privkey_import_tpm_raw: Added
1177 gnutls_privkey_import_tpm_url: Added
1178 gnutls_privkey_import_pkcs11_url: Added
1179 gnutls_privkey_import_openpgp_raw: Added
1180 gnutls_privkey_import_x509_raw: Added
1181 gnutls_privkey_import_ext2: Added
1182 gnutls_privkey_import_url: Added
1183 gnutls_privkey_set_pin_function: Added
1184 gnutls_tpm_privkey_generate: Added
1185 gnutls_tpm_key_list_deinit: Added
1186 gnutls_tpm_key_list_get_url: Added
1187 gnutls_tpm_get_registered: Added
1188 gnutls_tpm_privkey_delete: Added
1189 gnutls_pubkey_import_tpm_raw: Added
1190 gnutls_pubkey_import_tpm_url: Added
1191 gnutls_pubkey_import_url: Added
1192 gnutls_pubkey_verify_hash2: Added
1193 gnutls_pubkey_set_pin_function: Added
1194 gnutls_x509_privkey_import2: Added
1195 gnutls_x509_privkey_import_openssl: Added
1196 gnutls_x509_crt_set_pin_function: Added
1197 gnutls_load_file: Added
1198 gnutls_pkcs12_simple_parse: Added
1199 gnutls_certificate_set_x509_system_trust: Added
1200 gnutls_certificate_set_pin_function: Added
1201 gnutls_x509_trust_list_add_system_trust: Added
1202 gnutls_x509_trust_list_add_trust_file: Added
1203 gnutls_x509_trust_list_add_trust_mem: Added
1204 gnutls_pk_to_sign: Added
1205 gnutls_handshake_set_timeout: Added
1206 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1207 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1210 * Version 3.0.22 (released 2012-08-04)
1212 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1213 is now supported on OpenBSD.
1215 ** libgnutls: When verifying a certificate chain make sure it is chain.
1216 If the chain is wronly interrupted at some point then truncate it,
1217 and only try to verify the correct part. Patch by David Woodhouse
1219 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1220 which now may (again) accept a NULL password.
1222 ** certtool: Allow the user to choose the hash algorithm
1223 when signing certificate request or certificate revocation list.
1224 Patch by Petr Písař.
1226 ** API and ABI modifications:
1227 No changes since last version.
1230 * Version 3.0.21 (released 2012-07-02)
1232 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1233 that prevented the loading of EC private keys when DER
1234 encoded. Reported by David Woodhouse.
1236 ** libgnutls: In DTLS larger to mtu records result to
1237 GNUTLS_E_LARGE_PACKET instead of being truncated.
1239 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1240 on patch by David Woodhouse.
1242 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1244 ** libgnutls: Added support for an old version of the DTLS protocol
1245 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1246 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1249 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1250 if only the label is specified. Patch by David Woodhouse.
1252 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1255 ** API and ABI modifications:
1256 gnutls_dtls_set_data_mtu: Added
1257 gnutls_session_set_premaster: Added
1260 * Version 3.0.20 (released 2012-06-05)
1262 ** libgnutls: Corrected bug which prevented the parsing of
1263 handshake packets spanning multiple records.
1265 ** libgnutls: Check key identifiers when checking for an issuer.
1267 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1269 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1270 that loads the trusted CA certificates from system locations
1271 (e.g. trusted storage in windows and CA bundle files in other systems).
1273 ** certtool: Added support for the URI subject alternative
1274 name type in certtool.
1276 ** certtool: Increase to 128 the maximum number of distinct options
1277 (e.g. dns_names) allowed.
1279 ** gnutls-cli: If --print-cert is given, print the certificate,
1280 even on verification failure.
1282 ** API and ABI modifications:
1283 gnutls_pk_to_sign: Added
1284 gnutls_pubkey_verify_hash2: Added
1285 gnutls_certificate_set_x509_system_trust: Added
1288 * Version 3.0.19 (released 2012-04-22)
1290 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1291 is assumed to be a file that stores the pin. Based on patch
1294 ** libgnutls: gnutls_record_check_pending() no longer
1295 returns unprocessed data, and thus ensure the non-blocking
1296 of the next call to gnutls_record_recv().
1298 ** libgnutls: Added strict tests in Diffie-Hellman and
1299 SRP key exchange public keys.
1301 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1302 strict in hash selection, and allow a stronger hash to
1303 be used than the appropriate, to improve interoperability
1306 ** tests: Disabled floating point test, and corrections
1307 in pkcs12 decoding tests.
1309 ** API and ABI modifications:
1310 No changes since last version.
1313 * Version 3.0.18 (released 2012-04-02)
1315 ** certtool: Avoid a Y2K38 bug when generating certificates.
1316 Patch by Robert Millan.
1318 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1319 is returned on premature termination (and added unit test).
1321 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1323 ** libgnutls: Corrected VIA padlock detection for old
1324 VIA processors. Reported by Kris Karas.
1326 ** libgnutls: Updated assembler files.
1328 ** libgnutls: Time in generated certificates is stored
1329 as GeneralizedTime instead of UTCTime (which only stores
1330 2 digits of a year).
1332 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1334 ** API and ABI modifications:
1335 gnutls_x509_crt_set_private_key_usage_period: Added
1336 gnutls_x509_crt_get_private_key_usage_period: Added
1337 gnutls_x509_crq_set_private_key_usage_period: Added
1338 gnutls_x509_crq_get_private_key_usage_period: Added
1339 gnutls_session_get_random: Added
1342 * Version 3.0.17 (released 2012-03-17)
1344 ** command line apps: Always link with local libopts.
1346 ** API and ABI modifications:
1347 No changes since last version.
1350 * Version 3.0.16 (released 2012-03-16)
1352 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1354 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1356 ** libgnutls: included assembler files for MacOSX.
1358 ** p11tool: Small fixes in handling of the --private command
1361 ** certtool: The template option allows for setting the domain
1362 component (DC) option of the distinguished name, and the ocsp_uri
1363 as well as the ca_issuers_uri options.
1365 ** API and ABI modifications:
1366 gnutls_x509_crt_set_authority_info_access: Added
1369 * Version 3.0.15 (released 2012-03-02)
1371 ** test suite: Only run under valgrind in the development
1372 system (the full git repository)
1374 ** command line apps: Link with local libopts if the
1375 installed is an old one.
1377 ** libgnutls: Eliminate double free during SRP
1378 authentication. Reported by Peter Penzov.
1380 ** libgnutls: Corrections in record packet parsing.
1381 Reported by Matthew Hall.
1383 ** libgnutls: Cryptodev updates and fixes.
1385 ** libgnutls: Corrected issue with select() that affected
1386 FreeBSD. This prevented establishing DTLS sessions.
1387 Reported by Andreas Metzler.
1389 ** libgnutls: Corrected rehandshake and resumption
1390 operations in DTLS. Reported by Sean Buckheister.
1392 ** libgnutls: PKCS #11 objects that do not have ID
1393 no longer crash listing. Reported by Sven Geggus.
1395 ** API and ABI modifications:
1396 No changes since last version.
1399 * Version 3.0.14 (released 2012-02-24)
1401 ** command line apps: Included libopts doesn't get installed
1404 ** libgnutls: Eliminate double free on wrongly formatted
1405 certificate list. Reported by Remi Gacogne.
1407 ** libgnutls: cryptodev code corrected, updated to account
1408 for hashes and GCM mode.
1410 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1411 Report and fix by Sam Varshavchik.
1413 ** API and ABI modifications:
1414 No changes since last version.
1417 * Version 3.0.13 (released 2012-02-18)
1419 ** gnutls-cli: added the --ocsp option which will verify
1420 the peer's certificate with OCSP.
1422 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1423 will use an ssh-style authentication method.
1425 ** gnutls-cli: if no --x509cafile is provided a default is
1426 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1428 ** ocsptool: Added --ask parameter, to verify a certificate's
1429 status from an ocsp server.
1431 ** command line apps: Use gnu autogen (libopts) to parse command
1432 line arguments and template files.
1434 ** tests: Added stress test for DTLS packet losses and
1435 out-of-order receival. Contributed by Sean Buckheister.
1437 ** libgnutls: Several updates and corrections in the DTLS
1438 DTLS lost packet handling and retransmission timeouts.
1439 Report and patches by Sean Buckheister.
1441 ** libgnutls: Added new functions to easily allow the usage of
1442 a trust on first use (SSH-style) authentication.
1444 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1445 for the RFC6460 requirements.
1447 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1448 to account for security level of 96-bits.
1450 ** libgnutls: In client side if server does not advertise any
1451 known CAs and only a single certificate is set in the credentials,
1454 ** libgnutls: Added functions to parse authority key identifiers
1455 when stored as a 'general name' and serial combo.
1457 ** libgnutls: Added function to force explicit reinitialization
1458 of PKCS #11 modules. This is required on the child process after
1459 a fork (if PKCS #11 functionality is desirable).
1461 ** libgnutls: Depend on p11-kit 0.11.
1463 ** API and ABI modifications:
1464 gnutls_dtls_get_timeout: Added
1465 gnutls_verify_stored_pubkey: Added
1466 gnutls_store_pubkey: Added
1467 gnutls_store_commitment: Added
1468 gnutls_x509_crt_get_authority_key_gn_serial: Added
1469 gnutls_x509_crl_get_authority_key_gn_serial: Added
1470 gnutls_pkcs11_reinit: Added
1471 gnutls_ecc_curve_list: Added
1472 gnutls_priority_certificate_type_list: Added
1473 gnutls_priority_sign_list: Added
1474 gnutls_priority_protocol_list: Added
1475 gnutls_priority_compression_list: Added
1476 gnutls_priority_ecc_curve_list: Added
1477 gnutls_tdb_init: Added
1478 gnutls_tdb_set_store_func: Added
1479 gnutls_tdb_set_store_commitment_func: Added
1480 gnutls_tdb_set_verify_func: Added
1481 gnutls_tdb_deinit: Added
1484 * Version 3.0.12 (released 2012-01-20)
1486 ** libgnutls: Added OCSP support.
1487 There is a new header file gnutls/ocsp.h and a set of new functions
1488 under the gnutls_ocsp namespace. Currently the functionality provided
1489 is to parse and extract information from OCSP requests/responses, to
1490 generate OCSP requests and to verify OCSP responses. See the manual
1491 for more information. Run ./configure with --disable-ocsp to build
1492 GnuTLS without OCSP support.
1494 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1496 ** ocsptool: Added new command line tool.
1497 The tool can parse OCSP request/responses, generate OCSP requests and
1498 verify OCSP responses. See the manual for more information.
1500 ** certtool: --outder option now works for private
1501 and public keys as well.
1503 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1504 to warn when no or insufficient priorities were set.
1506 ** libgnutls: Corrected an alignment issue in ECDH
1507 key generation which prevented some keys from being
1508 correctly aligned in rare circumstances.
1510 ** libgnutls: Corrected memory leaks in DH parameter
1511 generation and ecc_projective_check_point().
1513 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1514 return a descriptive name of a DN OID.
1516 ** API and ABI modifications:
1517 gnutls_pubkey_encrypt_data: Added
1518 gnutls_x509_dn_oid_name: Added
1519 gnutls_session_resumption_requested: Added
1520 gnutls/ocsp.h: Added new header file.
1521 gnutls_ocsp_print_formats_t: Added new type.
1522 gnutls_ocsp_resp_status_t: Added new type.
1523 gnutls_ocsp_cert_status_t: Added new type.
1524 gnutls_x509_crl_reason_t: Added new type.
1525 gnutls_ocsp_req_add_cert: Added.
1526 gnutls_ocsp_req_add_cert_id: Added.
1527 gnutls_ocsp_req_deinit: Added.
1528 gnutls_ocsp_req_export: Added.
1529 gnutls_ocsp_req_get_cert_id: Added.
1530 gnutls_ocsp_req_get_extension: Added.
1531 gnutls_ocsp_req_get_nonce: Added.
1532 gnutls_ocsp_req_get_version: Added.
1533 gnutls_ocsp_req_import: Added.
1534 gnutls_ocsp_req_init: Added.
1535 gnutls_ocsp_req_print: Added.
1536 gnutls_ocsp_req_randomize_nonce: Added.
1537 gnutls_ocsp_req_set_extension: Added.
1538 gnutls_ocsp_req_set_nonce: Added.
1539 gnutls_ocsp_resp_deinit: Added.
1540 gnutls_ocsp_resp_export: Added.
1541 gnutls_ocsp_resp_get_certs: Added.
1542 gnutls_ocsp_resp_get_extension: Added.
1543 gnutls_ocsp_resp_get_nonce: Added.
1544 gnutls_ocsp_resp_get_produced: Added.
1545 gnutls_ocsp_resp_get_responder: Added.
1546 gnutls_ocsp_resp_get_response: Added.
1547 gnutls_ocsp_resp_get_signature: Added.
1548 gnutls_ocsp_resp_get_signature_algorithm: Added.
1549 gnutls_ocsp_resp_get_single: Added.
1550 gnutls_ocsp_resp_get_status: Added.
1551 gnutls_ocsp_resp_get_version: Added.
1552 gnutls_ocsp_resp_import: Added.
1553 gnutls_ocsp_resp_init: Added.
1554 gnutls_ocsp_resp_print: Added.
1555 gnutls_ocsp_resp_verify: Added.
1557 * Version 3.0.11 (released 2012-01-06)
1559 ** libgnutls: Corrected functionality of
1560 gnutls_record_get_direction(). Reported by Philip Allison.
1562 ** libgnutls: Provide less timing information when decoding
1563 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1565 ** API and ABI modifications:
1566 No changes since last version.
1569 * Version 3.0.10 (released 2012-01-04)
1571 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1572 in Linux as well as in BSD.
1574 ** gnutls-cli: Fixed reading from windows terminals.
1576 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1577 the stream is assumed to be base64 encoded (previously
1578 the encoding was auto-detected). This avoids a decoding
1579 issue in windows systems.
1581 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1583 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1584 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1586 ** libgnutls: Added function gnutls_random_art() to convert
1587 fingerprints to images (currently ascii-art).
1589 ** libgnutls: Corrected bug in DSA private key parsing, which
1590 prevented the verification of the key.
1592 ** API and ABI modifications:
1593 gnutls_random_art: Added
1596 * Version 3.0.9 (released 2011-12-13)
1598 ** certtool: Added new parameter --dh-info.
1600 ** certtool: -l option was overloaded so if combined with --priority
1601 it will only list the ciphersuites that are enabled by the given
1604 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1605 changes the ciphersuite selection procedure. If specified the server
1606 priorities will be used for selection instead of the client's.
1608 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1611 ** libgnutls: When session tickets are negotiated and used in a
1612 session, a server will not store that session data into its cache.
1614 ** libgnutls: Added the SECP192R1 curve.
1616 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1617 allow listing the ciphersuites enabled in a priority structure.
1618 It outputs an index to be used in gnutls_get_cipher_suite_info().
1620 ** libgnutls: Optimizations in the elliptic curve code --timing
1621 attacks resistant code is only used in ECDSA private key operations.
1623 ** doc: man pages for API functions generation was fixed and are
1624 now added again in the distribution.
1626 ** API and ABI modifications:
1627 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1628 gnutls_priority_get_cipher_suite_index: Added
1631 * Version 3.0.8 (released 2011-11-12)
1633 ** certtool: Certtool -e returns error code on verification
1636 ** certtool: Verifies parameters of generated keys.
1638 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1640 ** libgnutls: Provide less timing information when decoding
1641 TLS/DTLS record packets.
1643 ** doc: man pages for API functions were removed.
1644 The reason was that the code that auto-generated the man pages missed
1645 many APIs and we couldn't fix it (volunteers welcome). See the info
1646 manual or the GTK-DOC manual instead.
1648 ** API and ABI modifications:
1649 gnutls_x509_privkey_verify_params: Added
1652 * Version 3.0.7 (released 2011-11-08)
1654 ** libgnutls: Corrected fix in gnutls_session_get_data()
1655 to report the actual session size when the provided buffer
1658 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1659 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1661 ** API and ABI modifications:
1662 No changes since last version.
1665 * Version 3.0.6 (released 2011-11-07)
1667 ** gnutls-guile: Compilation fixes.
1669 ** libgnutls: Fixed possible buffer overflow in
1670 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1672 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1673 Reported by Fabrice Gautier.
1675 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1676 Thanks to Joseph Graham for providing access to such a system.
1678 ** libgnutls: Correctly report ECC private key parsing errors.
1679 Reported by Fabrice Gautier.
1681 ** libgnutls: In ECDHE verify that the received point lies on
1682 the selected curve. The ECDHE ciphersuites now take precendence
1685 ** API and ABI modifications:
1686 No changes since last version.
1689 * Version 3.0.5 (released 2011-10-27)
1691 ** libgnutls-extra: is no more
1693 ** libgnutls: Corrections in order to compile with mingw32.
1695 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1696 and new detection of PHE with support for partial hashing.
1698 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1701 ** minitasn1: Upgraded to libtasn1 version 2.10.
1703 ** API and ABI modifications:
1704 No changes since last version.
1707 * Version 3.0.4 (released 2011-10-15)
1709 ** libgnutls-extra: gnutls_register_md5_handler() was
1712 ** gnutls-cli-debug: Added more tests including AES-GCM,
1713 SHA256 and elliptic curves.
1715 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1716 the software version of the ciphers instead of hw accelerated
1719 ** libgnutls: Public key ID calculation is consistent among
1720 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1722 ** libgnutls: gnutls_privkey_t allows setting external callback
1723 to perform signing or decryption. Can be set using
1724 gnutls_privkey_import_ext()
1726 ** libgnutls: A certificate credentials structure can be
1727 used with a gnutls_privkey_t and a gnutls_pcert_st
1728 structure using gnutls_certificate_set_key().
1730 ** libgnutls: Fixes to enable external signing callback to
1731 operate with TLS 1.2.
1733 ** libgnutls: Fixed crash when printing ECDSA certificate key
1734 ID. Reported by Erik Jensen.
1736 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1737 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1738 support for hashes and HMACs.
1740 ** libgnutls: Compilation fixed when p11-kit is not detected.
1742 ** libgnutls: Fixed the deflate compression code.
1744 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1745 Used to get the PKIX Authority Information Access (AIA) field.
1747 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1749 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1750 signing callback function.
1752 ** API and ABI modifications:
1753 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1754 gnutls_privkey_import_ext: Added function.
1755 gnutls_certificate_set_key: Added function.
1756 gnutls_info_access_what_t (x509.h): Added enum.
1757 GNUTLS_OID_AIA (x509.h): Added symbol.
1758 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1759 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1761 * Version 3.0.3 (released 2011-09-18)
1763 ** libgnutls: Added gnutls_record_get_discarded() to return the
1764 number of discarded records in a DTLS session.
1766 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1767 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1769 ** libgnutls: Memory leak fixes in credentials private key
1770 deinitialization. Reported by Dan Winship.
1772 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1774 ** libgnutls: Do not send an empty extension structure in server
1775 hello. This affected old implementations that do not support extensions.
1776 Reported by J. Cameijo Cerdeira.
1778 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1779 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1780 <http://bugs.debian.org/640639>.
1782 ** libgnutls: Added support for VIA padlock AES optimizations.
1783 (disabled by default)
1785 ** libgnutls: Added support for elliptic curves in
1788 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1789 to allow generating a key in a token.
1791 ** p11tool: Added generate-rsa, generate-dsa and
1792 generate-ecc options to allow generating private
1795 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1798 ** API and ABI modifications:
1799 gnutls_pkcs11_privkey_generate: Added
1800 gnutls_pubkey_import_ecc_raw: Added
1801 gnutls_pubkey_import_ecc_x962: Added
1802 gnutls_pubkey_get_pk_ecc_x962: Added
1803 gnutls_record_get_discarded: Added
1806 * Version 3.0.2 (released 2011-09-01)
1808 ** libgnutls: OpenPGP certificate type is not enabled
1811 ** libgnutls: Added %NO_EXTENSIONS priority string.
1813 ** libgnutls: Corrected issue in gnutls_record_recv()
1814 triggered on encryption or compression error.
1816 ** libgnutls: Compatibility fixes in CPU ID detection
1817 for i386 and old GCC.
1819 ** gnutls-cli: Benchmark applications were incorporated
1822 ** libgnutls: Corrected parsing of XMPP subject
1825 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1828 ** libgnutls: gnutls_certificate_set_x509_key() and
1829 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1830 and allow the release of the private key during the
1831 lifetime of the certificate structure.
1833 ** API and ABI modifications:
1834 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1837 * Version 3.0.1 (released 2011-08-20)
1839 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1840 friends support server name indication. If multiple
1841 certificates are set using these functions the proper one
1842 will be selected during a handshake.
1844 ** libgnutls: Added AES-256-GCM which was left out from
1845 the previous release. Reported by Benjamin Hof.
1847 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1848 times, the flags in the callback were not being updated
1849 to reflect for PIN low count or final try.
1851 ** libgnutls: Do not allow second instances of PKCS #11
1854 ** libgnutls: fixed alignment issue in AES-NI code.
1856 ** libgnutls: The config file at gnutls_pkcs11_init()
1857 is being read if provided.
1859 ** libgnutls: Ensure that a certificate list specified
1860 using gnutls_certificate_set_x509_key() and friends, is
1861 sorted according to TLS specification (from subject to issuer).
1863 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1864 gnutls_x509_crt_list_import. It checks whether the list to be
1865 imported is properly sorted.
1867 ** crywrap: Added to the distribution. It is an application
1868 that proxies TLS session to a port using a plaintext service.
1870 ** doc: Many GTK-DOC improvements.
1872 ** i18n: Translations were updated.
1874 ** API and ABI modifications:
1875 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1876 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1879 * Version 3.0.0 (released 2011-07-29)
1881 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1884 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1887 ** certtool: bug fixes in certificate request generation. Patch
1890 ** API and ABI modifications:
1891 gnutls_pcert_list_import_x509_raw: ADDED
1894 * Version 2.99.4 (released 2011-07-23)
1896 ** doc: documentation updates.
1898 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1899 to avoid thread-safety issues. Reported by Sam Varshavchik.
1901 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1903 ** libgnutls: license upgraded to LGPLv3
1905 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1908 ** API and ABI modifications:
1909 No changes since last version.
1912 * Version 2.99.3 (released 2011-06-18)
1914 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1915 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1917 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1918 strings to enable the NSA SuiteB cryptography ciphersuites.
1920 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1921 verify data provided the signature algorithm.
1923 ** libgnutls: Simplified the handling of handshake messages to
1924 be hashed. Instead of hashing during the handshake process we now
1925 keep the data until handshake is over and hash them on request.
1926 This uses more memory but eliminates issues with TLS 1.2 and
1929 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1930 instruction. Uses Andy Polyakov's assembly code.
1932 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1933 gnutls_x509_trust_list_verify_named_crt() that allow having a
1934 list of certificates in the trusted list that will be associated
1935 with a name (e.g. server name) and will not be used as CAs.
1937 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1938 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1941 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1943 ** API and ABI modifications:
1944 gnutls_pubkey_verify_data2: ADDED
1945 gnutls_ecc_curve_get: ADDED
1946 gnutls_x509_trust_list_add_named_crt: ADDED
1947 gnutls_x509_trust_list_verify_named_crt: ADDED
1948 gnutls_x509_privkey_verify_data: REMOVED
1949 gnutls_crypto_bigint_register: REMOVED
1950 gnutls_crypto_cipher_register: REMOVED
1951 gnutls_crypto_digest_register: REMOVED
1952 gnutls_crypto_mac_register: REMOVED
1953 gnutls_crypto_pk_register: REMOVED
1954 gnutls_crypto_rnd_register: REMOVED
1955 gnutls_crypto_single_cipher_register: REMOVED
1956 gnutls_crypto_single_digest_register: REMOVED
1957 gnutls_crypto_single_mac_register: REMOVED
1958 GNUTLS_KX_ECDHE_PSK: New key exchange method
1959 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1960 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1961 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1964 * Version 2.99.2 (released 2011-05-26)
1966 ** libgnutls: Added Elliptic curve support. This is not
1967 enabled by default. Requires priority strings:
1968 +CURVE-ALL: to add all supported curves
1969 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1970 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1971 +ANON-ECDHE: to add anonymous ECDH
1973 ** libgnutls: PKCS #11 URLs conform to the latest draft
1974 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1976 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1979 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1980 to get important auditing information including the corresponding session.
1981 That might be useful to block DoS or other attacker from specific IPs.
1983 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1984 the public key algorithm of the key.
1986 ** libgnutls: Added gnutls_certificate_get_issuer() and
1987 gnutls_x509_trust_list_get_issuer() to compensate for the
1988 missing gnutls_certificate_get_x509_cas().
1990 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1991 verification of the self signature in a certificate request.
1992 This allows verifying whether the owner of the private key
1993 is the generator of the request.
1995 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1996 the self signature of the request.
1998 ** API and ABI modifications:
1999 gnutls_certificate_get_issuer: ADDED
2000 gnutls_x509_trust_list_get_issuer: ADDED
2001 gnutls_x509_crq_verify: ADDED
2002 gnutls_global_set_audit_log_function: ADDED
2003 gnutls_ecc_curve_get_name: ADDED
2004 gnutls_ecc_curve_get_size: ADDED
2005 gnutls_x509_privkey_import_ecc_raw: ADDED
2006 gnutls_x509_privkey_export_ecc_raw: ADDED
2007 gnutls_global_set_time_function: ADDED
2009 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
2010 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
2011 GNUTLS_KX_ECDHE_RSA: New key exchange method
2012 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
2013 GNUTLS_KX_ANON_ECDH: New key exchange method
2014 GNUTLS_PK_ECC: New public key algorithm
2015 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
2016 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
2017 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
2018 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
2019 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
2020 GNUTLS_ECC_CURVE_INVALID: New curve definition
2021 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
2022 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
2023 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
2024 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
2027 * Version 2.99.1 (released 2011-04-23)
2029 ** libgnutls: LZO support was removed.
2031 ** libgnutls: Corrections in SSLv2 client hello parsing.
2033 ** libgnutls: Added support for AES-NI if detected. Uses
2034 Andy Polyakov's AES-NI code.
2036 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
2037 weak, several sites require it for connection. It is enabled for
2038 "NORMAL" and "PERFORMANCE" priority strings.
2040 ** libgnutls: depend on libdl.
2042 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
2044 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
2045 function required GnuTLS to access system specific data, for no reason.
2046 Use gnutls_transport_set_errno(), or your system's errno fascility
2049 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
2050 to set a callback to retrieve a certificate. The certificate is
2051 received in a format that requires no processing from gnutls thus
2052 it is suitable when performance is required.
2054 ** API and ABI modifications:
2055 gnutls_transport_set_global_errno: REMOVED
2056 gnutls_certificate_set_retrieve_function2: ADDED
2058 * Version 2.99.0 (released 2011-04-09)
2060 ** libgnutls: Added Datagram TLS support.
2062 ** libgnutls: Uses a single configure file and a single
2063 gnulib library to save space.
2065 ** libgnutls: Several bug fixes.
2067 ** libgnutls: gnutls_transport_set_lowat() is no more.
2069 ** libgnutls-openssl: modified to use modern gnutls' functions.
2070 This introduces an ABI incompatibility with previous versions.
2072 ** libgnutls: Corrected signature generation and verification
2073 in the Certificate Verify message when in TLS 1.2. Reported
2076 ** libgnutlsxx: The C++ interface returns exception on
2077 every error and not only on fatal ones. This allows easier
2080 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
2083 ** libgnutls: SRP and PSK are no longer set on the default priorities.
2084 They have to be explicitly set.
2086 ** libgnutls: During handshake message verification using DSS
2087 use the hash algorithm required by it.
2089 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2090 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2092 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2094 ** libgnutls-extra: Inner application extension was removed.
2095 It was never standardized nor published as an RFC.
2097 ** libgnutls: Added new certificate verification functions, that
2098 can provide more details and are more efficient. Check
2099 gnutls_x509_trust_list_*.
2101 ** certtool: Uses the new certificate verification functions for
2104 ** certtool: Added new certificate verification functionality
2105 using the --verify option. Combined with --load-ca-certificate
2106 it can verify a certificate chain against a list of certificates.
2108 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2110 ** API and ABI modifications:
2111 gnutls_dtls_set_timeouts: ADDED
2112 gnutls_dtls_get_mtu: ADDED
2113 gnutls_dtls_get_data_mtu: ADDED
2114 gnutls_dtls_set_mtu: ADDED
2115 gnutls_dtls_cookie_send: ADDED
2116 gnutls_dtls_cookie_verify: ADDED
2117 gnutls_dtls_prestate_set: ADDED
2118 gnutls_x509_trust_list_verify_crt: ADDED
2119 gnutls_x509_trust_list_add_crls: ADDED
2120 gnutls_x509_trust_list_add_cas: ADDED
2121 gnutls_x509_trust_list_init: ADDED
2122 gnutls_x509_trust_list_deinit: ADDED
2123 gnutls_cipher_add_auth: ADDED
2124 gnutls_cipher_tag: ADDED
2125 gnutls_psk_netconf_derive_key: REMOVED
2126 gnutls_certificate_verify_peers: REMOVED
2127 gnutls_session_set_finished_function: REMOVED
2128 gnutls_ext_register: REMOVED
2129 gnutls_certificate_get_x509_crls: REMOVED
2130 gnutls_certificate_get_x509_cas: REMOVED
2131 gnutls_certificate_get_openpgp_keyring: REMOVED
2132 gnutls_session_get_server_random: REMOVED
2133 gnutls_session_get_client_random: REMOVED
2134 gnutls_session_get_master_secret: REMOVED
2135 gnutls_ia_allocate_client_credentials: REMOVED
2136 gnutls_ia_allocate_server_credentials: REMOVED
2137 gnutls_ia_enable: REMOVED
2138 gnutls_ia_endphase_send: REMOVED
2139 gnutls_ia_extract_inner_secret: REMOVED
2140 gnutls_ia_free_client_credentials: REMOVED
2141 gnutls_ia_free_server_credentials: REMOVED
2142 gnutls_ia_generate_challenge: REMOVED
2143 gnutls_ia_get_client_avp_ptr: REMOVED
2144 gnutls_ia_get_server_avp_ptr: REMOVED
2145 gnutls_ia_handshake: REMOVED
2146 gnutls_ia_handshake_p: REMOVED
2147 gnutls_ia_permute_inner_secret: REMOVED
2148 gnutls_ia_recv: REMOVED
2149 gnutls_ia_send: REMOVED
2150 gnutls_ia_set_client_avp_function: REMOVED
2151 gnutls_ia_set_client_avp_ptr: REMOVED
2152 gnutls_ia_set_server_avp_function: REMOVED
2153 gnutls_ia_set_server_avp_ptr: REMOVED
2154 gnutls_ia_verify_endphase: REMOVED
2157 * Version 2.12.2 (released 2011-04-08)
2159 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2161 ** libgnutls: Several bug and memory leak fixes.
2163 ** srptool: Accepts the -d option to enable debugging.
2165 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2166 the allocation of a verifier. Reported by Andrew Wiseman.
2168 ** API and ABI modifications:
2169 No changes since last version.
2172 * Version 2.12.1 (released 2011-04-02)
2174 ** certtool: Generated certificate request with stricter permissions.
2175 Reported by Luca Capello.
2177 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2179 ** libgnutls: Corrected windows system_errno() function prototype.
2181 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2183 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2184 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2186 ** API and ABI modifications:
2187 No changes since last version.
2192 * Version 2.12.0 (released 2011-03-24)
2194 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2195 the incompatibility with TLS other than 1.2.
2197 ** libgnutls: Modified signature algorithm selection in client
2198 certificate request, to avoid failures in DSA certificates.
2200 ** libgnutls: Instead of failing with internal error, return
2201 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2202 key with the negotiated protocol is encountered.
2204 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2206 ** libgnutls: Force state update when fork is detected in the nettle
2209 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2210 subkey instead of setting explicitly one.
2212 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2214 ** libgnutls-openssl: modified to use modern gnutls' functions.
2215 This introduces an ABI incompatibility with previous versions.
2217 ** API and ABI modifications:
2218 gnutls_pubkey_import_openpgp: MODIFIED
2223 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2224 replaced by gnutls_privkey_sign_hash2().
2226 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2227 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2228 gnutls_x509_crt_verify_hash return the negative error code
2229 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2232 ** libgnutls: Added helper functions for signature verification:
2233 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2235 ** libgnutls: Modified gnutls_privkey_sign_data().
2237 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2238 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2239 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2240 deprecated for gnutls_x509_crl_privkey_sign(),
2241 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2242 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2243 gnutls_pubkey_verify_data() respectively.
2245 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2248 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2249 and gnutls_x509_crt_list_import2().
2251 ** crypto.h: Fix use with C++.
2252 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2254 ** API and ABI modifications:
2255 gnutls_x509_crl_list_import: ADDED
2256 gnutls_x509_crl_list_import2: ADDED
2257 gnutls_x509_crt_list_import2: ADDED
2258 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2259 gnutls_pubkey_import_privkey: ADDED
2260 gnutls_pubkey_verify_data: ADDED
2261 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2262 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2263 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2264 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2265 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2266 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2267 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2268 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2269 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2270 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2271 gnutls_session_set_finished_function: DEPRECATED
2272 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2273 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2274 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2275 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2276 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2277 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2278 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2279 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2281 * Version 2.11.6 (released 2010-12-06)
2283 ** libgnutls: Record version of Client Hellos is now set by default to
2284 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2287 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2288 This makes us comply with RFC3279. Reported by Michael Rommel.
2290 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2292 ** API and ABI modifications:
2293 No changes since last version.
2295 * Version 2.11.5 (released 2010-12-01)
2297 ** libgnutls: Reverted default behavior for verification and
2298 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2299 V1 trusted CAs are allowed, unless the new flag is specified.
2301 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2302 Reported by Jeffrey Walton.
2304 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2305 as priority strings. Those allow to set all the supported algorithms
2308 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2310 ** gnutls-cli: Print channel binding only in verbose mode.
2311 Before it printed it after the 'Compression:' output, thus breaking
2312 Emacs starttls.el string searches.
2314 ** API and ABI modifications:
2315 gnutls_pkcs11_token_init: New function
2316 gnutls_pkcs11_token_set_pin: New function
2318 * Version 2.11.4 (released 2010-10-15)
2320 ** libgnutls: Add new API gnutls_session_channel_binding.
2321 The function is used to get the channel binding data. Currently only
2322 the "tls-unique" (RFC 5929) channel binding type is supported, through
2323 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2326 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2328 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2330 ** build: Update gnulib files.
2332 ** i18n: Update translations.
2334 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2336 ** API and ABI modifications:
2337 gnutls_session_channel_binding: New function.
2338 gnutls_channel_binding_t: New enumeration.
2339 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2340 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2342 * Version 2.11.3 (released 2010-10-14)
2344 ** Indent code to follow the GNU Coding Standard.
2345 You should be able to unpack the 2.11.2 release and run 'make indent'
2346 twice to get exactly the same content as 2.11.3 except for generated
2347 files. Using GNU Indent 2.2.11.
2349 ** API and ABI modifications:
2350 No changes since last version.
2352 * Version 2.11.2 (released 2010-10-08)
2354 ** libgnutls: Several bug fixes on session resumption
2355 and session tickets support.
2357 ** libgnutls: Add new extended key usage ipsecIKE.
2359 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2360 --p11-export-url, --p11-list-certs, --p11-list-certs,
2361 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2362 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2363 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2366 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2367 introduced with the new nettle code.
2369 ** libgnutls: Corrected advertizing issue for session tickets.
2371 ** API and ABI modifications:
2372 gnutls_x509_crt_get_subject_unique_id: ADDED.
2373 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2375 * Version 2.11.1 (released 2010-09-14)
2377 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2378 to use the libgcrypt back end.
2380 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2381 backend crypto library.
2383 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2385 ** libgnutls: Several updates in the buffering internal interface.
2387 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2388 tabs are being skipped.
2390 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2392 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2395 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2396 system calls. Applications that depended on it being 1 should explicitly call
2397 gnutls_transport_set_lowat().
2399 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2400 to ECRYPT II recommendations. Mappings were moved to a single location
2401 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2402 and 3072 keys only).
2404 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2405 gnutls_x509_privkey_import_pkcs8() without a password, if it
2406 is unable to decode the key.
2408 ** libgnutls: HMAC-MD5 no longer used by default.
2410 ** API and ABI modifications:
2411 gnutls_openpgp_privkey_sec_param: ADDED
2412 gnutls_x509_privkey_sec_param: ADDED
2414 * Version 2.11.0 (released 2010-07-22)
2416 ** libgnutls: support scattered write using writev(). This takes
2417 advantage of the new buffering layer and allows queuing of packets
2418 and flushing them. This is currently used for handshake messages
2421 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2422 alternative locking procedures. By default the system available
2423 locking is used. In *NIX pthreads are used and in windows the
2424 critical section API. This follows a different approach than the
2425 previous versions that depended on libgcrypt initialization. The
2426 locks are now set by default in systems that support it. Programs
2427 that used gcry_control() to set thread locks should insert it into
2429 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2433 ** libgnutls: Added support for reading DN from EV-certificates.
2435 jurisdictionOfIncorporationLocalityName,
2436 jurisdictionOfIncorporationStateOrProvinceName,
2437 jurisdictionOfIncorporationCountryName
2439 ** libgnutls: Added support for DSA signing/verifying with bit
2442 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2443 has to be called to register any required md5 handlers.
2445 ** libgnutls: Internal buffering code was replaced by simpler
2446 code contributed by Jonathan Bastien-Filiatrault.
2448 ** libgnutls: Internal API for extensions augmented to allow
2449 safe storing and loading of data on resumption. This allows writing
2450 self-contained extensions (when possible). As a side effect
2451 the OPRFI extension was removed.
2453 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2455 ** libgnutls: Added PKCS #11 support and an API to access objects in
2456 gnutls/pkcs11.h. Currently certificates and public keys can be
2457 imported from tokens, and operations can be performed on private keys.
2459 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2461 ** libgnutls: Added initial support for the nettle library. It uses
2462 the system's random generator for seeding. That is /dev/urandom in Linux,
2463 system calls in Win32 and EGD on other systems.
2465 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2466 works even when resuming a session.
2468 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2469 similar gnutls_certificate_set_server_retrieve_function() and
2470 gnutls_certificate_set_client_retrieve_function(). In addition it support
2471 PKCS #11 private keys.
2473 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2474 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2476 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2477 sizes for private keys using a human understandable scale.
2479 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2480 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2481 --pkcs11-delete-url, --pkcs11-write
2483 certtool: The --pkcs-cipher is taken into account when generating a
2484 private key. The default cipher used now is aes-128. The old behavior can
2485 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2487 certtool: Added --certificate-pubkey to print the public key of the
2490 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2491 can now accept a PKCS #11 URL in addition to a file. This will allow for
2492 example to use the Gnome-keyring trusted certificate list to verify
2493 connections using a url such as:
2494 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2496 ** API and ABI modifications:
2497 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2498 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2499 gnutls_sign_callback_set: DEPRECATED
2500 gnutls_global_set_mutex: ADDED
2501 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2502 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2503 gnutls_x509_privkey_export_rsa_raw2: ADDED
2505 gnutls_sec_param_to_pk_bits: ADDED
2506 gnutls_pk_bits_to_sec_param: ADDED
2507 gnutls_sec_param_get_name: ADDED
2508 gnutls_pkcs11_type_get_name: ADDED
2509 gnutls_certificate_set_retrieve_function: ADDED
2510 gnutls_pkcs11_init: ADDED
2511 gnutls_pkcs11_deinit: ADDED
2512 gnutls_pkcs11_set_pin_function: ADDED
2513 gnutls_pkcs11_set_token_function: ADDED
2514 gnutls_pkcs11_add_provider: ADDED
2515 gnutls_pkcs11_obj_init: ADDED
2516 gnutls_pkcs11_obj_import_url: ADDED
2517 gnutls_pkcs11_obj_export_url: ADDED
2518 gnutls_pkcs11_obj_deinit: ADDED
2519 gnutls_pkcs11_obj_export: ADDED
2520 gnutls_pkcs11_obj_list_import_url: ADDED
2521 gnutls_pkcs11_obj_export: ADDED
2522 gnutls_x509_crt_import_pkcs11: ADDED
2523 gnutls_pkcs11_obj_get_type: ADDED
2524 gnutls_x509_crt_list_import_pkcs11: ADDED
2525 gnutls_x509_crt_import_pkcs11_url: ADDED
2526 gnutls_pkcs11_obj_get_info: ADDED
2527 gnutls_pkcs11_token_get_info: ADDED
2528 gnutls_pkcs11_token_get_url: ADDED
2529 gnutls_pkcs11_privkey_init: ADDED
2530 gnutls_pkcs11_privkey_deinit: ADDED
2531 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2532 gnutls_pkcs11_privkey_get_info: ADDED
2533 gnutls_pkcs11_privkey_import_url: ADDED
2534 gnutls_pkcs11_privkey_sign_data: ADDED
2535 gnutls_pkcs11_privkey_sign_hash: ADDED
2536 gnutls_pkcs11_privkey_decrypt_data: ADDED
2537 gnutls_privkey_init: ADDED
2538 gnutls_privkey_deinit: ADDED
2539 gnutls_privkey_get_pk_algorithm: ADDED
2540 gnutls_privkey_get_type: ADDED
2541 gnutls_privkey_import_pkcs11: ADDED
2542 gnutls_privkey_import_x509: ADDED
2543 gnutls_privkey_import_openpgp: ADDED
2544 gnutls_privkey_sign_data: ADDED
2545 gnutls_privkey_sign_hash: ADDED
2546 gnutls_privkey_decrypt_data: ADDED
2547 gnutls_pkcs11_privkey_export_url: ADDED
2548 gnutls_x509_crq_privkey_sign: ADDED
2549 gnutls_x509_crl_privkey_sign: ADDED
2550 gnutls_x509_crt_privkey_sign: ADDED
2551 gnutls_pubkey_init: ADDED
2552 gnutls_pubkey_deinit: ADDED
2553 gnutls_pubkey_get_pk_algorithm: ADDED
2554 gnutls_pubkey_import_x509: ADDED
2555 gnutls_pubkey_import_openpgp: ADDED
2556 gnutls_pubkey_get_pk_rsa_raw: ADDED
2557 gnutls_pubkey_get_pk_dsa_raw: ADDED
2558 gnutls_pubkey_export: ADDED
2559 gnutls_pubkey_get_key_id: ADDED
2560 gnutls_pubkey_get_key_usage: ADDED
2561 gnutls_pubkey_verify_hash: ADDED
2562 gnutls_pubkey_get_verify_algorithm: ADDED
2563 gnutls_pkcs11_type_get_name: ADDED
2564 gnutls_pubkey_import_pkcs11_url: ADDED
2565 gnutls_pubkey_import: ADDED
2566 gnutls_pubkey_import_pkcs11: ADDED
2567 gnutls_pubkey_import_dsa_raw: ADDED
2568 gnutls_pubkey_import_rsa_raw: ADDED
2569 gnutls_x509_crt_set_pubkey: ADDED
2570 gnutls_x509_crq_set_pubkey: ADDED
2571 gnutls_pkcs11_copy_x509_crt: ADDED
2572 gnutls_pkcs11_copy_x509_privkey: ADDED
2573 gnutls_pkcs11_delete_url: ADDED
2575 * Version 2.10.1 (released 2010-07-25)
2577 ** libgnutls: Added support for broken certificates that indicate RSA
2580 ** gnutls-cli: Allow verification using V1 CAs.
2582 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2583 gnutls_x509_privkey_import_pkcs8() without a password, if it
2584 is unable to decode the key.
2586 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2587 a memory leak. Reported by Mads Kiilerich.
2589 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2590 issue a warning, that the output key might not be working everywhere.
2592 ** certtool: The --pkcs-cipher is taken into account when generating a
2593 private key. The default cipher used now is aes-128. The old behavior
2594 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2596 ** API and ABI modifications:
2597 No changes since last version.
2599 * Version 2.10.0 (released 2010-06-25)
2601 ** API and ABI modifications:
2602 No changes since last version.
2604 * Version 2.9.12 (released 2010-06-17)
2606 ** gnutls-cli: Make --starttls work again.
2607 Problem introduced in patch to use read() instead of fgets() committed
2610 ** API and ABI modifications:
2611 No changes since last version.
2613 * Version 2.9.11 (released 2010-06-07)
2615 ** libgnutls: Removed two APIs related to safe renegotiation.
2616 Use priority strings instead. The APIs were
2617 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2618 (Remember that we don't promise ABI stability during development
2619 series, so this doesn't cause an shared library ABI increment.)
2621 ** tests: More self testing of safe renegotiation extension.
2622 See tests/safe-renegotiation/README for more information.
2624 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2626 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2628 ** API and ABI modifications:
2629 gnutls_safe_negotiation_set_initial: REMOVED.
2630 gnutls_safe_renegotiation_set: REMOVED.
2632 * Version 2.9.10 (released 2010-04-22)
2634 ** libgnutls: Time verification extended to trusted certificate list.
2635 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2638 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2639 Based on patch by Pavan Konjarla. Adds new constant
2640 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2642 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2643 Solves the issue discussed in:
2644 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2645 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2646 Note that to allow connecting to unpatched servers the full protection
2647 is only enabled if the priority string %SAFE_RENEGOTIATION is
2648 specified. You can check whether protection is in place by querying
2649 gnutls_safe_renegotiation_status(). New error codes
2650 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2651 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2653 ** libgnutls: When checking openpgp self signature also check the signatures
2655 Ilari Liusvaara noticed and reported the issue and provided test
2658 ** libgnutls: Added cryptodev support (/dev/crypto).
2659 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2660 benchmark utility for AES. Adds new error codes
2661 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2663 ** libgnutls: Exported API to access encryption and hash algorithms.
2664 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2665 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2666 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2667 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2668 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2669 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2670 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2672 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2673 verification of certificate upon receipt rather than waiting until the
2674 end of the handshake.
2676 ** libgnutls: Don't send alerts during handshake.
2677 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2679 ** certtool: Corrected two issues that affected certificate request generation.
2680 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2681 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2682 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2683 those parameters there since other implementations don't do either and having
2684 them does not seem to offer anything (anyway you need the signer's certificate
2685 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2686 This however has the side-effect that public key IDs shown by certtool are
2687 now different than previous gnutls releases.
2688 (3) the option --pgp-certificate-info will verify self signatures
2690 ** certtool: Allow exporting of Certificate requests on DER format.
2692 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2694 ** gnutls-cli: Handle reading binary data from server.
2695 Reported by and tiny patch from Vitaly Mayatskikh
2696 <v.mayatskih@gmail.com> in
2697 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2699 ** minitasn1: Upgraded to libtasn1 version 2.6.
2701 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2702 ** Added Italian and Simplified Chinese translation.
2703 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2704 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2706 ** doc: The GTK-DOC manual is significantly improved.
2708 ** API and ABI modifications:
2709 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2710 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2711 %UNSAFE_RENEGOTIATION: Added to priority strings.
2712 GNUTLS_DIG_SHA224: ADDED.
2713 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2714 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2715 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2716 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2717 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2718 GNUTLS_MAC_SHA224: ADDED.
2719 GNUTLS_OID_X520_NAME: ADDED.
2720 GNUTLS_OID_X520_POSTALCODE: ADDED.
2721 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2722 GNUTLS_VERSION_MAX: ADDED.
2723 gnutls_certificate_set_verify_function: ADDED.
2724 gnutls_cipher_decrypt: ADDED.
2725 gnutls_cipher_deinit: ADDED.
2726 gnutls_cipher_encrypt: ADDED.
2727 gnutls_cipher_get_block_size: ADDED.
2728 gnutls_cipher_init: ADDED.
2730 gnutls_hash_deinit: ADDED.
2731 gnutls_hash_fast: ADDED.
2732 gnutls_hash_get_len: ADDED.
2733 gnutls_hash_init: ADDED.
2734 gnutls_hash_output: ADDED.
2736 gnutls_hmac_deinit: ADDED.
2737 gnutls_hmac_fast: ADDED.
2738 gnutls_hmac_get_len: ADDED.
2739 gnutls_hmac_init: ADDED.
2740 gnutls_hmac_output: ADDED.
2741 gnutls_safe_negotiation_set_initial: ADDED.
2742 gnutls_safe_renegotiation_set: ADDED.
2743 gnutls_safe_renegotiation_status: ADDED.
2745 * Version 2.9.9 (released 2009-11-09)
2747 ** libgnutls: Cleanups and several bug fixes.
2748 Found by Steve Grubb and Tomas Mraz.
2750 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2752 ** Fix --disable-valgrind-tests.
2753 Reported by Ingmar Vanhassel in
2754 <https://savannah.gnu.org/support/?107029>.
2756 ** API and ABI modifications:
2757 No changes since last version.
2759 * Version 2.9.8 (released 2009-11-05)
2761 ** libgnutls: Fix for memory leaks on interrupted handshake.
2762 Reported by Tang Tong.
2764 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2765 ** extension and certificate verify field.
2766 This requires changes for TLS 1.2 servers and clients that use
2767 callbacks for certificate retrieval. They are now required to check
2768 with gnutls_sign_algorithm_get_requested() whether the certificate
2769 they send complies with the peer's preferences in signature
2772 ** libgnutls: In server side when resuming a session do not overwrite the
2773 ** initial session data with the resumed session data.
2775 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2777 This affects also PKCS #12 encoded files. This adds the following new
2778 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2779 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2781 ** libgnutls: Fix PKCS#12 encoding.
2782 The error you would get was "The OID is not supported.". Problem
2783 introduced for the v2.8.x branch in 2.7.6.
2785 ** certtool: Added the --pkcs-cipher option.
2786 To explicitely specify the encryption algorithm to use.
2788 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2790 ** tests: Fix time bomb in chainverify self-test.
2791 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2792 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2794 ** tests: Fix expired cert in chainverify self-test.
2796 ** i18n: Vietnamese translation updated.
2797 Thanks to Clytie Siddall.
2799 ** API and ABI modifications:
2800 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2801 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2802 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2803 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2804 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2805 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2806 gnutls_sign_algorithm_get_requested: ADDED.
2808 * Version 2.9.7 (released 2009-10-06)
2810 ** libgnutls: TLS 1.2 server mode fixes.
2811 Now interoperates against Opera. Contributed by Daiki Ueno.
2813 ** libgnutlsxx: Fix link problems.
2814 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2816 ** guile: Compatibility with guile 2.x.
2817 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2819 ** API and ABI modifications:
2820 No changes since last version.
2822 * Version 2.9.6 (released 2009-09-22)
2824 ** libgnutls: Enable Camellia ciphers by default.
2826 ** API and ABI modifications:
2827 No changes since last version.
2829 * Version 2.9.5 (released 2009-09-10)
2831 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2832 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2833 gnutls_x509_crt_get_issuer_alt_name, and
2834 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2835 Hards <bradh@frogmouth.net>.
2837 ** API and ABI modifications:
2838 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2839 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2840 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2842 * Version 2.9.4 (released 2009-09-03)
2844 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2845 The new supported ciphersuites are AES-128/256 in CBC mode with
2846 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2847 SHA-256 is now the preferred default MAC (however it is only used with
2850 ** libgnutls: Make OpenPGP hostname checking work again.
2851 The patch to resolve the X.509 CN/SAN issue accidentally broken
2852 OpenPGP hostname comparison.
2854 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2855 Reported by Howard Chu <hyc@symas.com> in
2856 <https://savannah.gnu.org/support/?106975>.
2858 ** Fix use of deprecated types internally.
2859 Use of deprecated types in GnuTLS from now on will lead to a compile
2860 error, to prevent this from happening again.
2862 ** API and ABI modifications:
2863 No changes since last version.
2865 * Version 2.9.3 (released 2009-08-19)
2867 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2868 The new APIs are gnutls_session_ticket_enable_client,
2869 gnutls_session_ticket_enable_server, and
2870 gnutls_session_ticket_key_generate.
2872 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2874 ** API and ABI modifications:
2875 gnutls_session_ticket_key_generate: ADDED.
2876 gnutls_session_ticket_enable_client: ADDED.
2877 gnutls_session_ticket_enable_server: ADDED.
2879 * Version 2.9.2 (released 2009-08-14)
2881 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2882 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2883 into 1) not printing the entire CN/SAN field value when printing a
2884 certificate and 2) cause incorrect positive matches when matching a
2885 hostname against a certificate. Some CAs apparently have poor
2886 checking of CN/SAN values and issue these (arguable invalid)
2887 certificates. Combined, this can be used by attackers to become a
2888 MITM on server-authenticated TLS sessions. The problem is mitigated
2889 since attackers needs to get one certificate per site they want to
2890 attack, and the attacker reveals his tracks by applying for a
2891 certificate at the CA. It does not apply to client authenticated TLS
2892 sessions. Research presented independently by Dan Kaminsky and Moxie
2893 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2894 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2896 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2897 The function may fail incorrectly when an earlier certificate was
2898 imported to the same gnutls_x509_crt_t structure.
2900 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2902 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2903 Before it always returned false. Reported by Peter Hendrickson
2904 <pdh@wiredyne.com> in
2905 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2907 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2908 The error resulted in truncated strings when printing unknown OIDs in
2909 X.509 certificate DNs. Reported by Tim Kosse
2910 <tim.kosse@filezilla-project.org> in
2911 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2913 ** libgnutls: Fix PKCS#12 decryption from password.
2914 The encryption key derived from the password was incorrect for (on
2915 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2916 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2917 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2919 ** libgnutls: Return correct bit lengths of some MPIs.
2920 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2921 gnutls_dh_get_peers_public_bits. Before the reported value was
2922 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2923 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2925 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2926 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2927 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2929 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2931 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2932 Before we required that the runtime library used the same (or more
2933 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2934 that the runtime usage is above the minimum required. Reported by
2935 Marco d'Itri <md@linux.it> via Andreas Metzler
2936 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2938 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2940 ** tests: Improved test vectors in self-test pkcs12_s2k.
2942 ** tests: Added new self-test dn2 to detect off-by-one size error.
2944 ** tests: Fix failure in "chainverify" because a certificate have expired.
2946 ** API and ABI modifications:
2947 No changes since last version.
2949 * Version 2.9.1 (released 2009-06-08)
2951 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2952 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2953 <http://bugs.gentoo.org/272388>.
2955 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2957 ** Reduce stack usage for some CRQ functions.
2959 ** Doc fixes for CRQ functions.
2961 ** API and ABI modifications:
2962 No changes since last version.
2964 * Version 2.9.0 (released 2009-05-28)
2968 ** API and ABI modifications:
2969 No changes since last version.
2971 * Version 2.8.6 (released 2010-03-15)
2973 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2974 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2975 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2977 Note: As a side effect of this change, the "public key identifier"
2978 value computed for a certificate using this version of GnuTLS will be
2979 different from values computed using earlier versions of GnuTLS.
2981 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2982 ** optional SignatureAlgorithm parameter field.
2983 VeriSign rejected these CSRs. They are stricly speaking not needed
2984 since you need the signer's certificate to verify the certificate
2985 signature anyway. Reported by Wilankar Trupti
2986 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2988 ** libgnutls: When checking openpgp self signature also check the signatures
2990 Ilari Liusvaara noticed and reported the issue and provided test
2993 ** libgnutls: Cleanups and several bug fixes.
2994 Found by Steve Grubb and Tomas Mraz.
2996 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2998 ** Fix --disable-valgrind-tests.
2999 Reported by Ingmar Vanhassel in
3000 <https://savannah.gnu.org/support/?107029>.
3002 ** examples: Use the new APIs for printing X.509 certificate information.
3004 ** Fix build failures on Solaris.
3005 Thanks to Dagobert Michelsen <dam@opencsw.org>.
3007 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
3008 ** translations. Added Simplified Chinese translation.
3010 ** API and ABI modifications:
3011 No changes since last version.
3013 * Version 2.8.5 (released 2009-11-02)
3015 ** libgnutls: In server side when resuming a session do not overwrite the
3016 ** initial session data with the resumed session data.
3018 ** libgnutls: Fix PKCS#12 encoding.
3019 The error you would get was "The OID is not supported.". Problem
3020 introduced for the v2.8.x branch in 2.7.6.
3022 ** guile: Compatibility with guile 2.x.
3023 By Ludovic Courtes <ludovic.courtes@laas.fr>.
3025 ** tests: Fix expired cert in chainverify self-test.
3027 ** tests: Fix time bomb in chainverify self-test.
3028 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3029 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3031 ** API and ABI modifications:
3032 No changes since last version.
3034 * Version 2.8.4 (released 2009-09-18)
3036 ** libgnutls: Enable Camellia ciphers by default.
3038 ** libgnutls: Make OpenPGP hostname checking work again.
3039 The patch to resolve the X.509 CN/SAN issue accidentally broken
3040 OpenPGP hostname comparison.
3042 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3043 Reported by Howard Chu <hyc@symas.com> in
3044 <https://savannah.gnu.org/support/?106975>.
3046 ** API and ABI modifications:
3047 No changes since last version.
3049 * Version 2.8.3 (released 2009-08-13)
3051 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
3052 Code intended to be removed would lead to an read-out-bound error in
3053 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
3054 code have been allocated for the vulnerability: [CVE-2009-2730].
3056 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3057 The function may fail incorrectly when an earlier certificate was
3058 imported to the same gnutls_x509_crt_t structure.
3060 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
3062 ** tests: Made self-test mini-eagain take less time.
3066 ** API and ABI modifications:
3067 No changes since last version.
3069 * Version 2.8.2 (released 2009-08-10)
3071 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3072 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3073 into 1) not printing the entire CN/SAN field value when printing a
3074 certificate and 2) cause incorrect positive matches when matching a
3075 hostname against a certificate. Some CAs apparently have poor
3076 checking of CN/SAN values and issue these (arguable invalid)
3077 certificates. Combined, this can be used by attackers to become a
3078 MITM on server-authenticated TLS sessions. The problem is mitigated
3079 since attackers needs to get one certificate per site they want to
3080 attack, and the attacker reveals his tracks by applying for a
3081 certificate at the CA. It does not apply to client authenticated TLS
3082 sessions. Research presented independently by Dan Kaminsky and Moxie
3083 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3084 for providing one part of the patch. [GNUTLS-SA-2009-4].
3086 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3087 Before it always returned false. Reported by Peter Hendrickson
3088 <pdh@wiredyne.com> in
3089 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3091 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3092 The error resulted in truncated strings when printing unknown OIDs in
3093 X.509 certificate DNs. Reported by Tim Kosse
3094 <tim.kosse@filezilla-project.org> in
3095 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3097 ** libgnutls: Return correct bit lengths of some MPIs.
3098 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3099 gnutls_dh_get_peers_public_bits. Before the reported value was
3100 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3101 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3103 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3104 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3105 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3107 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3109 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3110 Before we required that the runtime library used the same (or more
3111 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3112 that the runtime usage is above the minimum required. Reported by
3113 Marco d'Itri <md@linux.it> via Andreas Metzler
3114 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3116 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3118 ** tests: Fix failure in "chainverify" because a certificate have expired.
3120 ** API and ABI modifications:
3121 No changes since last version.
3123 * Version 2.8.1 (released 2009-06-10)
3125 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3126 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3127 <http://bugs.gentoo.org/272388>.
3129 ** libgnutls: Fix PKCS#12 decryption from password.
3130 The encryption key derived from the password was incorrect for (on
3131 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3132 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3133 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3135 ** API and ABI modifications:
3136 No changes since last version.
3138 * Version 2.8.0 (released 2009-05-27)
3140 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3142 ** Major changes compared to the v2.4 branch:
3144 *** lib: Linker version scripts reduces number of exported symbols.
3146 *** lib: Limit exported symbols on systems without LD linker scripts.
3148 *** libgnutls: Fix namespace issue with version symbols.
3150 *** libgnutls: Add functions to verify a hash against a certificate.
3151 gnutls_x509_crt_verify_hash: ADDED
3152 gnutls_x509_crt_get_verify_algorithm: ADDED
3154 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3156 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3158 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3160 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3162 *** gnutls-serv: No longer disable MAC padding by default.
3164 *** gnutls-cli: Certificate information output format changed.
3166 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3167 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3169 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3171 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3173 *** libgnutls: gnutls_handshake when sending client hello during a
3174 rehandshake, will not offer a version number larger than the current.
3176 *** libgnutls: New interface to get key id for certificate requests.
3177 gnutls_x509_crq_get_key_id: ADDED.
3179 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3181 *** certtool: --verify-chain now prints results of using library verification.
3183 *** libgnutls: Libgcrypt initialization changed.
3185 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3187 *** gnutls-cli: Return non-zero exit code on error conditions.
3189 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3191 *** certtool: allow setting arbitrary key purpose object identifiers.
3193 *** libgnutls: Change detection of when to use a linker version script.
3194 Use --enable-ld-version-script or --disable-ld-version-script to
3195 override auto-detection logic.
3197 *** Fix warnings and build GnuTLS with more warnings enabled.
3199 *** New API to set X.509 credentials from PKCS#12 memory structure.
3200 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3202 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3203 Please use pkg-config instead.
3205 *** libgnutls: Added functions to handle CRL extensions.
3206 gnutls_x509_crl_get_authority_key_id: ADDED
3207 gnutls_x509_crl_get_number: ADDED
3208 gnutls_x509_crl_get_extension_oid: ADDED
3209 gnutls_x509_crl_get_extension_info: ADDED
3210 gnutls_x509_crl_get_extension_data: ADDED
3211 gnutls_x509_crl_set_authority_key_id: ADDED
3212 gnutls_x509_crl_set_number: ADDED
3214 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3216 gnutls_x509_crq_get_key_rsa_raw: ADDED
3217 gnutls_x509_crq_get_attribute_info: ADDED
3218 gnutls_x509_crq_get_attribute_data: ADDED
3219 gnutls_x509_crq_get_extension_info: ADDED
3220 gnutls_x509_crq_get_extension_data: ADDED
3221 gnutls_x509_crq_get_key_usage: ADDED
3222 gnutls_x509_crq_get_basic_constraints: ADDED
3223 gnutls_x509_crq_get_subject_alt_name: ADDED
3224 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3225 gnutls_x509_crq_get_extension_by_oid: ADDED
3226 gnutls_x509_crq_set_subject_alt_name: ADDED
3227 gnutls_x509_crq_set_basic_constraints: ADDED
3228 gnutls_x509_crq_set_key_usage: ADDED
3229 gnutls_x509_crq_get_key_purpose_oid: ADDED
3230 gnutls_x509_crq_set_key_purpose_oid: ADDED
3231 gnutls_x509_crq_print: ADDED
3232 gnutls_x509_crt_set_crq_extensions: ADDED
3234 *** certtool: Print and set CRL and CRQ extensions.
3236 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3238 *** examples: Now released into the public domain.
3240 *** The Texinfo and GTK-DOC manuals were improved.
3242 *** Several self-tests were added and others improved.
3244 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3245 No offically supported interfaces have been modified or removed. The
3246 library should be completely backwards compatible on both the source
3249 The shared library no longer exports some symbols that have never been
3250 officially supported, i.e., not mentioned in any of the header files.
3256 Normally when symbols are removed, the shared library version has to
3257 be incremented. This leads to a significant cost for everyone using
3258 the library. Because none of the above symbols have ever been
3259 intended for use by well-behaved applications, we decided that the it
3260 would be better for those applications to pay the price rather than
3261 incurring problems on the majority of applications.
3263 If it turns out that applications have been using unofficial
3264 interfaces, we will need to release a follow-on release on the v2.8
3265 branch to exports additional interfaces. However, initial testing
3266 suggests that few if any applications have been using any of the
3269 Although not a new change compared to 2.6.x, we'd like to remind you
3270 interfaces have been modified so that X.509 chain verification now
3271 also checks activation/expiration times on certificates. The affected
3274 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3275 gnutls_certificate_verify_peers: Likewise.
3276 gnutls_certificate_verify_peers2: Likewise.
3277 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3278 GNUTLS_CERT_EXPIRED: ADDED.
3279 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3281 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3282 we gave our rationale for it in earlier release notes.
3284 The following symbols have been added to the library:
3286 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3287 gnutls_x509_crl_get_authority_key_id: ADDED
3288 gnutls_x509_crl_get_extension_data: ADDED
3289 gnutls_x509_crl_get_extension_info: ADDED
3290 gnutls_x509_crl_get_extension_oid: ADDED
3291 gnutls_x509_crl_get_number: ADDED
3292 gnutls_x509_crl_set_authority_key_id: ADDED
3293 gnutls_x509_crl_set_number: ADDED
3294 gnutls_x509_crq_get_attribute_data: ADDED
3295 gnutls_x509_crq_get_attribute_info: ADDED
3296 gnutls_x509_crq_get_basic_constraints: ADDED
3297 gnutls_x509_crq_get_extension_by_oid: ADDED
3298 gnutls_x509_crq_get_extension_data: ADDED
3299 gnutls_x509_crq_get_extension_info: ADDED
3300 gnutls_x509_crq_get_key_id: ADDED.
3301 gnutls_x509_crq_get_key_purpose_oid: ADDED
3302 gnutls_x509_crq_get_key_rsa_raw: ADDED
3303 gnutls_x509_crq_get_key_usage: ADDED
3304 gnutls_x509_crq_get_subject_alt_name: ADDED
3305 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3306 gnutls_x509_crq_print: ADDED
3307 gnutls_x509_crq_set_basic_constraints: ADDED
3308 gnutls_x509_crq_set_key_purpose_oid: ADDED
3309 gnutls_x509_crq_set_key_usage: ADDED
3310 gnutls_x509_crq_set_subject_alt_name: ADDED
3311 gnutls_x509_crt_get_verify_algorithm: ADDED
3312 gnutls_x509_crt_set_crq_extensions: ADDED
3313 gnutls_x509_crt_verify_hash: ADDED
3315 The following interfaces have been added to the header files:
3317 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3318 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3319 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3320 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3321 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3322 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3324 The following interfaces have been deprecated:
3326 LIBGNUTLS_VERSION: DEPRECATED.
3327 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3328 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3329 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3330 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3331 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3333 * Version 2.7.14 (released 2009-05-26)
3335 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3336 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3337 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3340 ** Doc: Several typo fixes in documentation.
3341 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3343 ** API and ABI modifications:
3344 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3345 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3347 * Version 2.7.13 (released 2009-05-25)
3349 ** libgnutls: Fix version of some exported symbols in the shared library.
3350 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3351 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3353 ** tests: Handle recently expired certificates in chainverify self-test.
3354 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3355 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3357 ** API and ABI modifications:
3358 No changes since last version.
3360 * Version 2.7.12 (released 2009-05-20)
3362 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3364 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3365 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3366 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3368 ** Fix build failures.
3369 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3370 G. Christensen" <tgc@jupiterrise.com> in
3371 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3373 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3374 GnuTLS should work fine with libtasn1 v1.x and that is still
3377 ** API and ABI modifications:
3378 No changes since last version.
3380 * Version 2.7.11 (released 2009-05-18)
3382 ** minitasn1: Fix build failure when using internal libtasn1.
3383 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3384 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3386 ** libgnutls: Fix build failure with --disable-cxx.
3387 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3388 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3390 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3391 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3392 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3394 ** Building with many warning flags now requires --enable-gcc-warnings.
3395 This avoids crying wolf for normal compiles.
3397 ** API and ABI modifications:
3398 No changes since last version.
3400 * Version 2.7.10 (released 2009-05-13)
3402 ** examples: Now released into the public domain.
3403 This makes the license of the example code compatible with more
3404 licenses, including the (L)GPL.
3406 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3407 GnuTLS should work fine with libtasn1 v1.x and that is still
3410 ** libgnutls: Fix crash in signature verification
3411 The fix for the CVE-2009-1415 problem wasn't merged completely.
3413 ** doc: Fixes for GTK-DOC output.
3415 ** API and ABI modifications:
3416 No changes since last version.
3418 * Version 2.7.9 (released 2009-05-11)
3420 ** doc: Fix strings in man page of gnutls_priority_init.
3422 ** doc: Fix tables of error codes and supported algorithms.
3424 ** Fix build failure when cross-compiled using MinGW.
3426 ** Fix build failure when LZO is enabled.
3427 Reported by Arfrever Frehtes Taifersar Arahesis
3428 <arfrever.fta@gmail.com> in
3429 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3431 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3432 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3433 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3435 ** Fix warnings in self-tests.
3437 ** API and ABI modifications:
3438 No changes since last version.
3440 * Version 2.7.8 (released 2009-05-03)
3442 ** libgnutls: Fix DSA key generation.
3443 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3445 ** libgnutls: Check expiration/activation time on untrusted certificates.
3446 Merged from stable branch. Reported by Romain Francoise
3447 <romain@orebokech.com>. This changes the semantics of
3448 gnutls_x509_crt_list_verify, which in turn is used by
3449 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3450 We add two new gnutls_certificate_status_t codes for reporting the new
3451 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3452 We also add a new gnutls_certificate_verify_flags flag,
3453 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3454 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3456 ** lib: Linker version scripts reduces number of exported symbols.
3457 The linker version script now lists all exported ABIs explicitly, to
3458 avoid accidentally exporting unintended functions. Compared to
3459 before, most symbols beginning with _gnutls* are no longer exported.
3460 These functions have never been intended for use by applications, and
3461 there were no prototypes for these function in the public header
3462 files. Thus we believe it is possible to do this without incrementing
3463 the library ABI version which normally has to be done when removing an
3466 ** lib: Limit exported symbols on systems without LD linker scripts.
3467 Before all symbols were exported. Now we limit the exported symbols
3468 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3469 _gnutls*. This is a superset of the actual supported ABI, but still
3470 an improvement compared to before. This is implemented using Libtool
3471 -export-symbols-regex. It is more portable than linker version
3474 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3475 This should have been done in the last release.
3477 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3478 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3479 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3481 ** doc: Improved sections for the info manual.
3482 We now follow the advice given by the texinfo manual on which
3483 directory categories to use. In particular, libgnutls moved from the
3484 'GNU Libraries' section to the 'Software libraries' and the command
3485 line tools moved from 'Network Applications' to 'System
3488 ** API and ABI modifications:
3489 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3490 gnutls_certificate_verify_peers: Likewise.
3491 gnutls_certificate_verify_peers2: Likewise.
3492 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3493 GNUTLS_CERT_EXPIRED: ADDED.
3494 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3496 * Version 2.7.7 (released 2009-04-20)
3498 ** libgnutls: Applied patch by Cedric Bail to add functions
3499 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3501 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3502 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3503 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3505 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3506 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3508 ** doc: Fix build failure of errcodes/printlist.
3509 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3510 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3512 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3513 It is currently only used by the core library. This will enable a new
3514 domain 'gnutls' for translations of the command line tools.
3516 ** Corrected possible memory corruption on signature verification failure.
3517 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3519 ** API and ABI modifications:
3520 gnutls_x509_crt_verify_hash: ADDED
3521 gnutls_x509_crt_get_verify_algorithm: ADDED
3523 * Version 2.7.6 (released 2009-02-27)
3525 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3526 This applies both to generating certificates and certificate requests.
3528 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3530 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3531 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3532 be used for chain verification.
3534 ** gnutls-serv: No longer disable MAC padding by default.
3535 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3537 ** gnutls-cli: Certificate information output format changed.
3538 The tool now uses libgnutls' functions to print certificate
3539 information. This avoids code duplication.
3541 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3542 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3543 They can be used to override the default certificate chain validation
3546 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3547 specify the client hello message record version. Used to overcome buggy
3548 TLS servers. Report by Martin von Gagern.
3550 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3552 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3554 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3556 ** API and ABI modifications:
3557 No changes since last version.
3559 * Version 2.7.5 (released 2009-02-06)
3561 ** libgnutls: Accept chains where intermediary certs are trusted.
3562 Before GnuTLS needed to validate the entire chain back to a
3563 self-signed certificate. GnuTLS will now stop looking when it has
3564 found an intermediary trusted certificate. The new behaviour is
3565 useful when chains, for example, contains a top-level CA, an
3566 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3567 To avoid chain validation errors due to the RSA-MD5 cert, you can
3568 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3569 The signature on trusted certificates are not checked, so the chain
3570 has a chance to validate correctly. Reported by "Douglas E. Engert"
3571 <deengert@anl.gov> in
3572 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3574 ** libgnutls: result_size in gnutls_hex_encode now holds
3575 the size of the result. Report by John Brooks <special@dereferenced.net>.
3577 ** libgnutls: gnutls_handshake when sending client hello during a
3578 rehandshake, will not offer a version number larger than the current.
3579 Reported by Tristan Hill <stan@saticed.me.uk>.
3581 ** libgnutls: Permit V1 Certificate Authorities properly.
3582 Before they were mistakenly rejected even though
3583 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3584 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3585 "Douglas E. Engert" <deengert@anl.gov> in
3586 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3588 ** API and ABI modifications:
3589 No changes since last version.
3591 * Version 2.7.4 (released 2009-01-07)
3593 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3594 This is a bugfix -- the previous attempt to do this from internal x509
3595 certificate verification procedures did not return the correct value
3596 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3597 <dkg@fifthhorseman.net> in
3598 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3599 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3600 Gillmor <dkg@fifthhorseman.net>.
3602 ** libgnutls: New interface to get key id for certificate requests.
3603 Patch from David Marín Carreño <davefx@gmail.com> in
3604 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3606 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3608 ** certtool: --verify-chain now prints results of using library verification.
3609 Earlier, certtool --verify-chain used its own validation algorithm
3610 which wasn't guaranteed to give the same result as the libgnutls
3611 internal validation algorithm. Now this command print a new final
3612 line with header 'Chain verification output:' that contains the result
3613 from using the internal verification algorithm on the same chain.
3615 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3617 ** API and ABI modifications:
3618 gnutls_x509_crq_get_key_id: ADDED.
3620 * Version 2.7.3 (released 2008-12-10)
3622 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3623 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3624 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3625 Andreas Metzler <ametzler@downhill.at.eu.org> in
3626 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3628 ** libgnutls: Libgcrypt initialization changed.
3629 If libgcrypt has not already been initialized, GnuTLS will now
3630 initialize libgcrypt with disabled secure memory. Initialize
3631 libgcrypt explicitly in your application if you want to enable secure
3632 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3633 allocation functions, which doesn't use secure memory, so there is no
3634 real change in behaviour.
3636 ** libgnutls: Fix memory leak in PSK authentication.
3637 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3638 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3640 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3642 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3643 It needs to be invoked before libgcrypt is initialized.
3645 ** gnutls-cli: Return non-zero exit code on error conditions.
3647 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3649 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3651 ** API and ABI modifications:
3652 No changes since last version.
3654 * Version 2.7.2 (released 2008-11-18)
3656 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3657 The flaw makes it possible for man in the middle attackers (i.e.,
3658 active attackers) to assume any name and trick GnuTLS clients into
3659 trusting that name. Thanks for report and analysis from Martin von
3660 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3662 Any updates with more details about this vulnerability will be added
3663 to <http://www.gnu.org/software/gnutls/security.html>
3665 ** libgnutls: Fix namespace issue with version symbols.
3666 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3667 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3668 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3669 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3670 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3671 work but are deprecated.
3673 ** certtool: allow setting arbitrary key purpose object identifiers.
3675 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3677 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3678 Reported by Kevin Quick <quick@sparq.org> in
3679 <https://savannah.gnu.org/support/index.php?106454>.
3681 ** libgnutls-extra: Make building with LZO compression work again.
3682 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3683 <arfrever.fta@gmail.com> in
3684 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3686 ** libgnutls: Change detection of when to use a linker version script.
3687 Use --enable-ld-version-script or --disable-ld-version-script to
3688 override auto-detection logic.
3690 ** doc: Change license on the manual to GFDLv1.3+.
3692 ** doc: GTK-DOC fixes for new splitted configuration system.
3694 ** doc: Texinfo stylesheet uses white background.
3696 ** tests: Add cve-2008-4989.c self-test.
3697 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3698 follow-on problem with crashes on length 1 certificate chains.
3700 ** gnulib: Deprecated modules removed.
3701 Modules include memchr and memcmp.
3703 ** Fix warnings and build GnuTLS with more warnings enabled.
3705 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3707 ** API and ABI modifications:
3708 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3709 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3710 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3711 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3712 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3713 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3714 LIBGNUTLS_VERSION: DEPRECATED.
3715 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3716 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3717 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3718 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3720 * Version 2.7.1 (released 2008-10-31)
3722 ** certtool: print a PKCS #8 key even if it is not encrypted.
3724 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3725 Please use pkg-config instead.
3727 ** Configuration system modified.
3728 There is now a configure script in lib/ and libextra/ as well, because
3729 gnulib works better with a config.h per gnulib directory.
3731 ** API and ABI modifications:
3732 No changes since last version.
3734 * Version 2.7.0 (released 2008-10-16)
3736 ** libgnutls: Added functions to handle CRL extensions.
3738 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3741 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3742 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3744 ** certtool: Print and set CRL and CRQ extensions.
3746 ** libgnutls-extra: Protect internal symbols with static.
3747 Fixes problem when linking certtool statically. Tiny patch from Aaron
3748 Ucko <ucko@ncbi.nlm.nih.gov>.
3750 ** libgnutls-openssl: fix out of bounds access.
3751 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3752 from Thomas Viehmann <tv@beamnet.de>.
3754 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3756 ** tests: Make tests compile when using internal libtasn1.
3757 Patch by ludo@gnu.org (Ludovic Courtès).
3759 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3760 We now require a libgcrypt that has Camellia constants declared in
3761 gcrypt.h, which means v1.3.0 or later.
3763 ** API and ABI modifications:
3764 gnutls_x509_crl_get_authority_key_id: ADDED
3765 gnutls_x509_crl_get_number: ADDED
3766 gnutls_x509_crl_get_extension_oid: ADDED
3767 gnutls_x509_crl_get_extension_info: ADDED
3768 gnutls_x509_crl_get_extension_data: ADDED
3769 gnutls_x509_crl_set_authority_key_id: ADDED
3770 gnutls_x509_crl_set_number: ADDED
3771 gnutls_x509_crq_get_key_rsa_raw: ADDED
3772 gnutls_x509_crq_get_attribute_info: ADDED
3773 gnutls_x509_crq_get_attribute_data: ADDED
3774 gnutls_x509_crq_get_extension_info: ADDED
3775 gnutls_x509_crq_get_extension_data: ADDED
3776 gnutls_x509_crq_get_key_usage: ADDED
3777 gnutls_x509_crq_get_basic_constraints: ADDED
3778 gnutls_x509_crq_get_subject_alt_name: ADDED
3779 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3780 gnutls_x509_crq_get_extension_by_oid: ADDED
3781 gnutls_x509_crq_set_subject_alt_name: ADDED
3782 gnutls_x509_crq_set_basic_constraints: ADDED
3783 gnutls_x509_crq_set_key_usage: ADDED
3784 gnutls_x509_crq_get_key_purpose_oid: ADDED
3785 gnutls_x509_crq_set_key_purpose_oid: ADDED
3786 gnutls_x509_crq_print: ADDED
3787 gnutls_x509_crt_set_crq_extensions: ADDED
3789 * Version 2.6.6 (released 2009-04-30)
3791 ** libgnutls: Corrected double free on signature verification failure.
3792 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
3793 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
3795 ** libgnutls: Fix DSA key generation.
3796 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
3797 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
3798 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3800 ** libgnutls: Check expiration/activation time on untrusted certificates.
3801 Reported by Romain Francoise <romain@orebokech.com>. Before the
3802 library did not check activation/expiration times on certificates, and
3803 was documented as not doing so. We have realized that many
3804 applications that use libgnutls, including gnutls-cli, fail to perform
3805 proper checks. Implementing similar logic in all applications leads
3806 to code duplication. Hence, we decided to check whether the current
3807 time (as reported by the time function) is within the
3808 activation/expiration period of certificates when verifying untrusted
3811 This changes the semantics of gnutls_x509_crt_list_verify, which in
3812 turn is used by gnutls_certificate_verify_peers and
3813 gnutls_certificate_verify_peers2. We add two new
3814 gnutls_certificate_status_t codes for reporting the new error
3815 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
3816 add a new gnutls_certificate_verify_flags flag,
3817 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3820 More details about the vulnerabilities will be posted at
3821 <http://www.gnu.org/software/gnutls/security.html>.
3823 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3824 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3825 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3827 ** tests: Fix linking of tests/openpgp/keyring self-test.
3828 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3830 ** API and ABI modifications:
3831 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3832 gnutls_certificate_verify_peers: Likewise.
3833 gnutls_certificate_verify_peers2: Likewise.
3834 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3835 GNUTLS_CERT_EXPIRED: ADDED.
3836 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3838 * Version 2.6.5 (released 2009-04-11)
3840 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3841 specify the client hello message record version. Used to overcome buggy
3842 TLS servers. Report by Martin von Gagern.
3844 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3845 Libtasn1 0.3.4 or later is required. This is to align with the
3846 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3848 ** API and ABI modifications:
3849 No changes since last version.
3851 * Version 2.6.4 (released 2009-02-06)
3853 ** libgnutls: Accept chains where intermediary certs are trusted.
3854 Before GnuTLS needed to validate the entire chain back to a
3855 self-signed certificate. GnuTLS will now stop looking when it has
3856 found an intermediary trusted certificate. The new behaviour is
3857 useful when chains, for example, contains a top-level CA, an
3858 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3859 To avoid chain validation errors due to the RSA-MD5 cert, you can
3860 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3861 The signature on trusted certificates are not checked, so the chain
3862 has a chance to validate correctly. Reported by "Douglas E. Engert"
3863 <deengert@anl.gov> in
3864 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3866 ** libgnutls: result_size in gnutls_hex_encode now holds
3867 the size of the result. Report by John Brooks <special@dereferenced.net>.
3869 ** libgnutls: gnutls_handshake when sending client hello during a
3870 rehandshake, will not offer a version number larger than the current.
3871 Reported by Tristan Hill <stan@saticed.me.uk>.
3873 ** libgnutls: Permit V1 Certificate Authorities properly.
3874 Before they were mistakenly rejected even though
3875 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or