1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000-2015 Free Software Foundation, Inc.
3 Copyright (C) 2013, 2014 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 3.4.0 (unreleased)
8 ** libgnutls: Depend on nettle 3.0.
10 ** libgnutls: Use getrandom() or getentropy() when available. That
11 avoids the complexity of file descriptor handling and the issues with
12 applications closing all open file descriptors.
14 ** libgnutls: Use pthread_atfork() to detect fork.
16 ** libgnutls: Added helper functions to obtain information on PKCS #8
19 ** libgnutls: Added API to utilize system specific private keys in
20 "gnutls/system-keys.h". It is currently restricted to windows CNG
23 ** libgnutls: priority strings VERS-TLS-ALL and VERS-DTLS-ALL are
24 restricted to the corresponding protocols only, and the VERS-ALL
25 string is introduced to catch all possible protocols.
27 ** libgnutls: SSL 3.0 is no longer included in the default priorities
28 list. It has to be explicitly enabled, e.g., with a string like
29 "NORMAL:+VERS-SSL3.0".
31 ** libgnutls: ARCFOUR (RC4) is no longer included in the default priorities
32 list. It has to be explicitly enabled, e.g., with a string like
33 "NORMAL:+ARCFOUR-128".
35 ** libgnutls: Use nettle's PBKDF2 implementation.
37 ** libgnutls: gnutls_x509_crt_check_hostname() and friends will use
38 RFC6125 comparison of hostnames. That introduces a dependency on libidn.
40 ** libgnutls: When printing a certificate request print the signature
43 ** libgnutls: Added support for RFC7366 (taking into account its
44 errata text). This is enabled by default.
46 ** libgnutls: The gnutls_handshake() process will enforce a timeout by
49 ** libgnutls: The priority string EXPORT was removed.
51 ** libgnutls: If a key purpose (extended key usage) is specified for verification,
52 it is applied into intermediate certificates. The verification result
53 GNUTLS_CERT_PURPOSE_MISMATCH is also introduced.
55 ** libgnutls: Added support for the extended master secret
56 (triple-handshake fix) following draft-ietf-tls-session-hash-02.
58 ** libgnutls: Added support for AES-CCM.
60 ** libgnutls: Added a new simple and hard to misuse AEAD API (crypto.h).
62 ** libgnutls: When gnutls_certificate_set_x509_key_file2() is used in
63 combination with PKCS #11, or TPM URLs, it will utilize the provided
64 password as PIN if required. That removes the requirement for the
65 application to set a callback for PINs in that case.
67 ** libgnutls: Certificate chains which are provided to gnutls_certificate_credentials_t
68 will automatically be sorted instead of failing with GNUTLS_E_CERTIFICATE_LIST_UNSORTED.
70 ** libgnutls: Added the ability to register application specific URL
71 types, which express certificates and keys using gnutls_register_custom_url().
73 ** libgnutls: Added functions to export and set the record state. That
74 allows for gnutls_record_send() and recv() to be offloaded (to kernel,
75 hardware or any other subsystem).
77 ** libgnutls-openssl: it is no longer built by default.
79 ** certtool: Added --p8-info option, which will print PKCS #8 information
80 even if the password is not available.
82 ** certtool: --key-info option will print PKCS #8 encryption information
85 ** certtool: Added the --key-id and --fingerprint options.
87 ** certtool: --p12-info option will print PKCS #12 MAC and cipher information
90 ** certtool: it will print the A-label (ACE) names in addition to UTF-8.
92 ** gnutls-cli: added option --priority-list.
94 ** guile: Deprecated priority API has been removed. The old priority API,
95 which had been deprecated for some time, is now gone; use 'set-session-priorities!'
98 ** guile: Remove RSA parameters and related procedures. This API had been
101 ** guile: Fix compilation on MinGW. Previously only the static version of the
102 'guile-gnutls-v-2' library would be built, preventing dynamic loading from Guile.
104 ** API and ABI modifications:
105 gnutls_record_get_state: Added
106 gnutls_record_set_state: Added
107 gnutls_aead_cipher_init: Added
108 gnutls_aead_cipher_decrypt: Added
109 gnutls_aead_cipher_encrypt: Added
110 gnutls_aead_cipher_deinit: Added
111 gnutls_pkcs12_generate_mac2: Added
112 gnutls_pkcs12_mac_info: Added
113 gnutls_pkcs12_bag_enc_info: Added
114 gnutls_pkcs8_info: Added
115 gnutls_pkcs_schema_get_name: Added
116 gnutls_pkcs_schema_get_oid: Added
117 gnutls_pcert_export_x509: Added
118 gnutls_pcert_export_openpgp: Added
119 gnutls_pcert_import_x509_list: Added
120 gnutls_pkcs11_privkey_cpy: Added
121 gnutls_x509_crq_get_signature_algorithm: Added
122 gnutls_x509_trust_list_iter_get_ca: Added
123 gnutls_x509_trust_list_iter_deinit: Added
124 gnutls_x509_trust_list_get_issuer_by_dn: Added
125 gnutls_pkcs11_get_raw_issuer_by_dn: Added
126 gnutls_certificate_get_trust_list: Added
127 gnutls_privkey_export_x509: Added
128 gnutls_privkey_export_pkcs11: Added
129 gnutls_privkey_export_openpgp: Added
130 gnutls_privkey_import_ext3: Added
131 gnutls_certificate_get_x509_key: Added
132 gnutls_certificate_get_x509_crt: Added
133 gnutls_certificate_get_openpgp_key: Added
134 gnutls_certificate_get_openpgp_crt: Added
135 gnutls_record_discard_queued: Added
136 gnutls_session_ext_master_secret_status: Added
137 gnutls_priority_string_list: Added
138 gnutls_dh_params_import_raw2: Added
141 gnutls_pkcs12_bag_set_privkey: Added
142 gnutls_ocsp_resp_get_responder_raw_id: Added
143 gnutls_system_key_iter_deinit: Added
144 gnutls_system_key_iter_get_info: Added
145 gnutls_system_key_delete: Added
146 gnutls_system_key_add_x509: Added
147 gnutls_system_recv_timeout: Added
148 gnutls_register_custom_url: Added
149 gnutls_pkcs11_obj_list_import_url3: Added
150 gnutls_pkcs11_obj_list_import_url4: Added
151 gnutls_handshake_set_hook_function: Modified
152 gnutls_pkcs11_obj_list_import_url: Removed
153 gnutls_pkcs11_obj_list_import_url2: Removed
154 gnutls_certificate_client_set_retrieve_function: Removed
155 gnutls_certificate_server_set_retrieve_function: Removed
156 gnutls_certificate_set_rsa_export_params: Removed
157 gnutls_certificate_type_set_priority: Removed
158 gnutls_cipher_set_priority: Removed
159 gnutls_compression_set_priority: Removed
160 gnutls_kx_set_priority: Removed
161 gnutls_mac_set_priority: Removed
162 gnutls_protocol_set_priority: Removed
163 gnutls_rsa_export_get_modulus_bits: Removed
164 gnutls_rsa_export_get_pubkey: Removed
165 gnutls_rsa_params_cpy: Removed
166 gnutls_rsa_params_deinit: Removed
167 gnutls_rsa_params_export_pkcs1: Removed
168 gnutls_rsa_params_export_raw: Removed
169 gnutls_rsa_params_generate2: Removed
170 gnutls_rsa_params_import_pkcs1: Removed
171 gnutls_rsa_params_import_raw: Removed
172 gnutls_rsa_params_init: Removed
173 gnutls_sign_callback_get: Removed
174 gnutls_sign_callback_set: Removed
175 gnutls_x509_crt_verify_data: Removed
176 gnutls_x509_crt_verify_hash: Removed
179 set-session-cipher-priority!: Removed
180 set-session-mac-priority!: Removed
181 set-session-compression-method-priority!: Removed
182 set-session-kx-priority!: Removed
183 set-session-protocol-priority!: Removed
184 set-session-certificate-type-priority!: Removed
185 set-session-default-priority!: Removed
186 set-session-default-export-priority!: Removed
187 make-rsa-parameters: Removed
188 rsa-parameters?: Removed
189 set-certificate-credentials-rsa-export-parameters!: Removed
190 pkcs1-import-rsa-parameters: Removed
191 pkcs1-export-rsa-parameters: Removed
195 * Version 3.3.6 (released 2014-07-23)
197 ** libgnutls: Use inet_ntop to print IP addresses when available
199 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
200 IP addresses, and match documented behavior. Reported by David Woodhouse.
202 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
205 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
206 being usable after a reinitialization.
208 ** libgnutls: fixed PKCS #11 private key operations after a fork.
210 ** libgnutls: fixed PKCS #11 ECDSA key generation.
212 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
213 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
214 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
215 CPU. The currently available options are:
216 0x1: Disable all run-time detected optimizations
220 0x100000: Enable VIA padlock
221 0x200000: Enable VIA PHE
222 0x400000: Enable VIA PHE SHA512
224 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
226 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
228 ** p11tool: ask for label when one isn't provided.
230 ** p11tool: added --batch parameter to disable any interactivity.
232 ** p11tool: will not implicitly enable so-login for certain types of
233 objects. That avoids issues with tokens that require different login
236 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
237 specify the curve to use.
239 ** API and ABI modifications:
240 gnutls_certificate_set_x509_trust_dir: Added
241 gnutls_x509_trust_list_add_trust_dir: Added
244 * Version 3.3.5 (released 2014-06-26)
246 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
247 These functions provide a variant of gnutls_record_recv() that avoids
248 the final memcpy of data.
250 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
251 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
252 very large structures.
254 ** libgnutls: When the decoding of a printable DN element fails, then treat
255 it as unknown and print its hex value rather than failing. That works around
256 an issue in a TURKTRST root certificate which improperly encodes the
257 X520countryName element.
259 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
260 of certificates present in a PKCS #11 token when loading it.
262 ** libgnutls: Allow the post client hello callback to put the handshake on
263 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
265 ** certtool: option --to-p12 will now consider --load-ca-certificate
267 ** certtol: Added option to specify the PKCS #12 friendly name on command
270 ** p11tool: Allow marking a certificate copied to a token as a CA.
272 ** API and ABI modifications:
273 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
274 gnutls_x509_crl_iter_deinit: Added
275 gnutls_x509_crl_iter_crt_serial: Added
276 gnutls_record_recv_packet: Added
277 gnutls_packet_deinit: Added
278 gnutls_packet_get: Added
281 * Version 3.3.4 (released 2014-05-31)
283 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
284 crash on certain CPUs.
286 ** API and ABI modifications:
287 No changes since last version.
290 * Version 3.3.3 (released 2014-05-30)
292 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
293 Issue reported by Joonas Kuorilehto of Codenomicon.
295 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
296 new initialization process.
298 ** libgnutls: Increased the maximum certificate size buffer
299 in the PKCS #11 subsystem.
301 ** libgnutls: Check the return code of getpwuid_r() instead of relying
302 on the result value. That avoids issue in certain systems, when using
303 tofu authentication and the home path cannot be determined. Issue reported
306 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
307 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
309 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
312 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
313 be emulated with the implicit initialization of gnutls.
315 ** certtool: Allow multiple organizations and organizational unit names to
316 be specified in a template.
318 ** certtool: Warn when invalid configuration options are set to a template.
320 ** ocsptool: Include path in ocsp request. This resolves #108582
321 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
323 ** API and ABI modifications:
324 gnutls_credentials_get: Added
327 * Version 3.3.2 (released 2014-05-06)
329 ** libgnutls: Added the 'very weak' certificate verification profile
330 that corresponds to 64-bit security level.
332 ** libgnutls: Corrected file descriptor leak on random generator
335 ** libgnutls: Corrected file descriptor leak on PSK password file
336 reading. Issue identified using the Codenomicon TLS test suite.
338 ** libgnutls: Avoid deinitialization if initialization has failed.
340 ** libgnutls: null-terminate othername alternative names.
342 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
343 on a PKCS #11 trust list.
345 ** libgnutls: Several small bug fixes identified using valgrind and
346 the Codenomicon TLS test suite.
348 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
349 entry that matches the certificate. Patch by simon [at] arlott.org.
351 ** libgnutls-guile: Fixed compilation issue.
353 ** certtool: Allow exporting a CRL on DER format.
355 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
356 which is supported more widely than the previously used SECP224R1.
358 ** API and ABI modifications:
359 GNUTLS_PROFILE_VERY_WEAK: Added
362 * Version 3.3.1 (released 2014-04-19)
364 ** libgnutls: Enforce more strict checks to heartbeat messages
365 concerning padding and payload. Suggested by Peter Dettman.
367 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
370 ** libgnutls: Several small bug fixes found by coverity.
372 ** libgnutls: The conditionally available self-test functions
373 were moved to self-test.h.
375 ** libgnutls: Fixed issue with the check of incoming data when two
376 different recv and send pointers have been specified. Reported and
377 investigated by JMRecio.
379 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
380 result to illegal memory access if a server hint was provided. Reported
383 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
384 server hint was provided.
386 ** libgnutls: Corrected the *get_*_othername_oid() functions.
388 ** API and ABI modifications:
389 No changes since last version.
392 * Version 3.3.0 (released 2014-04-10)
394 ** libgnutls: The initialization of the library was moved to a
395 constructor. That is, gnutls_global_init() is no longer required
396 unless linking with a static library or a system that does not
397 support library constructors.
399 ** libgnutls: static libraries are not built by default.
401 ** libgnutls: PKCS #11 initialization is delayed to first usage.
402 That avoids long delays in gnutls initialization due to broken PKCS #11
405 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
406 on the first PKCS #11 API call after a fork.
408 ** libgnutls: certificate verification profiles were introduced
409 that can be specified as flags to verification functions. They
410 are enumerations in gnutls_certificate_verification_profiles_t
411 and can be converted to flags for use in a verification function
412 using GNUTLS_PROFILE_TO_VFLAGS().
414 ** libgnutls: Added the ability to read system-specific initial
415 keywords, if they are prefixed with '@'. That allows a compile-time
416 specified configuration file to be used to read pre-configured priority
417 strings from. That can be used to impose system specific policies.
419 ** libgnutls: Increased the default security level of priority
420 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
421 and set a verification profile by default. The LEGACY keyword is
422 introduced to set the old defaults.
424 ** libgnutls: Added support for the name constraints PKIX extension.
425 Currently only DNS names and e-mails are supported (no URIs, IPs
428 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
429 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
431 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
432 This API handles the X.509 extensions in isolation, allowing to parse
433 similarly formatted extensions stored in other structures.
435 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
436 can be used to specify a particular subgroup as the number of bits in
437 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
439 ** libgnutls: DH parameter generation is now delegated to nettle.
440 That unfortunately has the side-effect that DH parameters longer than
441 3072 bits, cannot be generated (not without a nettle update).
443 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
444 random number generator is based on salsa20/12.
446 ** libgnutls: The buffer alignment provided to crypto backend is
447 enforced to be 16-byte aligned, when compiled with cryptodev
448 support. That allows certain cryptodev drivers to operate more
451 ** libgnutls: Return error when a public/private key pair that doesn't
452 match is set into a credentials structure.
454 ** libgnutls: Depend on p11-kit 0.20.0 or later.
456 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
457 been removed. It was not approved by IETF.
459 ** libgnutls: The experimental xssl library is removed from the gnutls
462 ** libgnutls: Reduced the number of gnulib modules used in the main library.
464 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
466 ** libgnutls: Added the more extensible verification function
467 gnutls_certificate_verify_peers(), that allows checking, in addition
468 to a peer's DNS hostname, for the key purpose of the end certificate
469 (via PKIX extended key usage).
471 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
472 and in batch mode to 12 (appended with 4 random bytes).
474 ** certtool: When no CRL number is provided (or value set to -1), then
475 a time-based number will be used, similarly to the serial generation
476 number in certificates.
478 ** certtool: Print the SHA256 fingerprint of a certificate in addition
481 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
482 That option enables (when running on FIPS140-enabled system):
483 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
484 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
485 o Self-tests on initialization on ciphers/MACs, public key algorithms
486 and the random generator.
487 o HMAC-SHA256 verification of the library on load.
488 o MD5 is included for TLS purposes but cannot be used by the high level
490 o All ciphers except AES are disabled.
491 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
492 o All keys (temporal and long term) are zeroized after use.
493 o Security levels are adjusted to the FIPS140-2 recommendations (rather
496 ** API and ABI modifications:
497 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
498 gnutls_certificate_verify_peers: Added
499 gnutls_privkey_generate: Added
500 gnutls_pkcs11_crt_is_known: Added
501 gnutls_fips140_mode_enabled: Added
502 gnutls_sec_param_to_symmetric_bits: Added
503 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
504 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
505 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
506 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
507 gnutls_pubkey_verify_params: Added
508 gnutls_privkey_export_ecc_raw: Added
509 gnutls_privkey_export_dsa_raw: Added
510 gnutls_privkey_export_rsa_raw: Added
511 gnutls_privkey_import_ecc_raw: Added
512 gnutls_privkey_import_dsa_raw: Added
513 gnutls_privkey_import_rsa_raw: Added
514 gnutls_privkey_verify_params: Added
515 gnutls_x509_crt_check_hostname2: Added
516 gnutls_openpgp_crt_check_hostname2: Added
517 gnutls_x509_name_constraints_init: Added
518 gnutls_x509_name_constraints_deinit: Added
519 gnutls_x509_crt_get_name_constraints: Added
520 gnutls_x509_name_constraints_add_permitted: Added
521 gnutls_x509_name_constraints_add_excluded: Added
522 gnutls_x509_crt_set_name_constraints: Added
523 gnutls_x509_name_constraints_get_permitted: Added
524 gnutls_x509_name_constraints_get_excluded: Added
525 gnutls_x509_name_constraints_check: Added
526 gnutls_x509_name_constraints_check_crt: Added
527 gnutls_x509_crl_get_extension_data2: Added
528 gnutls_x509_crt_get_extension_data2: Added
529 gnutls_x509_crq_get_extension_data2: Added
530 gnutls_subject_alt_names_init: Added
531 gnutls_subject_alt_names_deinit: Added
532 gnutls_subject_alt_names_get: Added
533 gnutls_subject_alt_names_set: Added
534 gnutls_x509_ext_import_subject_alt_names: Added
535 gnutls_x509_ext_export_subject_alt_names: Added
536 gnutls_x509_crl_dist_points_init: Added
537 gnutls_x509_crl_dist_points_deinit: Added
538 gnutls_x509_crl_dist_points_get: Added
539 gnutls_x509_crl_dist_points_set: Added
540 gnutls_x509_ext_import_crl_dist_points: Added
541 gnutls_x509_ext_export_crl_dist_points: Added
542 gnutls_x509_ext_import_name_constraints: Added
543 gnutls_x509_ext_export_name_constraints: Added
544 gnutls_x509_aia_init: Added
545 gnutls_x509_aia_deinit: Added
546 gnutls_x509_aia_get: Added
547 gnutls_x509_aia_set: Added
548 gnutls_x509_ext_import_aia: Added
549 gnutls_x509_ext_export_aia: Added
550 gnutls_x509_ext_import_subject_key_id: Added
551 gnutls_x509_ext_export_subject_key_id: Added
552 gnutls_x509_ext_export_authority_key_id: Added
553 gnutls_x509_ext_import_authority_key_id: Added
554 gnutls_x509_aki_init: Added
555 gnutls_x509_aki_get_id: Added
556 gnutls_x509_aki_get_cert_issuer: Added
557 gnutls_x509_aki_set_id: Added
558 gnutls_x509_aki_set_cert_issuer: Added
559 gnutls_x509_aki_deinit: Added
560 gnutls_x509_ext_import_private_key_usage_period: Added
561 gnutls_x509_ext_export_private_key_usage_period: Added
562 gnutls_x509_ext_import_basic_constraints: Added
563 gnutls_x509_ext_export_basic_constraints: Added
564 gnutls_x509_ext_import_key_usage: Added
565 gnutls_x509_ext_export_key_usage: Added
566 gnutls_x509_ext_import_proxy: Added
567 gnutls_x509_ext_export_proxy: Added
568 gnutls_x509_policies_init: Added
569 gnutls_x509_policies_deinit: Added
570 gnutls_x509_policies_get: Added
571 gnutls_x509_policies_set: Added
572 gnutls_x509_ext_import_policies: Added
573 gnutls_x509_ext_export_policies: Added
574 gnutls_x509_key_purpose_init: Added
575 gnutls_x509_key_purpose_deinit: Added
576 gnutls_x509_key_purpose_set: Added
577 gnutls_x509_key_purpose_get: Added
578 gnutls_x509_ext_import_key_purposes: Added
579 gnutls_x509_ext_export_key_purposes: Added
580 gnutls_digest_self_test: Added (conditionally)
581 gnutls_mac_self_test: Added (conditionally)
582 gnutls_pk_self_test: Added (conditionally)
583 gnutls_cipher_self_test: Added (conditionally)
584 gnutls_global_set_mem_functions: Deprecated
587 * Version 3.2.6 (released 2013-10-31)
589 ** libgnutls: Support for TPM via trousers is now enabled by default.
591 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
592 GCM mode is prioritized over CBC in all of the default priority strings.
594 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
596 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
597 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
598 Reported by Stefan Buehler.
600 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
602 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
605 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
606 Contributed by Wolfgang Meyer zu Bergsten.
610 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
611 previous fix. Reported by Tomas Mraz.
613 ** p11tool: Added option generate-random.
615 ** API and ABI modifications:
616 gnutls_pkcs11_token_get_random: Added
619 * Version 3.2.5 (released 2013-10-23)
621 ** libgnutls: Documentation and build-time fixes.
623 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
625 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
626 as well as Camellia with GCM.
628 ** libdane: Added interfaces to allow initialization of dane_query_t from
629 external DNS resolutions, and to allow direct verification of a certificate
630 chain against a dane_query_t. Contributed by Christian Grothoff.
632 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
633 triggered by a DNS server supplying more than 4 DANE records. Report and fix
634 by Christian Grothoff.
636 ** srptool: Fixed index command line option. Patch by Attila Molnar.
638 ** gnutls-cli: Added support for inline commands, using the
639 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
641 ** certtool: pathlen constraint is now read correctly. Reported by
644 ** API and ABI modifications:
645 gnutls_certificate_get_crt_raw: Added
646 dane_verify_crt_raw: Added
650 * Version 3.2.4 (released 2013-08-31)
652 ** libgnutls: Fixes when session tickets and session DB are used.
653 Report and initial patch by Stefan Buehler.
655 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
656 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
658 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
661 ** libgnutls: Added the PFS priority string option.
663 ** libgnutls: Gnulib included files are strictly LGPLv2.
665 ** libgnutls: Corrected gnutls_certificate_server_set_request().
666 Reported by Petr Pisar.
668 ** API and ABI modifications:
669 gnutls_record_set_timeout: Exported
672 * Version 3.2.3 (released 2013-07-30)
674 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
676 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
677 (this fixes a bug that was accidentally introduced in 3.2.2)
679 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
682 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
685 ** API and ABI modifications:
686 gnutls_priority_kx_list: Added
687 gnutls_priority_mac_list: Added
688 gnutls_priority_cipher_list: Added
691 * Version 3.2.2 (released 2013-07-14)
693 ** libgnutls: Several optimizations in the related to packet processing
696 ** libgnutls: DTLS replay detection can now be disabled (to be used
697 in certain transport layers like SCTP).
699 ** libgnutls: Fixes in SRTP extension generation when MKI is being
702 ** libgnutls: Added ability to set hooks before or after sending or receiving
703 any handshake message with gnutls_handshake_set_hook_function().
705 ** API and ABI modifications:
706 GNUTLS_NO_REPLAY_PROTECTION: Added
707 gnutls_certificate_set_trust_list: Added
708 gnutls_cipher_get_tag_size: Added
709 gnutls_record_overhead_size: Added
710 gnutls_est_record_overhead_size: Added
711 gnutls_handshake_set_hook_function: Added
712 gnutls_handshake_description_get_name: Added
713 gnutls_digest_list: Added
714 gnutls_digest_get_id: Added
715 gnutls_digest_get_name: Added
718 * Version 3.2.1 (released 2013-06-01)
720 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
723 ** libgnutls: Fixes in interrupted function resumption. Report
724 and patch by Tim Kosse.
726 ** libgnutls: Corrected issue when receiving client hello verify requests
729 ** libgnutls: Fixes in DTLS record overhead size calculations.
731 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
734 ** API and ABI modifications:
735 gnutls_session_set_id: Added
738 * Version 3.2.0 (released 2013-05-10)
740 ** libgnutls: Use nettle's elliptic curve implementation.
742 ** libgnutls: Added Salsa20 cipher
744 ** libgnutls: Added UMAC-96 and UMAC-128
746 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
747 As they are not standardized they are defined using private ciphersuite
750 ** libgnutls: Added support for DTLS 1.2.
752 ** libgnutls: Added support for the Application Layer Protocol Negotiation
755 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
757 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
758 linking to pthreads if p11-kit isn't used).
760 ** API and ABI modifications:
761 gnutls_cipher_get_iv_size: Added
762 gnutls_hmac_set_nonce: Added
763 gnutls_mac_get_nonce_size: Added
766 * Version 3.1.10 (released 2013-03-22)
768 ** certtool: When generating PKCS #12 files use by default the
769 ARCFOUR (RC4) cipher to be compatible with devices that don't
770 support AES with PKCS #12.
772 ** libgnutls: Load CA certificates in android 4.x systems.
774 ** libgnutls: Optimized CA certificate loading.
776 ** libgnutls: Private keys are overwritten on deinitialization.
778 ** libgnutls: PKCS #11 slots are scanned only when needed, not
779 on initialization. This speeds up gnutls initialization when smart
782 ** libgnutls: Corrected issue in the (deprecated) external key
783 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
785 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
788 ** libgnutls-dane: Updated DANE verification options.
790 ** configure: Trust store file must be explicitly set or unset when
793 ** API and ABI modifications:
794 gnutls_x509_crt_get_issuer_dn2: Added
795 gnutls_x509_crt_get_dn2: Added
796 gnutls_x509_crl_get_issuer_dn2: Added
797 gnutls_x509_crq_get_dn2: Added
798 gnutls_x509_trust_list_remove_trust_mem: Added
799 gnutls_x509_trust_list_remove_trust_file: Added
800 gnutls_x509_trust_list_remove_cas: Added
801 gnutls_session_get_desc: Added
802 gnutls_privkey_sign_raw_data: Added
803 gnutls_privkey_status: Added
806 * Version 3.1.9 (released 2013-02-27)
808 ** certtool: Option --to-p12 will now ask for a password to generate
809 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
811 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
813 ** libgnutls: Corrected parsing issue in XMPP within a subject
814 alternative name. Reported by James Cloos.
816 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
817 modules, and not only the ones loaded via p11-kit.
819 ** libgnutls: Added function to check whether the private key is
820 still available (inserted).
822 ** libgnutls: Try to detect fork even during nonce generation.
824 ** API and ABI modifications:
825 gnutls_handshake_set_random: Added
826 gnutls_transport_set_int2: Added
827 gnutls_transport_get_int2: Added
828 gnutls_transport_get_int: Added
829 gnutls_record_cork: Exported
830 gnutls_record_uncork: Exported
831 gnutls_pkcs11_privkey_status: Added
834 * Version 3.1.8 (released 2013-02-10)
836 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
837 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
838 with encrypted keys. Reported by Yan Fiz.
840 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
841 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
844 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
845 to operate with long keys. Reported by Erik A Jensen.
847 ** API and ABI modifications:
848 No changes since last version.
851 * Version 3.1.7 (released 2013-02-04)
853 ** certtool: Added option "dn" which allows to directly set the DN
854 in a template from an RFC4514 string.
856 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
858 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
860 ** libgnutls-dane: Added function to specify a DLV file.
862 ** libgnutls: Heartbeat code was made optional.
864 ** libgnutls: Fixes in server side of DTLS-0.9.
866 ** libgnutls: DN variable 'T' was expanded to 'title'.
868 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
869 Issue reported by Kenny Paterson and Nadhem Alfardan.
871 ** libgnutls: Added functions to directly set the DN in a certificate
872 or request from an RFC4514 string.
874 ** libgnutls: Optimizations in the random generator. The re-seeding of
875 it is now explicitly done on every session deinit.
877 ** libgnutls: Simplified the DTLS sliding window implementation.
879 ** libgnutls: The minimum DH bits accepted by a client are now set
880 by the specified priority string. The current values correspond to the
881 previous defaults (727 bits), except for the SECURE128 and SECURE192
882 strings which increase the minimum to 1248 and 1776 respectively.
884 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
885 buffering in sending application data.
887 ** libgnutls: Removed default random padding, and added a length-hiding interface
888 instead. Both the server and the client must support this extension. Whether
889 length-hiding can be used on a given session can be checked using
890 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
892 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
893 a new padding mechanism in TLS allowing arbitrary padding in TLS records
894 in all ciphersuites, which makes length-hiding more efficient and solves
895 the issues with timing attacks on CBC ciphersuites.
897 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
898 ciphers (i.e., AES-GCM). Reported by William McGovern.
900 ** API and ABI modifications:
901 gnutls_db_check_entry_time: Added
902 gnutls_record_set_timeout: Added
903 gnutls_record_get_random_padding_status: Added
904 gnutls_x509_crt_set_dn: Added
905 gnutls_x509_crt_set_issuer_dn: Added
906 gnutls_x509_crq_set_dn: Added
907 gnutls_range_split: Added
908 gnutls_record_send_range: Added
909 gnutls_record_set_max_empty_records: Added
910 gnutls_record_can_use_length_hiding: Added
911 gnutls_rnd_refresh: Added
919 xssl_client_init: Added
920 xssl_server_init: Added
921 xssl_get_session: Added
922 xssl_get_verify_status: Added
923 xssl_cred_init: Added
924 xssl_cred_deinit: Added
925 dane_state_set_dlv_file: Added
926 GNUTLS_SEC_PARAM_EXPORT: Added
927 GNUTLS_SEC_PARAM_VERY_WEAK: Added
930 * Version 3.1.6 (released 2013-01-02)
932 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
933 Paterson and Nadhem Alfardan.
935 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
937 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
940 ** libgnutls: Ignore heartbeat messages when received out-of-order,
941 instead of issuing an error.
943 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
946 ** libgnutls: TPM support is disabled by default because GPL programs
947 cannot link with it. Use --with-tpm to enable it.
949 ** libgnutls-guile: Fixed parallel compilation issue.
951 ** gnutls-cli: It will try to connect to all possible returned addresses
954 ** API and ABI modifications:
955 No changes since last version.
958 * Version 3.1.5 (released 2012-11-24)
960 ** libgnutls: Added functions to parse the certificates policies
963 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
964 Name by translating it to UTF-8 (works on windows or systems with iconv).
966 ** libgnutls: Added PKCS #11 key generation function that returns the
967 public key on generation.
969 ** libgnutls: Corrected bug in priority string parsing, that mostly
970 affected combined levels. Patch by Tim Kosse.
972 ** certtool: The --pubkey-info option can be combined with the
973 --load-privkey or --load-request to print the corresponding public keys.
975 ** certtool: It is able to set certificate policies via a template.
977 ** certtool: Added --hex-numbers option which prints big numbers in
978 an easier to parse format.
980 ** p11tool: After key generation, outputs the public key (useful in
981 tokens that do not store the public key).
983 ** danetool: It is being built even without libgnutls-dane (the
984 --check functionality is disabled though).
986 ** API and ABI modifications:
987 gnutls_pkcs11_privkey_generate2: Added
988 gnutls_x509_crt_get_policy: Added
989 gnutls_x509_crt_set_policy: Added
990 gnutls_x509_policy_release: Added
991 gnutls_pubkey_import_x509_crq: Added
992 gnutls_pubkey_print: Added
993 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
996 * Version 3.1.4 (released 2012-11-10)
998 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
999 the available revocation data validity.
1001 ** libgnutls: Added gnutls_certificate_verification_status_print(),
1002 a function to print the verification status code in human readable text.
1004 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
1006 ** libgnutls: Simplified certificate verification by adding
1007 gnutls_certificate_verify_peers3().
1009 ** libgnutls: Added support for extension to establish keys for SRTP.
1010 Contributed by Martin Storsjo.
1012 ** libgnutls: The X.509 verification functions check the key
1013 usage bits and pathlen constraints and on failure output
1014 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
1016 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
1018 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
1019 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
1021 ** libgnutls: Always tolerate key usage violation errors from the side
1022 of the peer, but also notify via an audit message.
1024 ** gnutls-cli: Added --local-dns option.
1026 ** danetool: Corrected bug that prevented loading PEM files.
1028 ** danetool: Added --check option to allow querying and verifying
1031 ** libgnutls-dane: Added pkg-config file for the library.
1033 ** API and ABI modifications:
1034 gnutls_session_get_id2: Added
1035 gnutls_sign_is_secure: Added
1036 gnutls_certificate_verify_peers3: Added
1037 gnutls_ocsp_status_request_is_checked: Added
1038 gnutls_certificate_verification_status_print: Added
1039 gnutls_srtp_set_profile: Added
1040 gnutls_srtp_set_profile_direct: Added
1041 gnutls_srtp_get_selected_profile: Added
1042 gnutls_srtp_get_profile_name: Added
1043 gnutls_srtp_get_profile_id: Added
1044 gnutls_srtp_get_keys: Added
1045 gnutls_srtp_get_mki: Added
1046 gnutls_srtp_set_mki: Added
1047 gnutls_srtp_profile_t: Added
1048 dane_cert_type_name: Added
1049 dane_match_type_name: Added
1050 dane_cert_usage_name: Added
1051 dane_verification_status_print: Added
1052 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
1053 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
1054 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
1055 GNUTLS_CERT_UNEXPECTED_OWNER: Added
1056 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
1059 * Version 3.1.3 (released 2012-10-12)
1061 ** libgnutls: Added support for the OCSP Certificate Status
1064 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
1065 certificate status extension in verification.
1067 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
1069 ** libgnutls: Increased maximum password length in the PKCS #12
1072 ** libgnutls: Fixed the receipt of session tickets during session resumption.
1073 Reported by danblack at http://savannah.gnu.org/support/?108146
1075 ** libgnutls: Added functions to export structures in an allocated buffer.
1077 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
1078 response corresponds to the given certificate.
1080 ** libgnutls: In client side gnutls_init() enables the session ticket and
1081 OCSP certificate status request extensions by default. The flag
1082 GNUTLS_NO_EXTENSIONS can be used to prevent that.
1084 ** libgnutls: Several updates in the OpenPGP code. The generating code
1085 is fully RFC6091 compliant and RFC5081 support is only supported in client
1088 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
1089 certificate verification.
1091 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
1093 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
1095 ** API and ABI modifications:
1096 gnutls_certificate_get_peers_subkey_id: Added
1097 gnutls_certificate_set_ocsp_status_request_function: Added
1098 gnutls_certificate_set_ocsp_status_request_file: Added
1099 gnutls_ocsp_status_request_enable_client: Added
1100 gnutls_ocsp_status_request_get: Added
1101 gnutls_ocsp_resp_check_crt: Added
1102 gnutls_dh_params_export2_pkcs3: Added
1103 gnutls_pubkey_export2: Added
1104 gnutls_x509_crt_export2: Added
1105 gnutls_x509_dn_export2: Added
1106 gnutls_x509_crl_export2: Added
1107 gnutls_pkcs7_export2: Added
1108 gnutls_x509_privkey_export2: Added
1109 gnutls_x509_privkey_export2_pkcs8: Added
1110 gnutls_x509_crq_export2: Added
1111 gnutls_openpgp_crt_export2: Added
1112 gnutls_openpgp_privkey_export2: Added
1113 gnutls_pkcs11_obj_export2: Added
1114 gnutls_pkcs12_export2: Added
1115 gnutls_pubkey_import_openpgp_raw: Added
1116 gnutls_pubkey_import_x509_raw: Added
1117 dane_state_init: Added
1118 dane_state_deinit: Added
1119 dane_query_tlsa: Added
1120 dane_query_status: Added
1121 dane_query_entries: Added
1122 dane_query_data: Added
1123 dane_query_deinit: Added
1124 dane_verify_session_crt: Added
1125 dane_verify_crt: Added
1126 dane_strerror: Added
1129 * Version 3.1.2 (released 2012-09-26)
1131 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
1132 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
1133 of certificates in the windows platform.
1135 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
1137 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
1138 (the work was done during Google Summer of Code).
1140 ** libgnutls: Added X.509 certificate verification flag
1141 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
1142 of unsorted certificate chains and is enabled by default for
1143 TLS certificate verification (if gnutls_certificate_set_verify_flags()
1144 does not override it).
1146 ** libgnutls: Prints warning on certificates that contain keys of
1147 an insecure level. If the %COMPAT priority flag is not specified
1148 the TLS connection fails.
1150 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
1151 if interrupted during the retrasmition of handshake data.
1153 ** libgnutls: Better mingw32 support (patch by LRN).
1155 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
1156 key usage violation errors (they are far too common to ignore).
1158 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
1159 which provides a tool to counter compression-related attacks where
1160 parts of the data are controlled by the attacker _and_ are placed in
1161 separate records (use with care - do not use compression if not sure).
1163 ** libgnutls: Depends on libtasn1 2.14 or later.
1165 ** certtool: Prints the number of bits of the public key algorithm
1166 parameter in a private key.
1168 ** API and ABI modifications:
1169 gnutls_x509_privkey_get_pk_algorithm2: Added
1170 gnutls_heartbeat_ping: Added
1171 gnutls_heartbeat_pong: Added
1172 gnutls_heartbeat_allowed: Added
1173 gnutls_heartbeat_enable: Added
1174 gnutls_heartbeat_set_timeouts: Added
1175 gnutls_heartbeat_get_timeout: Added
1176 GNUTLS_SEC_PARAM_WEAK: Added
1177 GNUTLS_SEC_PARAM_INSECURE: Added
1179 * Version 3.1.1 (released 2012-09-02)
1181 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1183 ** certtool: Changes in password handling of certtool.
1184 Ask password when required and only if the '--password' option is not
1185 given. If the '--password' option is given during key generation then
1186 assume the PKCS #8 file format, instead of ignoring the password.
1188 ** tpmtool: No longer asks for key password in registered keys.
1190 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1191 wmNAF is now used for point multiplication and other optimizations.
1192 (the major part of the work was done during Google Summer of Code).
1194 ** libgnutls: The default pull_timeout_function only uses select
1195 instead of a combination of select() and recv() to prevent issues
1196 when used in stream sockets in some systems.
1198 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1199 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1202 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1203 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1204 me with ECDSA capable smart cards.
1206 ** API and ABI modifications:
1207 gnutls_sign_algorithm_get: Added
1208 gnutls_sign_get_hash_algorithm: Added
1209 gnutls_sign_get_pk_algorithm: Added
1212 * Version 3.1.0 (released 2012-08-15)
1214 ** libgnutls: Added direct support for TPM as a cryptographic module
1215 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1216 using URLs of the following types:
1217 tpmkey:file=/path/to/file
1218 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1220 ** libgnutls: Priority string level keywords can be combined.
1221 For example the string "SECURE256:+SUITEB128" is now allowed.
1223 ** libgnutls: requires libnettle 2.5.
1225 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1226 for encryption and signatures.
1228 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1229 generic errors and signature verification errors in the verification
1232 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1233 to simplify parsing in most PKCS #12 use cases.
1235 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1236 the whole certificate chain (if any) to the credentials structure, instead
1237 of only the end-user certificate.
1239 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1240 and gnutls_x509_privkey_import_pkcs8(), return consistently
1241 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1242 password was provided.
1244 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1245 allows to set the maximum time spent in a handshake.
1247 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1250 ** tpmtool: Added. It is a tool to generate private keys in the
1253 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1254 and --benchmark-tls-ciphers
1256 ** certtool: generated PKCS #12 structures may hold more than one
1257 private key. Patch by Lucas Fisher.
1259 ** certtool: Added option --null-password to generate/decrypt keys
1260 that use a NULL password (in schemas that distinguish between NULL
1261 an empty passwords).
1263 ** minitasn1: Upgraded to libtasn1 version 2.13.
1265 ** API and ABI modifications:
1266 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1267 GNUTLS_CAMELLIA_192_CBC: Added
1268 GNUTLS_PKCS_NULL_PASSWORD: Added
1269 gnutls_url_is_supported: Added
1270 gnutls_pkcs11_obj_list_import_url2: Added
1271 gnutls_pkcs11_obj_set_pin_function: Added
1272 gnutls_pkcs11_privkey_set_pin_function: Added
1273 gnutls_pkcs11_get_pin_function: Added
1274 gnutls_privkey_import_tpm_raw: Added
1275 gnutls_privkey_import_tpm_url: Added
1276 gnutls_privkey_import_pkcs11_url: Added
1277 gnutls_privkey_import_openpgp_raw: Added
1278 gnutls_privkey_import_x509_raw: Added
1279 gnutls_privkey_import_ext2: Added
1280 gnutls_privkey_import_url: Added
1281 gnutls_privkey_set_pin_function: Added
1282 gnutls_tpm_privkey_generate: Added
1283 gnutls_tpm_key_list_deinit: Added
1284 gnutls_tpm_key_list_get_url: Added
1285 gnutls_tpm_get_registered: Added
1286 gnutls_tpm_privkey_delete: Added
1287 gnutls_pubkey_import_tpm_raw: Added
1288 gnutls_pubkey_import_tpm_url: Added
1289 gnutls_pubkey_import_url: Added
1290 gnutls_pubkey_verify_hash2: Added
1291 gnutls_pubkey_set_pin_function: Added
1292 gnutls_x509_privkey_import2: Added
1293 gnutls_x509_privkey_import_openssl: Added
1294 gnutls_x509_crt_set_pin_function: Added
1295 gnutls_load_file: Added
1296 gnutls_pkcs12_simple_parse: Added
1297 gnutls_certificate_set_x509_system_trust: Added
1298 gnutls_certificate_set_pin_function: Added
1299 gnutls_x509_trust_list_add_system_trust: Added
1300 gnutls_x509_trust_list_add_trust_file: Added
1301 gnutls_x509_trust_list_add_trust_mem: Added
1302 gnutls_pk_to_sign: Added
1303 gnutls_handshake_set_timeout: Added
1304 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1305 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1308 * Version 3.0.22 (released 2012-08-04)
1310 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1311 is now supported on OpenBSD.
1313 ** libgnutls: When verifying a certificate chain make sure it is chain.
1314 If the chain is wronly interrupted at some point then truncate it,
1315 and only try to verify the correct part. Patch by David Woodhouse
1317 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1318 which now may (again) accept a NULL password.
1320 ** certtool: Allow the user to choose the hash algorithm
1321 when signing certificate request or certificate revocation list.
1322 Patch by Petr PÃsaÅ™.
1324 ** API and ABI modifications:
1325 No changes since last version.
1328 * Version 3.0.21 (released 2012-07-02)
1330 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1331 that prevented the loading of EC private keys when DER
1332 encoded. Reported by David Woodhouse.
1334 ** libgnutls: In DTLS larger to mtu records result to
1335 GNUTLS_E_LARGE_PACKET instead of being truncated.
1337 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1338 on patch by David Woodhouse.
1340 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1342 ** libgnutls: Added support for an old version of the DTLS protocol
1343 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1344 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1347 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1348 if only the label is specified. Patch by David Woodhouse.
1350 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1353 ** API and ABI modifications:
1354 gnutls_dtls_set_data_mtu: Added
1355 gnutls_session_set_premaster: Added
1358 * Version 3.0.20 (released 2012-06-05)
1360 ** libgnutls: Corrected bug which prevented the parsing of
1361 handshake packets spanning multiple records.
1363 ** libgnutls: Check key identifiers when checking for an issuer.
1365 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1367 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1368 that loads the trusted CA certificates from system locations
1369 (e.g. trusted storage in windows and CA bundle files in other systems).
1371 ** certtool: Added support for the URI subject alternative
1372 name type in certtool.
1374 ** certtool: Increase to 128 the maximum number of distinct options
1375 (e.g. dns_names) allowed.
1377 ** gnutls-cli: If --print-cert is given, print the certificate,
1378 even on verification failure.
1380 ** API and ABI modifications:
1381 gnutls_pk_to_sign: Added
1382 gnutls_pubkey_verify_hash2: Added
1383 gnutls_certificate_set_x509_system_trust: Added
1386 * Version 3.0.19 (released 2012-04-22)
1388 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1389 is assumed to be a file that stores the pin. Based on patch
1392 ** libgnutls: gnutls_record_check_pending() no longer
1393 returns unprocessed data, and thus ensure the non-blocking
1394 of the next call to gnutls_record_recv().
1396 ** libgnutls: Added strict tests in Diffie-Hellman and
1397 SRP key exchange public keys.
1399 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1400 strict in hash selection, and allow a stronger hash to
1401 be used than the appropriate, to improve interoperability
1404 ** tests: Disabled floating point test, and corrections
1405 in pkcs12 decoding tests.
1407 ** API and ABI modifications:
1408 No changes since last version.
1411 * Version 3.0.18 (released 2012-04-02)
1413 ** certtool: Avoid a Y2K38 bug when generating certificates.
1414 Patch by Robert Millan.
1416 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1417 is returned on premature termination (and added unit test).
1419 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1421 ** libgnutls: Corrected VIA padlock detection for old
1422 VIA processors. Reported by Kris Karas.
1424 ** libgnutls: Updated assembler files.
1426 ** libgnutls: Time in generated certificates is stored
1427 as GeneralizedTime instead of UTCTime (which only stores
1428 2 digits of a year).
1430 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1432 ** API and ABI modifications:
1433 gnutls_x509_crt_set_private_key_usage_period: Added
1434 gnutls_x509_crt_get_private_key_usage_period: Added
1435 gnutls_x509_crq_set_private_key_usage_period: Added
1436 gnutls_x509_crq_get_private_key_usage_period: Added
1437 gnutls_session_get_random: Added
1440 * Version 3.0.17 (released 2012-03-17)
1442 ** command line apps: Always link with local libopts.
1444 ** API and ABI modifications:
1445 No changes since last version.
1448 * Version 3.0.16 (released 2012-03-16)
1450 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1452 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1454 ** libgnutls: included assembler files for MacOSX.
1456 ** p11tool: Small fixes in handling of the --private command
1459 ** certtool: The template option allows for setting the domain
1460 component (DC) option of the distinguished name, and the ocsp_uri
1461 as well as the ca_issuers_uri options.
1463 ** API and ABI modifications:
1464 gnutls_x509_crt_set_authority_info_access: Added
1467 * Version 3.0.15 (released 2012-03-02)
1469 ** test suite: Only run under valgrind in the development
1470 system (the full git repository)
1472 ** command line apps: Link with local libopts if the
1473 installed is an old one.
1475 ** libgnutls: Eliminate double free during SRP
1476 authentication. Reported by Peter Penzov.
1478 ** libgnutls: Corrections in record packet parsing.
1479 Reported by Matthew Hall.
1481 ** libgnutls: Cryptodev updates and fixes.
1483 ** libgnutls: Corrected issue with select() that affected
1484 FreeBSD. This prevented establishing DTLS sessions.
1485 Reported by Andreas Metzler.
1487 ** libgnutls: Corrected rehandshake and resumption
1488 operations in DTLS. Reported by Sean Buckheister.
1490 ** libgnutls: PKCS #11 objects that do not have ID
1491 no longer crash listing. Reported by Sven Geggus.
1493 ** API and ABI modifications:
1494 No changes since last version.
1497 * Version 3.0.14 (released 2012-02-24)
1499 ** command line apps: Included libopts doesn't get installed
1502 ** libgnutls: Eliminate double free on wrongly formatted
1503 certificate list. Reported by Remi Gacogne.
1505 ** libgnutls: cryptodev code corrected, updated to account
1506 for hashes and GCM mode.
1508 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1509 Report and fix by Sam Varshavchik.
1511 ** API and ABI modifications:
1512 No changes since last version.
1515 * Version 3.0.13 (released 2012-02-18)
1517 ** gnutls-cli: added the --ocsp option which will verify
1518 the peer's certificate with OCSP.
1520 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1521 will use an ssh-style authentication method.
1523 ** gnutls-cli: if no --x509cafile is provided a default is
1524 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1526 ** ocsptool: Added --ask parameter, to verify a certificate's
1527 status from an ocsp server.
1529 ** command line apps: Use gnu autogen (libopts) to parse command
1530 line arguments and template files.
1532 ** tests: Added stress test for DTLS packet losses and
1533 out-of-order receival. Contributed by Sean Buckheister.
1535 ** libgnutls: Several updates and corrections in the DTLS
1536 DTLS lost packet handling and retransmission timeouts.
1537 Report and patches by Sean Buckheister.
1539 ** libgnutls: Added new functions to easily allow the usage of
1540 a trust on first use (SSH-style) authentication.
1542 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1543 for the RFC6460 requirements.
1545 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1546 to account for security level of 96-bits.
1548 ** libgnutls: In client side if server does not advertise any
1549 known CAs and only a single certificate is set in the credentials,
1552 ** libgnutls: Added functions to parse authority key identifiers
1553 when stored as a 'general name' and serial combo.
1555 ** libgnutls: Added function to force explicit reinitialization
1556 of PKCS #11 modules. This is required on the child process after
1557 a fork (if PKCS #11 functionality is desirable).
1559 ** libgnutls: Depend on p11-kit 0.11.
1561 ** API and ABI modifications:
1562 gnutls_dtls_get_timeout: Added
1563 gnutls_verify_stored_pubkey: Added
1564 gnutls_store_pubkey: Added
1565 gnutls_store_commitment: Added
1566 gnutls_x509_crt_get_authority_key_gn_serial: Added
1567 gnutls_x509_crl_get_authority_key_gn_serial: Added
1568 gnutls_pkcs11_reinit: Added
1569 gnutls_ecc_curve_list: Added
1570 gnutls_priority_certificate_type_list: Added
1571 gnutls_priority_sign_list: Added
1572 gnutls_priority_protocol_list: Added
1573 gnutls_priority_compression_list: Added
1574 gnutls_priority_ecc_curve_list: Added
1575 gnutls_tdb_init: Added
1576 gnutls_tdb_set_store_func: Added
1577 gnutls_tdb_set_store_commitment_func: Added
1578 gnutls_tdb_set_verify_func: Added
1579 gnutls_tdb_deinit: Added
1582 * Version 3.0.12 (released 2012-01-20)
1584 ** libgnutls: Added OCSP support.
1585 There is a new header file gnutls/ocsp.h and a set of new functions
1586 under the gnutls_ocsp namespace. Currently the functionality provided
1587 is to parse and extract information from OCSP requests/responses, to
1588 generate OCSP requests and to verify OCSP responses. See the manual
1589 for more information. Run ./configure with --disable-ocsp to build
1590 GnuTLS without OCSP support.
1592 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1594 ** ocsptool: Added new command line tool.
1595 The tool can parse OCSP request/responses, generate OCSP requests and
1596 verify OCSP responses. See the manual for more information.
1598 ** certtool: --outder option now works for private
1599 and public keys as well.
1601 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1602 to warn when no or insufficient priorities were set.
1604 ** libgnutls: Corrected an alignment issue in ECDH
1605 key generation which prevented some keys from being
1606 correctly aligned in rare circumstances.
1608 ** libgnutls: Corrected memory leaks in DH parameter
1609 generation and ecc_projective_check_point().
1611 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1612 return a descriptive name of a DN OID.
1614 ** API and ABI modifications:
1615 gnutls_pubkey_encrypt_data: Added
1616 gnutls_x509_dn_oid_name: Added
1617 gnutls_session_resumption_requested: Added
1618 gnutls/ocsp.h: Added new header file.
1619 gnutls_ocsp_print_formats_t: Added new type.
1620 gnutls_ocsp_resp_status_t: Added new type.
1621 gnutls_ocsp_cert_status_t: Added new type.
1622 gnutls_x509_crl_reason_t: Added new type.
1623 gnutls_ocsp_req_add_cert: Added.
1624 gnutls_ocsp_req_add_cert_id: Added.
1625 gnutls_ocsp_req_deinit: Added.
1626 gnutls_ocsp_req_export: Added.
1627 gnutls_ocsp_req_get_cert_id: Added.
1628 gnutls_ocsp_req_get_extension: Added.
1629 gnutls_ocsp_req_get_nonce: Added.
1630 gnutls_ocsp_req_get_version: Added.
1631 gnutls_ocsp_req_import: Added.
1632 gnutls_ocsp_req_init: Added.
1633 gnutls_ocsp_req_print: Added.
1634 gnutls_ocsp_req_randomize_nonce: Added.
1635 gnutls_ocsp_req_set_extension: Added.
1636 gnutls_ocsp_req_set_nonce: Added.
1637 gnutls_ocsp_resp_deinit: Added.
1638 gnutls_ocsp_resp_export: Added.
1639 gnutls_ocsp_resp_get_certs: Added.
1640 gnutls_ocsp_resp_get_extension: Added.
1641 gnutls_ocsp_resp_get_nonce: Added.
1642 gnutls_ocsp_resp_get_produced: Added.
1643 gnutls_ocsp_resp_get_responder: Added.
1644 gnutls_ocsp_resp_get_response: Added.
1645 gnutls_ocsp_resp_get_signature: Added.
1646 gnutls_ocsp_resp_get_signature_algorithm: Added.
1647 gnutls_ocsp_resp_get_single: Added.
1648 gnutls_ocsp_resp_get_status: Added.
1649 gnutls_ocsp_resp_get_version: Added.
1650 gnutls_ocsp_resp_import: Added.
1651 gnutls_ocsp_resp_init: Added.
1652 gnutls_ocsp_resp_print: Added.
1653 gnutls_ocsp_resp_verify: Added.
1655 * Version 3.0.11 (released 2012-01-06)
1657 ** libgnutls: Corrected functionality of
1658 gnutls_record_get_direction(). Reported by Philip Allison.
1660 ** libgnutls: Provide less timing information when decoding
1661 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1663 ** API and ABI modifications:
1664 No changes since last version.
1667 * Version 3.0.10 (released 2012-01-04)
1669 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1670 in Linux as well as in BSD.
1672 ** gnutls-cli: Fixed reading from windows terminals.
1674 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1675 the stream is assumed to be base64 encoded (previously
1676 the encoding was auto-detected). This avoids a decoding
1677 issue in windows systems.
1679 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1681 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1682 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1684 ** libgnutls: Added function gnutls_random_art() to convert
1685 fingerprints to images (currently ascii-art).
1687 ** libgnutls: Corrected bug in DSA private key parsing, which
1688 prevented the verification of the key.
1690 ** API and ABI modifications:
1691 gnutls_random_art: Added
1694 * Version 3.0.9 (released 2011-12-13)
1696 ** certtool: Added new parameter --dh-info.
1698 ** certtool: -l option was overloaded so if combined with --priority
1699 it will only list the ciphersuites that are enabled by the given
1702 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1703 changes the ciphersuite selection procedure. If specified the server
1704 priorities will be used for selection instead of the client's.
1706 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1709 ** libgnutls: When session tickets are negotiated and used in a
1710 session, a server will not store that session data into its cache.
1712 ** libgnutls: Added the SECP192R1 curve.
1714 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1715 allow listing the ciphersuites enabled in a priority structure.
1716 It outputs an index to be used in gnutls_get_cipher_suite_info().
1718 ** libgnutls: Optimizations in the elliptic curve code --timing
1719 attacks resistant code is only used in ECDSA private key operations.
1721 ** doc: man pages for API functions generation was fixed and are
1722 now added again in the distribution.
1724 ** API and ABI modifications:
1725 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1726 gnutls_priority_get_cipher_suite_index: Added
1729 * Version 3.0.8 (released 2011-11-12)
1731 ** certtool: Certtool -e returns error code on verification
1734 ** certtool: Verifies parameters of generated keys.
1736 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1738 ** libgnutls: Provide less timing information when decoding
1739 TLS/DTLS record packets.
1741 ** doc: man pages for API functions were removed.
1742 The reason was that the code that auto-generated the man pages missed
1743 many APIs and we couldn't fix it (volunteers welcome). See the info
1744 manual or the GTK-DOC manual instead.
1746 ** API and ABI modifications:
1747 gnutls_x509_privkey_verify_params: Added
1750 * Version 3.0.7 (released 2011-11-08)
1752 ** libgnutls: Corrected fix in gnutls_session_get_data()
1753 to report the actual session size when the provided buffer
1756 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1757 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1759 ** API and ABI modifications:
1760 No changes since last version.
1763 * Version 3.0.6 (released 2011-11-07)
1765 ** gnutls-guile: Compilation fixes.
1767 ** libgnutls: Fixed possible buffer overflow in
1768 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1770 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1771 Reported by Fabrice Gautier.
1773 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1774 Thanks to Joseph Graham for providing access to such a system.
1776 ** libgnutls: Correctly report ECC private key parsing errors.
1777 Reported by Fabrice Gautier.
1779 ** libgnutls: In ECDHE verify that the received point lies on
1780 the selected curve. The ECDHE ciphersuites now take precendence
1783 ** API and ABI modifications:
1784 No changes since last version.
1787 * Version 3.0.5 (released 2011-10-27)
1789 ** libgnutls-extra: is no more
1791 ** libgnutls: Corrections in order to compile with mingw32.
1793 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1794 and new detection of PHE with support for partial hashing.
1796 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1799 ** minitasn1: Upgraded to libtasn1 version 2.10.
1801 ** API and ABI modifications:
1802 No changes since last version.
1805 * Version 3.0.4 (released 2011-10-15)
1807 ** libgnutls-extra: gnutls_register_md5_handler() was
1810 ** gnutls-cli-debug: Added more tests including AES-GCM,
1811 SHA256 and elliptic curves.
1813 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1814 the software version of the ciphers instead of hw accelerated
1817 ** libgnutls: Public key ID calculation is consistent among
1818 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1820 ** libgnutls: gnutls_privkey_t allows setting external callback
1821 to perform signing or decryption. Can be set using
1822 gnutls_privkey_import_ext()
1824 ** libgnutls: A certificate credentials structure can be
1825 used with a gnutls_privkey_t and a gnutls_pcert_st
1826 structure using gnutls_certificate_set_key().
1828 ** libgnutls: Fixes to enable external signing callback to
1829 operate with TLS 1.2.
1831 ** libgnutls: Fixed crash when printing ECDSA certificate key
1832 ID. Reported by Erik Jensen.
1834 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1835 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1836 support for hashes and HMACs.
1838 ** libgnutls: Compilation fixed when p11-kit is not detected.
1840 ** libgnutls: Fixed the deflate compression code.
1842 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1843 Used to get the PKIX Authority Information Access (AIA) field.
1845 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1847 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1848 signing callback function.
1850 ** API and ABI modifications:
1851 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1852 gnutls_privkey_import_ext: Added function.
1853 gnutls_certificate_set_key: Added function.
1854 gnutls_info_access_what_t (x509.h): Added enum.
1855 GNUTLS_OID_AIA (x509.h): Added symbol.
1856 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1857 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1859 * Version 3.0.3 (released 2011-09-18)
1861 ** libgnutls: Added gnutls_record_get_discarded() to return the
1862 number of discarded records in a DTLS session.
1864 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1865 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1867 ** libgnutls: Memory leak fixes in credentials private key
1868 deinitialization. Reported by Dan Winship.
1870 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1872 ** libgnutls: Do not send an empty extension structure in server
1873 hello. This affected old implementations that do not support extensions.
1874 Reported by J. Cameijo Cerdeira.
1876 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1877 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1878 <http://bugs.debian.org/640639>.
1880 ** libgnutls: Added support for VIA padlock AES optimizations.
1881 (disabled by default)
1883 ** libgnutls: Added support for elliptic curves in
1886 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1887 to allow generating a key in a token.
1889 ** p11tool: Added generate-rsa, generate-dsa and
1890 generate-ecc options to allow generating private
1893 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1896 ** API and ABI modifications:
1897 gnutls_pkcs11_privkey_generate: Added
1898 gnutls_pubkey_import_ecc_raw: Added
1899 gnutls_pubkey_import_ecc_x962: Added
1900 gnutls_pubkey_get_pk_ecc_x962: Added
1901 gnutls_record_get_discarded: Added
1904 * Version 3.0.2 (released 2011-09-01)
1906 ** libgnutls: OpenPGP certificate type is not enabled
1909 ** libgnutls: Added %NO_EXTENSIONS priority string.
1911 ** libgnutls: Corrected issue in gnutls_record_recv()
1912 triggered on encryption or compression error.
1914 ** libgnutls: Compatibility fixes in CPU ID detection
1915 for i386 and old GCC.
1917 ** gnutls-cli: Benchmark applications were incorporated
1920 ** libgnutls: Corrected parsing of XMPP subject
1923 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1926 ** libgnutls: gnutls_certificate_set_x509_key() and
1927 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1928 and allow the release of the private key during the
1929 lifetime of the certificate structure.
1931 ** API and ABI modifications:
1932 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1935 * Version 3.0.1 (released 2011-08-20)
1937 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1938 friends support server name indication. If multiple
1939 certificates are set using these functions the proper one
1940 will be selected during a handshake.
1942 ** libgnutls: Added AES-256-GCM which was left out from
1943 the previous release. Reported by Benjamin Hof.
1945 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1946 times, the flags in the callback were not being updated
1947 to reflect for PIN low count or final try.
1949 ** libgnutls: Do not allow second instances of PKCS #11
1952 ** libgnutls: fixed alignment issue in AES-NI code.
1954 ** libgnutls: The config file at gnutls_pkcs11_init()
1955 is being read if provided.
1957 ** libgnutls: Ensure that a certificate list specified
1958 using gnutls_certificate_set_x509_key() and friends, is
1959 sorted according to TLS specification (from subject to issuer).
1961 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1962 gnutls_x509_crt_list_import. It checks whether the list to be
1963 imported is properly sorted.
1965 ** crywrap: Added to the distribution. It is an application
1966 that proxies TLS session to a port using a plaintext service.
1968 ** doc: Many GTK-DOC improvements.
1970 ** i18n: Translations were updated.
1972 ** API and ABI modifications:
1973 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1974 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1977 * Version 3.0.0 (released 2011-07-29)
1979 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1982 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1985 ** certtool: bug fixes in certificate request generation. Patch
1988 ** API and ABI modifications:
1989 gnutls_pcert_list_import_x509_raw: ADDED
1992 * Version 2.99.4 (released 2011-07-23)
1994 ** doc: documentation updates.
1996 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1997 to avoid thread-safety issues. Reported by Sam Varshavchik.
1999 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
2001 ** libgnutls: license upgraded to LGPLv3
2003 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
2006 ** API and ABI modifications:
2007 No changes since last version.
2010 * Version 2.99.3 (released 2011-06-18)
2012 ** libgnutls: Added new PKCS #11 flags to force an object being private or
2013 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
2015 ** libgnutls: Added SUITEB128 and SUITEB192 priority
2016 strings to enable the NSA SuiteB cryptography ciphersuites.
2018 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
2019 verify data provided the signature algorithm.
2021 ** libgnutls: Simplified the handling of handshake messages to
2022 be hashed. Instead of hashing during the handshake process we now
2023 keep the data until handshake is over and hash them on request.
2024 This uses more memory but eliminates issues with TLS 1.2 and
2027 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
2028 instruction. Uses Andy Polyakov's assembly code.
2030 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
2031 gnutls_x509_trust_list_verify_named_crt() that allow having a
2032 list of certificates in the trusted list that will be associated
2033 with a name (e.g. server name) and will not be used as CAs.
2035 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
2036 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
2039 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
2041 ** API and ABI modifications:
2042 gnutls_pubkey_verify_data2: ADDED
2043 gnutls_ecc_curve_get: ADDED
2044 gnutls_x509_trust_list_add_named_crt: ADDED
2045 gnutls_x509_trust_list_verify_named_crt: ADDED
2046 gnutls_x509_privkey_verify_data: REMOVED
2047 gnutls_crypto_bigint_register: REMOVED
2048 gnutls_crypto_cipher_register: REMOVED
2049 gnutls_crypto_digest_register: REMOVED
2050 gnutls_crypto_mac_register: REMOVED
2051 gnutls_crypto_pk_register: REMOVED
2052 gnutls_crypto_rnd_register: REMOVED
2053 gnutls_crypto_single_cipher_register: REMOVED
2054 gnutls_crypto_single_digest_register: REMOVED
2055 gnutls_crypto_single_mac_register: REMOVED
2056 GNUTLS_KX_ECDHE_PSK: New key exchange method
2057 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
2058 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
2059 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
2062 * Version 2.99.2 (released 2011-05-26)
2064 ** libgnutls: Added Elliptic curve support. This is not
2065 enabled by default. Requires priority strings:
2066 +CURVE-ALL: to add all supported curves
2067 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
2068 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
2069 +ANON-ECDHE: to add anonymous ECDH
2071 ** libgnutls: PKCS #11 URLs conform to the latest draft
2072 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
2074 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
2077 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
2078 to get important auditing information including the corresponding session.
2079 That might be useful to block DoS or other attacker from specific IPs.
2081 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
2082 the public key algorithm of the key.
2084 ** libgnutls: Added gnutls_certificate_get_issuer() and
2085 gnutls_x509_trust_list_get_issuer() to compensate for the
2086 missing gnutls_certificate_get_x509_cas().
2088 ** libgnutls: Added gnutls_x509_crq_verify() to allow
2089 verification of the self signature in a certificate request.
2090 This allows verifying whether the owner of the private key
2091 is the generator of the request.
2093 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
2094 the self signature of the request.
2096 ** API and ABI modifications:
2097 gnutls_certificate_get_issuer: ADDED
2098 gnutls_x509_trust_list_get_issuer: ADDED
2099 gnutls_x509_crq_verify: ADDED
2100 gnutls_global_set_audit_log_function: ADDED
2101 gnutls_ecc_curve_get_name: ADDED
2102 gnutls_ecc_curve_get_size: ADDED
2103 gnutls_x509_privkey_import_ecc_raw: ADDED
2104 gnutls_x509_privkey_export_ecc_raw: ADDED
2105 gnutls_global_set_time_function: ADDED
2107 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
2108 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
2109 GNUTLS_KX_ECDHE_RSA: New key exchange method
2110 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
2111 GNUTLS_KX_ANON_ECDH: New key exchange method
2112 GNUTLS_PK_ECC: New public key algorithm
2113 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
2114 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
2115 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
2116 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
2117 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
2118 GNUTLS_ECC_CURVE_INVALID: New curve definition
2119 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
2120 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
2121 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
2122 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
2125 * Version 2.99.1 (released 2011-04-23)
2127 ** libgnutls: LZO support was removed.
2129 ** libgnutls: Corrections in SSLv2 client hello parsing.
2131 ** libgnutls: Added support for AES-NI if detected. Uses
2132 Andy Polyakov's AES-NI code.
2134 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
2135 weak, several sites require it for connection. It is enabled for
2136 "NORMAL" and "PERFORMANCE" priority strings.
2138 ** libgnutls: depend on libdl.
2140 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
2142 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
2143 function required GnuTLS to access system specific data, for no reason.
2144 Use gnutls_transport_set_errno(), or your system's errno fascility
2147 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
2148 to set a callback to retrieve a certificate. The certificate is
2149 received in a format that requires no processing from gnutls thus
2150 it is suitable when performance is required.
2152 ** API and ABI modifications:
2153 gnutls_transport_set_global_errno: REMOVED
2154 gnutls_certificate_set_retrieve_function2: ADDED
2156 * Version 2.99.0 (released 2011-04-09)
2158 ** libgnutls: Added Datagram TLS support.
2160 ** libgnutls: Uses a single configure file and a single
2161 gnulib library to save space.
2163 ** libgnutls: Several bug fixes.
2165 ** libgnutls: gnutls_transport_set_lowat() is no more.
2167 ** libgnutls-openssl: modified to use modern gnutls' functions.
2168 This introduces an ABI incompatibility with previous versions.
2170 ** libgnutls: Corrected signature generation and verification
2171 in the Certificate Verify message when in TLS 1.2. Reported
2174 ** libgnutlsxx: The C++ interface returns exception on
2175 every error and not only on fatal ones. This allows easier
2178 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
2181 ** libgnutls: SRP and PSK are no longer set on the default priorities.
2182 They have to be explicitly set.
2184 ** libgnutls: During handshake message verification using DSS
2185 use the hash algorithm required by it.
2187 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2188 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2190 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2192 ** libgnutls-extra: Inner application extension was removed.
2193 It was never standardized nor published as an RFC.
2195 ** libgnutls: Added new certificate verification functions, that
2196 can provide more details and are more efficient. Check
2197 gnutls_x509_trust_list_*.
2199 ** certtool: Uses the new certificate verification functions for
2202 ** certtool: Added new certificate verification functionality
2203 using the --verify option. Combined with --load-ca-certificate
2204 it can verify a certificate chain against a list of certificates.
2206 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2208 ** API and ABI modifications:
2209 gnutls_dtls_set_timeouts: ADDED
2210 gnutls_dtls_get_mtu: ADDED
2211 gnutls_dtls_get_data_mtu: ADDED
2212 gnutls_dtls_set_mtu: ADDED
2213 gnutls_dtls_cookie_send: ADDED
2214 gnutls_dtls_cookie_verify: ADDED
2215 gnutls_dtls_prestate_set: ADDED
2216 gnutls_x509_trust_list_verify_crt: ADDED
2217 gnutls_x509_trust_list_add_crls: ADDED
2218 gnutls_x509_trust_list_add_cas: ADDED
2219 gnutls_x509_trust_list_init: ADDED
2220 gnutls_x509_trust_list_deinit: ADDED
2221 gnutls_cipher_add_auth: ADDED
2222 gnutls_cipher_tag: ADDED
2223 gnutls_psk_netconf_derive_key: REMOVED
2224 gnutls_certificate_verify_peers: REMOVED
2225 gnutls_session_set_finished_function: REMOVED
2226 gnutls_ext_register: REMOVED
2227 gnutls_certificate_get_x509_crls: REMOVED
2228 gnutls_certificate_get_x509_cas: REMOVED
2229 gnutls_certificate_get_openpgp_keyring: REMOVED
2230 gnutls_session_get_server_random: REMOVED
2231 gnutls_session_get_client_random: REMOVED
2232 gnutls_session_get_master_secret: REMOVED
2233 gnutls_ia_allocate_client_credentials: REMOVED
2234 gnutls_ia_allocate_server_credentials: REMOVED
2235 gnutls_ia_enable: REMOVED
2236 gnutls_ia_endphase_send: REMOVED
2237 gnutls_ia_extract_inner_secret: REMOVED
2238 gnutls_ia_free_client_credentials: REMOVED
2239 gnutls_ia_free_server_credentials: REMOVED
2240 gnutls_ia_generate_challenge: REMOVED
2241 gnutls_ia_get_client_avp_ptr: REMOVED
2242 gnutls_ia_get_server_avp_ptr: REMOVED
2243 gnutls_ia_handshake: REMOVED
2244 gnutls_ia_handshake_p: REMOVED
2245 gnutls_ia_permute_inner_secret: REMOVED
2246 gnutls_ia_recv: REMOVED
2247 gnutls_ia_send: REMOVED
2248 gnutls_ia_set_client_avp_function: REMOVED
2249 gnutls_ia_set_client_avp_ptr: REMOVED
2250 gnutls_ia_set_server_avp_function: REMOVED
2251 gnutls_ia_set_server_avp_ptr: REMOVED
2252 gnutls_ia_verify_endphase: REMOVED
2255 * Version 2.12.2 (released 2011-04-08)
2257 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2259 ** libgnutls: Several bug and memory leak fixes.
2261 ** srptool: Accepts the -d option to enable debugging.
2263 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2264 the allocation of a verifier. Reported by Andrew Wiseman.
2266 ** API and ABI modifications:
2267 No changes since last version.
2270 * Version 2.12.1 (released 2011-04-02)
2272 ** certtool: Generated certificate request with stricter permissions.
2273 Reported by Luca Capello.
2275 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2277 ** libgnutls: Corrected windows system_errno() function prototype.
2279 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2281 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2282 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2284 ** API and ABI modifications:
2285 No changes since last version.
2290 * Version 2.12.0 (released 2011-03-24)
2292 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2293 the incompatibility with TLS other than 1.2.
2295 ** libgnutls: Modified signature algorithm selection in client
2296 certificate request, to avoid failures in DSA certificates.
2298 ** libgnutls: Instead of failing with internal error, return
2299 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2300 key with the negotiated protocol is encountered.
2302 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2304 ** libgnutls: Force state update when fork is detected in the nettle
2307 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2308 subkey instead of setting explicitly one.
2310 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2312 ** libgnutls-openssl: modified to use modern gnutls' functions.
2313 This introduces an ABI incompatibility with previous versions.
2315 ** API and ABI modifications:
2316 gnutls_pubkey_import_openpgp: MODIFIED
2321 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2322 replaced by gnutls_privkey_sign_hash2().
2324 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2325 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2326 gnutls_x509_crt_verify_hash return the negative error code
2327 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2330 ** libgnutls: Added helper functions for signature verification:
2331 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2333 ** libgnutls: Modified gnutls_privkey_sign_data().
2335 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2336 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2337 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2338 deprecated for gnutls_x509_crl_privkey_sign(),
2339 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2340 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2341 gnutls_pubkey_verify_data() respectively.
2343 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2346 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2347 and gnutls_x509_crt_list_import2().
2349 ** crypto.h: Fix use with C++.
2350 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2352 ** API and ABI modifications:
2353 gnutls_x509_crl_list_import: ADDED
2354 gnutls_x509_crl_list_import2: ADDED
2355 gnutls_x509_crt_list_import2: ADDED
2356 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2357 gnutls_pubkey_import_privkey: ADDED
2358 gnutls_pubkey_verify_data: ADDED
2359 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2360 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2361 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2362 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2363 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2364 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2365 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2366 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2367 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2368 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2369 gnutls_session_set_finished_function: DEPRECATED
2370 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2371 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2372 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2373 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2374 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2375 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2376 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2377 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2379 * Version 2.11.6 (released 2010-12-06)
2381 ** libgnutls: Record version of Client Hellos is now set by default to
2382 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2385 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2386 This makes us comply with RFC3279. Reported by Michael Rommel.
2388 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2390 ** API and ABI modifications:
2391 No changes since last version.
2393 * Version 2.11.5 (released 2010-12-01)
2395 ** libgnutls: Reverted default behavior for verification and
2396 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2397 V1 trusted CAs are allowed, unless the new flag is specified.
2399 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2400 Reported by Jeffrey Walton.
2402 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2403 as priority strings. Those allow to set all the supported algorithms
2406 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2408 ** gnutls-cli: Print channel binding only in verbose mode.
2409 Before it printed it after the 'Compression:' output, thus breaking
2410 Emacs starttls.el string searches.
2412 ** API and ABI modifications:
2413 gnutls_pkcs11_token_init: New function
2414 gnutls_pkcs11_token_set_pin: New function
2416 * Version 2.11.4 (released 2010-10-15)
2418 ** libgnutls: Add new API gnutls_session_channel_binding.
2419 The function is used to get the channel binding data. Currently only
2420 the "tls-unique" (RFC 5929) channel binding type is supported, through
2421 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2424 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2426 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2428 ** build: Update gnulib files.
2430 ** i18n: Update translations.
2432 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2434 ** API and ABI modifications:
2435 gnutls_session_channel_binding: New function.
2436 gnutls_channel_binding_t: New enumeration.
2437 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2438 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2440 * Version 2.11.3 (released 2010-10-14)
2442 ** Indent code to follow the GNU Coding Standard.
2443 You should be able to unpack the 2.11.2 release and run 'make indent'
2444 twice to get exactly the same content as 2.11.3 except for generated
2445 files. Using GNU Indent 2.2.11.
2447 ** API and ABI modifications:
2448 No changes since last version.
2450 * Version 2.11.2 (released 2010-10-08)
2452 ** libgnutls: Several bug fixes on session resumption
2453 and session tickets support.
2455 ** libgnutls: Add new extended key usage ipsecIKE.
2457 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2458 --p11-export-url, --p11-list-certs, --p11-list-certs,
2459 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2460 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2461 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2464 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2465 introduced with the new nettle code.
2467 ** libgnutls: Corrected advertizing issue for session tickets.
2469 ** API and ABI modifications:
2470 gnutls_x509_crt_get_subject_unique_id: ADDED.
2471 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2473 * Version 2.11.1 (released 2010-09-14)
2475 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2476 to use the libgcrypt back end.
2478 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2479 backend crypto library.
2481 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2483 ** libgnutls: Several updates in the buffering internal interface.
2485 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2486 tabs are being skipped.
2488 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2490 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2493 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2494 system calls. Applications that depended on it being 1 should explicitly call
2495 gnutls_transport_set_lowat().
2497 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2498 to ECRYPT II recommendations. Mappings were moved to a single location
2499 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2500 and 3072 keys only).
2502 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2503 gnutls_x509_privkey_import_pkcs8() without a password, if it
2504 is unable to decode the key.
2506 ** libgnutls: HMAC-MD5 no longer used by default.
2508 ** API and ABI modifications:
2509 gnutls_openpgp_privkey_sec_param: ADDED
2510 gnutls_x509_privkey_sec_param: ADDED
2512 * Version 2.11.0 (released 2010-07-22)
2514 ** libgnutls: support scattered write using writev(). This takes
2515 advantage of the new buffering layer and allows queuing of packets
2516 and flushing them. This is currently used for handshake messages
2519 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2520 alternative locking procedures. By default the system available
2521 locking is used. In *NIX pthreads are used and in windows the
2522 critical section API. This follows a different approach than the
2523 previous versions that depended on libgcrypt initialization. The
2524 locks are now set by default in systems that support it. Programs
2525 that used gcry_control() to set thread locks should insert it into
2527 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2531 ** libgnutls: Added support for reading DN from EV-certificates.
2533 jurisdictionOfIncorporationLocalityName,
2534 jurisdictionOfIncorporationStateOrProvinceName,
2535 jurisdictionOfIncorporationCountryName
2537 ** libgnutls: Added support for DSA signing/verifying with bit
2540 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2541 has to be called to register any required md5 handlers.
2543 ** libgnutls: Internal buffering code was replaced by simpler
2544 code contributed by Jonathan Bastien-Filiatrault.
2546 ** libgnutls: Internal API for extensions augmented to allow
2547 safe storing and loading of data on resumption. This allows writing
2548 self-contained extensions (when possible). As a side effect
2549 the OPRFI extension was removed.
2551 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2553 ** libgnutls: Added PKCS #11 support and an API to access objects in
2554 gnutls/pkcs11.h. Currently certificates and public keys can be
2555 imported from tokens, and operations can be performed on private keys.
2557 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2559 ** libgnutls: Added initial support for the nettle library. It uses
2560 the system's random generator for seeding. That is /dev/urandom in Linux,
2561 system calls in Win32 and EGD on other systems.
2563 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2564 works even when resuming a session.
2566 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2567 similar gnutls_certificate_set_server_retrieve_function() and
2568 gnutls_certificate_set_client_retrieve_function(). In addition it support
2569 PKCS #11 private keys.
2571 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2572 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2574 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2575 sizes for private keys using a human understandable scale.
2577 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2578 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2579 --pkcs11-delete-url, --pkcs11-write
2581 certtool: The --pkcs-cipher is taken into account when generating a
2582 private key. The default cipher used now is aes-128. The old behavior can
2583 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2585 certtool: Added --certificate-pubkey to print the public key of the
2588 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2589 can now accept a PKCS #11 URL in addition to a file. This will allow for
2590 example to use the Gnome-keyring trusted certificate list to verify
2591 connections using a url such as:
2592 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2594 ** API and ABI modifications:
2595 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2596 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2597 gnutls_sign_callback_set: DEPRECATED
2598 gnutls_global_set_mutex: ADDED
2599 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2600 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2601 gnutls_x509_privkey_export_rsa_raw2: ADDED
2603 gnutls_sec_param_to_pk_bits: ADDED
2604 gnutls_pk_bits_to_sec_param: ADDED
2605 gnutls_sec_param_get_name: ADDED
2606 gnutls_pkcs11_type_get_name: ADDED
2607 gnutls_certificate_set_retrieve_function: ADDED
2608 gnutls_pkcs11_init: ADDED
2609 gnutls_pkcs11_deinit: ADDED
2610 gnutls_pkcs11_set_pin_function: ADDED
2611 gnutls_pkcs11_set_token_function: ADDED
2612 gnutls_pkcs11_add_provider: ADDED
2613 gnutls_pkcs11_obj_init: ADDED
2614 gnutls_pkcs11_obj_import_url: ADDED
2615 gnutls_pkcs11_obj_export_url: ADDED
2616 gnutls_pkcs11_obj_deinit: ADDED
2617 gnutls_pkcs11_obj_export: ADDED
2618 gnutls_pkcs11_obj_list_import_url: ADDED
2619 gnutls_pkcs11_obj_export: ADDED
2620 gnutls_x509_crt_import_pkcs11: ADDED
2621 gnutls_pkcs11_obj_get_type: ADDED
2622 gnutls_x509_crt_list_import_pkcs11: ADDED
2623 gnutls_x509_crt_import_pkcs11_url: ADDED
2624 gnutls_pkcs11_obj_get_info: ADDED
2625 gnutls_pkcs11_token_get_info: ADDED
2626 gnutls_pkcs11_token_get_url: ADDED
2627 gnutls_pkcs11_privkey_init: ADDED
2628 gnutls_pkcs11_privkey_deinit: ADDED
2629 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2630 gnutls_pkcs11_privkey_get_info: ADDED
2631 gnutls_pkcs11_privkey_import_url: ADDED
2632 gnutls_pkcs11_privkey_sign_data: ADDED
2633 gnutls_pkcs11_privkey_sign_hash: ADDED
2634 gnutls_pkcs11_privkey_decrypt_data: ADDED
2635 gnutls_privkey_init: ADDED
2636 gnutls_privkey_deinit: ADDED
2637 gnutls_privkey_get_pk_algorithm: ADDED
2638 gnutls_privkey_get_type: ADDED
2639 gnutls_privkey_import_pkcs11: ADDED
2640 gnutls_privkey_import_x509: ADDED
2641 gnutls_privkey_import_openpgp: ADDED
2642 gnutls_privkey_sign_data: ADDED
2643 gnutls_privkey_sign_hash: ADDED
2644 gnutls_privkey_decrypt_data: ADDED
2645 gnutls_pkcs11_privkey_export_url: ADDED
2646 gnutls_x509_crq_privkey_sign: ADDED
2647 gnutls_x509_crl_privkey_sign: ADDED
2648 gnutls_x509_crt_privkey_sign: ADDED
2649 gnutls_pubkey_init: ADDED
2650 gnutls_pubkey_deinit: ADDED
2651 gnutls_pubkey_get_pk_algorithm: ADDED
2652 gnutls_pubkey_import_x509: ADDED
2653 gnutls_pubkey_import_openpgp: ADDED
2654 gnutls_pubkey_get_pk_rsa_raw: ADDED
2655 gnutls_pubkey_get_pk_dsa_raw: ADDED
2656 gnutls_pubkey_export: ADDED
2657 gnutls_pubkey_get_key_id: ADDED
2658 gnutls_pubkey_get_key_usage: ADDED
2659 gnutls_pubkey_verify_hash: ADDED
2660 gnutls_pubkey_get_verify_algorithm: ADDED
2661 gnutls_pkcs11_type_get_name: ADDED
2662 gnutls_pubkey_import_pkcs11_url: ADDED
2663 gnutls_pubkey_import: ADDED
2664 gnutls_pubkey_import_pkcs11: ADDED
2665 gnutls_pubkey_import_dsa_raw: ADDED
2666 gnutls_pubkey_import_rsa_raw: ADDED
2667 gnutls_x509_crt_set_pubkey: ADDED
2668 gnutls_x509_crq_set_pubkey: ADDED
2669 gnutls_pkcs11_copy_x509_crt: ADDED
2670 gnutls_pkcs11_copy_x509_privkey: ADDED
2671 gnutls_pkcs11_delete_url: ADDED
2673 * Version 2.10.1 (released 2010-07-25)
2675 ** libgnutls: Added support for broken certificates that indicate RSA
2678 ** gnutls-cli: Allow verification using V1 CAs.
2680 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2681 gnutls_x509_privkey_import_pkcs8() without a password, if it
2682 is unable to decode the key.
2684 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2685 a memory leak. Reported by Mads Kiilerich.
2687 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2688 issue a warning, that the output key might not be working everywhere.
2690 ** certtool: The --pkcs-cipher is taken into account when generating a
2691 private key. The default cipher used now is aes-128. The old behavior
2692 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2694 ** API and ABI modifications:
2695 No changes since last version.
2697 * Version 2.10.0 (released 2010-06-25)
2699 ** API and ABI modifications:
2700 No changes since last version.
2702 * Version 2.9.12 (released 2010-06-17)
2704 ** gnutls-cli: Make --starttls work again.
2705 Problem introduced in patch to use read() instead of fgets() committed
2708 ** API and ABI modifications:
2709 No changes since last version.
2711 * Version 2.9.11 (released 2010-06-07)
2713 ** libgnutls: Removed two APIs related to safe renegotiation.
2714 Use priority strings instead. The APIs were
2715 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2716 (Remember that we don't promise ABI stability during development
2717 series, so this doesn't cause an shared library ABI increment.)
2719 ** tests: More self testing of safe renegotiation extension.
2720 See tests/safe-renegotiation/README for more information.
2722 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2724 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2726 ** API and ABI modifications:
2727 gnutls_safe_negotiation_set_initial: REMOVED.
2728 gnutls_safe_renegotiation_set: REMOVED.
2730 * Version 2.9.10 (released 2010-04-22)
2732 ** libgnutls: Time verification extended to trusted certificate list.
2733 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2736 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2737 Based on patch by Pavan Konjarla. Adds new constant
2738 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2740 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2741 Solves the issue discussed in:
2742 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2743 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2744 Note that to allow connecting to unpatched servers the full protection
2745 is only enabled if the priority string %SAFE_RENEGOTIATION is
2746 specified. You can check whether protection is in place by querying
2747 gnutls_safe_renegotiation_status(). New error codes
2748 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2749 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2751 ** libgnutls: When checking openpgp self signature also check the signatures
2753 Ilari Liusvaara noticed and reported the issue and provided test
2756 ** libgnutls: Added cryptodev support (/dev/crypto).
2757 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2758 benchmark utility for AES. Adds new error codes
2759 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2761 ** libgnutls: Exported API to access encryption and hash algorithms.
2762 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2763 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2764 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2765 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2766 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2767 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2768 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2770 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2771 verification of certificate upon receipt rather than waiting until the
2772 end of the handshake.
2774 ** libgnutls: Don't send alerts during handshake.
2775 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2777 ** certtool: Corrected two issues that affected certificate request generation.
2778 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2779 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2780 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2781 those parameters there since other implementations don't do either and having
2782 them does not seem to offer anything (anyway you need the signer's certificate
2783 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2784 This however has the side-effect that public key IDs shown by certtool are
2785 now different than previous gnutls releases.
2786 (3) the option --pgp-certificate-info will verify self signatures
2788 ** certtool: Allow exporting of Certificate requests on DER format.
2790 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2792 ** gnutls-cli: Handle reading binary data from server.
2793 Reported by and tiny patch from Vitaly Mayatskikh
2794 <v.mayatskih@gmail.com> in
2795 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2797 ** minitasn1: Upgraded to libtasn1 version 2.6.
2799 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2800 ** Added Italian and Simplified Chinese translation.
2801 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2802 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2804 ** doc: The GTK-DOC manual is significantly improved.
2806 ** API and ABI modifications:
2807 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2808 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2809 %UNSAFE_RENEGOTIATION: Added to priority strings.
2810 GNUTLS_DIG_SHA224: ADDED.
2811 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2812 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2813 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2814 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2815 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2816 GNUTLS_MAC_SHA224: ADDED.
2817 GNUTLS_OID_X520_NAME: ADDED.
2818 GNUTLS_OID_X520_POSTALCODE: ADDED.
2819 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2820 GNUTLS_VERSION_MAX: ADDED.
2821 gnutls_certificate_set_verify_function: ADDED.
2822 gnutls_cipher_decrypt: ADDED.
2823 gnutls_cipher_deinit: ADDED.
2824 gnutls_cipher_encrypt: ADDED.
2825 gnutls_cipher_get_block_size: ADDED.
2826 gnutls_cipher_init: ADDED.
2828 gnutls_hash_deinit: ADDED.
2829 gnutls_hash_fast: ADDED.
2830 gnutls_hash_get_len: ADDED.
2831 gnutls_hash_init: ADDED.
2832 gnutls_hash_output: ADDED.
2834 gnutls_hmac_deinit: ADDED.
2835 gnutls_hmac_fast: ADDED.
2836 gnutls_hmac_get_len: ADDED.
2837 gnutls_hmac_init: ADDED.
2838 gnutls_hmac_output: ADDED.
2839 gnutls_safe_negotiation_set_initial: ADDED.
2840 gnutls_safe_renegotiation_set: ADDED.
2841 gnutls_safe_renegotiation_status: ADDED.
2843 * Version 2.9.9 (released 2009-11-09)
2845 ** libgnutls: Cleanups and several bug fixes.
2846 Found by Steve Grubb and Tomas Mraz.
2848 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2850 ** Fix --disable-valgrind-tests.
2851 Reported by Ingmar Vanhassel in
2852 <https://savannah.gnu.org/support/?107029>.
2854 ** API and ABI modifications:
2855 No changes since last version.
2857 * Version 2.9.8 (released 2009-11-05)
2859 ** libgnutls: Fix for memory leaks on interrupted handshake.
2860 Reported by Tang Tong.
2862 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2863 ** extension and certificate verify field.
2864 This requires changes for TLS 1.2 servers and clients that use
2865 callbacks for certificate retrieval. They are now required to check
2866 with gnutls_sign_algorithm_get_requested() whether the certificate
2867 they send complies with the peer's preferences in signature
2870 ** libgnutls: In server side when resuming a session do not overwrite the
2871 ** initial session data with the resumed session data.
2873 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2875 This affects also PKCS #12 encoded files. This adds the following new
2876 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2877 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2879 ** libgnutls: Fix PKCS#12 encoding.
2880 The error you would get was "The OID is not supported.". Problem
2881 introduced for the v2.8.x branch in 2.7.6.
2883 ** certtool: Added the --pkcs-cipher option.
2884 To explicitely specify the encryption algorithm to use.
2886 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2888 ** tests: Fix time bomb in chainverify self-test.
2889 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2890 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2892 ** tests: Fix expired cert in chainverify self-test.
2894 ** i18n: Vietnamese translation updated.
2895 Thanks to Clytie Siddall.
2897 ** API and ABI modifications:
2898 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2899 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2900 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2901 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2902 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2903 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2904 gnutls_sign_algorithm_get_requested: ADDED.
2906 * Version 2.9.7 (released 2009-10-06)
2908 ** libgnutls: TLS 1.2 server mode fixes.
2909 Now interoperates against Opera. Contributed by Daiki Ueno.
2911 ** libgnutlsxx: Fix link problems.
2912 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2914 ** guile: Compatibility with guile 2.x.
2915 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2917 ** API and ABI modifications:
2918 No changes since last version.
2920 * Version 2.9.6 (released 2009-09-22)
2922 ** libgnutls: Enable Camellia ciphers by default.
2924 ** API and ABI modifications:
2925 No changes since last version.
2927 * Version 2.9.5 (released 2009-09-10)
2929 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2930 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2931 gnutls_x509_crt_get_issuer_alt_name, and
2932 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2933 Hards <bradh@frogmouth.net>.
2935 ** API and ABI modifications:
2936 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2937 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2938 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2940 * Version 2.9.4 (released 2009-09-03)
2942 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2943 The new supported ciphersuites are AES-128/256 in CBC mode with
2944 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2945 SHA-256 is now the preferred default MAC (however it is only used with
2948 ** libgnutls: Make OpenPGP hostname checking work again.
2949 The patch to resolve the X.509 CN/SAN issue accidentally broken
2950 OpenPGP hostname comparison.
2952 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2953 Reported by Howard Chu <hyc@symas.com> in
2954 <https://savannah.gnu.org/support/?106975>.
2956 ** Fix use of deprecated types internally.
2957 Use of deprecated types in GnuTLS from now on will lead to a compile
2958 error, to prevent this from happening again.
2960 ** API and ABI modifications:
2961 No changes since last version.
2963 * Version 2.9.3 (released 2009-08-19)
2965 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2966 The new APIs are gnutls_session_ticket_enable_client,
2967 gnutls_session_ticket_enable_server, and
2968 gnutls_session_ticket_key_generate.
2970 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2972 ** API and ABI modifications:
2973 gnutls_session_ticket_key_generate: ADDED.
2974 gnutls_session_ticket_enable_client: ADDED.
2975 gnutls_session_ticket_enable_server: ADDED.
2977 * Version 2.9.2 (released 2009-08-14)
2979 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2980 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2981 into 1) not printing the entire CN/SAN field value when printing a
2982 certificate and 2) cause incorrect positive matches when matching a
2983 hostname against a certificate. Some CAs apparently have poor
2984 checking of CN/SAN values and issue these (arguable invalid)
2985 certificates. Combined, this can be used by attackers to become a
2986 MITM on server-authenticated TLS sessions. The problem is mitigated
2987 since attackers needs to get one certificate per site they want to
2988 attack, and the attacker reveals his tracks by applying for a
2989 certificate at the CA. It does not apply to client authenticated TLS
2990 sessions. Research presented independently by Dan Kaminsky and Moxie
2991 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2992 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2994 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2995 The function may fail incorrectly when an earlier certificate was
2996 imported to the same gnutls_x509_crt_t structure.
2998 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3000 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3001 Before it always returned false. Reported by Peter Hendrickson
3002 <pdh@wiredyne.com> in
3003 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3005 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3006 The error resulted in truncated strings when printing unknown OIDs in
3007 X.509 certificate DNs. Reported by Tim Kosse
3008 <tim.kosse@filezilla-project.org> in
3009 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3011 ** libgnutls: Fix PKCS#12 decryption from password.
3012 The encryption key derived from the password was incorrect for (on
3013 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3014 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3015 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3017 ** libgnutls: Return correct bit lengths of some MPIs.
3018 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3019 gnutls_dh_get_peers_public_bits. Before the reported value was
3020 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3021 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3023 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3024 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3025 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3027 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3029 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3030 Before we required that the runtime library used the same (or more
3031 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3032 that the runtime usage is above the minimum required. Reported by
3033 Marco d'Itri <md@linux.it> via Andreas Metzler
3034 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3036 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
3038 ** tests: Improved test vectors in self-test pkcs12_s2k.
3040 ** tests: Added new self-test dn2 to detect off-by-one size error.
3042 ** tests: Fix failure in "chainverify" because a certificate have expired.
3044 ** API and ABI modifications:
3045 No changes since last version.
3047 * Version 2.9.1 (released 2009-06-08)
3049 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3050 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3051 <http://bugs.gentoo.org/272388>.
3053 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
3055 ** Reduce stack usage for some CRQ functions.
3057 ** Doc fixes for CRQ functions.
3059 ** API and ABI modifications:
3060 No changes since last version.
3062 * Version 2.9.0 (released 2009-05-28)
3066 ** API and ABI modifications:
3067 No changes since last version.
3069 * Version 2.8.6 (released 2010-03-15)
3071 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
3072 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
3073 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
3075 Note: As a side effect of this change, the "public key identifier"
3076 value computed for a certificate using this version of GnuTLS will be
3077 different from values computed using earlier versions of GnuTLS.
3079 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
3080 ** optional SignatureAlgorithm parameter field.
3081 VeriSign rejected these CSRs. They are stricly speaking not needed
3082 since you need the signer's certificate to verify the certificate
3083 signature anyway. Reported by Wilankar Trupti
3084 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
3086 ** libgnutls: When checking openpgp self signature also check the signatures
3088 Ilari Liusvaara noticed and reported the issue and provided test
3091 ** libgnutls: Cleanups and several bug fixes.
3092 Found by Steve Grubb and Tomas Mraz.
3094 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
3096 ** Fix --disable-valgrind-tests.
3097 Reported by Ingmar Vanhassel in
3098 <https://savannah.gnu.org/support/?107029>.
3100 ** examples: Use the new APIs for printing X.509 certificate information.
3102 ** Fix build failures on Solaris.
3103 Thanks to Dagobert Michelsen <dam@opencsw.org>.
3105 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
3106 ** translations. Added Simplified Chinese translation.
3108 ** API and ABI modifications:
3109 No changes since last version.
3111 * Version 2.8.5 (released 2009-11-02)
3113 ** libgnutls: In server side when resuming a session do not overwrite the
3114 ** initial session data with the resumed session data.
3116 ** libgnutls: Fix PKCS#12 encoding.
3117 The error you would get was "The OID is not supported.". Problem
3118 introduced for the v2.8.x branch in 2.7.6.
3120 ** guile: Compatibility with guile 2.x.
3121 By Ludovic Courtes <ludovic.courtes@laas.fr>.
3123 ** tests: Fix expired cert in chainverify self-test.
3125 ** tests: Fix time bomb in chainverify self-test.
3126 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3127 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3129 ** API and ABI modifications:
3130 No changes since last version.
3132 * Version 2.8.4 (released 2009-09-18)
3134 ** libgnutls: Enable Camellia ciphers by default.
3136 ** libgnutls: Make OpenPGP hostname checking work again.
3137 The patch to resolve the X.509 CN/SAN issue accidentally broken
3138 OpenPGP hostname comparison.
3140 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3141 Reported by Howard Chu <hyc@symas.com> in
3142 <https://savannah.gnu.org/support/?106975>.
3144 ** API and ABI modifications:
3145 No changes since last version.
3147 * Version 2.8.3 (released 2009-08-13)
3149 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
3150 Code intended to be removed would lead to an read-out-bound error in
3151 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
3152 code have been allocated for the vulnerability: [CVE-2009-2730].
3154 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3155 The function may fail incorrectly when an earlier certificate was
3156 imported to the same gnutls_x509_crt_t structure.
3158 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
3160 ** tests: Made self-test mini-eagain take less time.
3164 ** API and ABI modifications:
3165 No changes since last version.
3167 * Version 2.8.2 (released 2009-08-10)
3169 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3170 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3171 into 1) not printing the entire CN/SAN field value when printing a
3172 certificate and 2) cause incorrect positive matches when matching a
3173 hostname against a certificate. Some CAs apparently have poor
3174 checking of CN/SAN values and issue these (arguable invalid)
3175 certificates. Combined, this can be used by attackers to become a
3176 MITM on server-authenticated TLS sessions. The problem is mitigated
3177 since attackers needs to get one certificate per site they want to
3178 attack, and the attacker reveals his tracks by applying for a
3179 certificate at the CA. It does not apply to client authenticated TLS
3180 sessions. Research presented independently by Dan Kaminsky and Moxie
3181 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3182 for providing one part of the patch. [GNUTLS-SA-2009-4].
3184 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3185 Before it always returned false. Reported by Peter Hendrickson
3186 <pdh@wiredyne.com> in
3187 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3189 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3190 The error resulted in truncated strings when printing unknown OIDs in
3191 X.509 certificate DNs. Reported by Tim Kosse
3192 <tim.kosse@filezilla-project.org> in
3193 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3195 ** libgnutls: Return correct bit lengths of some MPIs.
3196 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3197 gnutls_dh_get_peers_public_bits. Before the reported value was
3198 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3199 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3201 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3202 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3203 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3205 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3207 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3208 Before we required that the runtime library used the same (or more
3209 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3210 that the runtime usage is above the minimum required. Reported by
3211 Marco d'Itri <md@linux.it> via Andreas Metzler
3212 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3214 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3216 ** tests: Fix failure in "chainverify" because a certificate have expired.
3218 ** API and ABI modifications:
3219 No changes since last version.
3221 * Version 2.8.1 (released 2009-06-10)
3223 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3224 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3225 <http://bugs.gentoo.org/272388>.
3227 ** libgnutls: Fix PKCS#12 decryption from password.
3228 The encryption key derived from the password was incorrect for (on
3229 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3230 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3231 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3233 ** API and ABI modifications:
3234 No changes since last version.
3236 * Version 2.8.0 (released 2009-05-27)
3238 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3240 ** Major changes compared to the v2.4 branch:
3242 *** lib: Linker version scripts reduces number of exported symbols.
3244 *** lib: Limit exported symbols on systems without LD linker scripts.
3246 *** libgnutls: Fix namespace issue with version symbols.
3248 *** libgnutls: Add functions to verify a hash against a certificate.
3249 gnutls_x509_crt_verify_hash: ADDED
3250 gnutls_x509_crt_get_verify_algorithm: ADDED
3252 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3254 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3256 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3258 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3260 *** gnutls-serv: No longer disable MAC padding by default.
3262 *** gnutls-cli: Certificate information output format changed.
3264 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3265 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3267 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3269 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3271 *** libgnutls: gnutls_handshake when sending client hello during a
3272 rehandshake, will not offer a version number larger than the current.
3274 *** libgnutls: New interface to get key id for certificate requests.
3275 gnutls_x509_crq_get_key_id: ADDED.
3277 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3279 *** certtool: --verify-chain now prints results of using library verification.
3281 *** libgnutls: Libgcrypt initialization changed.
3283 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3285 *** gnutls-cli: Return non-zero exit code on error conditions.
3287 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3289 *** certtool: allow setting arbitrary key purpose object identifiers.
3291 *** libgnutls: Change detection of when to use a linker version script.
3292 Use --enable-ld-version-script or --disable-ld-version-script to
3293 override auto-detection logic.
3295 *** Fix warnings and build GnuTLS with more warnings enabled.
3297 *** New API to set X.509 credentials from PKCS#12 memory structure.
3298 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3300 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3301 Please use pkg-config instead.
3303 *** libgnutls: Added functions to handle CRL extensions.
3304 gnutls_x509_crl_get_authority_key_id: ADDED
3305 gnutls_x509_crl_get_number: ADDED
3306 gnutls_x509_crl_get_extension_oid: ADDED
3307 gnutls_x509_crl_get_extension_info: ADDED
3308 gnutls_x509_crl_get_extension_data: ADDED
3309 gnutls_x509_crl_set_authority_key_id: ADDED
3310 gnutls_x509_crl_set_number: ADDED
3312 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3314 gnutls_x509_crq_get_key_rsa_raw: ADDED
3315 gnutls_x509_crq_get_attribute_info: ADDED
3316 gnutls_x509_crq_get_attribute_data: ADDED
3317 gnutls_x509_crq_get_extension_info: ADDED
3318 gnutls_x509_crq_get_extension_data: ADDED
3319 gnutls_x509_crq_get_key_usage: ADDED
3320 gnutls_x509_crq_get_basic_constraints: ADDED
3321 gnutls_x509_crq_get_subject_alt_name: ADDED
3322 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3323 gnutls_x509_crq_get_extension_by_oid: ADDED
3324 gnutls_x509_crq_set_subject_alt_name: ADDED
3325 gnutls_x509_crq_set_basic_constraints: ADDED
3326 gnutls_x509_crq_set_key_usage: ADDED
3327 gnutls_x509_crq_get_key_purpose_oid: ADDED
3328 gnutls_x509_crq_set_key_purpose_oid: ADDED
3329 gnutls_x509_crq_print: ADDED
3330 gnutls_x509_crt_set_crq_extensions: ADDED
3332 *** certtool: Print and set CRL and CRQ extensions.
3334 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3336 *** examples: Now released into the public domain.
3338 *** The Texinfo and GTK-DOC manuals were improved.
3340 *** Several self-tests were added and others improved.
3342 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3343 No offically supported interfaces have been modified or removed. The
3344 library should be completely backwards compatible on both the source
3347 The shared library no longer exports some symbols that have never been
3348 officially supported, i.e., not mentioned in any of the header files.
3354 Normally when symbols are removed, the shared library version has to
3355 be incremented. This leads to a significant cost for everyone using
3356 the library. Because none of the above symbols have ever been