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.3.6 (unreleased)
8 ** libgnutls: bundle replacements of inet_pton and inet_aton if not
11 ** API and ABI modifications:
12 No changes since last version.
15 * Version 3.3.6 (released 2014-07-23)
17 ** libgnutls: Use inet_ntop to print IP addresses when available
19 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
20 IP addresses, and match documented behavior. Reported by David Woodhouse.
22 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
25 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
26 being usable after a reinitialization.
28 ** libgnutls: fixed PKCS #11 private key operations after a fork.
30 ** libgnutls: fixed PKCS #11 ECDSA key generation.
32 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
33 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
34 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
35 CPU. The currently available options are:
36 0x1: Disable all run-time detected optimizations
40 0x100000: Enable VIA padlock
41 0x200000: Enable VIA PHE
42 0x400000: Enable VIA PHE SHA512
44 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
46 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
48 ** p11tool: ask for label when one isn't provided.
50 ** p11tool: added --batch parameter to disable any interactivity.
52 ** p11tool: will not implicitly enable so-login for certain types of
53 objects. That avoids issues with tokens that require different login
56 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
57 specify the curve to use.
59 ** API and ABI modifications:
60 gnutls_certificate_set_x509_trust_dir: Added
61 gnutls_x509_trust_list_add_trust_dir: Added
64 * Version 3.3.5 (released 2014-06-26)
66 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
67 These functions provide a variant of gnutls_record_recv() that avoids
68 the final memcpy of data.
70 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
71 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
72 very large structures.
74 ** libgnutls: When the decoding of a printable DN element fails, then treat
75 it as unknown and print its hex value rather than failing. That works around
76 an issue in a TURKTRST root certificate which improperly encodes the
77 X520countryName element.
79 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
80 of certificates present in a PKCS #11 token when loading it.
82 ** libgnutls: Allow the post client hello callback to put the handshake on
83 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
85 ** certtool: option --to-p12 will now consider --load-ca-certificate
87 ** certtol: Added option to specify the PKCS #12 friendly name on command
90 ** p11tool: Allow marking a certificate copied to a token as a CA.
92 ** API and ABI modifications:
93 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
94 gnutls_x509_crl_iter_deinit: Added
95 gnutls_x509_crl_iter_crt_serial: Added
96 gnutls_record_recv_packet: Added
97 gnutls_packet_deinit: Added
98 gnutls_packet_get: Added
101 * Version 3.3.4 (released 2014-05-31)
103 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
104 crash on certain CPUs.
106 ** API and ABI modifications:
107 No changes since last version.
110 * Version 3.3.3 (released 2014-05-30)
112 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
113 Issue reported by Joonas Kuorilehto of Codenomicon.
115 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
116 new initialization process.
118 ** libgnutls: Increased the maximum certificate size buffer
119 in the PKCS #11 subsystem.
121 ** libgnutls: Check the return code of getpwuid_r() instead of relying
122 on the result value. That avoids issue in certain systems, when using
123 tofu authentication and the home path cannot be determined. Issue reported
126 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
127 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
129 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
132 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
133 be emulated with the implicit initialization of gnutls.
135 ** certtool: Allow multiple organizations and organizational unit names to
136 be specified in a template.
138 ** certtool: Warn when invalid configuration options are set to a template.
140 ** ocsptool: Include path in ocsp request. This resolves #108582
141 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
143 ** API and ABI modifications:
144 gnutls_credentials_get: Added
147 * Version 3.3.2 (released 2014-05-06)
149 ** libgnutls: Added the 'very weak' certificate verification profile
150 that corresponds to 64-bit security level.
152 ** libgnutls: Corrected file descriptor leak on random generator
155 ** libgnutls: Corrected file descriptor leak on PSK password file
156 reading. Issue identified using the Codenomicon TLS test suite.
158 ** libgnutls: Avoid deinitialization if initialization has failed.
160 ** libgnutls: null-terminate othername alternative names.
162 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
163 on a PKCS #11 trust list.
165 ** libgnutls: Several small bug fixes identified using valgrind and
166 the Codenomicon TLS test suite.
168 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
169 entry that matches the certificate. Patch by simon [at] arlott.org.
171 ** libgnutls-guile: Fixed compilation issue.
173 ** certtool: Allow exporting a CRL on DER format.
175 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
176 which is supported more widely than the previously used SECP224R1.
178 ** API and ABI modifications:
179 GNUTLS_PROFILE_VERY_WEAK: Added
182 * Version 3.3.1 (released 2014-04-19)
184 ** libgnutls: Enforce more strict checks to heartbeat messages
185 concerning padding and payload. Suggested by Peter Dettman.
187 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
190 ** libgnutls: Several small bug fixes found by coverity.
192 ** libgnutls: The conditionally available self-test functions
193 were moved to self-test.h.
195 ** libgnutls: Fixed issue with the check of incoming data when two
196 different recv and send pointers have been specified. Reported and
197 investigated by JMRecio.
199 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
200 result to illegal memory access if a server hint was provided. Reported
203 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
204 server hint was provided.
206 ** libgnutls: Corrected the *get_*_othername_oid() functions.
208 ** API and ABI modifications:
209 No changes since last version.
212 * Version 3.3.0 (released 2014-04-10)
214 ** libgnutls: The initialization of the library was moved to a
215 constructor. That is, gnutls_global_init() is no longer required
216 unless linking with a static library or a system that does not
217 support library constructors.
219 ** libgnutls: static libraries are not built by default.
221 ** libgnutls: PKCS #11 initialization is delayed to first usage.
222 That avoids long delays in gnutls initialization due to broken PKCS #11
225 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
226 on the first PKCS #11 API call after a fork.
228 ** libgnutls: certificate verification profiles were introduced
229 that can be specified as flags to verification functions. They
230 are enumerations in gnutls_certificate_verification_profiles_t
231 and can be converted to flags for use in a verification function
232 using GNUTLS_PROFILE_TO_VFLAGS().
234 ** libgnutls: Added the ability to read system-specific initial
235 keywords, if they are prefixed with '@'. That allows a compile-time
236 specified configuration file to be used to read pre-configured priority
237 strings from. That can be used to impose system specific policies.
239 ** libgnutls: Increased the default security level of priority
240 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
241 and set a verification profile by default. The LEGACY keyword is
242 introduced to set the old defaults.
244 ** libgnutls: Added support for the name constraints PKIX extension.
245 Currently only DNS names and e-mails are supported (no URIs, IPs
248 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
249 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
251 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
252 This API handles the X.509 extensions in isolation, allowing to parse
253 similarly formatted extensions stored in other structures.
255 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
256 can be used to specify a particular subgroup as the number of bits in
257 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
259 ** libgnutls: DH parameter generation is now delegated to nettle.
260 That unfortunately has the side-effect that DH parameters longer than
261 3072 bits, cannot be generated (not without a nettle update).
263 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
264 random number generator is based on salsa20/12.
266 ** libgnutls: The buffer alignment provided to crypto backend is
267 enforced to be 16-byte aligned, when compiled with cryptodev
268 support. That allows certain cryptodev drivers to operate more
271 ** libgnutls: Return error when a public/private key pair that doesn't
272 match is set into a credentials structure.
274 ** libgnutls: Depend on p11-kit 0.20.0 or later.
276 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
277 been removed. It was not approved by IETF.
279 ** libgnutls: The experimental xssl library is removed from the gnutls
282 ** libgnutls: Reduced the number of gnulib modules used in the main library.
284 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
286 ** libgnutls: Added the more extensible verification function
287 gnutls_certificate_verify_peers(), that allows checking, in addition
288 to a peer's DNS hostname, for the key purpose of the end certificate
289 (via PKIX extended key usage).
291 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
292 and in batch mode to 12 (appended with 4 random bytes).
294 ** certtool: When no CRL number is provided (or value set to -1), then
295 a time-based number will be used, similarly to the serial generation
296 number in certificates.
298 ** certtool: Print the SHA256 fingerprint of a certificate in addition
301 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
302 That option enables (when running on FIPS140-enabled system):
303 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
304 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
305 o Self-tests on initialization on ciphers/MACs, public key algorithms
306 and the random generator.
307 o HMAC-SHA256 verification of the library on load.
308 o MD5 is included for TLS purposes but cannot be used by the high level
310 o All ciphers except AES are disabled.
311 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
312 o All keys (temporal and long term) are zeroized after use.
313 o Security levels are adjusted to the FIPS140-2 recommendations (rather
316 ** API and ABI modifications:
317 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
318 gnutls_certificate_verify_peers: Added
319 gnutls_privkey_generate: Added
320 gnutls_pkcs11_crt_is_known: Added
321 gnutls_fips140_mode_enabled: Added
322 gnutls_sec_param_to_symmetric_bits: Added
323 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
324 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
325 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
326 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
327 gnutls_pubkey_verify_params: Added
328 gnutls_privkey_export_ecc_raw: Added
329 gnutls_privkey_export_dsa_raw: Added
330 gnutls_privkey_export_rsa_raw: Added
331 gnutls_privkey_import_ecc_raw: Added
332 gnutls_privkey_import_dsa_raw: Added
333 gnutls_privkey_import_rsa_raw: Added
334 gnutls_privkey_verify_params: Added
335 gnutls_x509_crt_check_hostname2: Added
336 gnutls_openpgp_crt_check_hostname2: Added
337 gnutls_x509_name_constraints_init: Added
338 gnutls_x509_name_constraints_deinit: Added
339 gnutls_x509_crt_get_name_constraints: Added
340 gnutls_x509_name_constraints_add_permitted: Added
341 gnutls_x509_name_constraints_add_excluded: Added
342 gnutls_x509_crt_set_name_constraints: Added
343 gnutls_x509_name_constraints_get_permitted: Added
344 gnutls_x509_name_constraints_get_excluded: Added
345 gnutls_x509_name_constraints_check: Added
346 gnutls_x509_name_constraints_check_crt: Added
347 gnutls_x509_crl_get_extension_data2: Added
348 gnutls_x509_crt_get_extension_data2: Added
349 gnutls_x509_crq_get_extension_data2: Added
350 gnutls_subject_alt_names_init: Added
351 gnutls_subject_alt_names_deinit: Added
352 gnutls_subject_alt_names_get: Added
353 gnutls_subject_alt_names_set: Added
354 gnutls_x509_ext_import_subject_alt_names: Added
355 gnutls_x509_ext_export_subject_alt_names: Added
356 gnutls_x509_crl_dist_points_init: Added
357 gnutls_x509_crl_dist_points_deinit: Added
358 gnutls_x509_crl_dist_points_get: Added
359 gnutls_x509_crl_dist_points_set: Added
360 gnutls_x509_ext_import_crl_dist_points: Added
361 gnutls_x509_ext_export_crl_dist_points: Added
362 gnutls_x509_ext_import_name_constraints: Added
363 gnutls_x509_ext_export_name_constraints: Added
364 gnutls_x509_aia_init: Added
365 gnutls_x509_aia_deinit: Added
366 gnutls_x509_aia_get: Added
367 gnutls_x509_aia_set: Added
368 gnutls_x509_ext_import_aia: Added
369 gnutls_x509_ext_export_aia: Added
370 gnutls_x509_ext_import_subject_key_id: Added
371 gnutls_x509_ext_export_subject_key_id: Added
372 gnutls_x509_ext_export_authority_key_id: Added
373 gnutls_x509_ext_import_authority_key_id: Added
374 gnutls_x509_aki_init: Added
375 gnutls_x509_aki_get_id: Added
376 gnutls_x509_aki_get_cert_issuer: Added
377 gnutls_x509_aki_set_id: Added
378 gnutls_x509_aki_set_cert_issuer: Added
379 gnutls_x509_aki_deinit: Added
380 gnutls_x509_ext_import_private_key_usage_period: Added
381 gnutls_x509_ext_export_private_key_usage_period: Added
382 gnutls_x509_ext_import_basic_constraints: Added
383 gnutls_x509_ext_export_basic_constraints: Added
384 gnutls_x509_ext_import_key_usage: Added
385 gnutls_x509_ext_export_key_usage: Added
386 gnutls_x509_ext_import_proxy: Added
387 gnutls_x509_ext_export_proxy: Added
388 gnutls_x509_policies_init: Added
389 gnutls_x509_policies_deinit: Added
390 gnutls_x509_policies_get: Added
391 gnutls_x509_policies_set: Added
392 gnutls_x509_ext_import_policies: Added
393 gnutls_x509_ext_export_policies: Added
394 gnutls_x509_key_purpose_init: Added
395 gnutls_x509_key_purpose_deinit: Added
396 gnutls_x509_key_purpose_set: Added
397 gnutls_x509_key_purpose_get: Added
398 gnutls_x509_ext_import_key_purposes: Added
399 gnutls_x509_ext_export_key_purposes: Added
400 gnutls_digest_self_test: Added (conditionally)
401 gnutls_mac_self_test: Added (conditionally)
402 gnutls_pk_self_test: Added (conditionally)
403 gnutls_cipher_self_test: Added (conditionally)
404 gnutls_global_set_mem_functions: Deprecated
407 * Version 3.2.6 (released 2013-10-31)
409 ** libgnutls: Support for TPM via trousers is now enabled by default.
411 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
412 GCM mode is prioritized over CBC in all of the default priority strings.
414 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
416 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
417 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
418 Reported by Stefan Buehler.
420 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
422 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
425 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
426 Contributed by Wolfgang Meyer zu Bergsten.
430 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
431 previous fix. Reported by Tomas Mraz.
433 ** p11tool: Added option generate-random.
435 ** API and ABI modifications:
436 gnutls_pkcs11_token_get_random: Added
439 * Version 3.2.5 (released 2013-10-23)
441 ** libgnutls: Documentation and build-time fixes.
443 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
445 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
446 as well as Camellia with GCM.
448 ** libdane: Added interfaces to allow initialization of dane_query_t from
449 external DNS resolutions, and to allow direct verification of a certificate
450 chain against a dane_query_t. Contributed by Christian Grothoff.
452 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
453 triggered by a DNS server supplying more than 4 DANE records. Report and fix
454 by Christian Grothoff.
456 ** srptool: Fixed index command line option. Patch by Attila Molnar.
458 ** gnutls-cli: Added support for inline commands, using the
459 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
461 ** certtool: pathlen constraint is now read correctly. Reported by
464 ** API and ABI modifications:
465 gnutls_certificate_get_crt_raw: Added
466 dane_verify_crt_raw: Added
470 * Version 3.2.4 (released 2013-08-31)
472 ** libgnutls: Fixes when session tickets and session DB are used.
473 Report and initial patch by Stefan Buehler.
475 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
476 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
478 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
481 ** libgnutls: Added the PFS priority string option.
483 ** libgnutls: Gnulib included files are strictly LGPLv2.
485 ** libgnutls: Corrected gnutls_certificate_server_set_request().
486 Reported by Petr Pisar.
488 ** API and ABI modifications:
489 gnutls_record_set_timeout: Exported
492 * Version 3.2.3 (released 2013-07-30)
494 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
496 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
497 (this fixes a bug that was accidentally introduced in 3.2.2)
499 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
502 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
505 ** API and ABI modifications:
506 gnutls_priority_kx_list: Added
507 gnutls_priority_mac_list: Added
508 gnutls_priority_cipher_list: Added
511 * Version 3.2.2 (released 2013-07-14)
513 ** libgnutls: Several optimizations in the related to packet processing
516 ** libgnutls: DTLS replay detection can now be disabled (to be used
517 in certain transport layers like SCTP).
519 ** libgnutls: Fixes in SRTP extension generation when MKI is being
522 ** libgnutls: Added ability to set hooks before or after sending or receiving
523 any handshake message with gnutls_handshake_set_hook_function().
525 ** API and ABI modifications:
526 GNUTLS_NO_REPLAY_PROTECTION: Added
527 gnutls_certificate_set_trust_list: Added
528 gnutls_cipher_get_tag_size: Added
529 gnutls_record_overhead_size: Added
530 gnutls_est_record_overhead_size: Added
531 gnutls_handshake_set_hook_function: Added
532 gnutls_handshake_description_get_name: Added
533 gnutls_digest_list: Added
534 gnutls_digest_get_id: Added
535 gnutls_digest_get_name: Added
538 * Version 3.2.1 (released 2013-06-01)
540 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
543 ** libgnutls: Fixes in interrupted function resumption. Report
544 and patch by Tim Kosse.
546 ** libgnutls: Corrected issue when receiving client hello verify requests
549 ** libgnutls: Fixes in DTLS record overhead size calculations.
551 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
554 ** API and ABI modifications:
555 gnutls_session_set_id: Added
558 * Version 3.2.0 (released 2013-05-10)
560 ** libgnutls: Use nettle's elliptic curve implementation.
562 ** libgnutls: Added Salsa20 cipher
564 ** libgnutls: Added UMAC-96 and UMAC-128
566 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
567 As they are not standardized they are defined using private ciphersuite
570 ** libgnutls: Added support for DTLS 1.2.
572 ** libgnutls: Added support for the Application Layer Protocol Negotiation
575 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
577 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
578 linking to pthreads if p11-kit isn't used).
580 ** API and ABI modifications:
581 gnutls_cipher_get_iv_size: Added
582 gnutls_hmac_set_nonce: Added
583 gnutls_mac_get_nonce_size: Added
586 * Version 3.1.10 (released 2013-03-22)
588 ** certtool: When generating PKCS #12 files use by default the
589 ARCFOUR (RC4) cipher to be compatible with devices that don't
590 support AES with PKCS #12.
592 ** libgnutls: Load CA certificates in android 4.x systems.
594 ** libgnutls: Optimized CA certificate loading.
596 ** libgnutls: Private keys are overwritten on deinitialization.
598 ** libgnutls: PKCS #11 slots are scanned only when needed, not
599 on initialization. This speeds up gnutls initialization when smart
602 ** libgnutls: Corrected issue in the (deprecated) external key
603 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
605 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
608 ** libgnutls-dane: Updated DANE verification options.
610 ** configure: Trust store file must be explicitly set or unset when
613 ** API and ABI modifications:
614 gnutls_x509_crt_get_issuer_dn2: Added
615 gnutls_x509_crt_get_dn2: Added
616 gnutls_x509_crl_get_issuer_dn2: Added
617 gnutls_x509_crq_get_dn2: Added
618 gnutls_x509_trust_list_remove_trust_mem: Added
619 gnutls_x509_trust_list_remove_trust_file: Added
620 gnutls_x509_trust_list_remove_cas: Added
621 gnutls_session_get_desc: Added
622 gnutls_privkey_sign_raw_data: Added
623 gnutls_privkey_status: Added
626 * Version 3.1.9 (released 2013-02-27)
628 ** certtool: Option --to-p12 will now ask for a password to generate
629 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
631 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
633 ** libgnutls: Corrected parsing issue in XMPP within a subject
634 alternative name. Reported by James Cloos.
636 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
637 modules, and not only the ones loaded via p11-kit.
639 ** libgnutls: Added function to check whether the private key is
640 still available (inserted).
642 ** libgnutls: Try to detect fork even during nonce generation.
644 ** API and ABI modifications:
645 gnutls_handshake_set_random: Added
646 gnutls_transport_set_int2: Added
647 gnutls_transport_get_int2: Added
648 gnutls_transport_get_int: Added
649 gnutls_record_cork: Exported
650 gnutls_record_uncork: Exported
651 gnutls_pkcs11_privkey_status: Added
654 * Version 3.1.8 (released 2013-02-10)
656 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
657 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
658 with encrypted keys. Reported by Yan Fiz.
660 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
661 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
664 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
665 to operate with long keys. Reported by Erik A Jensen.
667 ** API and ABI modifications:
668 No changes since last version.
671 * Version 3.1.7 (released 2013-02-04)
673 ** certtool: Added option "dn" which allows to directly set the DN
674 in a template from an RFC4514 string.
676 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
678 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
680 ** libgnutls-dane: Added function to specify a DLV file.
682 ** libgnutls: Heartbeat code was made optional.
684 ** libgnutls: Fixes in server side of DTLS-0.9.
686 ** libgnutls: DN variable 'T' was expanded to 'title'.
688 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
689 Issue reported by Kenny Paterson and Nadhem Alfardan.
691 ** libgnutls: Added functions to directly set the DN in a certificate
692 or request from an RFC4514 string.
694 ** libgnutls: Optimizations in the random generator. The re-seeding of
695 it is now explicitly done on every session deinit.
697 ** libgnutls: Simplified the DTLS sliding window implementation.
699 ** libgnutls: The minimum DH bits accepted by a client are now set
700 by the specified priority string. The current values correspond to the
701 previous defaults (727 bits), except for the SECURE128 and SECURE192
702 strings which increase the minimum to 1248 and 1776 respectively.
704 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
705 buffering in sending application data.
707 ** libgnutls: Removed default random padding, and added a length-hiding interface
708 instead. Both the server and the client must support this extension. Whether
709 length-hiding can be used on a given session can be checked using
710 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
712 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
713 a new padding mechanism in TLS allowing arbitrary padding in TLS records
714 in all ciphersuites, which makes length-hiding more efficient and solves
715 the issues with timing attacks on CBC ciphersuites.
717 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
718 ciphers (i.e., AES-GCM). Reported by William McGovern.
720 ** API and ABI modifications:
721 gnutls_db_check_entry_time: Added
722 gnutls_record_set_timeout: Added
723 gnutls_record_get_random_padding_status: Added
724 gnutls_x509_crt_set_dn: Added
725 gnutls_x509_crt_set_issuer_dn: Added
726 gnutls_x509_crq_set_dn: Added
727 gnutls_range_split: Added
728 gnutls_record_send_range: Added
729 gnutls_record_set_max_empty_records: Added
730 gnutls_record_can_use_length_hiding: Added
731 gnutls_rnd_refresh: Added
739 xssl_client_init: Added
740 xssl_server_init: Added
741 xssl_get_session: Added
742 xssl_get_verify_status: Added
743 xssl_cred_init: Added
744 xssl_cred_deinit: Added
745 dane_state_set_dlv_file: Added
746 GNUTLS_SEC_PARAM_EXPORT: Added
747 GNUTLS_SEC_PARAM_VERY_WEAK: Added
750 * Version 3.1.6 (released 2013-01-02)
752 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
753 Paterson and Nadhem Alfardan.
755 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
757 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
760 ** libgnutls: Ignore heartbeat messages when received out-of-order,
761 instead of issuing an error.
763 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
766 ** libgnutls: TPM support is disabled by default because GPL programs
767 cannot link with it. Use --with-tpm to enable it.
769 ** libgnutls-guile: Fixed parallel compilation issue.
771 ** gnutls-cli: It will try to connect to all possible returned addresses
774 ** API and ABI modifications:
775 No changes since last version.
778 * Version 3.1.5 (released 2012-11-24)
780 ** libgnutls: Added functions to parse the certificates policies
783 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
784 Name by translating it to UTF-8 (works on windows or systems with iconv).
786 ** libgnutls: Added PKCS #11 key generation function that returns the
787 public key on generation.
789 ** libgnutls: Corrected bug in priority string parsing, that mostly
790 affected combined levels. Patch by Tim Kosse.
792 ** certtool: The --pubkey-info option can be combined with the
793 --load-privkey or --load-request to print the corresponding public keys.
795 ** certtool: It is able to set certificate policies via a template.
797 ** certtool: Added --hex-numbers option which prints big numbers in
798 an easier to parse format.
800 ** p11tool: After key generation, outputs the public key (useful in
801 tokens that do not store the public key).
803 ** danetool: It is being built even without libgnutls-dane (the
804 --check functionality is disabled though).
806 ** API and ABI modifications:
807 gnutls_pkcs11_privkey_generate2: Added
808 gnutls_x509_crt_get_policy: Added
809 gnutls_x509_crt_set_policy: Added
810 gnutls_x509_policy_release: Added
811 gnutls_pubkey_import_x509_crq: Added
812 gnutls_pubkey_print: Added
813 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
816 * Version 3.1.4 (released 2012-11-10)
818 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
819 the available revocation data validity.
821 ** libgnutls: Added gnutls_certificate_verification_status_print(),
822 a function to print the verification status code in human readable text.
824 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
826 ** libgnutls: Simplified certificate verification by adding
827 gnutls_certificate_verify_peers3().
829 ** libgnutls: Added support for extension to establish keys for SRTP.
830 Contributed by Martin Storsjo.
832 ** libgnutls: The X.509 verification functions check the key
833 usage bits and pathlen constraints and on failure output
834 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
836 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
838 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
839 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
841 ** libgnutls: Always tolerate key usage violation errors from the side
842 of the peer, but also notify via an audit message.
844 ** gnutls-cli: Added --local-dns option.
846 ** danetool: Corrected bug that prevented loading PEM files.
848 ** danetool: Added --check option to allow querying and verifying
851 ** libgnutls-dane: Added pkg-config file for the library.
853 ** API and ABI modifications:
854 gnutls_session_get_id2: Added
855 gnutls_sign_is_secure: Added
856 gnutls_certificate_verify_peers3: Added
857 gnutls_ocsp_status_request_is_checked: Added
858 gnutls_certificate_verification_status_print: Added
859 gnutls_srtp_set_profile: Added
860 gnutls_srtp_set_profile_direct: Added
861 gnutls_srtp_get_selected_profile: Added
862 gnutls_srtp_get_profile_name: Added
863 gnutls_srtp_get_profile_id: Added
864 gnutls_srtp_get_keys: Added
865 gnutls_srtp_get_mki: Added
866 gnutls_srtp_set_mki: Added
867 gnutls_srtp_profile_t: Added
868 dane_cert_type_name: Added
869 dane_match_type_name: Added
870 dane_cert_usage_name: Added
871 dane_verification_status_print: Added
872 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
873 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
874 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
875 GNUTLS_CERT_UNEXPECTED_OWNER: Added
876 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
879 * Version 3.1.3 (released 2012-10-12)
881 ** libgnutls: Added support for the OCSP Certificate Status
884 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
885 certificate status extension in verification.
887 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
889 ** libgnutls: Increased maximum password length in the PKCS #12
892 ** libgnutls: Fixed the receipt of session tickets during session resumption.
893 Reported by danblack at http://savannah.gnu.org/support/?108146
895 ** libgnutls: Added functions to export structures in an allocated buffer.
897 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
898 response corresponds to the given certificate.
900 ** libgnutls: In client side gnutls_init() enables the session ticket and
901 OCSP certificate status request extensions by default. The flag
902 GNUTLS_NO_EXTENSIONS can be used to prevent that.
904 ** libgnutls: Several updates in the OpenPGP code. The generating code
905 is fully RFC6091 compliant and RFC5081 support is only supported in client
908 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
909 certificate verification.
911 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
913 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
915 ** API and ABI modifications:
916 gnutls_certificate_get_peers_subkey_id: Added
917 gnutls_certificate_set_ocsp_status_request_function: Added
918 gnutls_certificate_set_ocsp_status_request_file: Added
919 gnutls_ocsp_status_request_enable_client: Added
920 gnutls_ocsp_status_request_get: Added
921 gnutls_ocsp_resp_check_crt: Added
922 gnutls_dh_params_export2_pkcs3: Added
923 gnutls_pubkey_export2: Added
924 gnutls_x509_crt_export2: Added
925 gnutls_x509_dn_export2: Added
926 gnutls_x509_crl_export2: Added
927 gnutls_pkcs7_export2: Added
928 gnutls_x509_privkey_export2: Added
929 gnutls_x509_privkey_export2_pkcs8: Added
930 gnutls_x509_crq_export2: Added
931 gnutls_openpgp_crt_export2: Added
932 gnutls_openpgp_privkey_export2: Added
933 gnutls_pkcs11_obj_export2: Added
934 gnutls_pkcs12_export2: Added
935 gnutls_pubkey_import_openpgp_raw: Added
936 gnutls_pubkey_import_x509_raw: Added
937 dane_state_init: Added
938 dane_state_deinit: Added
939 dane_query_tlsa: Added
940 dane_query_status: Added
941 dane_query_entries: Added
942 dane_query_data: Added
943 dane_query_deinit: Added
944 dane_verify_session_crt: Added
945 dane_verify_crt: Added
949 * Version 3.1.2 (released 2012-09-26)
951 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
952 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
953 of certificates in the windows platform.
955 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
957 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
958 (the work was done during Google Summer of Code).
960 ** libgnutls: Added X.509 certificate verification flag
961 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
962 of unsorted certificate chains and is enabled by default for
963 TLS certificate verification (if gnutls_certificate_set_verify_flags()
964 does not override it).
966 ** libgnutls: Prints warning on certificates that contain keys of
967 an insecure level. If the %COMPAT priority flag is not specified
968 the TLS connection fails.
970 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
971 if interrupted during the retrasmition of handshake data.
973 ** libgnutls: Better mingw32 support (patch by LRN).
975 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
976 key usage violation errors (they are far too common to ignore).
978 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
979 which provides a tool to counter compression-related attacks where
980 parts of the data are controlled by the attacker _and_ are placed in
981 separate records (use with care - do not use compression if not sure).
983 ** libgnutls: Depends on libtasn1 2.14 or later.
985 ** certtool: Prints the number of bits of the public key algorithm
986 parameter in a private key.
988 ** API and ABI modifications:
989 gnutls_x509_privkey_get_pk_algorithm2: Added
990 gnutls_heartbeat_ping: Added
991 gnutls_heartbeat_pong: Added
992 gnutls_heartbeat_allowed: Added
993 gnutls_heartbeat_enable: Added
994 gnutls_heartbeat_set_timeouts: Added
995 gnutls_heartbeat_get_timeout: Added
996 GNUTLS_SEC_PARAM_WEAK: Added
997 GNUTLS_SEC_PARAM_INSECURE: Added
999 * Version 3.1.1 (released 2012-09-02)
1001 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1003 ** certtool: Changes in password handling of certtool.
1004 Ask password when required and only if the '--password' option is not
1005 given. If the '--password' option is given during key generation then
1006 assume the PKCS #8 file format, instead of ignoring the password.
1008 ** tpmtool: No longer asks for key password in registered keys.
1010 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1011 wmNAF is now used for point multiplication and other optimizations.
1012 (the major part of the work was done during Google Summer of Code).
1014 ** libgnutls: The default pull_timeout_function only uses select
1015 instead of a combination of select() and recv() to prevent issues
1016 when used in stream sockets in some systems.
1018 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1019 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1022 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1023 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1024 me with ECDSA capable smart cards.
1026 ** API and ABI modifications:
1027 gnutls_sign_algorithm_get: Added
1028 gnutls_sign_get_hash_algorithm: Added
1029 gnutls_sign_get_pk_algorithm: Added
1032 * Version 3.1.0 (released 2012-08-15)
1034 ** libgnutls: Added direct support for TPM as a cryptographic module
1035 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1036 using URLs of the following types:
1037 tpmkey:file=/path/to/file
1038 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1040 ** libgnutls: Priority string level keywords can be combined.
1041 For example the string "SECURE256:+SUITEB128" is now allowed.
1043 ** libgnutls: requires libnettle 2.5.
1045 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1046 for encryption and signatures.
1048 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1049 generic errors and signature verification errors in the verification
1052 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1053 to simplify parsing in most PKCS #12 use cases.
1055 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1056 the whole certificate chain (if any) to the credentials structure, instead
1057 of only the end-user certificate.
1059 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1060 and gnutls_x509_privkey_import_pkcs8(), return consistently
1061 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1062 password was provided.
1064 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1065 allows to set the maximum time spent in a handshake.
1067 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1070 ** tpmtool: Added. It is a tool to generate private keys in the
1073 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1074 and --benchmark-tls-ciphers
1076 ** certtool: generated PKCS #12 structures may hold more than one
1077 private key. Patch by Lucas Fisher.
1079 ** certtool: Added option --null-password to generate/decrypt keys
1080 that use a NULL password (in schemas that distinguish between NULL
1081 an empty passwords).
1083 ** minitasn1: Upgraded to libtasn1 version 2.13.
1085 ** API and ABI modifications:
1086 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1087 GNUTLS_CAMELLIA_192_CBC: Added
1088 GNUTLS_PKCS_NULL_PASSWORD: Added
1089 gnutls_url_is_supported: Added
1090 gnutls_pkcs11_obj_list_import_url2: Added
1091 gnutls_pkcs11_obj_set_pin_function: Added
1092 gnutls_pkcs11_privkey_set_pin_function: Added
1093 gnutls_pkcs11_get_pin_function: Added
1094 gnutls_privkey_import_tpm_raw: Added
1095 gnutls_privkey_import_tpm_url: Added
1096 gnutls_privkey_import_pkcs11_url: Added
1097 gnutls_privkey_import_openpgp_raw: Added
1098 gnutls_privkey_import_x509_raw: Added
1099 gnutls_privkey_import_ext2: Added
1100 gnutls_privkey_import_url: Added
1101 gnutls_privkey_set_pin_function: Added
1102 gnutls_tpm_privkey_generate: Added
1103 gnutls_tpm_key_list_deinit: Added
1104 gnutls_tpm_key_list_get_url: Added
1105 gnutls_tpm_get_registered: Added
1106 gnutls_tpm_privkey_delete: Added
1107 gnutls_pubkey_import_tpm_raw: Added
1108 gnutls_pubkey_import_tpm_url: Added
1109 gnutls_pubkey_import_url: Added
1110 gnutls_pubkey_verify_hash2: Added
1111 gnutls_pubkey_set_pin_function: Added
1112 gnutls_x509_privkey_import2: Added
1113 gnutls_x509_privkey_import_openssl: Added
1114 gnutls_x509_crt_set_pin_function: Added
1115 gnutls_load_file: Added
1116 gnutls_pkcs12_simple_parse: Added
1117 gnutls_certificate_set_x509_system_trust: Added
1118 gnutls_certificate_set_pin_function: Added
1119 gnutls_x509_trust_list_add_system_trust: Added
1120 gnutls_x509_trust_list_add_trust_file: Added
1121 gnutls_x509_trust_list_add_trust_mem: Added
1122 gnutls_pk_to_sign: Added
1123 gnutls_handshake_set_timeout: Added
1124 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1125 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1128 * Version 3.0.22 (released 2012-08-04)
1130 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1131 is now supported on OpenBSD.
1133 ** libgnutls: When verifying a certificate chain make sure it is chain.
1134 If the chain is wronly interrupted at some point then truncate it,
1135 and only try to verify the correct part. Patch by David Woodhouse
1137 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1138 which now may (again) accept a NULL password.
1140 ** certtool: Allow the user to choose the hash algorithm
1141 when signing certificate request or certificate revocation list.
1142 Patch by Petr Písař.
1144 ** API and ABI modifications:
1145 No changes since last version.
1148 * Version 3.0.21 (released 2012-07-02)
1150 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1151 that prevented the loading of EC private keys when DER
1152 encoded. Reported by David Woodhouse.
1154 ** libgnutls: In DTLS larger to mtu records result to
1155 GNUTLS_E_LARGE_PACKET instead of being truncated.
1157 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1158 on patch by David Woodhouse.
1160 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1162 ** libgnutls: Added support for an old version of the DTLS protocol
1163 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1164 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1167 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1168 if only the label is specified. Patch by David Woodhouse.
1170 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1173 ** API and ABI modifications:
1174 gnutls_dtls_set_data_mtu: Added
1175 gnutls_session_set_premaster: Added
1178 * Version 3.0.20 (released 2012-06-05)
1180 ** libgnutls: Corrected bug which prevented the parsing of
1181 handshake packets spanning multiple records.
1183 ** libgnutls: Check key identifiers when checking for an issuer.
1185 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1187 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1188 that loads the trusted CA certificates from system locations
1189 (e.g. trusted storage in windows and CA bundle files in other systems).
1191 ** certtool: Added support for the URI subject alternative
1192 name type in certtool.
1194 ** certtool: Increase to 128 the maximum number of distinct options
1195 (e.g. dns_names) allowed.
1197 ** gnutls-cli: If --print-cert is given, print the certificate,
1198 even on verification failure.
1200 ** API and ABI modifications:
1201 gnutls_pk_to_sign: Added
1202 gnutls_pubkey_verify_hash2: Added
1203 gnutls_certificate_set_x509_system_trust: Added
1206 * Version 3.0.19 (released 2012-04-22)
1208 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1209 is assumed to be a file that stores the pin. Based on patch
1212 ** libgnutls: gnutls_record_check_pending() no longer
1213 returns unprocessed data, and thus ensure the non-blocking
1214 of the next call to gnutls_record_recv().
1216 ** libgnutls: Added strict tests in Diffie-Hellman and
1217 SRP key exchange public keys.
1219 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1220 strict in hash selection, and allow a stronger hash to
1221 be used than the appropriate, to improve interoperability
1224 ** tests: Disabled floating point test, and corrections
1225 in pkcs12 decoding tests.
1227 ** API and ABI modifications:
1228 No changes since last version.
1231 * Version 3.0.18 (released 2012-04-02)
1233 ** certtool: Avoid a Y2K38 bug when generating certificates.
1234 Patch by Robert Millan.
1236 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1237 is returned on premature termination (and added unit test).
1239 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1241 ** libgnutls: Corrected VIA padlock detection for old
1242 VIA processors. Reported by Kris Karas.
1244 ** libgnutls: Updated assembler files.
1246 ** libgnutls: Time in generated certificates is stored
1247 as GeneralizedTime instead of UTCTime (which only stores
1248 2 digits of a year).
1250 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1252 ** API and ABI modifications:
1253 gnutls_x509_crt_set_private_key_usage_period: Added
1254 gnutls_x509_crt_get_private_key_usage_period: Added
1255 gnutls_x509_crq_set_private_key_usage_period: Added
1256 gnutls_x509_crq_get_private_key_usage_period: Added
1257 gnutls_session_get_random: Added
1260 * Version 3.0.17 (released 2012-03-17)
1262 ** command line apps: Always link with local libopts.
1264 ** API and ABI modifications:
1265 No changes since last version.
1268 * Version 3.0.16 (released 2012-03-16)
1270 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1272 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1274 ** libgnutls: included assembler files for MacOSX.
1276 ** p11tool: Small fixes in handling of the --private command
1279 ** certtool: The template option allows for setting the domain
1280 component (DC) option of the distinguished name, and the ocsp_uri
1281 as well as the ca_issuers_uri options.
1283 ** API and ABI modifications:
1284 gnutls_x509_crt_set_authority_info_access: Added
1287 * Version 3.0.15 (released 2012-03-02)
1289 ** test suite: Only run under valgrind in the development
1290 system (the full git repository)
1292 ** command line apps: Link with local libopts if the
1293 installed is an old one.
1295 ** libgnutls: Eliminate double free during SRP
1296 authentication. Reported by Peter Penzov.
1298 ** libgnutls: Corrections in record packet parsing.
1299 Reported by Matthew Hall.
1301 ** libgnutls: Cryptodev updates and fixes.
1303 ** libgnutls: Corrected issue with select() that affected
1304 FreeBSD. This prevented establishing DTLS sessions.
1305 Reported by Andreas Metzler.
1307 ** libgnutls: Corrected rehandshake and resumption
1308 operations in DTLS. Reported by Sean Buckheister.
1310 ** libgnutls: PKCS #11 objects that do not have ID
1311 no longer crash listing. Reported by Sven Geggus.
1313 ** API and ABI modifications:
1314 No changes since last version.
1317 * Version 3.0.14 (released 2012-02-24)
1319 ** command line apps: Included libopts doesn't get installed
1322 ** libgnutls: Eliminate double free on wrongly formatted
1323 certificate list. Reported by Remi Gacogne.
1325 ** libgnutls: cryptodev code corrected, updated to account
1326 for hashes and GCM mode.
1328 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1329 Report and fix by Sam Varshavchik.
1331 ** API and ABI modifications:
1332 No changes since last version.
1335 * Version 3.0.13 (released 2012-02-18)
1337 ** gnutls-cli: added the --ocsp option which will verify
1338 the peer's certificate with OCSP.
1340 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1341 will use an ssh-style authentication method.
1343 ** gnutls-cli: if no --x509cafile is provided a default is
1344 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1346 ** ocsptool: Added --ask parameter, to verify a certificate's
1347 status from an ocsp server.
1349 ** command line apps: Use gnu autogen (libopts) to parse command
1350 line arguments and template files.
1352 ** tests: Added stress test for DTLS packet losses and
1353 out-of-order receival. Contributed by Sean Buckheister.
1355 ** libgnutls: Several updates and corrections in the DTLS
1356 DTLS lost packet handling and retransmission timeouts.
1357 Report and patches by Sean Buckheister.
1359 ** libgnutls: Added new functions to easily allow the usage of
1360 a trust on first use (SSH-style) authentication.
1362 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1363 for the RFC6460 requirements.
1365 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1366 to account for security level of 96-bits.
1368 ** libgnutls: In client side if server does not advertise any
1369 known CAs and only a single certificate is set in the credentials,
1372 ** libgnutls: Added functions to parse authority key identifiers
1373 when stored as a 'general name' and serial combo.
1375 ** libgnutls: Added function to force explicit reinitialization
1376 of PKCS #11 modules. This is required on the child process after
1377 a fork (if PKCS #11 functionality is desirable).
1379 ** libgnutls: Depend on p11-kit 0.11.
1381 ** API and ABI modifications:
1382 gnutls_dtls_get_timeout: Added
1383 gnutls_verify_stored_pubkey: Added
1384 gnutls_store_pubkey: Added
1385 gnutls_store_commitment: Added
1386 gnutls_x509_crt_get_authority_key_gn_serial: Added
1387 gnutls_x509_crl_get_authority_key_gn_serial: Added
1388 gnutls_pkcs11_reinit: Added
1389 gnutls_ecc_curve_list: Added
1390 gnutls_priority_certificate_type_list: Added
1391 gnutls_priority_sign_list: Added
1392 gnutls_priority_protocol_list: Added
1393 gnutls_priority_compression_list: Added
1394 gnutls_priority_ecc_curve_list: Added
1395 gnutls_tdb_init: Added
1396 gnutls_tdb_set_store_func: Added
1397 gnutls_tdb_set_store_commitment_func: Added
1398 gnutls_tdb_set_verify_func: Added
1399 gnutls_tdb_deinit: Added
1402 * Version 3.0.12 (released 2012-01-20)
1404 ** libgnutls: Added OCSP support.
1405 There is a new header file gnutls/ocsp.h and a set of new functions
1406 under the gnutls_ocsp namespace. Currently the functionality provided
1407 is to parse and extract information from OCSP requests/responses, to
1408 generate OCSP requests and to verify OCSP responses. See the manual
1409 for more information. Run ./configure with --disable-ocsp to build
1410 GnuTLS without OCSP support.
1412 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1414 ** ocsptool: Added new command line tool.
1415 The tool can parse OCSP request/responses, generate OCSP requests and
1416 verify OCSP responses. See the manual for more information.
1418 ** certtool: --outder option now works for private
1419 and public keys as well.
1421 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1422 to warn when no or insufficient priorities were set.
1424 ** libgnutls: Corrected an alignment issue in ECDH
1425 key generation which prevented some keys from being
1426 correctly aligned in rare circumstances.
1428 ** libgnutls: Corrected memory leaks in DH parameter
1429 generation and ecc_projective_check_point().
1431 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1432 return a descriptive name of a DN OID.
1434 ** API and ABI modifications:
1435 gnutls_pubkey_encrypt_data: Added
1436 gnutls_x509_dn_oid_name: Added
1437 gnutls_session_resumption_requested: Added
1438 gnutls/ocsp.h: Added new header file.
1439 gnutls_ocsp_print_formats_t: Added new type.
1440 gnutls_ocsp_resp_status_t: Added new type.
1441 gnutls_ocsp_cert_status_t: Added new type.
1442 gnutls_x509_crl_reason_t: Added new type.
1443 gnutls_ocsp_req_add_cert: Added.
1444 gnutls_ocsp_req_add_cert_id: Added.
1445 gnutls_ocsp_req_deinit: Added.
1446 gnutls_ocsp_req_export: Added.
1447 gnutls_ocsp_req_get_cert_id: Added.
1448 gnutls_ocsp_req_get_extension: Added.
1449 gnutls_ocsp_req_get_nonce: Added.
1450 gnutls_ocsp_req_get_version: Added.
1451 gnutls_ocsp_req_import: Added.
1452 gnutls_ocsp_req_init: Added.
1453 gnutls_ocsp_req_print: Added.
1454 gnutls_ocsp_req_randomize_nonce: Added.
1455 gnutls_ocsp_req_set_extension: Added.
1456 gnutls_ocsp_req_set_nonce: Added.
1457 gnutls_ocsp_resp_deinit: Added.
1458 gnutls_ocsp_resp_export: Added.
1459 gnutls_ocsp_resp_get_certs: Added.
1460 gnutls_ocsp_resp_get_extension: Added.
1461 gnutls_ocsp_resp_get_nonce: Added.
1462 gnutls_ocsp_resp_get_produced: Added.
1463 gnutls_ocsp_resp_get_responder: Added.
1464 gnutls_ocsp_resp_get_response: Added.
1465 gnutls_ocsp_resp_get_signature: Added.
1466 gnutls_ocsp_resp_get_signature_algorithm: Added.
1467 gnutls_ocsp_resp_get_single: Added.
1468 gnutls_ocsp_resp_get_status: Added.
1469 gnutls_ocsp_resp_get_version: Added.
1470 gnutls_ocsp_resp_import: Added.
1471 gnutls_ocsp_resp_init: Added.
1472 gnutls_ocsp_resp_print: Added.
1473 gnutls_ocsp_resp_verify: Added.
1475 * Version 3.0.11 (released 2012-01-06)
1477 ** libgnutls: Corrected functionality of
1478 gnutls_record_get_direction(). Reported by Philip Allison.
1480 ** libgnutls: Provide less timing information when decoding
1481 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1483 ** API and ABI modifications:
1484 No changes since last version.
1487 * Version 3.0.10 (released 2012-01-04)
1489 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1490 in Linux as well as in BSD.
1492 ** gnutls-cli: Fixed reading from windows terminals.
1494 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1495 the stream is assumed to be base64 encoded (previously
1496 the encoding was auto-detected). This avoids a decoding
1497 issue in windows systems.
1499 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1501 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1502 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1504 ** libgnutls: Added function gnutls_random_art() to convert
1505 fingerprints to images (currently ascii-art).
1507 ** libgnutls: Corrected bug in DSA private key parsing, which
1508 prevented the verification of the key.
1510 ** API and ABI modifications:
1511 gnutls_random_art: Added
1514 * Version 3.0.9 (released 2011-12-13)
1516 ** certtool: Added new parameter --dh-info.
1518 ** certtool: -l option was overloaded so if combined with --priority
1519 it will only list the ciphersuites that are enabled by the given
1522 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1523 changes the ciphersuite selection procedure. If specified the server
1524 priorities will be used for selection instead of the client's.
1526 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1529 ** libgnutls: When session tickets are negotiated and used in a
1530 session, a server will not store that session data into its cache.
1532 ** libgnutls: Added the SECP192R1 curve.
1534 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1535 allow listing the ciphersuites enabled in a priority structure.
1536 It outputs an index to be used in gnutls_get_cipher_suite_info().
1538 ** libgnutls: Optimizations in the elliptic curve code --timing
1539 attacks resistant code is only used in ECDSA private key operations.
1541 ** doc: man pages for API functions generation was fixed and are
1542 now added again in the distribution.
1544 ** API and ABI modifications:
1545 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1546 gnutls_priority_get_cipher_suite_index: Added
1549 * Version 3.0.8 (released 2011-11-12)
1551 ** certtool: Certtool -e returns error code on verification
1554 ** certtool: Verifies parameters of generated keys.
1556 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1558 ** libgnutls: Provide less timing information when decoding
1559 TLS/DTLS record packets.
1561 ** doc: man pages for API functions were removed.
1562 The reason was that the code that auto-generated the man pages missed
1563 many APIs and we couldn't fix it (volunteers welcome). See the info
1564 manual or the GTK-DOC manual instead.
1566 ** API and ABI modifications:
1567 gnutls_x509_privkey_verify_params: Added
1570 * Version 3.0.7 (released 2011-11-08)
1572 ** libgnutls: Corrected fix in gnutls_session_get_data()
1573 to report the actual session size when the provided buffer
1576 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1577 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1579 ** API and ABI modifications:
1580 No changes since last version.
1583 * Version 3.0.6 (released 2011-11-07)
1585 ** gnutls-guile: Compilation fixes.
1587 ** libgnutls: Fixed possible buffer overflow in
1588 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1590 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1591 Reported by Fabrice Gautier.
1593 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1594 Thanks to Joseph Graham for providing access to such a system.
1596 ** libgnutls: Correctly report ECC private key parsing errors.
1597 Reported by Fabrice Gautier.
1599 ** libgnutls: In ECDHE verify that the received point lies on
1600 the selected curve. The ECDHE ciphersuites now take precendence
1603 ** API and ABI modifications:
1604 No changes since last version.
1607 * Version 3.0.5 (released 2011-10-27)
1609 ** libgnutls-extra: is no more
1611 ** libgnutls: Corrections in order to compile with mingw32.
1613 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1614 and new detection of PHE with support for partial hashing.
1616 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1619 ** minitasn1: Upgraded to libtasn1 version 2.10.
1621 ** API and ABI modifications:
1622 No changes since last version.
1625 * Version 3.0.4 (released 2011-10-15)
1627 ** libgnutls-extra: gnutls_register_md5_handler() was
1630 ** gnutls-cli-debug: Added more tests including AES-GCM,
1631 SHA256 and elliptic curves.
1633 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1634 the software version of the ciphers instead of hw accelerated
1637 ** libgnutls: Public key ID calculation is consistent among
1638 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1640 ** libgnutls: gnutls_privkey_t allows setting external callback
1641 to perform signing or decryption. Can be set using
1642 gnutls_privkey_import_ext()
1644 ** libgnutls: A certificate credentials structure can be
1645 used with a gnutls_privkey_t and a gnutls_pcert_st
1646 structure using gnutls_certificate_set_key().
1648 ** libgnutls: Fixes to enable external signing callback to
1649 operate with TLS 1.2.
1651 ** libgnutls: Fixed crash when printing ECDSA certificate key
1652 ID. Reported by Erik Jensen.
1654 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1655 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1656 support for hashes and HMACs.
1658 ** libgnutls: Compilation fixed when p11-kit is not detected.
1660 ** libgnutls: Fixed the deflate compression code.
1662 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1663 Used to get the PKIX Authority Information Access (AIA) field.
1665 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1667 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1668 signing callback function.
1670 ** API and ABI modifications:
1671 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1672 gnutls_privkey_import_ext: Added function.
1673 gnutls_certificate_set_key: Added function.
1674 gnutls_info_access_what_t (x509.h): Added enum.
1675 GNUTLS_OID_AIA (x509.h): Added symbol.
1676 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1677 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1679 * Version 3.0.3 (released 2011-09-18)
1681 ** libgnutls: Added gnutls_record_get_discarded() to return the
1682 number of discarded records in a DTLS session.
1684 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1685 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1687 ** libgnutls: Memory leak fixes in credentials private key
1688 deinitialization. Reported by Dan Winship.
1690 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1692 ** libgnutls: Do not send an empty extension structure in server
1693 hello. This affected old implementations that do not support extensions.
1694 Reported by J. Cameijo Cerdeira.
1696 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1697 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1698 <http://bugs.debian.org/640639>.
1700 ** libgnutls: Added support for VIA padlock AES optimizations.
1701 (disabled by default)
1703 ** libgnutls: Added support for elliptic curves in
1706 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1707 to allow generating a key in a token.
1709 ** p11tool: Added generate-rsa, generate-dsa and
1710 generate-ecc options to allow generating private
1713 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1716 ** API and ABI modifications:
1717 gnutls_pkcs11_privkey_generate: Added
1718 gnutls_pubkey_import_ecc_raw: Added
1719 gnutls_pubkey_import_ecc_x962: Added
1720 gnutls_pubkey_get_pk_ecc_x962: Added
1721 gnutls_record_get_discarded: Added
1724 * Version 3.0.2 (released 2011-09-01)
1726 ** libgnutls: OpenPGP certificate type is not enabled
1729 ** libgnutls: Added %NO_EXTENSIONS priority string.
1731 ** libgnutls: Corrected issue in gnutls_record_recv()
1732 triggered on encryption or compression error.
1734 ** libgnutls: Compatibility fixes in CPU ID detection
1735 for i386 and old GCC.
1737 ** gnutls-cli: Benchmark applications were incorporated
1740 ** libgnutls: Corrected parsing of XMPP subject
1743 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1746 ** libgnutls: gnutls_certificate_set_x509_key() and
1747 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1748 and allow the release of the private key during the
1749 lifetime of the certificate structure.
1751 ** API and ABI modifications:
1752 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1755 * Version 3.0.1 (released 2011-08-20)
1757 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1758 friends support server name indication. If multiple
1759 certificates are set using these functions the proper one
1760 will be selected during a handshake.
1762 ** libgnutls: Added AES-256-GCM which was left out from
1763 the previous release. Reported by Benjamin Hof.
1765 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1766 times, the flags in the callback were not being updated
1767 to reflect for PIN low count or final try.
1769 ** libgnutls: Do not allow second instances of PKCS #11
1772 ** libgnutls: fixed alignment issue in AES-NI code.
1774 ** libgnutls: The config file at gnutls_pkcs11_init()
1775 is being read if provided.
1777 ** libgnutls: Ensure that a certificate list specified
1778 using gnutls_certificate_set_x509_key() and friends, is
1779 sorted according to TLS specification (from subject to issuer).
1781 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1782 gnutls_x509_crt_list_import. It checks whether the list to be
1783 imported is properly sorted.
1785 ** crywrap: Added to the distribution. It is an application
1786 that proxies TLS session to a port using a plaintext service.
1788 ** doc: Many GTK-DOC improvements.
1790 ** i18n: Translations were updated.
1792 ** API and ABI modifications:
1793 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1794 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1797 * Version 3.0.0 (released 2011-07-29)
1799 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1802 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1805 ** certtool: bug fixes in certificate request generation. Patch
1808 ** API and ABI modifications:
1809 gnutls_pcert_list_import_x509_raw: ADDED
1812 * Version 2.99.4 (released 2011-07-23)
1814 ** doc: documentation updates.
1816 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1817 to avoid thread-safety issues. Reported by Sam Varshavchik.
1819 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1821 ** libgnutls: license upgraded to LGPLv3
1823 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1826 ** API and ABI modifications:
1827 No changes since last version.
1830 * Version 2.99.3 (released 2011-06-18)
1832 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1833 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1835 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1836 strings to enable the NSA SuiteB cryptography ciphersuites.
1838 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1839 verify data provided the signature algorithm.
1841 ** libgnutls: Simplified the handling of handshake messages to
1842 be hashed. Instead of hashing during the handshake process we now
1843 keep the data until handshake is over and hash them on request.
1844 This uses more memory but eliminates issues with TLS 1.2 and
1847 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1848 instruction. Uses Andy Polyakov's assembly code.
1850 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1851 gnutls_x509_trust_list_verify_named_crt() that allow having a
1852 list of certificates in the trusted list that will be associated
1853 with a name (e.g. server name) and will not be used as CAs.
1855 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1856 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1859 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1861 ** API and ABI modifications:
1862 gnutls_pubkey_verify_data2: ADDED
1863 gnutls_ecc_curve_get: ADDED
1864 gnutls_x509_trust_list_add_named_crt: ADDED
1865 gnutls_x509_trust_list_verify_named_crt: ADDED
1866 gnutls_x509_privkey_verify_data: REMOVED
1867 gnutls_crypto_bigint_register: REMOVED
1868 gnutls_crypto_cipher_register: REMOVED
1869 gnutls_crypto_digest_register: REMOVED
1870 gnutls_crypto_mac_register: REMOVED
1871 gnutls_crypto_pk_register: REMOVED
1872 gnutls_crypto_rnd_register: REMOVED
1873 gnutls_crypto_single_cipher_register: REMOVED
1874 gnutls_crypto_single_digest_register: REMOVED
1875 gnutls_crypto_single_mac_register: REMOVED
1876 GNUTLS_KX_ECDHE_PSK: New key exchange method
1877 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1878 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1879 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1882 * Version 2.99.2 (released 2011-05-26)
1884 ** libgnutls: Added Elliptic curve support. This is not
1885 enabled by default. Requires priority strings:
1886 +CURVE-ALL: to add all supported curves
1887 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1888 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1889 +ANON-ECDHE: to add anonymous ECDH
1891 ** libgnutls: PKCS #11 URLs conform to the latest draft
1892 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1894 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1897 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1898 to get important auditing information including the corresponding session.
1899 That might be useful to block DoS or other attacker from specific IPs.
1901 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1902 the public key algorithm of the key.
1904 ** libgnutls: Added gnutls_certificate_get_issuer() and
1905 gnutls_x509_trust_list_get_issuer() to compensate for the
1906 missing gnutls_certificate_get_x509_cas().
1908 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1909 verification of the self signature in a certificate request.
1910 This allows verifying whether the owner of the private key
1911 is the generator of the request.
1913 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1914 the self signature of the request.
1916 ** API and ABI modifications:
1917 gnutls_certificate_get_issuer: ADDED
1918 gnutls_x509_trust_list_get_issuer: ADDED
1919 gnutls_x509_crq_verify: ADDED
1920 gnutls_global_set_audit_log_function: ADDED
1921 gnutls_ecc_curve_get_name: ADDED
1922 gnutls_ecc_curve_get_size: ADDED
1923 gnutls_x509_privkey_import_ecc_raw: ADDED
1924 gnutls_x509_privkey_export_ecc_raw: ADDED
1925 gnutls_global_set_time_function: ADDED
1927 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1928 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1929 GNUTLS_KX_ECDHE_RSA: New key exchange method
1930 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1931 GNUTLS_KX_ANON_ECDH: New key exchange method
1932 GNUTLS_PK_ECC: New public key algorithm
1933 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1934 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1935 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1936 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
1937 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1938 GNUTLS_ECC_CURVE_INVALID: New curve definition
1939 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1940 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1941 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1942 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1945 * Version 2.99.1 (released 2011-04-23)
1947 ** libgnutls: LZO support was removed.
1949 ** libgnutls: Corrections in SSLv2 client hello parsing.
1951 ** libgnutls: Added support for AES-NI if detected. Uses
1952 Andy Polyakov's AES-NI code.
1954 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
1955 weak, several sites require it for connection. It is enabled for
1956 "NORMAL" and "PERFORMANCE" priority strings.
1958 ** libgnutls: depend on libdl.
1960 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1962 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1963 function required GnuTLS to access system specific data, for no reason.
1964 Use gnutls_transport_set_errno(), or your system's errno fascility
1967 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1968 to set a callback to retrieve a certificate. The certificate is
1969 received in a format that requires no processing from gnutls thus
1970 it is suitable when performance is required.
1972 ** API and ABI modifications:
1973 gnutls_transport_set_global_errno: REMOVED
1974 gnutls_certificate_set_retrieve_function2: ADDED
1976 * Version 2.99.0 (released 2011-04-09)
1978 ** libgnutls: Added Datagram TLS support.
1980 ** libgnutls: Uses a single configure file and a single
1981 gnulib library to save space.
1983 ** libgnutls: Several bug fixes.
1985 ** libgnutls: gnutls_transport_set_lowat() is no more.
1987 ** libgnutls-openssl: modified to use modern gnutls' functions.
1988 This introduces an ABI incompatibility with previous versions.
1990 ** libgnutls: Corrected signature generation and verification
1991 in the Certificate Verify message when in TLS 1.2. Reported
1994 ** libgnutlsxx: The C++ interface returns exception on
1995 every error and not only on fatal ones. This allows easier
1998 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
2001 ** libgnutls: SRP and PSK are no longer set on the default priorities.
2002 They have to be explicitly set.
2004 ** libgnutls: During handshake message verification using DSS
2005 use the hash algorithm required by it.
2007 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2008 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2010 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2012 ** libgnutls-extra: Inner application extension was removed.
2013 It was never standardized nor published as an RFC.
2015 ** libgnutls: Added new certificate verification functions, that
2016 can provide more details and are more efficient. Check
2017 gnutls_x509_trust_list_*.
2019 ** certtool: Uses the new certificate verification functions for
2022 ** certtool: Added new certificate verification functionality
2023 using the --verify option. Combined with --load-ca-certificate
2024 it can verify a certificate chain against a list of certificates.
2026 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2028 ** API and ABI modifications:
2029 gnutls_dtls_set_timeouts: ADDED
2030 gnutls_dtls_get_mtu: ADDED
2031 gnutls_dtls_get_data_mtu: ADDED
2032 gnutls_dtls_set_mtu: ADDED
2033 gnutls_dtls_cookie_send: ADDED
2034 gnutls_dtls_cookie_verify: ADDED
2035 gnutls_dtls_prestate_set: ADDED
2036 gnutls_x509_trust_list_verify_crt: ADDED
2037 gnutls_x509_trust_list_add_crls: ADDED
2038 gnutls_x509_trust_list_add_cas: ADDED
2039 gnutls_x509_trust_list_init: ADDED
2040 gnutls_x509_trust_list_deinit: ADDED
2041 gnutls_cipher_add_auth: ADDED
2042 gnutls_cipher_tag: ADDED
2043 gnutls_psk_netconf_derive_key: REMOVED
2044 gnutls_certificate_verify_peers: REMOVED
2045 gnutls_session_set_finished_function: REMOVED
2046 gnutls_ext_register: REMOVED
2047 gnutls_certificate_get_x509_crls: REMOVED
2048 gnutls_certificate_get_x509_cas: REMOVED
2049 gnutls_certificate_get_openpgp_keyring: REMOVED
2050 gnutls_session_get_server_random: REMOVED
2051 gnutls_session_get_client_random: REMOVED
2052 gnutls_session_get_master_secret: REMOVED
2053 gnutls_ia_allocate_client_credentials: REMOVED
2054 gnutls_ia_allocate_server_credentials: REMOVED
2055 gnutls_ia_enable: REMOVED
2056 gnutls_ia_endphase_send: REMOVED
2057 gnutls_ia_extract_inner_secret: REMOVED
2058 gnutls_ia_free_client_credentials: REMOVED
2059 gnutls_ia_free_server_credentials: REMOVED
2060 gnutls_ia_generate_challenge: REMOVED
2061 gnutls_ia_get_client_avp_ptr: REMOVED
2062 gnutls_ia_get_server_avp_ptr: REMOVED
2063 gnutls_ia_handshake: REMOVED
2064 gnutls_ia_handshake_p: REMOVED
2065 gnutls_ia_permute_inner_secret: REMOVED
2066 gnutls_ia_recv: REMOVED
2067 gnutls_ia_send: REMOVED
2068 gnutls_ia_set_client_avp_function: REMOVED
2069 gnutls_ia_set_client_avp_ptr: REMOVED
2070 gnutls_ia_set_server_avp_function: REMOVED
2071 gnutls_ia_set_server_avp_ptr: REMOVED
2072 gnutls_ia_verify_endphase: REMOVED
2075 * Version 2.12.2 (released 2011-04-08)
2077 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2079 ** libgnutls: Several bug and memory leak fixes.
2081 ** srptool: Accepts the -d option to enable debugging.
2083 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2084 the allocation of a verifier. Reported by Andrew Wiseman.
2086 ** API and ABI modifications:
2087 No changes since last version.
2090 * Version 2.12.1 (released 2011-04-02)
2092 ** certtool: Generated certificate request with stricter permissions.
2093 Reported by Luca Capello.
2095 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2097 ** libgnutls: Corrected windows system_errno() function prototype.
2099 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2101 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2102 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2104 ** API and ABI modifications:
2105 No changes since last version.
2110 * Version 2.12.0 (released 2011-03-24)
2112 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2113 the incompatibility with TLS other than 1.2.
2115 ** libgnutls: Modified signature algorithm selection in client
2116 certificate request, to avoid failures in DSA certificates.
2118 ** libgnutls: Instead of failing with internal error, return
2119 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2120 key with the negotiated protocol is encountered.
2122 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2124 ** libgnutls: Force state update when fork is detected in the nettle
2127 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2128 subkey instead of setting explicitly one.
2130 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2132 ** libgnutls-openssl: modified to use modern gnutls' functions.
2133 This introduces an ABI incompatibility with previous versions.
2135 ** API and ABI modifications:
2136 gnutls_pubkey_import_openpgp: MODIFIED
2141 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2142 replaced by gnutls_privkey_sign_hash2().
2144 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2145 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2146 gnutls_x509_crt_verify_hash return the negative error code
2147 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2150 ** libgnutls: Added helper functions for signature verification:
2151 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2153 ** libgnutls: Modified gnutls_privkey_sign_data().
2155 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2156 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2157 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2158 deprecated for gnutls_x509_crl_privkey_sign(),
2159 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2160 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2161 gnutls_pubkey_verify_data() respectively.
2163 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2166 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2167 and gnutls_x509_crt_list_import2().
2169 ** crypto.h: Fix use with C++.
2170 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2172 ** API and ABI modifications:
2173 gnutls_x509_crl_list_import: ADDED
2174 gnutls_x509_crl_list_import2: ADDED
2175 gnutls_x509_crt_list_import2: ADDED
2176 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2177 gnutls_pubkey_import_privkey: ADDED
2178 gnutls_pubkey_verify_data: ADDED
2179 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2180 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2181 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2182 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2183 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2184 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2185 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2186 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2187 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2188 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2189 gnutls_session_set_finished_function: DEPRECATED
2190 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2191 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2192 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2193 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2194 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2195 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2196 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2197 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2199 * Version 2.11.6 (released 2010-12-06)
2201 ** libgnutls: Record version of Client Hellos is now set by default to
2202 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2205 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2206 This makes us comply with RFC3279. Reported by Michael Rommel.
2208 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2210 ** API and ABI modifications:
2211 No changes since last version.
2213 * Version 2.11.5 (released 2010-12-01)
2215 ** libgnutls: Reverted default behavior for verification and
2216 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2217 V1 trusted CAs are allowed, unless the new flag is specified.
2219 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2220 Reported by Jeffrey Walton.
2222 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2223 as priority strings. Those allow to set all the supported algorithms
2226 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2228 ** gnutls-cli: Print channel binding only in verbose mode.
2229 Before it printed it after the 'Compression:' output, thus breaking
2230 Emacs starttls.el string searches.
2232 ** API and ABI modifications:
2233 gnutls_pkcs11_token_init: New function
2234 gnutls_pkcs11_token_set_pin: New function
2236 * Version 2.11.4 (released 2010-10-15)
2238 ** libgnutls: Add new API gnutls_session_channel_binding.
2239 The function is used to get the channel binding data. Currently only
2240 the "tls-unique" (RFC 5929) channel binding type is supported, through
2241 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2244 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2246 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2248 ** build: Update gnulib files.
2250 ** i18n: Update translations.
2252 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2254 ** API and ABI modifications:
2255 gnutls_session_channel_binding: New function.
2256 gnutls_channel_binding_t: New enumeration.
2257 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2258 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2260 * Version 2.11.3 (released 2010-10-14)
2262 ** Indent code to follow the GNU Coding Standard.
2263 You should be able to unpack the 2.11.2 release and run 'make indent'
2264 twice to get exactly the same content as 2.11.3 except for generated
2265 files. Using GNU Indent 2.2.11.
2267 ** API and ABI modifications:
2268 No changes since last version.
2270 * Version 2.11.2 (released 2010-10-08)
2272 ** libgnutls: Several bug fixes on session resumption
2273 and session tickets support.
2275 ** libgnutls: Add new extended key usage ipsecIKE.
2277 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2278 --p11-export-url, --p11-list-certs, --p11-list-certs,
2279 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2280 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2281 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2284 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2285 introduced with the new nettle code.
2287 ** libgnutls: Corrected advertizing issue for session tickets.
2289 ** API and ABI modifications:
2290 gnutls_x509_crt_get_subject_unique_id: ADDED.
2291 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2293 * Version 2.11.1 (released 2010-09-14)
2295 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2296 to use the libgcrypt back end.
2298 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2299 backend crypto library.
2301 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2303 ** libgnutls: Several updates in the buffering internal interface.
2305 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2306 tabs are being skipped.
2308 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2310 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2313 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2314 system calls. Applications that depended on it being 1 should explicitly call
2315 gnutls_transport_set_lowat().
2317 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2318 to ECRYPT II recommendations. Mappings were moved to a single location
2319 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2320 and 3072 keys only).
2322 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2323 gnutls_x509_privkey_import_pkcs8() without a password, if it
2324 is unable to decode the key.
2326 ** libgnutls: HMAC-MD5 no longer used by default.
2328 ** API and ABI modifications:
2329 gnutls_openpgp_privkey_sec_param: ADDED
2330 gnutls_x509_privkey_sec_param: ADDED
2332 * Version 2.11.0 (released 2010-07-22)
2334 ** libgnutls: support scattered write using writev(). This takes
2335 advantage of the new buffering layer and allows queuing of packets
2336 and flushing them. This is currently used for handshake messages
2339 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2340 alternative locking procedures. By default the system available
2341 locking is used. In *NIX pthreads are used and in windows the
2342 critical section API. This follows a different approach than the
2343 previous versions that depended on libgcrypt initialization. The
2344 locks are now set by default in systems that support it. Programs
2345 that used gcry_control() to set thread locks should insert it into
2347 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2351 ** libgnutls: Added support for reading DN from EV-certificates.
2353 jurisdictionOfIncorporationLocalityName,
2354 jurisdictionOfIncorporationStateOrProvinceName,
2355 jurisdictionOfIncorporationCountryName
2357 ** libgnutls: Added support for DSA signing/verifying with bit
2360 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2361 has to be called to register any required md5 handlers.
2363 ** libgnutls: Internal buffering code was replaced by simpler
2364 code contributed by Jonathan Bastien-Filiatrault.
2366 ** libgnutls: Internal API for extensions augmented to allow
2367 safe storing and loading of data on resumption. This allows writing
2368 self-contained extensions (when possible). As a side effect
2369 the OPRFI extension was removed.
2371 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2373 ** libgnutls: Added PKCS #11 support and an API to access objects in
2374 gnutls/pkcs11.h. Currently certificates and public keys can be
2375 imported from tokens, and operations can be performed on private keys.
2377 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2379 ** libgnutls: Added initial support for the nettle library. It uses
2380 the system's random generator for seeding. That is /dev/urandom in Linux,
2381 system calls in Win32 and EGD on other systems.
2383 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2384 works even when resuming a session.
2386 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2387 similar gnutls_certificate_set_server_retrieve_function() and
2388 gnutls_certificate_set_client_retrieve_function(). In addition it support
2389 PKCS #11 private keys.
2391 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2392 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2394 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2395 sizes for private keys using a human understandable scale.
2397 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2398 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2399 --pkcs11-delete-url, --pkcs11-write
2401 certtool: The --pkcs-cipher is taken into account when generating a
2402 private key. The default cipher used now is aes-128. The old behavior can
2403 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2405 certtool: Added --certificate-pubkey to print the public key of the
2408 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2409 can now accept a PKCS #11 URL in addition to a file. This will allow for
2410 example to use the Gnome-keyring trusted certificate list to verify
2411 connections using a url such as:
2412 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2414 ** API and ABI modifications:
2415 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2416 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2417 gnutls_sign_callback_set: DEPRECATED
2418 gnutls_global_set_mutex: ADDED
2419 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2420 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2421 gnutls_x509_privkey_export_rsa_raw2: ADDED
2423 gnutls_sec_param_to_pk_bits: ADDED
2424 gnutls_pk_bits_to_sec_param: ADDED
2425 gnutls_sec_param_get_name: ADDED
2426 gnutls_pkcs11_type_get_name: ADDED
2427 gnutls_certificate_set_retrieve_function: ADDED
2428 gnutls_pkcs11_init: ADDED
2429 gnutls_pkcs11_deinit: ADDED
2430 gnutls_pkcs11_set_pin_function: ADDED
2431 gnutls_pkcs11_set_token_function: ADDED
2432 gnutls_pkcs11_add_provider: ADDED
2433 gnutls_pkcs11_obj_init: ADDED
2434 gnutls_pkcs11_obj_import_url: ADDED
2435 gnutls_pkcs11_obj_export_url: ADDED
2436 gnutls_pkcs11_obj_deinit: ADDED
2437 gnutls_pkcs11_obj_export: ADDED
2438 gnutls_pkcs11_obj_list_import_url: ADDED
2439 gnutls_pkcs11_obj_export: ADDED
2440 gnutls_x509_crt_import_pkcs11: ADDED
2441 gnutls_pkcs11_obj_get_type: ADDED
2442 gnutls_x509_crt_list_import_pkcs11: ADDED
2443 gnutls_x509_crt_import_pkcs11_url: ADDED
2444 gnutls_pkcs11_obj_get_info: ADDED
2445 gnutls_pkcs11_token_get_info: ADDED
2446 gnutls_pkcs11_token_get_url: ADDED
2447 gnutls_pkcs11_privkey_init: ADDED
2448 gnutls_pkcs11_privkey_deinit: ADDED
2449 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2450 gnutls_pkcs11_privkey_get_info: ADDED
2451 gnutls_pkcs11_privkey_import_url: ADDED
2452 gnutls_pkcs11_privkey_sign_data: ADDED
2453 gnutls_pkcs11_privkey_sign_hash: ADDED
2454 gnutls_pkcs11_privkey_decrypt_data: ADDED
2455 gnutls_privkey_init: ADDED
2456 gnutls_privkey_deinit: ADDED
2457 gnutls_privkey_get_pk_algorithm: ADDED
2458 gnutls_privkey_get_type: ADDED
2459 gnutls_privkey_import_pkcs11: ADDED
2460 gnutls_privkey_import_x509: ADDED
2461 gnutls_privkey_import_openpgp: ADDED
2462 gnutls_privkey_sign_data: ADDED
2463 gnutls_privkey_sign_hash: ADDED
2464 gnutls_privkey_decrypt_data: ADDED
2465 gnutls_pkcs11_privkey_export_url: ADDED
2466 gnutls_x509_crq_privkey_sign: ADDED
2467 gnutls_x509_crl_privkey_sign: ADDED
2468 gnutls_x509_crt_privkey_sign: ADDED
2469 gnutls_pubkey_init: ADDED
2470 gnutls_pubkey_deinit: ADDED
2471 gnutls_pubkey_get_pk_algorithm: ADDED
2472 gnutls_pubkey_import_x509: ADDED
2473 gnutls_pubkey_import_openpgp: ADDED
2474 gnutls_pubkey_get_pk_rsa_raw: ADDED
2475 gnutls_pubkey_get_pk_dsa_raw: ADDED
2476 gnutls_pubkey_export: ADDED
2477 gnutls_pubkey_get_key_id: ADDED
2478 gnutls_pubkey_get_key_usage: ADDED
2479 gnutls_pubkey_verify_hash: ADDED
2480 gnutls_pubkey_get_verify_algorithm: ADDED
2481 gnutls_pkcs11_type_get_name: ADDED
2482 gnutls_pubkey_import_pkcs11_url: ADDED
2483 gnutls_pubkey_import: ADDED
2484 gnutls_pubkey_import_pkcs11: ADDED
2485 gnutls_pubkey_import_dsa_raw: ADDED
2486 gnutls_pubkey_import_rsa_raw: ADDED
2487 gnutls_x509_crt_set_pubkey: ADDED
2488 gnutls_x509_crq_set_pubkey: ADDED
2489 gnutls_pkcs11_copy_x509_crt: ADDED
2490 gnutls_pkcs11_copy_x509_privkey: ADDED
2491 gnutls_pkcs11_delete_url: ADDED
2493 * Version 2.10.1 (released 2010-07-25)
2495 ** libgnutls: Added support for broken certificates that indicate RSA
2498 ** gnutls-cli: Allow verification using V1 CAs.
2500 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2501 gnutls_x509_privkey_import_pkcs8() without a password, if it
2502 is unable to decode the key.
2504 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2505 a memory leak. Reported by Mads Kiilerich.
2507 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2508 issue a warning, that the output key might not be working everywhere.
2510 ** certtool: The --pkcs-cipher is taken into account when generating a
2511 private key. The default cipher used now is aes-128. The old behavior
2512 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2514 ** API and ABI modifications:
2515 No changes since last version.
2517 * Version 2.10.0 (released 2010-06-25)
2519 ** API and ABI modifications:
2520 No changes since last version.
2522 * Version 2.9.12 (released 2010-06-17)
2524 ** gnutls-cli: Make --starttls work again.
2525 Problem introduced in patch to use read() instead of fgets() committed
2528 ** API and ABI modifications:
2529 No changes since last version.
2531 * Version 2.9.11 (released 2010-06-07)
2533 ** libgnutls: Removed two APIs related to safe renegotiation.
2534 Use priority strings instead. The APIs were
2535 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2536 (Remember that we don't promise ABI stability during development
2537 series, so this doesn't cause an shared library ABI increment.)
2539 ** tests: More self testing of safe renegotiation extension.
2540 See tests/safe-renegotiation/README for more information.
2542 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2544 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2546 ** API and ABI modifications:
2547 gnutls_safe_negotiation_set_initial: REMOVED.
2548 gnutls_safe_renegotiation_set: REMOVED.
2550 * Version 2.9.10 (released 2010-04-22)
2552 ** libgnutls: Time verification extended to trusted certificate list.
2553 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2556 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2557 Based on patch by Pavan Konjarla. Adds new constant
2558 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2560 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2561 Solves the issue discussed in:
2562 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2563 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2564 Note that to allow connecting to unpatched servers the full protection
2565 is only enabled if the priority string %SAFE_RENEGOTIATION is
2566 specified. You can check whether protection is in place by querying
2567 gnutls_safe_renegotiation_status(). New error codes
2568 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2569 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2571 ** libgnutls: When checking openpgp self signature also check the signatures
2573 Ilari Liusvaara noticed and reported the issue and provided test
2576 ** libgnutls: Added cryptodev support (/dev/crypto).
2577 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2578 benchmark utility for AES. Adds new error codes
2579 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2581 ** libgnutls: Exported API to access encryption and hash algorithms.
2582 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2583 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2584 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2585 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2586 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2587 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2588 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2590 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2591 verification of certificate upon receipt rather than waiting until the
2592 end of the handshake.
2594 ** libgnutls: Don't send alerts during handshake.
2595 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2597 ** certtool: Corrected two issues that affected certificate request generation.
2598 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2599 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2600 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2601 those parameters there since other implementations don't do either and having
2602 them does not seem to offer anything (anyway you need the signer's certificate
2603 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2604 This however has the side-effect that public key IDs shown by certtool are
2605 now different than previous gnutls releases.
2606 (3) the option --pgp-certificate-info will verify self signatures
2608 ** certtool: Allow exporting of Certificate requests on DER format.
2610 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2612 ** gnutls-cli: Handle reading binary data from server.
2613 Reported by and tiny patch from Vitaly Mayatskikh
2614 <v.mayatskih@gmail.com> in
2615 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2617 ** minitasn1: Upgraded to libtasn1 version 2.6.
2619 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2620 ** Added Italian and Simplified Chinese translation.
2621 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2622 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2624 ** doc: The GTK-DOC manual is significantly improved.
2626 ** API and ABI modifications:
2627 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2628 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2629 %UNSAFE_RENEGOTIATION: Added to priority strings.
2630 GNUTLS_DIG_SHA224: ADDED.
2631 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2632 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2633 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2634 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2635 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2636 GNUTLS_MAC_SHA224: ADDED.
2637 GNUTLS_OID_X520_NAME: ADDED.
2638 GNUTLS_OID_X520_POSTALCODE: ADDED.
2639 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2640 GNUTLS_VERSION_MAX: ADDED.
2641 gnutls_certificate_set_verify_function: ADDED.
2642 gnutls_cipher_decrypt: ADDED.
2643 gnutls_cipher_deinit: ADDED.
2644 gnutls_cipher_encrypt: ADDED.
2645 gnutls_cipher_get_block_size: ADDED.
2646 gnutls_cipher_init: ADDED.
2648 gnutls_hash_deinit: ADDED.
2649 gnutls_hash_fast: ADDED.
2650 gnutls_hash_get_len: ADDED.
2651 gnutls_hash_init: ADDED.
2652 gnutls_hash_output: ADDED.
2654 gnutls_hmac_deinit: ADDED.
2655 gnutls_hmac_fast: ADDED.
2656 gnutls_hmac_get_len: ADDED.
2657 gnutls_hmac_init: ADDED.
2658 gnutls_hmac_output: ADDED.
2659 gnutls_safe_negotiation_set_initial: ADDED.
2660 gnutls_safe_renegotiation_set: ADDED.
2661 gnutls_safe_renegotiation_status: ADDED.
2663 * Version 2.9.9 (released 2009-11-09)
2665 ** libgnutls: Cleanups and several bug fixes.
2666 Found by Steve Grubb and Tomas Mraz.
2668 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2670 ** Fix --disable-valgrind-tests.
2671 Reported by Ingmar Vanhassel in
2672 <https://savannah.gnu.org/support/?107029>.
2674 ** API and ABI modifications:
2675 No changes since last version.
2677 * Version 2.9.8 (released 2009-11-05)
2679 ** libgnutls: Fix for memory leaks on interrupted handshake.
2680 Reported by Tang Tong.
2682 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2683 ** extension and certificate verify field.
2684 This requires changes for TLS 1.2 servers and clients that use
2685 callbacks for certificate retrieval. They are now required to check
2686 with gnutls_sign_algorithm_get_requested() whether the certificate
2687 they send complies with the peer's preferences in signature
2690 ** libgnutls: In server side when resuming a session do not overwrite the
2691 ** initial session data with the resumed session data.
2693 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2695 This affects also PKCS #12 encoded files. This adds the following new
2696 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2697 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2699 ** libgnutls: Fix PKCS#12 encoding.
2700 The error you would get was "The OID is not supported.". Problem
2701 introduced for the v2.8.x branch in 2.7.6.
2703 ** certtool: Added the --pkcs-cipher option.
2704 To explicitely specify the encryption algorithm to use.
2706 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2708 ** tests: Fix time bomb in chainverify self-test.
2709 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2710 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2712 ** tests: Fix expired cert in chainverify self-test.
2714 ** i18n: Vietnamese translation updated.
2715 Thanks to Clytie Siddall.
2717 ** API and ABI modifications:
2718 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2719 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2720 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2721 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2722 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2723 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2724 gnutls_sign_algorithm_get_requested: ADDED.
2726 * Version 2.9.7 (released 2009-10-06)
2728 ** libgnutls: TLS 1.2 server mode fixes.
2729 Now interoperates against Opera. Contributed by Daiki Ueno.
2731 ** libgnutlsxx: Fix link problems.
2732 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2734 ** guile: Compatibility with guile 2.x.
2735 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2737 ** API and ABI modifications:
2738 No changes since last version.
2740 * Version 2.9.6 (released 2009-09-22)
2742 ** libgnutls: Enable Camellia ciphers by default.
2744 ** API and ABI modifications:
2745 No changes since last version.
2747 * Version 2.9.5 (released 2009-09-10)
2749 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2750 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2751 gnutls_x509_crt_get_issuer_alt_name, and
2752 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2753 Hards <bradh@frogmouth.net>.
2755 ** API and ABI modifications:
2756 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2757 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2758 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2760 * Version 2.9.4 (released 2009-09-03)
2762 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2763 The new supported ciphersuites are AES-128/256 in CBC mode with
2764 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2765 SHA-256 is now the preferred default MAC (however it is only used with
2768 ** libgnutls: Make OpenPGP hostname checking work again.
2769 The patch to resolve the X.509 CN/SAN issue accidentally broken
2770 OpenPGP hostname comparison.
2772 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2773 Reported by Howard Chu <hyc@symas.com> in
2774 <https://savannah.gnu.org/support/?106975>.
2776 ** Fix use of deprecated types internally.
2777 Use of deprecated types in GnuTLS from now on will lead to a compile
2778 error, to prevent this from happening again.
2780 ** API and ABI modifications:
2781 No changes since last version.
2783 * Version 2.9.3 (released 2009-08-19)
2785 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2786 The new APIs are gnutls_session_ticket_enable_client,
2787 gnutls_session_ticket_enable_server, and
2788 gnutls_session_ticket_key_generate.
2790 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2792 ** API and ABI modifications:
2793 gnutls_session_ticket_key_generate: ADDED.
2794 gnutls_session_ticket_enable_client: ADDED.
2795 gnutls_session_ticket_enable_server: ADDED.
2797 * Version 2.9.2 (released 2009-08-14)
2799 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2800 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2801 into 1) not printing the entire CN/SAN field value when printing a
2802 certificate and 2) cause incorrect positive matches when matching a
2803 hostname against a certificate. Some CAs apparently have poor
2804 checking of CN/SAN values and issue these (arguable invalid)
2805 certificates. Combined, this can be used by attackers to become a
2806 MITM on server-authenticated TLS sessions. The problem is mitigated
2807 since attackers needs to get one certificate per site they want to
2808 attack, and the attacker reveals his tracks by applying for a
2809 certificate at the CA. It does not apply to client authenticated TLS
2810 sessions. Research presented independently by Dan Kaminsky and Moxie
2811 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2812 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2814 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2815 The function may fail incorrectly when an earlier certificate was
2816 imported to the same gnutls_x509_crt_t structure.
2818 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2820 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2821 Before it always returned false. Reported by Peter Hendrickson
2822 <pdh@wiredyne.com> in
2823 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2825 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2826 The error resulted in truncated strings when printing unknown OIDs in
2827 X.509 certificate DNs. Reported by Tim Kosse
2828 <tim.kosse@filezilla-project.org> in
2829 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2831 ** libgnutls: Fix PKCS#12 decryption from password.
2832 The encryption key derived from the password was incorrect for (on
2833 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2834 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2835 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2837 ** libgnutls: Return correct bit lengths of some MPIs.
2838 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2839 gnutls_dh_get_peers_public_bits. Before the reported value was
2840 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2841 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2843 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2844 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2845 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2847 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2849 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2850 Before we required that the runtime library used the same (or more
2851 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2852 that the runtime usage is above the minimum required. Reported by
2853 Marco d'Itri <md@linux.it> via Andreas Metzler
2854 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2856 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2858 ** tests: Improved test vectors in self-test pkcs12_s2k.
2860 ** tests: Added new self-test dn2 to detect off-by-one size error.
2862 ** tests: Fix failure in "chainverify" because a certificate have expired.
2864 ** API and ABI modifications:
2865 No changes since last version.
2867 * Version 2.9.1 (released 2009-06-08)
2869 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2870 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2871 <http://bugs.gentoo.org/272388>.
2873 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2875 ** Reduce stack usage for some CRQ functions.
2877 ** Doc fixes for CRQ functions.
2879 ** API and ABI modifications:
2880 No changes since last version.
2882 * Version 2.9.0 (released 2009-05-28)
2886 ** API and ABI modifications:
2887 No changes since last version.
2889 * Version 2.8.6 (released 2010-03-15)
2891 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2892 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2893 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2895 Note: As a side effect of this change, the "public key identifier"
2896 value computed for a certificate using this version of GnuTLS will be
2897 different from values computed using earlier versions of GnuTLS.
2899 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2900 ** optional SignatureAlgorithm parameter field.
2901 VeriSign rejected these CSRs. They are stricly speaking not needed
2902 since you need the signer's certificate to verify the certificate
2903 signature anyway. Reported by Wilankar Trupti
2904 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2906 ** libgnutls: When checking openpgp self signature also check the signatures
2908 Ilari Liusvaara noticed and reported the issue and provided test
2911 ** libgnutls: Cleanups and several bug fixes.
2912 Found by Steve Grubb and Tomas Mraz.
2914 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2916 ** Fix --disable-valgrind-tests.
2917 Reported by Ingmar Vanhassel in
2918 <https://savannah.gnu.org/support/?107029>.
2920 ** examples: Use the new APIs for printing X.509 certificate information.
2922 ** Fix build failures on Solaris.
2923 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2925 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2926 ** translations. Added Simplified Chinese translation.
2928 ** API and ABI modifications:
2929 No changes since last version.
2931 * Version 2.8.5 (released 2009-11-02)
2933 ** libgnutls: In server side when resuming a session do not overwrite the
2934 ** initial session data with the resumed session data.
2936 ** libgnutls: Fix PKCS#12 encoding.
2937 The error you would get was "The OID is not supported.". Problem
2938 introduced for the v2.8.x branch in 2.7.6.
2940 ** guile: Compatibility with guile 2.x.
2941 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2943 ** tests: Fix expired cert in chainverify self-test.
2945 ** tests: Fix time bomb in chainverify self-test.
2946 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2947 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2949 ** API and ABI modifications:
2950 No changes since last version.
2952 * Version 2.8.4 (released 2009-09-18)
2954 ** libgnutls: Enable Camellia ciphers by default.
2956 ** libgnutls: Make OpenPGP hostname checking work again.
2957 The patch to resolve the X.509 CN/SAN issue accidentally broken
2958 OpenPGP hostname comparison.
2960 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2961 Reported by Howard Chu <hyc@symas.com> in
2962 <https://savannah.gnu.org/support/?106975>.
2964 ** API and ABI modifications:
2965 No changes since last version.
2967 * Version 2.8.3 (released 2009-08-13)
2969 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2970 Code intended to be removed would lead to an read-out-bound error in
2971 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
2972 code have been allocated for the vulnerability: [CVE-2009-2730].
2974 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2975 The function may fail incorrectly when an earlier certificate was
2976 imported to the same gnutls_x509_crt_t structure.
2978 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2980 ** tests: Made self-test mini-eagain take less time.
2984 ** API and ABI modifications:
2985 No changes since last version.
2987 * Version 2.8.2 (released 2009-08-10)
2989 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2990 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2991 into 1) not printing the entire CN/SAN field value when printing a
2992 certificate and 2) cause incorrect positive matches when matching a
2993 hostname against a certificate. Some CAs apparently have poor
2994 checking of CN/SAN values and issue these (arguable invalid)
2995 certificates. Combined, this can be used by attackers to become a
2996 MITM on server-authenticated TLS sessions. The problem is mitigated
2997 since attackers needs to get one certificate per site they want to
2998 attack, and the attacker reveals his tracks by applying for a
2999 certificate at the CA. It does not apply to client authenticated TLS
3000 sessions. Research presented independently by Dan Kaminsky and Moxie
3001 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3002 for providing one part of the patch. [GNUTLS-SA-2009-4].
3004 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3005 Before it always returned false. Reported by Peter Hendrickson
3006 <pdh@wiredyne.com> in
3007 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3009 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3010 The error resulted in truncated strings when printing unknown OIDs in
3011 X.509 certificate DNs. Reported by Tim Kosse
3012 <tim.kosse@filezilla-project.org> in
3013 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3015 ** libgnutls: Return correct bit lengths of some MPIs.
3016 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3017 gnutls_dh_get_peers_public_bits. Before the reported value was
3018 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3019 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3021 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3022 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3023 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3025 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3027 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3028 Before we required that the runtime library used the same (or more
3029 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3030 that the runtime usage is above the minimum required. Reported by
3031 Marco d'Itri <md@linux.it> via Andreas Metzler
3032 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3034 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3036 ** tests: Fix failure in "chainverify" because a certificate have expired.
3038 ** API and ABI modifications:
3039 No changes since last version.
3041 * Version 2.8.1 (released 2009-06-10)
3043 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3044 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3045 <http://bugs.gentoo.org/272388>.
3047 ** libgnutls: Fix PKCS#12 decryption from password.
3048 The encryption key derived from the password was incorrect for (on
3049 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3050 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3051 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3053 ** API and ABI modifications:
3054 No changes since last version.
3056 * Version 2.8.0 (released 2009-05-27)
3058 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3060 ** Major changes compared to the v2.4 branch:
3062 *** lib: Linker version scripts reduces number of exported symbols.
3064 *** lib: Limit exported symbols on systems without LD linker scripts.
3066 *** libgnutls: Fix namespace issue with version symbols.
3068 *** libgnutls: Add functions to verify a hash against a certificate.
3069 gnutls_x509_crt_verify_hash: ADDED
3070 gnutls_x509_crt_get_verify_algorithm: ADDED
3072 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3074 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3076 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3078 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3080 *** gnutls-serv: No longer disable MAC padding by default.
3082 *** gnutls-cli: Certificate information output format changed.
3084 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3085 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3087 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3089 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3091 *** libgnutls: gnutls_handshake when sending client hello during a
3092 rehandshake, will not offer a version number larger than the current.
3094 *** libgnutls: New interface to get key id for certificate requests.
3095 gnutls_x509_crq_get_key_id: ADDED.
3097 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3099 *** certtool: --verify-chain now prints results of using library verification.
3101 *** libgnutls: Libgcrypt initialization changed.
3103 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3105 *** gnutls-cli: Return non-zero exit code on error conditions.
3107 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3109 *** certtool: allow setting arbitrary key purpose object identifiers.
3111 *** libgnutls: Change detection of when to use a linker version script.
3112 Use --enable-ld-version-script or --disable-ld-version-script to
3113 override auto-detection logic.
3115 *** Fix warnings and build GnuTLS with more warnings enabled.
3117 *** New API to set X.509 credentials from PKCS#12 memory structure.
3118 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3120 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3121 Please use pkg-config instead.
3123 *** libgnutls: Added functions to handle CRL extensions.
3124 gnutls_x509_crl_get_authority_key_id: ADDED
3125 gnutls_x509_crl_get_number: ADDED
3126 gnutls_x509_crl_get_extension_oid: ADDED
3127 gnutls_x509_crl_get_extension_info: ADDED
3128 gnutls_x509_crl_get_extension_data: ADDED
3129 gnutls_x509_crl_set_authority_key_id: ADDED
3130 gnutls_x509_crl_set_number: ADDED
3132 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3134 gnutls_x509_crq_get_key_rsa_raw: ADDED
3135 gnutls_x509_crq_get_attribute_info: ADDED
3136 gnutls_x509_crq_get_attribute_data: ADDED
3137 gnutls_x509_crq_get_extension_info: ADDED
3138 gnutls_x509_crq_get_extension_data: ADDED
3139 gnutls_x509_crq_get_key_usage: ADDED
3140 gnutls_x509_crq_get_basic_constraints: ADDED
3141 gnutls_x509_crq_get_subject_alt_name: ADDED
3142 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3143 gnutls_x509_crq_get_extension_by_oid: ADDED
3144 gnutls_x509_crq_set_subject_alt_name: ADDED
3145 gnutls_x509_crq_set_basic_constraints: ADDED
3146 gnutls_x509_crq_set_key_usage: ADDED
3147 gnutls_x509_crq_get_key_purpose_oid: ADDED
3148 gnutls_x509_crq_set_key_purpose_oid: ADDED
3149 gnutls_x509_crq_print: ADDED
3150 gnutls_x509_crt_set_crq_extensions: ADDED
3152 *** certtool: Print and set CRL and CRQ extensions.
3154 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3156 *** examples: Now released into the public domain.
3158 *** The Texinfo and GTK-DOC manuals were improved.
3160 *** Several self-tests were added and others improved.
3162 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3163 No offically supported interfaces have been modified or removed. The
3164 library should be completely backwards compatible on both the source
3167 The shared library no longer exports some symbols that have never been
3168 officially supported, i.e., not mentioned in any of the header files.
3174 Normally when symbols are removed, the shared library version has to
3175 be incremented. This leads to a significant cost for everyone using
3176 the library. Because none of the above symbols have ever been
3177 intended for use by well-behaved applications, we decided that the it
3178 would be better for those applications to pay the price rather than
3179 incurring problems on the majority of applications.
3181 If it turns out that applications have been using unofficial
3182 interfaces, we will need to release a follow-on release on the v2.8
3183 branch to exports additional interfaces. However, initial testing
3184 suggests that few if any applications have been using any of the
3187 Although not a new change compared to 2.6.x, we'd like to remind you
3188 interfaces have been modified so that X.509 chain verification now
3189 also checks activation/expiration times on certificates. The affected
3192 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3193 gnutls_certificate_verify_peers: Likewise.
3194 gnutls_certificate_verify_peers2: Likewise.
3195 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3196 GNUTLS_CERT_EXPIRED: ADDED.
3197 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3199 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3200 we gave our rationale for it in earlier release notes.
3202 The following symbols have been added to the library:
3204 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3205 gnutls_x509_crl_get_authority_key_id: ADDED
3206 gnutls_x509_crl_get_extension_data: ADDED
3207 gnutls_x509_crl_get_extension_info: ADDED
3208 gnutls_x509_crl_get_extension_oid: ADDED
3209 gnutls_x509_crl_get_number: ADDED
3210 gnutls_x509_crl_set_authority_key_id: ADDED
3211 gnutls_x509_crl_set_number: ADDED
3212 gnutls_x509_crq_get_attribute_data: ADDED
3213 gnutls_x509_crq_get_attribute_info: ADDED
3214 gnutls_x509_crq_get_basic_constraints: ADDED
3215 gnutls_x509_crq_get_extension_by_oid: ADDED
3216 gnutls_x509_crq_get_extension_data: ADDED
3217 gnutls_x509_crq_get_extension_info: ADDED
3218 gnutls_x509_crq_get_key_id: ADDED.
3219 gnutls_x509_crq_get_key_purpose_oid: ADDED
3220 gnutls_x509_crq_get_key_rsa_raw: ADDED
3221 gnutls_x509_crq_get_key_usage: ADDED
3222 gnutls_x509_crq_get_subject_alt_name: ADDED
3223 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3224 gnutls_x509_crq_print: ADDED
3225 gnutls_x509_crq_set_basic_constraints: ADDED
3226 gnutls_x509_crq_set_key_purpose_oid: ADDED
3227 gnutls_x509_crq_set_key_usage: ADDED
3228 gnutls_x509_crq_set_subject_alt_name: ADDED
3229 gnutls_x509_crt_get_verify_algorithm: ADDED
3230 gnutls_x509_crt_set_crq_extensions: ADDED
3231 gnutls_x509_crt_verify_hash: ADDED
3233 The following interfaces have been added to the header files:
3235 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3236 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3237 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3238 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3239 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3240 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3242 The following interfaces have been deprecated:
3244 LIBGNUTLS_VERSION: DEPRECATED.
3245 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3246 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3247 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3248 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3249 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3251 * Version 2.7.14 (released 2009-05-26)
3253 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3254 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3255 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3258 ** Doc: Several typo fixes in documentation.
3259 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3261 ** API and ABI modifications:
3262 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3263 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3265 * Version 2.7.13 (released 2009-05-25)
3267 ** libgnutls: Fix version of some exported symbols in the shared library.
3268 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3269 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3271 ** tests: Handle recently expired certificates in chainverify self-test.
3272 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3273 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3275 ** API and ABI modifications:
3276 No changes since last version.
3278 * Version 2.7.12 (released 2009-05-20)
3280 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3282 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3283 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3284 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3286 ** Fix build failures.
3287 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3288 G. Christensen" <tgc@jupiterrise.com> in
3289 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3291 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3292 GnuTLS should work fine with libtasn1 v1.x and that is still
3295 ** API and ABI modifications:
3296 No changes since last version.
3298 * Version 2.7.11 (released 2009-05-18)
3300 ** minitasn1: Fix build failure when using internal libtasn1.
3301 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3302 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3304 ** libgnutls: Fix build failure with --disable-cxx.
3305 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3306 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3308 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3309 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3310 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3312 ** Building with many warning flags now requires --enable-gcc-warnings.
3313 This avoids crying wolf for normal compiles.
3315 ** API and ABI modifications:
3316 No changes since last version.
3318 * Version 2.7.10 (released 2009-05-13)
3320 ** examples: Now released into the public domain.
3321 This makes the license of the example code compatible with more
3322 licenses, including the (L)GPL.
3324 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3325 GnuTLS should work fine with libtasn1 v1.x and that is still
3328 ** libgnutls: Fix crash in signature verification
3329 The fix for the CVE-2009-1415 problem wasn't merged completely.
3331 ** doc: Fixes for GTK-DOC output.
3333 ** API and ABI modifications:
3334 No changes since last version.
3336 * Version 2.7.9 (released 2009-05-11)
3338 ** doc: Fix strings in man page of gnutls_priority_init.
3340 ** doc: Fix tables of error codes and supported algorithms.
3342 ** Fix build failure when cross-compiled using MinGW.
3344 ** Fix build failure when LZO is enabled.
3345 Reported by Arfrever Frehtes Taifersar Arahesis
3346 <arfrever.fta@gmail.com> in
3347 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3349 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3350 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3351 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3353 ** Fix warnings in self-tests.
3355 ** API and ABI modifications:
3356 No changes since last version.
3358 * Version 2.7.8 (released 2009-05-03)
3360 ** libgnutls: Fix DSA key generation.
3361 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3363 ** libgnutls: Check expiration/activation time on untrusted certificates.
3364 Merged from stable branch. Reported by Romain Francoise
3365 <romain@orebokech.com>. This changes the semantics of
3366 gnutls_x509_crt_list_verify, which in turn is used by
3367 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3368 We add two new gnutls_certificate_status_t codes for reporting the new
3369 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3370 We also add a new gnutls_certificate_verify_flags flag,
3371 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3372 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3374 ** lib: Linker version scripts reduces number of exported symbols.
3375 The linker version script now lists all exported ABIs explicitly, to
3376 avoid accidentally exporting unintended functions. Compared to
3377 before, most symbols beginning with _gnutls* are no longer exported.
3378 These functions have never been intended for use by applications, and
3379 there were no prototypes for these function in the public header
3380 files. Thus we believe it is possible to do this without incrementing
3381 the library ABI version which normally has to be done when removing an
3384 ** lib: Limit exported symbols on systems without LD linker scripts.
3385 Before all symbols were exported. Now we limit the exported symbols
3386 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3387 _gnutls*. This is a superset of the actual supported ABI, but still
3388 an improvement compared to before. This is implemented using Libtool
3389 -export-symbols-regex. It is more portable than linker version
3392 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3393 This should have been done in the last release.
3395 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3396 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3397 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3399 ** doc: Improved sections for the info manual.
3400 We now follow the advice given by the texinfo manual on which
3401 directory categories to use. In particular, libgnutls moved from the
3402 'GNU Libraries' section to the 'Software libraries' and the command
3403 line tools moved from 'Network Applications' to 'System
3406 ** API and ABI modifications:
3407 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3408 gnutls_certificate_verify_peers: Likewise.
3409 gnutls_certificate_verify_peers2: Likewise.
3410 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3411 GNUTLS_CERT_EXPIRED: ADDED.
3412 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3414 * Version 2.7.7 (released 2009-04-20)
3416 ** libgnutls: Applied patch by Cedric Bail to add functions
3417 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3419 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3420 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3421 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3423 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3424 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3426 ** doc: Fix build failure of errcodes/printlist.
3427 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3428 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3430 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3431 It is currently only used by the core library. This will enable a new
3432 domain 'gnutls' for translations of the command line tools.
3434 ** Corrected possible memory corruption on signature verification failure.
3435 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3437 ** API and ABI modifications:
3438 gnutls_x509_crt_verify_hash: ADDED
3439 gnutls_x509_crt_get_verify_algorithm: ADDED
3441 * Version 2.7.6 (released 2009-02-27)
3443 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3444 This applies both to generating certificates and certificate requests.
3446 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3448 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3449 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3450 be used for chain verification.
3452 ** gnutls-serv: No longer disable MAC padding by default.
3453 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3455 ** gnutls-cli: Certificate information output format changed.
3456 The tool now uses libgnutls' functions to print certificate
3457 information. This avoids code duplication.
3459 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3460 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3461 They can be used to override the default certificate chain validation
3464 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3465 specify the client hello message record version. Used to overcome buggy
3466 TLS servers. Report by Martin von Gagern.
3468 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3470 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3472 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3474 ** API and ABI modifications:
3475 No changes since last version.
3477 * Version 2.7.5 (released 2009-02-06)
3479 ** libgnutls: Accept chains where intermediary certs are trusted.
3480 Before GnuTLS needed to validate the entire chain back to a
3481 self-signed certificate. GnuTLS will now stop looking when it has
3482 found an intermediary trusted certificate. The new behaviour is
3483 useful when chains, for example, contains a top-level CA, an
3484 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3485 To avoid chain validation errors due to the RSA-MD5 cert, you can
3486 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3487 The signature on trusted certificates are not checked, so the chain
3488 has a chance to validate correctly. Reported by "Douglas E. Engert"
3489 <deengert@anl.gov> in
3490 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3492 ** libgnutls: result_size in gnutls_hex_encode now holds
3493 the size of the result. Report by John Brooks <special@dereferenced.net>.
3495 ** libgnutls: gnutls_handshake when sending client hello during a
3496 rehandshake, will not offer a version number larger than the current.
3497 Reported by Tristan Hill <stan@saticed.me.uk>.
3499 ** libgnutls: Permit V1 Certificate Authorities properly.
3500 Before they were mistakenly rejected even though
3501 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3502 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3503 "Douglas E. Engert" <deengert@anl.gov> in
3504 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3506 ** API and ABI modifications:
3507 No changes since last version.
3509 * Version 2.7.4 (released 2009-01-07)
3511 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3512 This is a bugfix -- the previous attempt to do this from internal x509
3513 certificate verification procedures did not return the correct value
3514 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3515 <dkg@fifthhorseman.net> in
3516 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3517 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3518 Gillmor <dkg@fifthhorseman.net>.
3520 ** libgnutls: New interface to get key id for certificate requests.
3521 Patch from David Marín Carreño <davefx@gmail.com> in
3522 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3524 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3526 ** certtool: --verify-chain now prints results of using library verification.
3527 Earlier, certtool --verify-chain used its own validation algorithm
3528 which wasn't guaranteed to give the same result as the libgnutls
3529 internal validation algorithm. Now this command print a new final
3530 line with header 'Chain verification output:' that contains the result
3531 from using the internal verification algorithm on the same chain.
3533 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3535 ** API and ABI modifications:
3536 gnutls_x509_crq_get_key_id: ADDED.
3538 * Version 2.7.3 (released 2008-12-10)
3540 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3541 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3542 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3543 Andreas Metzler <ametzler@downhill.at.eu.org> in
3544 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3546 ** libgnutls: Libgcrypt initialization changed.
3547 If libgcrypt has not already been initialized, GnuTLS will now
3548 initialize libgcrypt with disabled secure memory. Initialize
3549 libgcrypt explicitly in your application if you want to enable secure
3550 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3551 allocation functions, which doesn't use secure memory, so there is no
3552 real change in behaviour.
3554 ** libgnutls: Fix memory leak in PSK authentication.
3555 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3556 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3558 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3560 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3561 It needs to be invoked before libgcrypt is initialized.
3563 ** gnutls-cli: Return non-zero exit code on error conditions.
3565 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3567 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3569 ** API and ABI modifications:
3570 No changes since last version.
3572 * Version 2.7.2 (released 2008-11-18)
3574 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3575 The flaw makes it possible for man in the middle attackers (i.e.,
3576 active attackers) to assume any name and trick GnuTLS clients into
3577 trusting that name. Thanks for report and analysis from Martin von
3578 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3580 Any updates with more details about this vulnerability will be added
3581 to <http://www.gnu.org/software/gnutls/security.html>
3583 ** libgnutls: Fix namespace issue with version symbols.
3584 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3585 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3586 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3587 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3588 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3589 work but are deprecated.
3591 ** certtool: allow setting arbitrary key purpose object identifiers.
3593 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3595 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3596 Reported by Kevin Quick <quick@sparq.org> in
3597 <https://savannah.gnu.org/support/index.php?106454>.
3599 ** libgnutls-extra: Make building with LZO compression work again.
3600 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3601 <arfrever.fta@gmail.com> in
3602 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3604 ** libgnutls: Change detection of when to use a linker version script.
3605 Use --enable-ld-version-script or --disable-ld-version-script to
3606 override auto-detection logic.
3608 ** doc: Change license on the manual to GFDLv1.3+.
3610 ** doc: GTK-DOC fixes for new splitted configuration system.
3612 ** doc: Texinfo stylesheet uses white background.
3614 ** tests: Add cve-2008-4989.c self-test.
3615 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3616 follow-on problem with crashes on length 1 certificate chains.
3618 ** gnulib: Deprecated modules removed.
3619 Modules include memchr and memcmp.
3621 ** Fix warnings and build GnuTLS with more warnings enabled.
3623 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3625 ** API and ABI modifications:
3626 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3627 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3628 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3629 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3630 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3631 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3632 LIBGNUTLS_VERSION: DEPRECATED.
3633 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3634 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3635 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3636 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3638 * Version 2.7.1 (released 2008-10-31)
3640 ** certtool: print a PKCS #8 key even if it is not encrypted.
3642 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3643 Please use pkg-config instead.
3645 ** Configuration system modified.
3646 There is now a configure script in lib/ and libextra/ as well, because
3647 gnulib works better with a config.h per gnulib directory.
3649 ** API and ABI modifications:
3650 No changes since last version.
3652 * Version 2.7.0 (released 2008-10-16)
3654 ** libgnutls: Added functions to handle CRL extensions.
3656 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3659 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3660 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3662 ** certtool: Print and set CRL and CRQ extensions.
3664 ** libgnutls-extra: Protect internal symbols with static.
3665 Fixes problem when linking certtool statically. Tiny patch from Aaron
3666 Ucko <ucko@ncbi.nlm.nih.gov>.
3668 ** libgnutls-openssl: fix out of bounds access.
3669 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3670 from Thomas Viehmann <tv@beamnet.de>.
3672 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3674 ** tests: Make tests compile when using internal libtasn1.
3675 Patch by ludo@gnu.org (Ludovic Courtès).
3677 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3678 We now require a libgcrypt that has Camellia constants declared in
3679 gcrypt.h, which means v1.3.0 or later.
3681 ** API and ABI modifications:
3682 gnutls_x509_crl_get_authority_key_id: ADDED
3683 gnutls_x509_crl_get_number: ADDED
3684 gnutls_x509_crl_get_extension_oid: ADDED
3685 gnutls_x509_crl_get_extension_info: ADDED
3686 gnutls_x509_crl_get_extension_data: ADDED
3687 gnutls_x509_crl_set_authority_key_id: ADDED
3688 gnutls_x509_crl_set_number: ADDED
3689 gnutls_x509_crq_get_key_rsa_raw: ADDED
3690 gnutls_x509_crq_get_attribute_info: ADDED
3691 gnutls_x509_crq_get_attribute_data: ADDED
3692 gnutls_x509_crq_get_extension_info: ADDED
3693 gnutls_x509_crq_get_extension_data: ADDED
3694 gnutls_x509_crq_get_key_usage: ADDED
3695 gnutls_x509_crq_get_basic_constraints: ADDED
3696 gnutls_x509_crq_get_subject_alt_name: ADDED
3697 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3698 gnutls_x509_crq_get_extension_by_oid: ADDED
3699 gnutls_x509_crq_set_subject_alt_name: ADDED
3700 gnutls_x509_crq_set_basic_constraints: ADDED
3701 gnutls_x509_crq_set_key_usage: ADDED
3702 gnutls_x509_crq_get_key_purpose_oid: ADDED
3703 gnutls_x509_crq_set_key_purpose_oid: ADDED
3704 gnutls_x509_crq_print: ADDED
3705 gnutls_x509_crt_set_crq_extensions: ADDED
3707 * Version 2.6.6 (released 2009-04-30)
3709 ** libgnutls: Corrected double free on signature verification failure.
3710 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
3711 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
3713 ** libgnutls: Fix DSA key generation.
3714 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
3715 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
3716 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3718 ** libgnutls: Check expiration/activation time on untrusted certificates.
3719 Reported by Romain Francoise <romain@orebokech.com>. Before the
3720 library did not check activation/expiration times on certificates, and
3721 was documented as not doing so. We have realized that many
3722 applications that use libgnutls, including gnutls-cli, fail to perform
3723 proper checks. Implementing similar logic in all applications leads
3724 to code duplication. Hence, we decided to check whether the current
3725 time (as reported by the time function) is within the
3726 activation/expiration period of certificates when verifying untrusted
3729 This changes the semantics of gnutls_x509_crt_list_verify, which in
3730 turn is used by gnutls_certificate_verify_peers and
3731 gnutls_certificate_verify_peers2. We add two new
3732 gnutls_certificate_status_t codes for reporting the new error
3733 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
3734 add a new gnutls_certificate_verify_flags flag,
3735 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3738 More details about the vulnerabilities will be posted at
3739 <http://www.gnu.org/software/gnutls/security.html>.
3741 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3742 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3743 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3745 ** tests: Fix linking of tests/openpgp/keyring self-test.
3746 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3748 ** API and ABI modifications:
3749 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3750 gnutls_certificate_verify_peers: Likewise.
3751 gnutls_certificate_verify_peers2: Likewise.
3752 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3753 GNUTLS_CERT_EXPIRED: ADDED.
3754 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3756 * Version 2.6.5 (released 2009-04-11)
3758 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3759 specify the client hello message record version. Used to overcome buggy
3760 TLS servers. Report by Martin von Gagern.
3762 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3763 Libtasn1 0.3.4 or later is required. This is to align with the
3764 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3766 ** API and ABI modifications:
3767 No changes since last version.
3769 * Version 2.6.4 (released 2009-02-06)
3771 ** libgnutls: Accept chains where intermediary certs are trusted.
3772 Before GnuTLS needed to validate the entire chain back to a
3773 self-signed certificate. GnuTLS will now stop looking when it has
3774 found an intermediary trusted certificate. The new behaviour is
3775 useful when chains, for example, contains a top-level CA, an
3776 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3777 To avoid chain validation errors due to the RSA-MD5 cert, you can
3778 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3779 The signature on trusted certificates are not checked, so the chain
3780 has a chance to validate correctly. Reported by "Douglas E. Engert"
3781 <deengert@anl.gov> in
3782 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3784 ** libgnutls: result_size in gnutls_hex_encode now holds
3785 the size of the result. Report by John Brooks <special@dereferenced.net>.
3787 ** libgnutls: gnutls_handshake when sending client hello during a
3788 rehandshake, will not offer a version number larger than the current.
3789 Reported by Tristan Hill <stan@saticed.me.uk>.
3791 ** libgnutls: Permit V1 Certificate Authorities properly.
3792 Before they were mistakenly rejected even though
3793 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3794 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3795 "Douglas E. Engert" <deengert@anl.gov> in
3796 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3798 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3799 This is a bugfix -- the previous attempt to do this from internal x509
3800 certificate verification procedures did not return the correct value
3801 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3802 <dkg@fifthhorseman.net> in
3803 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3804 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3805 Gillmor <dkg@fifthhorseman.net>.
3807 ** libgnutls: Fix compile error with Sun CC.
3808 Reported by Jeff Cai <jeff.cai@sun.com> in
3809 <https://savannah.gnu.org/support/?106549>.
3811 ** API and ABI modifications:
3812 No changes since last version.
3814 * Version 2.6.3 (released 2008-12-12)
3816 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3817 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3818 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3819 Andreas Metzler <ametzler@downhill.at.eu.org> in
3820 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3822 ** libgnutls: Fix memory leak in PSK authentication.
3823 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3824 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3826 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3827 It needs to be invoked before libgcrypt is initialized.
3829 ** gnutls-cli: Return non-zero exit code on error conditions.
3831 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3833 ** API and ABI modifications:
3834 No changes since last version.
3836 * Version 2.6.2 (released 2008-11-12)
3838 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3839 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3840 problem for certificate chains that contained just one self-signed
3841 certificate. Reported by Michael Meskes <meskes@debian.org> in
3842 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3844 ** API and ABI modifications:
3845 No changes since last version.
3847 * Version 2.6.1 (released 2008-11-10)
3849 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3850 The flaw makes it possible for man in the middle attackers (i.e.,
3851 active attackers) to assume any name and trick GnuTLS clients into
3852 trusting that name. Thanks for report and analysis from Martin von
3853 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3855 Any updates with more details about this vulnerability will be added
3856 to <http://www.gnu.org/software/gnutls/security.html>
3858 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3859 Reported by Kevin Quick <quick@sparq.org> in
3860 <https://savannah.gnu.org/support/index.php?106454>.
3862 ** libgnutls-extra: Protect internal symbols with static.
3863 Fixes problem when linking certtool statically. Tiny patch from Aaron
3864 Ucko <ucko@ncbi.nlm.nih.gov>.
3866 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
3867 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
3868 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
3870 ** certtool: Print a PKCS #8 key even if it is not encrypted.
3872 ** tests: Make tests compile when using internal libtasn1.