1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000-2014 Free Software Foundation, Inc.
3 Copyright (C) 2013, 2014 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 3.4.0 (unreleased)
8 ** libgnutls: Use pthread_atfork() to detect fork.
10 ** libgnutls: Added helper functions to obtain information on PKCS #8
13 ** certtool: Added --p8-info option, which will print PKCS #8 information
14 even if the password is not available.
16 ** certtool: --key-info option will print PKCS #8 encryption information
19 ** certtool: --p12-info option will print PKCS #12 encryption information
22 ** certtool: Added --mark-wrap parameter.
24 ** API and ABI modifications:
25 gnutls_pkcs12_bag_enc_info: Added
26 gnutls_pkcs8_info: Added
27 gnutls_pkcs_schema_get_name: Added
28 gnutls_pkcs_schema_get_oid: Added
31 * Version 3.3.6 (released 2014-07-23)
33 ** libgnutls: Use inet_ntop to print IP addresses when available
35 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
36 IP addresses, and match documented behavior. Reported by David Woodhouse.
38 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
41 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
42 being usable after a reinitialization.
44 ** libgnutls: fixed PKCS #11 private key operations after a fork.
46 ** libgnutls: fixed PKCS #11 ECDSA key generation.
48 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
49 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
50 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
51 CPU. The currently available options are:
52 0x1: Disable all run-time detected optimizations
56 0x100000: Enable VIA padlock
57 0x200000: Enable VIA PHE
58 0x400000: Enable VIA PHE SHA512
60 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
62 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
64 ** p11tool: ask for label when one isn't provided.
66 ** p11tool: added --batch parameter to disable any interactivity.
68 ** p11tool: will not implicitly enable so-login for certain types of
69 objects. That avoids issues with tokens that require different login
72 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
73 specify the curve to use.
75 ** API and ABI modifications:
76 gnutls_certificate_set_x509_trust_dir: Added
77 gnutls_x509_trust_list_add_trust_dir: Added
80 * Version 3.3.5 (released 2014-06-26)
82 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
83 These functions provide a variant of gnutls_record_recv() that avoids
84 the final memcpy of data.
86 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
87 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
88 very large structures.
90 ** libgnutls: When the decoding of a printable DN element fails, then treat
91 it as unknown and print its hex value rather than failing. That works around
92 an issue in a TURKTRST root certificate which improperly encodes the
93 X520countryName element.
95 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
96 of certificates present in a PKCS #11 token when loading it.
98 ** libgnutls: Allow the post client hello callback to put the handshake on
99 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
101 ** certtool: option --to-p12 will now consider --load-ca-certificate
103 ** certtol: Added option to specify the PKCS #12 friendly name on command
106 ** p11tool: Allow marking a certificate copied to a token as a CA.
108 ** API and ABI modifications:
109 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
110 gnutls_x509_crl_iter_deinit: Added
111 gnutls_x509_crl_iter_crt_serial: Added
112 gnutls_record_recv_packet: Added
113 gnutls_packet_deinit: Added
114 gnutls_packet_get: Added
117 * Version 3.3.4 (released 2014-05-31)
119 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
120 crash on certain CPUs.
122 ** API and ABI modifications:
123 No changes since last version.
126 * Version 3.3.3 (released 2014-05-30)
128 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
129 Issue reported by Joonas Kuorilehto of Codenomicon.
131 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
132 new initialization process.
134 ** libgnutls: Increased the maximum certificate size buffer
135 in the PKCS #11 subsystem.
137 ** libgnutls: Check the return code of getpwuid_r() instead of relying
138 on the result value. That avoids issue in certain systems, when using
139 tofu authentication and the home path cannot be determined. Issue reported
142 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
143 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
145 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
148 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
149 be emulated with the implicit initialization of gnutls.
151 ** certtool: Allow multiple organizations and organizational unit names to
152 be specified in a template.
154 ** certtool: Warn when invalid configuration options are set to a template.
156 ** ocsptool: Include path in ocsp request. This resolves #108582
157 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
159 ** API and ABI modifications:
160 gnutls_credentials_get: Added
163 * Version 3.3.2 (released 2014-05-06)
165 ** libgnutls: Added the 'very weak' certificate verification profile
166 that corresponds to 64-bit security level.
168 ** libgnutls: Corrected file descriptor leak on random generator
171 ** libgnutls: Corrected file descriptor leak on PSK password file
172 reading. Issue identified using the Codenomicon TLS test suite.
174 ** libgnutls: Avoid deinitialization if initialization has failed.
176 ** libgnutls: null-terminate othername alternative names.
178 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
179 on a PKCS #11 trust list.
181 ** libgnutls: Several small bug fixes identified using valgrind and
182 the Codenomicon TLS test suite.
184 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
185 entry that matches the certificate. Patch by simon [at] arlott.org.
187 ** libgnutls-guile: Fixed compilation issue.
189 ** certtool: Allow exporting a CRL on DER format.
191 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
192 which is supported more widely than the previously used SECP224R1.
194 ** API and ABI modifications:
195 GNUTLS_PROFILE_VERY_WEAK: Added
198 * Version 3.3.1 (released 2014-04-19)
200 ** libgnutls: Enforce more strict checks to heartbeat messages
201 concerning padding and payload. Suggested by Peter Dettman.
203 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
206 ** libgnutls: Several small bug fixes found by coverity.
208 ** libgnutls: The conditionally available self-test functions
209 were moved to self-test.h.
211 ** libgnutls: Fixed issue with the check of incoming data when two
212 different recv and send pointers have been specified. Reported and
213 investigated by JMRecio.
215 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
216 result to illegal memory access if a server hint was provided. Reported
219 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
220 server hint was provided.
222 ** libgnutls: Corrected the *get_*_othername_oid() functions.
224 ** API and ABI modifications:
225 No changes since last version.
228 * Version 3.3.0 (released 2014-04-10)
230 ** libgnutls: The initialization of the library was moved to a
231 constructor. That is, gnutls_global_init() is no longer required
232 unless linking with a static library or a system that does not
233 support library constructors.
235 ** libgnutls: static libraries are not built by default.
237 ** libgnutls: PKCS #11 initialization is delayed to first usage.
238 That avoids long delays in gnutls initialization due to broken PKCS #11
241 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
242 on the first PKCS #11 API call after a fork.
244 ** libgnutls: certificate verification profiles were introduced
245 that can be specified as flags to verification functions. They
246 are enumerations in gnutls_certificate_verification_profiles_t
247 and can be converted to flags for use in a verification function
248 using GNUTLS_PROFILE_TO_VFLAGS().
250 ** libgnutls: Added the ability to read system-specific initial
251 keywords, if they are prefixed with '@'. That allows a compile-time
252 specified configuration file to be used to read pre-configured priority
253 strings from. That can be used to impose system specific policies.
255 ** libgnutls: Increased the default security level of priority
256 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
257 and set a verification profile by default. The LEGACY keyword is
258 introduced to set the old defaults.
260 ** libgnutls: Added support for the name constraints PKIX extension.
261 Currently only DNS names and e-mails are supported (no URIs, IPs
264 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
265 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
267 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
268 This API handles the X.509 extensions in isolation, allowing to parse
269 similarly formatted extensions stored in other structures.
271 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
272 can be used to specify a particular subgroup as the number of bits in
273 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
275 ** libgnutls: DH parameter generation is now delegated to nettle.
276 That unfortunately has the side-effect that DH parameters longer than
277 3072 bits, cannot be generated (not without a nettle update).
279 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
280 random number generator is based on salsa20/12.
282 ** libgnutls: The buffer alignment provided to crypto backend is
283 enforced to be 16-byte aligned, when compiled with cryptodev
284 support. That allows certain cryptodev drivers to operate more
287 ** libgnutls: Return error when a public/private key pair that doesn't
288 match is set into a credentials structure.
290 ** libgnutls: Depend on p11-kit 0.20.0 or later.
292 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
293 been removed. It was not approved by IETF.
295 ** libgnutls: The experimental xssl library is removed from the gnutls
298 ** libgnutls: Reduced the number of gnulib modules used in the main library.
300 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
302 ** libgnutls: Added the more extensible verification function
303 gnutls_certificate_verify_peers(), that allows checking, in addition
304 to a peer's DNS hostname, for the key purpose of the end certificate
305 (via PKIX extended key usage).
307 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
308 and in batch mode to 12 (appended with 4 random bytes).
310 ** certtool: When no CRL number is provided (or value set to -1), then
311 a time-based number will be used, similarly to the serial generation
312 number in certificates.
314 ** certtool: Print the SHA256 fingerprint of a certificate in addition
317 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
318 That option enables (when running on FIPS140-enabled system):
319 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
320 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
321 o Self-tests on initialization on ciphers/MACs, public key algorithms
322 and the random generator.
323 o HMAC-SHA256 verification of the library on load.
324 o MD5 is included for TLS purposes but cannot be used by the high level
326 o All ciphers except AES are disabled.
327 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
328 o All keys (temporal and long term) are zeroized after use.
329 o Security levels are adjusted to the FIPS140-2 recommendations (rather
332 ** API and ABI modifications:
333 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
334 gnutls_certificate_verify_peers: Added
335 gnutls_privkey_generate: Added
336 gnutls_pkcs11_crt_is_known: Added
337 gnutls_fips140_mode_enabled: Added
338 gnutls_sec_param_to_symmetric_bits: Added
339 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
340 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
341 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
342 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
343 gnutls_pubkey_verify_params: Added
344 gnutls_privkey_export_ecc_raw: Added
345 gnutls_privkey_export_dsa_raw: Added
346 gnutls_privkey_export_rsa_raw: Added
347 gnutls_privkey_import_ecc_raw: Added
348 gnutls_privkey_import_dsa_raw: Added
349 gnutls_privkey_import_rsa_raw: Added
350 gnutls_privkey_verify_params: Added
351 gnutls_x509_crt_check_hostname2: Added
352 gnutls_openpgp_crt_check_hostname2: Added
353 gnutls_x509_name_constraints_init: Added
354 gnutls_x509_name_constraints_deinit: Added
355 gnutls_x509_crt_get_name_constraints: Added
356 gnutls_x509_name_constraints_add_permitted: Added
357 gnutls_x509_name_constraints_add_excluded: Added
358 gnutls_x509_crt_set_name_constraints: Added
359 gnutls_x509_name_constraints_get_permitted: Added
360 gnutls_x509_name_constraints_get_excluded: Added
361 gnutls_x509_name_constraints_check: Added
362 gnutls_x509_name_constraints_check_crt: Added
363 gnutls_x509_crl_get_extension_data2: Added
364 gnutls_x509_crt_get_extension_data2: Added
365 gnutls_x509_crq_get_extension_data2: Added
366 gnutls_subject_alt_names_init: Added
367 gnutls_subject_alt_names_deinit: Added
368 gnutls_subject_alt_names_get: Added
369 gnutls_subject_alt_names_set: Added
370 gnutls_x509_ext_import_subject_alt_names: Added
371 gnutls_x509_ext_export_subject_alt_names: Added
372 gnutls_x509_crl_dist_points_init: Added
373 gnutls_x509_crl_dist_points_deinit: Added
374 gnutls_x509_crl_dist_points_get: Added
375 gnutls_x509_crl_dist_points_set: Added
376 gnutls_x509_ext_import_crl_dist_points: Added
377 gnutls_x509_ext_export_crl_dist_points: Added
378 gnutls_x509_ext_import_name_constraints: Added
379 gnutls_x509_ext_export_name_constraints: Added
380 gnutls_x509_aia_init: Added
381 gnutls_x509_aia_deinit: Added
382 gnutls_x509_aia_get: Added
383 gnutls_x509_aia_set: Added
384 gnutls_x509_ext_import_aia: Added
385 gnutls_x509_ext_export_aia: Added
386 gnutls_x509_ext_import_subject_key_id: Added
387 gnutls_x509_ext_export_subject_key_id: Added
388 gnutls_x509_ext_export_authority_key_id: Added
389 gnutls_x509_ext_import_authority_key_id: Added
390 gnutls_x509_aki_init: Added
391 gnutls_x509_aki_get_id: Added
392 gnutls_x509_aki_get_cert_issuer: Added
393 gnutls_x509_aki_set_id: Added
394 gnutls_x509_aki_set_cert_issuer: Added
395 gnutls_x509_aki_deinit: Added
396 gnutls_x509_ext_import_private_key_usage_period: Added
397 gnutls_x509_ext_export_private_key_usage_period: Added
398 gnutls_x509_ext_import_basic_constraints: Added
399 gnutls_x509_ext_export_basic_constraints: Added
400 gnutls_x509_ext_import_key_usage: Added
401 gnutls_x509_ext_export_key_usage: Added
402 gnutls_x509_ext_import_proxy: Added
403 gnutls_x509_ext_export_proxy: Added
404 gnutls_x509_policies_init: Added
405 gnutls_x509_policies_deinit: Added
406 gnutls_x509_policies_get: Added
407 gnutls_x509_policies_set: Added
408 gnutls_x509_ext_import_policies: Added
409 gnutls_x509_ext_export_policies: Added
410 gnutls_x509_key_purpose_init: Added
411 gnutls_x509_key_purpose_deinit: Added
412 gnutls_x509_key_purpose_set: Added
413 gnutls_x509_key_purpose_get: Added
414 gnutls_x509_ext_import_key_purposes: Added
415 gnutls_x509_ext_export_key_purposes: Added
416 gnutls_digest_self_test: Added (conditionally)
417 gnutls_mac_self_test: Added (conditionally)
418 gnutls_pk_self_test: Added (conditionally)
419 gnutls_cipher_self_test: Added (conditionally)
420 gnutls_global_set_mem_functions: Deprecated
423 * Version 3.2.6 (released 2013-10-31)
425 ** libgnutls: Support for TPM via trousers is now enabled by default.
427 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
428 GCM mode is prioritized over CBC in all of the default priority strings.
430 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
432 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
433 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
434 Reported by Stefan Buehler.
436 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
438 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
441 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
442 Contributed by Wolfgang Meyer zu Bergsten.
446 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
447 previous fix. Reported by Tomas Mraz.
449 ** p11tool: Added option generate-random.
451 ** API and ABI modifications:
452 gnutls_pkcs11_token_get_random: Added
455 * Version 3.2.5 (released 2013-10-23)
457 ** libgnutls: Documentation and build-time fixes.
459 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
461 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
462 as well as Camellia with GCM.
464 ** libdane: Added interfaces to allow initialization of dane_query_t from
465 external DNS resolutions, and to allow direct verification of a certificate
466 chain against a dane_query_t. Contributed by Christian Grothoff.
468 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
469 triggered by a DNS server supplying more than 4 DANE records. Report and fix
470 by Christian Grothoff.
472 ** srptool: Fixed index command line option. Patch by Attila Molnar.
474 ** gnutls-cli: Added support for inline commands, using the
475 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
477 ** certtool: pathlen constraint is now read correctly. Reported by
480 ** API and ABI modifications:
481 gnutls_certificate_get_crt_raw: Added
482 dane_verify_crt_raw: Added
486 * Version 3.2.4 (released 2013-08-31)
488 ** libgnutls: Fixes when session tickets and session DB are used.
489 Report and initial patch by Stefan Buehler.
491 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
492 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
494 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
497 ** libgnutls: Added the PFS priority string option.
499 ** libgnutls: Gnulib included files are strictly LGPLv2.
501 ** libgnutls: Corrected gnutls_certificate_server_set_request().
502 Reported by Petr Pisar.
504 ** API and ABI modifications:
505 gnutls_record_set_timeout: Exported
508 * Version 3.2.3 (released 2013-07-30)
510 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
512 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
513 (this fixes a bug that was accidentally introduced in 3.2.2)
515 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
518 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
521 ** API and ABI modifications:
522 gnutls_priority_kx_list: Added
523 gnutls_priority_mac_list: Added
524 gnutls_priority_cipher_list: Added
527 * Version 3.2.2 (released 2013-07-14)
529 ** libgnutls: Several optimizations in the related to packet processing
532 ** libgnutls: DTLS replay detection can now be disabled (to be used
533 in certain transport layers like SCTP).
535 ** libgnutls: Fixes in SRTP extension generation when MKI is being
538 ** libgnutls: Added ability to set hooks before or after sending or receiving
539 any handshake message with gnutls_handshake_set_hook_function().
541 ** API and ABI modifications:
542 GNUTLS_NO_REPLAY_PROTECTION: Added
543 gnutls_certificate_set_trust_list: Added
544 gnutls_cipher_get_tag_size: Added
545 gnutls_record_overhead_size: Added
546 gnutls_est_record_overhead_size: Added
547 gnutls_handshake_set_hook_function: Added
548 gnutls_handshake_description_get_name: Added
549 gnutls_digest_list: Added
550 gnutls_digest_get_id: Added
551 gnutls_digest_get_name: Added
554 * Version 3.2.1 (released 2013-06-01)
556 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
559 ** libgnutls: Fixes in interrupted function resumption. Report
560 and patch by Tim Kosse.
562 ** libgnutls: Corrected issue when receiving client hello verify requests
565 ** libgnutls: Fixes in DTLS record overhead size calculations.
567 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
570 ** API and ABI modifications:
571 gnutls_session_set_id: Added
574 * Version 3.2.0 (released 2013-05-10)
576 ** libgnutls: Use nettle's elliptic curve implementation.
578 ** libgnutls: Added Salsa20 cipher
580 ** libgnutls: Added UMAC-96 and UMAC-128
582 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
583 As they are not standardized they are defined using private ciphersuite
586 ** libgnutls: Added support for DTLS 1.2.
588 ** libgnutls: Added support for the Application Layer Protocol Negotiation
591 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
593 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
594 linking to pthreads if p11-kit isn't used).
596 ** API and ABI modifications:
597 gnutls_cipher_get_iv_size: Added
598 gnutls_hmac_set_nonce: Added
599 gnutls_mac_get_nonce_size: Added
602 * Version 3.1.10 (released 2013-03-22)
604 ** certtool: When generating PKCS #12 files use by default the
605 ARCFOUR (RC4) cipher to be compatible with devices that don't
606 support AES with PKCS #12.
608 ** libgnutls: Load CA certificates in android 4.x systems.
610 ** libgnutls: Optimized CA certificate loading.
612 ** libgnutls: Private keys are overwritten on deinitialization.
614 ** libgnutls: PKCS #11 slots are scanned only when needed, not
615 on initialization. This speeds up gnutls initialization when smart
618 ** libgnutls: Corrected issue in the (deprecated) external key
619 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
621 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
624 ** libgnutls-dane: Updated DANE verification options.
626 ** configure: Trust store file must be explicitly set or unset when
629 ** API and ABI modifications:
630 gnutls_x509_crt_get_issuer_dn2: Added
631 gnutls_x509_crt_get_dn2: Added
632 gnutls_x509_crl_get_issuer_dn2: Added
633 gnutls_x509_crq_get_dn2: Added
634 gnutls_x509_trust_list_remove_trust_mem: Added
635 gnutls_x509_trust_list_remove_trust_file: Added
636 gnutls_x509_trust_list_remove_cas: Added
637 gnutls_session_get_desc: Added
638 gnutls_privkey_sign_raw_data: Added
639 gnutls_privkey_status: Added
642 * Version 3.1.9 (released 2013-02-27)
644 ** certtool: Option --to-p12 will now ask for a password to generate
645 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
647 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
649 ** libgnutls: Corrected parsing issue in XMPP within a subject
650 alternative name. Reported by James Cloos.
652 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
653 modules, and not only the ones loaded via p11-kit.
655 ** libgnutls: Added function to check whether the private key is
656 still available (inserted).
658 ** libgnutls: Try to detect fork even during nonce generation.
660 ** API and ABI modifications:
661 gnutls_handshake_set_random: Added
662 gnutls_transport_set_int2: Added
663 gnutls_transport_get_int2: Added
664 gnutls_transport_get_int: Added
665 gnutls_record_cork: Exported
666 gnutls_record_uncork: Exported
667 gnutls_pkcs11_privkey_status: Added
670 * Version 3.1.8 (released 2013-02-10)
672 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
673 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
674 with encrypted keys. Reported by Yan Fiz.
676 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
677 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
680 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
681 to operate with long keys. Reported by Erik A Jensen.
683 ** API and ABI modifications:
684 No changes since last version.
687 * Version 3.1.7 (released 2013-02-04)
689 ** certtool: Added option "dn" which allows to directly set the DN
690 in a template from an RFC4514 string.
692 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
694 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
696 ** libgnutls-dane: Added function to specify a DLV file.
698 ** libgnutls: Heartbeat code was made optional.
700 ** libgnutls: Fixes in server side of DTLS-0.9.
702 ** libgnutls: DN variable 'T' was expanded to 'title'.
704 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
705 Issue reported by Kenny Paterson and Nadhem Alfardan.
707 ** libgnutls: Added functions to directly set the DN in a certificate
708 or request from an RFC4514 string.
710 ** libgnutls: Optimizations in the random generator. The re-seeding of
711 it is now explicitly done on every session deinit.
713 ** libgnutls: Simplified the DTLS sliding window implementation.
715 ** libgnutls: The minimum DH bits accepted by a client are now set
716 by the specified priority string. The current values correspond to the
717 previous defaults (727 bits), except for the SECURE128 and SECURE192
718 strings which increase the minimum to 1248 and 1776 respectively.
720 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
721 buffering in sending application data.
723 ** libgnutls: Removed default random padding, and added a length-hiding interface
724 instead. Both the server and the client must support this extension. Whether
725 length-hiding can be used on a given session can be checked using
726 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
728 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
729 a new padding mechanism in TLS allowing arbitrary padding in TLS records
730 in all ciphersuites, which makes length-hiding more efficient and solves
731 the issues with timing attacks on CBC ciphersuites.
733 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
734 ciphers (i.e., AES-GCM). Reported by William McGovern.
736 ** API and ABI modifications:
737 gnutls_db_check_entry_time: Added
738 gnutls_record_set_timeout: Added
739 gnutls_record_get_random_padding_status: Added
740 gnutls_x509_crt_set_dn: Added
741 gnutls_x509_crt_set_issuer_dn: Added
742 gnutls_x509_crq_set_dn: Added
743 gnutls_range_split: Added
744 gnutls_record_send_range: Added
745 gnutls_record_set_max_empty_records: Added
746 gnutls_record_can_use_length_hiding: Added
747 gnutls_rnd_refresh: Added
755 xssl_client_init: Added
756 xssl_server_init: Added
757 xssl_get_session: Added
758 xssl_get_verify_status: Added
759 xssl_cred_init: Added
760 xssl_cred_deinit: Added
761 dane_state_set_dlv_file: Added
762 GNUTLS_SEC_PARAM_EXPORT: Added
763 GNUTLS_SEC_PARAM_VERY_WEAK: Added
766 * Version 3.1.6 (released 2013-01-02)
768 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
769 Paterson and Nadhem Alfardan.
771 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
773 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
776 ** libgnutls: Ignore heartbeat messages when received out-of-order,
777 instead of issuing an error.
779 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
782 ** libgnutls: TPM support is disabled by default because GPL programs
783 cannot link with it. Use --with-tpm to enable it.
785 ** libgnutls-guile: Fixed parallel compilation issue.
787 ** gnutls-cli: It will try to connect to all possible returned addresses
790 ** API and ABI modifications:
791 No changes since last version.
794 * Version 3.1.5 (released 2012-11-24)
796 ** libgnutls: Added functions to parse the certificates policies
799 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
800 Name by translating it to UTF-8 (works on windows or systems with iconv).
802 ** libgnutls: Added PKCS #11 key generation function that returns the
803 public key on generation.
805 ** libgnutls: Corrected bug in priority string parsing, that mostly
806 affected combined levels. Patch by Tim Kosse.
808 ** certtool: The --pubkey-info option can be combined with the
809 --load-privkey or --load-request to print the corresponding public keys.
811 ** certtool: It is able to set certificate policies via a template.
813 ** certtool: Added --hex-numbers option which prints big numbers in
814 an easier to parse format.
816 ** p11tool: After key generation, outputs the public key (useful in
817 tokens that do not store the public key).
819 ** danetool: It is being built even without libgnutls-dane (the
820 --check functionality is disabled though).
822 ** API and ABI modifications:
823 gnutls_pkcs11_privkey_generate2: Added
824 gnutls_x509_crt_get_policy: Added
825 gnutls_x509_crt_set_policy: Added
826 gnutls_x509_policy_release: Added
827 gnutls_pubkey_import_x509_crq: Added
828 gnutls_pubkey_print: Added
829 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
832 * Version 3.1.4 (released 2012-11-10)
834 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
835 the available revocation data validity.
837 ** libgnutls: Added gnutls_certificate_verification_status_print(),
838 a function to print the verification status code in human readable text.
840 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
842 ** libgnutls: Simplified certificate verification by adding
843 gnutls_certificate_verify_peers3().
845 ** libgnutls: Added support for extension to establish keys for SRTP.
846 Contributed by Martin Storsjo.
848 ** libgnutls: The X.509 verification functions check the key
849 usage bits and pathlen constraints and on failure output
850 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
852 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
854 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
855 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
857 ** libgnutls: Always tolerate key usage violation errors from the side
858 of the peer, but also notify via an audit message.
860 ** gnutls-cli: Added --local-dns option.
862 ** danetool: Corrected bug that prevented loading PEM files.
864 ** danetool: Added --check option to allow querying and verifying
867 ** libgnutls-dane: Added pkg-config file for the library.
869 ** API and ABI modifications:
870 gnutls_session_get_id2: Added
871 gnutls_sign_is_secure: Added
872 gnutls_certificate_verify_peers3: Added
873 gnutls_ocsp_status_request_is_checked: Added
874 gnutls_certificate_verification_status_print: Added
875 gnutls_srtp_set_profile: Added
876 gnutls_srtp_set_profile_direct: Added
877 gnutls_srtp_get_selected_profile: Added
878 gnutls_srtp_get_profile_name: Added
879 gnutls_srtp_get_profile_id: Added
880 gnutls_srtp_get_keys: Added
881 gnutls_srtp_get_mki: Added
882 gnutls_srtp_set_mki: Added
883 gnutls_srtp_profile_t: Added
884 dane_cert_type_name: Added
885 dane_match_type_name: Added
886 dane_cert_usage_name: Added
887 dane_verification_status_print: Added
888 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
889 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
890 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
891 GNUTLS_CERT_UNEXPECTED_OWNER: Added
892 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
895 * Version 3.1.3 (released 2012-10-12)
897 ** libgnutls: Added support for the OCSP Certificate Status
900 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
901 certificate status extension in verification.
903 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
905 ** libgnutls: Increased maximum password length in the PKCS #12
908 ** libgnutls: Fixed the receipt of session tickets during session resumption.
909 Reported by danblack at http://savannah.gnu.org/support/?108146
911 ** libgnutls: Added functions to export structures in an allocated buffer.
913 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
914 response corresponds to the given certificate.
916 ** libgnutls: In client side gnutls_init() enables the session ticket and
917 OCSP certificate status request extensions by default. The flag
918 GNUTLS_NO_EXTENSIONS can be used to prevent that.
920 ** libgnutls: Several updates in the OpenPGP code. The generating code
921 is fully RFC6091 compliant and RFC5081 support is only supported in client
924 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
925 certificate verification.
927 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
929 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
931 ** API and ABI modifications:
932 gnutls_certificate_get_peers_subkey_id: Added
933 gnutls_certificate_set_ocsp_status_request_function: Added
934 gnutls_certificate_set_ocsp_status_request_file: Added
935 gnutls_ocsp_status_request_enable_client: Added
936 gnutls_ocsp_status_request_get: Added
937 gnutls_ocsp_resp_check_crt: Added
938 gnutls_dh_params_export2_pkcs3: Added
939 gnutls_pubkey_export2: Added
940 gnutls_x509_crt_export2: Added
941 gnutls_x509_dn_export2: Added
942 gnutls_x509_crl_export2: Added
943 gnutls_pkcs7_export2: Added
944 gnutls_x509_privkey_export2: Added
945 gnutls_x509_privkey_export2_pkcs8: Added
946 gnutls_x509_crq_export2: Added
947 gnutls_openpgp_crt_export2: Added
948 gnutls_openpgp_privkey_export2: Added
949 gnutls_pkcs11_obj_export2: Added
950 gnutls_pkcs12_export2: Added
951 gnutls_pubkey_import_openpgp_raw: Added
952 gnutls_pubkey_import_x509_raw: Added
953 dane_state_init: Added
954 dane_state_deinit: Added
955 dane_query_tlsa: Added
956 dane_query_status: Added
957 dane_query_entries: Added
958 dane_query_data: Added
959 dane_query_deinit: Added
960 dane_verify_session_crt: Added
961 dane_verify_crt: Added
965 * Version 3.1.2 (released 2012-09-26)
967 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
968 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
969 of certificates in the windows platform.
971 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
973 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
974 (the work was done during Google Summer of Code).
976 ** libgnutls: Added X.509 certificate verification flag
977 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
978 of unsorted certificate chains and is enabled by default for
979 TLS certificate verification (if gnutls_certificate_set_verify_flags()
980 does not override it).
982 ** libgnutls: Prints warning on certificates that contain keys of
983 an insecure level. If the %COMPAT priority flag is not specified
984 the TLS connection fails.
986 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
987 if interrupted during the retrasmition of handshake data.
989 ** libgnutls: Better mingw32 support (patch by LRN).
991 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
992 key usage violation errors (they are far too common to ignore).
994 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
995 which provides a tool to counter compression-related attacks where
996 parts of the data are controlled by the attacker _and_ are placed in
997 separate records (use with care - do not use compression if not sure).
999 ** libgnutls: Depends on libtasn1 2.14 or later.
1001 ** certtool: Prints the number of bits of the public key algorithm
1002 parameter in a private key.
1004 ** API and ABI modifications:
1005 gnutls_x509_privkey_get_pk_algorithm2: Added
1006 gnutls_heartbeat_ping: Added
1007 gnutls_heartbeat_pong: Added
1008 gnutls_heartbeat_allowed: Added
1009 gnutls_heartbeat_enable: Added
1010 gnutls_heartbeat_set_timeouts: Added
1011 gnutls_heartbeat_get_timeout: Added
1012 GNUTLS_SEC_PARAM_WEAK: Added
1013 GNUTLS_SEC_PARAM_INSECURE: Added
1015 * Version 3.1.1 (released 2012-09-02)
1017 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1019 ** certtool: Changes in password handling of certtool.
1020 Ask password when required and only if the '--password' option is not
1021 given. If the '--password' option is given during key generation then
1022 assume the PKCS #8 file format, instead of ignoring the password.
1024 ** tpmtool: No longer asks for key password in registered keys.
1026 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1027 wmNAF is now used for point multiplication and other optimizations.
1028 (the major part of the work was done during Google Summer of Code).
1030 ** libgnutls: The default pull_timeout_function only uses select
1031 instead of a combination of select() and recv() to prevent issues
1032 when used in stream sockets in some systems.
1034 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1035 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1038 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1039 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1040 me with ECDSA capable smart cards.
1042 ** API and ABI modifications:
1043 gnutls_sign_algorithm_get: Added
1044 gnutls_sign_get_hash_algorithm: Added
1045 gnutls_sign_get_pk_algorithm: Added
1048 * Version 3.1.0 (released 2012-08-15)
1050 ** libgnutls: Added direct support for TPM as a cryptographic module
1051 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1052 using URLs of the following types:
1053 tpmkey:file=/path/to/file
1054 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1056 ** libgnutls: Priority string level keywords can be combined.
1057 For example the string "SECURE256:+SUITEB128" is now allowed.
1059 ** libgnutls: requires libnettle 2.5.
1061 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1062 for encryption and signatures.
1064 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1065 generic errors and signature verification errors in the verification
1068 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1069 to simplify parsing in most PKCS #12 use cases.
1071 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1072 the whole certificate chain (if any) to the credentials structure, instead
1073 of only the end-user certificate.
1075 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1076 and gnutls_x509_privkey_import_pkcs8(), return consistently
1077 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1078 password was provided.
1080 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1081 allows to set the maximum time spent in a handshake.
1083 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1086 ** tpmtool: Added. It is a tool to generate private keys in the
1089 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1090 and --benchmark-tls-ciphers
1092 ** certtool: generated PKCS #12 structures may hold more than one
1093 private key. Patch by Lucas Fisher.
1095 ** certtool: Added option --null-password to generate/decrypt keys
1096 that use a NULL password (in schemas that distinguish between NULL
1097 an empty passwords).
1099 ** minitasn1: Upgraded to libtasn1 version 2.13.
1101 ** API and ABI modifications:
1102 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1103 GNUTLS_CAMELLIA_192_CBC: Added
1104 GNUTLS_PKCS_NULL_PASSWORD: Added
1105 gnutls_url_is_supported: Added
1106 gnutls_pkcs11_obj_list_import_url2: Added
1107 gnutls_pkcs11_obj_set_pin_function: Added
1108 gnutls_pkcs11_privkey_set_pin_function: Added
1109 gnutls_pkcs11_get_pin_function: Added
1110 gnutls_privkey_import_tpm_raw: Added
1111 gnutls_privkey_import_tpm_url: Added
1112 gnutls_privkey_import_pkcs11_url: Added
1113 gnutls_privkey_import_openpgp_raw: Added
1114 gnutls_privkey_import_x509_raw: Added
1115 gnutls_privkey_import_ext2: Added
1116 gnutls_privkey_import_url: Added
1117 gnutls_privkey_set_pin_function: Added
1118 gnutls_tpm_privkey_generate: Added
1119 gnutls_tpm_key_list_deinit: Added
1120 gnutls_tpm_key_list_get_url: Added
1121 gnutls_tpm_get_registered: Added
1122 gnutls_tpm_privkey_delete: Added
1123 gnutls_pubkey_import_tpm_raw: Added
1124 gnutls_pubkey_import_tpm_url: Added
1125 gnutls_pubkey_import_url: Added
1126 gnutls_pubkey_verify_hash2: Added
1127 gnutls_pubkey_set_pin_function: Added
1128 gnutls_x509_privkey_import2: Added
1129 gnutls_x509_privkey_import_openssl: Added
1130 gnutls_x509_crt_set_pin_function: Added
1131 gnutls_load_file: Added
1132 gnutls_pkcs12_simple_parse: Added
1133 gnutls_certificate_set_x509_system_trust: Added
1134 gnutls_certificate_set_pin_function: Added
1135 gnutls_x509_trust_list_add_system_trust: Added
1136 gnutls_x509_trust_list_add_trust_file: Added
1137 gnutls_x509_trust_list_add_trust_mem: Added
1138 gnutls_pk_to_sign: Added
1139 gnutls_handshake_set_timeout: Added
1140 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1141 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1144 * Version 3.0.22 (released 2012-08-04)
1146 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1147 is now supported on OpenBSD.
1149 ** libgnutls: When verifying a certificate chain make sure it is chain.
1150 If the chain is wronly interrupted at some point then truncate it,
1151 and only try to verify the correct part. Patch by David Woodhouse
1153 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1154 which now may (again) accept a NULL password.
1156 ** certtool: Allow the user to choose the hash algorithm
1157 when signing certificate request or certificate revocation list.
1158 Patch by Petr Písař.
1160 ** API and ABI modifications:
1161 No changes since last version.
1164 * Version 3.0.21 (released 2012-07-02)
1166 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1167 that prevented the loading of EC private keys when DER
1168 encoded. Reported by David Woodhouse.
1170 ** libgnutls: In DTLS larger to mtu records result to
1171 GNUTLS_E_LARGE_PACKET instead of being truncated.
1173 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1174 on patch by David Woodhouse.
1176 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1178 ** libgnutls: Added support for an old version of the DTLS protocol
1179 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1180 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1183 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1184 if only the label is specified. Patch by David Woodhouse.
1186 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1189 ** API and ABI modifications:
1190 gnutls_dtls_set_data_mtu: Added
1191 gnutls_session_set_premaster: Added
1194 * Version 3.0.20 (released 2012-06-05)
1196 ** libgnutls: Corrected bug which prevented the parsing of
1197 handshake packets spanning multiple records.
1199 ** libgnutls: Check key identifiers when checking for an issuer.
1201 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1203 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1204 that loads the trusted CA certificates from system locations
1205 (e.g. trusted storage in windows and CA bundle files in other systems).
1207 ** certtool: Added support for the URI subject alternative
1208 name type in certtool.
1210 ** certtool: Increase to 128 the maximum number of distinct options
1211 (e.g. dns_names) allowed.
1213 ** gnutls-cli: If --print-cert is given, print the certificate,
1214 even on verification failure.
1216 ** API and ABI modifications:
1217 gnutls_pk_to_sign: Added
1218 gnutls_pubkey_verify_hash2: Added
1219 gnutls_certificate_set_x509_system_trust: Added
1222 * Version 3.0.19 (released 2012-04-22)
1224 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1225 is assumed to be a file that stores the pin. Based on patch
1228 ** libgnutls: gnutls_record_check_pending() no longer
1229 returns unprocessed data, and thus ensure the non-blocking
1230 of the next call to gnutls_record_recv().
1232 ** libgnutls: Added strict tests in Diffie-Hellman and
1233 SRP key exchange public keys.
1235 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1236 strict in hash selection, and allow a stronger hash to
1237 be used than the appropriate, to improve interoperability
1240 ** tests: Disabled floating point test, and corrections
1241 in pkcs12 decoding tests.
1243 ** API and ABI modifications:
1244 No changes since last version.
1247 * Version 3.0.18 (released 2012-04-02)
1249 ** certtool: Avoid a Y2K38 bug when generating certificates.
1250 Patch by Robert Millan.
1252 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1253 is returned on premature termination (and added unit test).
1255 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1257 ** libgnutls: Corrected VIA padlock detection for old
1258 VIA processors. Reported by Kris Karas.
1260 ** libgnutls: Updated assembler files.
1262 ** libgnutls: Time in generated certificates is stored
1263 as GeneralizedTime instead of UTCTime (which only stores
1264 2 digits of a year).
1266 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1268 ** API and ABI modifications:
1269 gnutls_x509_crt_set_private_key_usage_period: Added
1270 gnutls_x509_crt_get_private_key_usage_period: Added
1271 gnutls_x509_crq_set_private_key_usage_period: Added
1272 gnutls_x509_crq_get_private_key_usage_period: Added
1273 gnutls_session_get_random: Added
1276 * Version 3.0.17 (released 2012-03-17)
1278 ** command line apps: Always link with local libopts.
1280 ** API and ABI modifications:
1281 No changes since last version.
1284 * Version 3.0.16 (released 2012-03-16)
1286 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1288 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1290 ** libgnutls: included assembler files for MacOSX.
1292 ** p11tool: Small fixes in handling of the --private command
1295 ** certtool: The template option allows for setting the domain
1296 component (DC) option of the distinguished name, and the ocsp_uri
1297 as well as the ca_issuers_uri options.
1299 ** API and ABI modifications:
1300 gnutls_x509_crt_set_authority_info_access: Added
1303 * Version 3.0.15 (released 2012-03-02)
1305 ** test suite: Only run under valgrind in the development
1306 system (the full git repository)
1308 ** command line apps: Link with local libopts if the
1309 installed is an old one.
1311 ** libgnutls: Eliminate double free during SRP
1312 authentication. Reported by Peter Penzov.
1314 ** libgnutls: Corrections in record packet parsing.
1315 Reported by Matthew Hall.
1317 ** libgnutls: Cryptodev updates and fixes.
1319 ** libgnutls: Corrected issue with select() that affected
1320 FreeBSD. This prevented establishing DTLS sessions.
1321 Reported by Andreas Metzler.
1323 ** libgnutls: Corrected rehandshake and resumption
1324 operations in DTLS. Reported by Sean Buckheister.
1326 ** libgnutls: PKCS #11 objects that do not have ID
1327 no longer crash listing. Reported by Sven Geggus.
1329 ** API and ABI modifications:
1330 No changes since last version.
1333 * Version 3.0.14 (released 2012-02-24)
1335 ** command line apps: Included libopts doesn't get installed
1338 ** libgnutls: Eliminate double free on wrongly formatted
1339 certificate list. Reported by Remi Gacogne.
1341 ** libgnutls: cryptodev code corrected, updated to account
1342 for hashes and GCM mode.
1344 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1345 Report and fix by Sam Varshavchik.
1347 ** API and ABI modifications:
1348 No changes since last version.
1351 * Version 3.0.13 (released 2012-02-18)
1353 ** gnutls-cli: added the --ocsp option which will verify
1354 the peer's certificate with OCSP.
1356 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1357 will use an ssh-style authentication method.
1359 ** gnutls-cli: if no --x509cafile is provided a default is
1360 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1362 ** ocsptool: Added --ask parameter, to verify a certificate's
1363 status from an ocsp server.
1365 ** command line apps: Use gnu autogen (libopts) to parse command
1366 line arguments and template files.
1368 ** tests: Added stress test for DTLS packet losses and
1369 out-of-order receival. Contributed by Sean Buckheister.
1371 ** libgnutls: Several updates and corrections in the DTLS
1372 DTLS lost packet handling and retransmission timeouts.
1373 Report and patches by Sean Buckheister.
1375 ** libgnutls: Added new functions to easily allow the usage of
1376 a trust on first use (SSH-style) authentication.
1378 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1379 for the RFC6460 requirements.
1381 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1382 to account for security level of 96-bits.
1384 ** libgnutls: In client side if server does not advertise any
1385 known CAs and only a single certificate is set in the credentials,
1388 ** libgnutls: Added functions to parse authority key identifiers
1389 when stored as a 'general name' and serial combo.
1391 ** libgnutls: Added function to force explicit reinitialization
1392 of PKCS #11 modules. This is required on the child process after
1393 a fork (if PKCS #11 functionality is desirable).
1395 ** libgnutls: Depend on p11-kit 0.11.
1397 ** API and ABI modifications:
1398 gnutls_dtls_get_timeout: Added
1399 gnutls_verify_stored_pubkey: Added
1400 gnutls_store_pubkey: Added
1401 gnutls_store_commitment: Added
1402 gnutls_x509_crt_get_authority_key_gn_serial: Added
1403 gnutls_x509_crl_get_authority_key_gn_serial: Added
1404 gnutls_pkcs11_reinit: Added
1405 gnutls_ecc_curve_list: Added
1406 gnutls_priority_certificate_type_list: Added
1407 gnutls_priority_sign_list: Added
1408 gnutls_priority_protocol_list: Added
1409 gnutls_priority_compression_list: Added
1410 gnutls_priority_ecc_curve_list: Added
1411 gnutls_tdb_init: Added
1412 gnutls_tdb_set_store_func: Added
1413 gnutls_tdb_set_store_commitment_func: Added
1414 gnutls_tdb_set_verify_func: Added
1415 gnutls_tdb_deinit: Added
1418 * Version 3.0.12 (released 2012-01-20)
1420 ** libgnutls: Added OCSP support.
1421 There is a new header file gnutls/ocsp.h and a set of new functions
1422 under the gnutls_ocsp namespace. Currently the functionality provided
1423 is to parse and extract information from OCSP requests/responses, to
1424 generate OCSP requests and to verify OCSP responses. See the manual
1425 for more information. Run ./configure with --disable-ocsp to build
1426 GnuTLS without OCSP support.
1428 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1430 ** ocsptool: Added new command line tool.
1431 The tool can parse OCSP request/responses, generate OCSP requests and
1432 verify OCSP responses. See the manual for more information.
1434 ** certtool: --outder option now works for private
1435 and public keys as well.
1437 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1438 to warn when no or insufficient priorities were set.
1440 ** libgnutls: Corrected an alignment issue in ECDH
1441 key generation which prevented some keys from being
1442 correctly aligned in rare circumstances.
1444 ** libgnutls: Corrected memory leaks in DH parameter
1445 generation and ecc_projective_check_point().
1447 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1448 return a descriptive name of a DN OID.
1450 ** API and ABI modifications:
1451 gnutls_pubkey_encrypt_data: Added
1452 gnutls_x509_dn_oid_name: Added
1453 gnutls_session_resumption_requested: Added
1454 gnutls/ocsp.h: Added new header file.
1455 gnutls_ocsp_print_formats_t: Added new type.
1456 gnutls_ocsp_resp_status_t: Added new type.
1457 gnutls_ocsp_cert_status_t: Added new type.
1458 gnutls_x509_crl_reason_t: Added new type.
1459 gnutls_ocsp_req_add_cert: Added.
1460 gnutls_ocsp_req_add_cert_id: Added.
1461 gnutls_ocsp_req_deinit: Added.
1462 gnutls_ocsp_req_export: Added.
1463 gnutls_ocsp_req_get_cert_id: Added.
1464 gnutls_ocsp_req_get_extension: Added.
1465 gnutls_ocsp_req_get_nonce: Added.
1466 gnutls_ocsp_req_get_version: Added.
1467 gnutls_ocsp_req_import: Added.
1468 gnutls_ocsp_req_init: Added.
1469 gnutls_ocsp_req_print: Added.
1470 gnutls_ocsp_req_randomize_nonce: Added.
1471 gnutls_ocsp_req_set_extension: Added.
1472 gnutls_ocsp_req_set_nonce: Added.
1473 gnutls_ocsp_resp_deinit: Added.
1474 gnutls_ocsp_resp_export: Added.
1475 gnutls_ocsp_resp_get_certs: Added.
1476 gnutls_ocsp_resp_get_extension: Added.
1477 gnutls_ocsp_resp_get_nonce: Added.
1478 gnutls_ocsp_resp_get_produced: Added.
1479 gnutls_ocsp_resp_get_responder: Added.
1480 gnutls_ocsp_resp_get_response: Added.
1481 gnutls_ocsp_resp_get_signature: Added.
1482 gnutls_ocsp_resp_get_signature_algorithm: Added.
1483 gnutls_ocsp_resp_get_single: Added.
1484 gnutls_ocsp_resp_get_status: Added.
1485 gnutls_ocsp_resp_get_version: Added.
1486 gnutls_ocsp_resp_import: Added.
1487 gnutls_ocsp_resp_init: Added.
1488 gnutls_ocsp_resp_print: Added.
1489 gnutls_ocsp_resp_verify: Added.
1491 * Version 3.0.11 (released 2012-01-06)
1493 ** libgnutls: Corrected functionality of
1494 gnutls_record_get_direction(). Reported by Philip Allison.
1496 ** libgnutls: Provide less timing information when decoding
1497 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1499 ** API and ABI modifications:
1500 No changes since last version.
1503 * Version 3.0.10 (released 2012-01-04)
1505 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1506 in Linux as well as in BSD.
1508 ** gnutls-cli: Fixed reading from windows terminals.
1510 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1511 the stream is assumed to be base64 encoded (previously
1512 the encoding was auto-detected). This avoids a decoding
1513 issue in windows systems.
1515 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1517 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1518 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1520 ** libgnutls: Added function gnutls_random_art() to convert
1521 fingerprints to images (currently ascii-art).
1523 ** libgnutls: Corrected bug in DSA private key parsing, which
1524 prevented the verification of the key.
1526 ** API and ABI modifications:
1527 gnutls_random_art: Added
1530 * Version 3.0.9 (released 2011-12-13)
1532 ** certtool: Added new parameter --dh-info.
1534 ** certtool: -l option was overloaded so if combined with --priority
1535 it will only list the ciphersuites that are enabled by the given
1538 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1539 changes the ciphersuite selection procedure. If specified the server
1540 priorities will be used for selection instead of the client's.
1542 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1545 ** libgnutls: When session tickets are negotiated and used in a
1546 session, a server will not store that session data into its cache.
1548 ** libgnutls: Added the SECP192R1 curve.
1550 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1551 allow listing the ciphersuites enabled in a priority structure.
1552 It outputs an index to be used in gnutls_get_cipher_suite_info().
1554 ** libgnutls: Optimizations in the elliptic curve code --timing
1555 attacks resistant code is only used in ECDSA private key operations.
1557 ** doc: man pages for API functions generation was fixed and are
1558 now added again in the distribution.
1560 ** API and ABI modifications:
1561 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1562 gnutls_priority_get_cipher_suite_index: Added
1565 * Version 3.0.8 (released 2011-11-12)
1567 ** certtool: Certtool -e returns error code on verification
1570 ** certtool: Verifies parameters of generated keys.
1572 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1574 ** libgnutls: Provide less timing information when decoding
1575 TLS/DTLS record packets.
1577 ** doc: man pages for API functions were removed.
1578 The reason was that the code that auto-generated the man pages missed
1579 many APIs and we couldn't fix it (volunteers welcome). See the info
1580 manual or the GTK-DOC manual instead.
1582 ** API and ABI modifications:
1583 gnutls_x509_privkey_verify_params: Added
1586 * Version 3.0.7 (released 2011-11-08)
1588 ** libgnutls: Corrected fix in gnutls_session_get_data()
1589 to report the actual session size when the provided buffer
1592 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1593 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1595 ** API and ABI modifications:
1596 No changes since last version.
1599 * Version 3.0.6 (released 2011-11-07)
1601 ** gnutls-guile: Compilation fixes.
1603 ** libgnutls: Fixed possible buffer overflow in
1604 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1606 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1607 Reported by Fabrice Gautier.
1609 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1610 Thanks to Joseph Graham for providing access to such a system.
1612 ** libgnutls: Correctly report ECC private key parsing errors.
1613 Reported by Fabrice Gautier.
1615 ** libgnutls: In ECDHE verify that the received point lies on
1616 the selected curve. The ECDHE ciphersuites now take precendence
1619 ** API and ABI modifications:
1620 No changes since last version.
1623 * Version 3.0.5 (released 2011-10-27)
1625 ** libgnutls-extra: is no more
1627 ** libgnutls: Corrections in order to compile with mingw32.
1629 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1630 and new detection of PHE with support for partial hashing.
1632 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1635 ** minitasn1: Upgraded to libtasn1 version 2.10.
1637 ** API and ABI modifications:
1638 No changes since last version.
1641 * Version 3.0.4 (released 2011-10-15)
1643 ** libgnutls-extra: gnutls_register_md5_handler() was
1646 ** gnutls-cli-debug: Added more tests including AES-GCM,
1647 SHA256 and elliptic curves.
1649 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1650 the software version of the ciphers instead of hw accelerated
1653 ** libgnutls: Public key ID calculation is consistent among
1654 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1656 ** libgnutls: gnutls_privkey_t allows setting external callback
1657 to perform signing or decryption. Can be set using
1658 gnutls_privkey_import_ext()
1660 ** libgnutls: A certificate credentials structure can be
1661 used with a gnutls_privkey_t and a gnutls_pcert_st
1662 structure using gnutls_certificate_set_key().
1664 ** libgnutls: Fixes to enable external signing callback to
1665 operate with TLS 1.2.
1667 ** libgnutls: Fixed crash when printing ECDSA certificate key
1668 ID. Reported by Erik Jensen.
1670 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1671 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1672 support for hashes and HMACs.
1674 ** libgnutls: Compilation fixed when p11-kit is not detected.
1676 ** libgnutls: Fixed the deflate compression code.
1678 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1679 Used to get the PKIX Authority Information Access (AIA) field.
1681 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1683 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1684 signing callback function.
1686 ** API and ABI modifications:
1687 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1688 gnutls_privkey_import_ext: Added function.
1689 gnutls_certificate_set_key: Added function.
1690 gnutls_info_access_what_t (x509.h): Added enum.
1691 GNUTLS_OID_AIA (x509.h): Added symbol.
1692 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1693 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1695 * Version 3.0.3 (released 2011-09-18)
1697 ** libgnutls: Added gnutls_record_get_discarded() to return the
1698 number of discarded records in a DTLS session.
1700 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1701 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1703 ** libgnutls: Memory leak fixes in credentials private key
1704 deinitialization. Reported by Dan Winship.
1706 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1708 ** libgnutls: Do not send an empty extension structure in server
1709 hello. This affected old implementations that do not support extensions.
1710 Reported by J. Cameijo Cerdeira.
1712 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1713 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1714 <http://bugs.debian.org/640639>.
1716 ** libgnutls: Added support for VIA padlock AES optimizations.
1717 (disabled by default)
1719 ** libgnutls: Added support for elliptic curves in
1722 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1723 to allow generating a key in a token.
1725 ** p11tool: Added generate-rsa, generate-dsa and
1726 generate-ecc options to allow generating private
1729 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1732 ** API and ABI modifications:
1733 gnutls_pkcs11_privkey_generate: Added
1734 gnutls_pubkey_import_ecc_raw: Added
1735 gnutls_pubkey_import_ecc_x962: Added
1736 gnutls_pubkey_get_pk_ecc_x962: Added
1737 gnutls_record_get_discarded: Added
1740 * Version 3.0.2 (released 2011-09-01)
1742 ** libgnutls: OpenPGP certificate type is not enabled
1745 ** libgnutls: Added %NO_EXTENSIONS priority string.
1747 ** libgnutls: Corrected issue in gnutls_record_recv()
1748 triggered on encryption or compression error.
1750 ** libgnutls: Compatibility fixes in CPU ID detection
1751 for i386 and old GCC.
1753 ** gnutls-cli: Benchmark applications were incorporated
1756 ** libgnutls: Corrected parsing of XMPP subject
1759 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1762 ** libgnutls: gnutls_certificate_set_x509_key() and
1763 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1764 and allow the release of the private key during the
1765 lifetime of the certificate structure.
1767 ** API and ABI modifications:
1768 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1771 * Version 3.0.1 (released 2011-08-20)
1773 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1774 friends support server name indication. If multiple
1775 certificates are set using these functions the proper one
1776 will be selected during a handshake.
1778 ** libgnutls: Added AES-256-GCM which was left out from
1779 the previous release. Reported by Benjamin Hof.
1781 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1782 times, the flags in the callback were not being updated
1783 to reflect for PIN low count or final try.
1785 ** libgnutls: Do not allow second instances of PKCS #11
1788 ** libgnutls: fixed alignment issue in AES-NI code.
1790 ** libgnutls: The config file at gnutls_pkcs11_init()
1791 is being read if provided.
1793 ** libgnutls: Ensure that a certificate list specified
1794 using gnutls_certificate_set_x509_key() and friends, is
1795 sorted according to TLS specification (from subject to issuer).
1797 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1798 gnutls_x509_crt_list_import. It checks whether the list to be
1799 imported is properly sorted.
1801 ** crywrap: Added to the distribution. It is an application
1802 that proxies TLS session to a port using a plaintext service.
1804 ** doc: Many GTK-DOC improvements.
1806 ** i18n: Translations were updated.
1808 ** API and ABI modifications:
1809 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1810 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1813 * Version 3.0.0 (released 2011-07-29)
1815 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1818 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1821 ** certtool: bug fixes in certificate request generation. Patch
1824 ** API and ABI modifications:
1825 gnutls_pcert_list_import_x509_raw: ADDED
1828 * Version 2.99.4 (released 2011-07-23)
1830 ** doc: documentation updates.
1832 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1833 to avoid thread-safety issues. Reported by Sam Varshavchik.
1835 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1837 ** libgnutls: license upgraded to LGPLv3
1839 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1842 ** API and ABI modifications:
1843 No changes since last version.
1846 * Version 2.99.3 (released 2011-06-18)
1848 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1849 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1851 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1852 strings to enable the NSA SuiteB cryptography ciphersuites.
1854 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1855 verify data provided the signature algorithm.
1857 ** libgnutls: Simplified the handling of handshake messages to
1858 be hashed. Instead of hashing during the handshake process we now
1859 keep the data until handshake is over and hash them on request.
1860 This uses more memory but eliminates issues with TLS 1.2 and
1863 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1864 instruction. Uses Andy Polyakov's assembly code.
1866 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1867 gnutls_x509_trust_list_verify_named_crt() that allow having a
1868 list of certificates in the trusted list that will be associated
1869 with a name (e.g. server name) and will not be used as CAs.
1871 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1872 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1875 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1877 ** API and ABI modifications:
1878 gnutls_pubkey_verify_data2: ADDED
1879 gnutls_ecc_curve_get: ADDED
1880 gnutls_x509_trust_list_add_named_crt: ADDED
1881 gnutls_x509_trust_list_verify_named_crt: ADDED
1882 gnutls_x509_privkey_verify_data: REMOVED
1883 gnutls_crypto_bigint_register: REMOVED
1884 gnutls_crypto_cipher_register: REMOVED
1885 gnutls_crypto_digest_register: REMOVED
1886 gnutls_crypto_mac_register: REMOVED
1887 gnutls_crypto_pk_register: REMOVED
1888 gnutls_crypto_rnd_register: REMOVED
1889 gnutls_crypto_single_cipher_register: REMOVED
1890 gnutls_crypto_single_digest_register: REMOVED
1891 gnutls_crypto_single_mac_register: REMOVED
1892 GNUTLS_KX_ECDHE_PSK: New key exchange method
1893 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1894 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1895 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1898 * Version 2.99.2 (released 2011-05-26)
1900 ** libgnutls: Added Elliptic curve support. This is not
1901 enabled by default. Requires priority strings:
1902 +CURVE-ALL: to add all supported curves
1903 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1904 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1905 +ANON-ECDHE: to add anonymous ECDH
1907 ** libgnutls: PKCS #11 URLs conform to the latest draft
1908 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1910 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1913 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1914 to get important auditing information including the corresponding session.
1915 That might be useful to block DoS or other attacker from specific IPs.
1917 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1918 the public key algorithm of the key.
1920 ** libgnutls: Added gnutls_certificate_get_issuer() and
1921 gnutls_x509_trust_list_get_issuer() to compensate for the
1922 missing gnutls_certificate_get_x509_cas().
1924 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1925 verification of the self signature in a certificate request.
1926 This allows verifying whether the owner of the private key
1927 is the generator of the request.
1929 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1930 the self signature of the request.
1932 ** API and ABI modifications:
1933 gnutls_certificate_get_issuer: ADDED
1934 gnutls_x509_trust_list_get_issuer: ADDED
1935 gnutls_x509_crq_verify: ADDED
1936 gnutls_global_set_audit_log_function: ADDED
1937 gnutls_ecc_curve_get_name: ADDED
1938 gnutls_ecc_curve_get_size: ADDED
1939 gnutls_x509_privkey_import_ecc_raw: ADDED
1940 gnutls_x509_privkey_export_ecc_raw: ADDED
1941 gnutls_global_set_time_function: ADDED
1943 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1944 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1945 GNUTLS_KX_ECDHE_RSA: New key exchange method
1946 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1947 GNUTLS_KX_ANON_ECDH: New key exchange method
1948 GNUTLS_PK_ECC: New public key algorithm
1949 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1950 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1951 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1952 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
1953 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1954 GNUTLS_ECC_CURVE_INVALID: New curve definition
1955 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1956 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1957 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1958 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1961 * Version 2.99.1 (released 2011-04-23)
1963 ** libgnutls: LZO support was removed.
1965 ** libgnutls: Corrections in SSLv2 client hello parsing.
1967 ** libgnutls: Added support for AES-NI if detected. Uses
1968 Andy Polyakov's AES-NI code.
1970 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
1971 weak, several sites require it for connection. It is enabled for
1972 "NORMAL" and "PERFORMANCE" priority strings.
1974 ** libgnutls: depend on libdl.
1976 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1978 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1979 function required GnuTLS to access system specific data, for no reason.
1980 Use gnutls_transport_set_errno(), or your system's errno fascility
1983 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1984 to set a callback to retrieve a certificate. The certificate is
1985 received in a format that requires no processing from gnutls thus
1986 it is suitable when performance is required.
1988 ** API and ABI modifications:
1989 gnutls_transport_set_global_errno: REMOVED
1990 gnutls_certificate_set_retrieve_function2: ADDED
1992 * Version 2.99.0 (released 2011-04-09)
1994 ** libgnutls: Added Datagram TLS support.
1996 ** libgnutls: Uses a single configure file and a single
1997 gnulib library to save space.
1999 ** libgnutls: Several bug fixes.
2001 ** libgnutls: gnutls_transport_set_lowat() is no more.
2003 ** libgnutls-openssl: modified to use modern gnutls' functions.
2004 This introduces an ABI incompatibility with previous versions.
2006 ** libgnutls: Corrected signature generation and verification
2007 in the Certificate Verify message when in TLS 1.2. Reported
2010 ** libgnutlsxx: The C++ interface returns exception on
2011 every error and not only on fatal ones. This allows easier
2014 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
2017 ** libgnutls: SRP and PSK are no longer set on the default priorities.
2018 They have to be explicitly set.
2020 ** libgnutls: During handshake message verification using DSS
2021 use the hash algorithm required by it.
2023 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2024 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2026 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2028 ** libgnutls-extra: Inner application extension was removed.
2029 It was never standardized nor published as an RFC.
2031 ** libgnutls: Added new certificate verification functions, that
2032 can provide more details and are more efficient. Check
2033 gnutls_x509_trust_list_*.
2035 ** certtool: Uses the new certificate verification functions for
2038 ** certtool: Added new certificate verification functionality
2039 using the --verify option. Combined with --load-ca-certificate
2040 it can verify a certificate chain against a list of certificates.
2042 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2044 ** API and ABI modifications:
2045 gnutls_dtls_set_timeouts: ADDED
2046 gnutls_dtls_get_mtu: ADDED
2047 gnutls_dtls_get_data_mtu: ADDED
2048 gnutls_dtls_set_mtu: ADDED
2049 gnutls_dtls_cookie_send: ADDED
2050 gnutls_dtls_cookie_verify: ADDED
2051 gnutls_dtls_prestate_set: ADDED
2052 gnutls_x509_trust_list_verify_crt: ADDED
2053 gnutls_x509_trust_list_add_crls: ADDED
2054 gnutls_x509_trust_list_add_cas: ADDED
2055 gnutls_x509_trust_list_init: ADDED
2056 gnutls_x509_trust_list_deinit: ADDED
2057 gnutls_cipher_add_auth: ADDED
2058 gnutls_cipher_tag: ADDED
2059 gnutls_psk_netconf_derive_key: REMOVED
2060 gnutls_certificate_verify_peers: REMOVED
2061 gnutls_session_set_finished_function: REMOVED
2062 gnutls_ext_register: REMOVED
2063 gnutls_certificate_get_x509_crls: REMOVED
2064 gnutls_certificate_get_x509_cas: REMOVED
2065 gnutls_certificate_get_openpgp_keyring: REMOVED
2066 gnutls_session_get_server_random: REMOVED
2067 gnutls_session_get_client_random: REMOVED
2068 gnutls_session_get_master_secret: REMOVED
2069 gnutls_ia_allocate_client_credentials: REMOVED
2070 gnutls_ia_allocate_server_credentials: REMOVED
2071 gnutls_ia_enable: REMOVED
2072 gnutls_ia_endphase_send: REMOVED
2073 gnutls_ia_extract_inner_secret: REMOVED
2074 gnutls_ia_free_client_credentials: REMOVED
2075 gnutls_ia_free_server_credentials: REMOVED
2076 gnutls_ia_generate_challenge: REMOVED
2077 gnutls_ia_get_client_avp_ptr: REMOVED
2078 gnutls_ia_get_server_avp_ptr: REMOVED
2079 gnutls_ia_handshake: REMOVED
2080 gnutls_ia_handshake_p: REMOVED
2081 gnutls_ia_permute_inner_secret: REMOVED
2082 gnutls_ia_recv: REMOVED
2083 gnutls_ia_send: REMOVED
2084 gnutls_ia_set_client_avp_function: REMOVED
2085 gnutls_ia_set_client_avp_ptr: REMOVED
2086 gnutls_ia_set_server_avp_function: REMOVED
2087 gnutls_ia_set_server_avp_ptr: REMOVED
2088 gnutls_ia_verify_endphase: REMOVED
2091 * Version 2.12.2 (released 2011-04-08)
2093 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2095 ** libgnutls: Several bug and memory leak fixes.
2097 ** srptool: Accepts the -d option to enable debugging.
2099 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2100 the allocation of a verifier. Reported by Andrew Wiseman.
2102 ** API and ABI modifications:
2103 No changes since last version.
2106 * Version 2.12.1 (released 2011-04-02)
2108 ** certtool: Generated certificate request with stricter permissions.
2109 Reported by Luca Capello.
2111 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2113 ** libgnutls: Corrected windows system_errno() function prototype.
2115 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2117 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2118 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2120 ** API and ABI modifications:
2121 No changes since last version.
2126 * Version 2.12.0 (released 2011-03-24)
2128 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2129 the incompatibility with TLS other than 1.2.
2131 ** libgnutls: Modified signature algorithm selection in client
2132 certificate request, to avoid failures in DSA certificates.
2134 ** libgnutls: Instead of failing with internal error, return
2135 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2136 key with the negotiated protocol is encountered.
2138 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2140 ** libgnutls: Force state update when fork is detected in the nettle
2143 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2144 subkey instead of setting explicitly one.
2146 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2148 ** libgnutls-openssl: modified to use modern gnutls' functions.
2149 This introduces an ABI incompatibility with previous versions.
2151 ** API and ABI modifications:
2152 gnutls_pubkey_import_openpgp: MODIFIED
2157 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2158 replaced by gnutls_privkey_sign_hash2().
2160 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2161 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2162 gnutls_x509_crt_verify_hash return the negative error code
2163 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2166 ** libgnutls: Added helper functions for signature verification:
2167 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2169 ** libgnutls: Modified gnutls_privkey_sign_data().
2171 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2172 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2173 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2174 deprecated for gnutls_x509_crl_privkey_sign(),
2175 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2176 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2177 gnutls_pubkey_verify_data() respectively.
2179 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2182 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2183 and gnutls_x509_crt_list_import2().
2185 ** crypto.h: Fix use with C++.
2186 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2188 ** API and ABI modifications:
2189 gnutls_x509_crl_list_import: ADDED
2190 gnutls_x509_crl_list_import2: ADDED
2191 gnutls_x509_crt_list_import2: ADDED
2192 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2193 gnutls_pubkey_import_privkey: ADDED
2194 gnutls_pubkey_verify_data: ADDED
2195 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2196 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2197 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2198 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2199 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2200 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2201 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2202 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2203 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2204 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2205 gnutls_session_set_finished_function: DEPRECATED
2206 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2207 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2208 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2209 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2210 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2211 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2212 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2213 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2215 * Version 2.11.6 (released 2010-12-06)
2217 ** libgnutls: Record version of Client Hellos is now set by default to
2218 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2221 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2222 This makes us comply with RFC3279. Reported by Michael Rommel.
2224 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2226 ** API and ABI modifications:
2227 No changes since last version.
2229 * Version 2.11.5 (released 2010-12-01)
2231 ** libgnutls: Reverted default behavior for verification and
2232 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2233 V1 trusted CAs are allowed, unless the new flag is specified.
2235 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2236 Reported by Jeffrey Walton.
2238 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2239 as priority strings. Those allow to set all the supported algorithms
2242 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2244 ** gnutls-cli: Print channel binding only in verbose mode.
2245 Before it printed it after the 'Compression:' output, thus breaking
2246 Emacs starttls.el string searches.
2248 ** API and ABI modifications:
2249 gnutls_pkcs11_token_init: New function
2250 gnutls_pkcs11_token_set_pin: New function
2252 * Version 2.11.4 (released 2010-10-15)
2254 ** libgnutls: Add new API gnutls_session_channel_binding.
2255 The function is used to get the channel binding data. Currently only
2256 the "tls-unique" (RFC 5929) channel binding type is supported, through
2257 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2260 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2262 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2264 ** build: Update gnulib files.
2266 ** i18n: Update translations.
2268 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2270 ** API and ABI modifications:
2271 gnutls_session_channel_binding: New function.
2272 gnutls_channel_binding_t: New enumeration.
2273 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2274 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2276 * Version 2.11.3 (released 2010-10-14)
2278 ** Indent code to follow the GNU Coding Standard.
2279 You should be able to unpack the 2.11.2 release and run 'make indent'
2280 twice to get exactly the same content as 2.11.3 except for generated
2281 files. Using GNU Indent 2.2.11.
2283 ** API and ABI modifications:
2284 No changes since last version.
2286 * Version 2.11.2 (released 2010-10-08)
2288 ** libgnutls: Several bug fixes on session resumption
2289 and session tickets support.
2291 ** libgnutls: Add new extended key usage ipsecIKE.
2293 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2294 --p11-export-url, --p11-list-certs, --p11-list-certs,
2295 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2296 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2297 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2300 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2301 introduced with the new nettle code.
2303 ** libgnutls: Corrected advertizing issue for session tickets.
2305 ** API and ABI modifications:
2306 gnutls_x509_crt_get_subject_unique_id: ADDED.
2307 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2309 * Version 2.11.1 (released 2010-09-14)
2311 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2312 to use the libgcrypt back end.
2314 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2315 backend crypto library.
2317 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2319 ** libgnutls: Several updates in the buffering internal interface.
2321 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2322 tabs are being skipped.
2324 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2326 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2329 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2330 system calls. Applications that depended on it being 1 should explicitly call
2331 gnutls_transport_set_lowat().
2333 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2334 to ECRYPT II recommendations. Mappings were moved to a single location
2335 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2336 and 3072 keys only).
2338 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2339 gnutls_x509_privkey_import_pkcs8() without a password, if it
2340 is unable to decode the key.
2342 ** libgnutls: HMAC-MD5 no longer used by default.
2344 ** API and ABI modifications:
2345 gnutls_openpgp_privkey_sec_param: ADDED
2346 gnutls_x509_privkey_sec_param: ADDED
2348 * Version 2.11.0 (released 2010-07-22)
2350 ** libgnutls: support scattered write using writev(). This takes
2351 advantage of the new buffering layer and allows queuing of packets
2352 and flushing them. This is currently used for handshake messages
2355 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2356 alternative locking procedures. By default the system available
2357 locking is used. In *NIX pthreads are used and in windows the
2358 critical section API. This follows a different approach than the
2359 previous versions that depended on libgcrypt initialization. The
2360 locks are now set by default in systems that support it. Programs
2361 that used gcry_control() to set thread locks should insert it into
2363 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2367 ** libgnutls: Added support for reading DN from EV-certificates.
2369 jurisdictionOfIncorporationLocalityName,
2370 jurisdictionOfIncorporationStateOrProvinceName,
2371 jurisdictionOfIncorporationCountryName
2373 ** libgnutls: Added support for DSA signing/verifying with bit
2376 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2377 has to be called to register any required md5 handlers.
2379 ** libgnutls: Internal buffering code was replaced by simpler
2380 code contributed by Jonathan Bastien-Filiatrault.
2382 ** libgnutls: Internal API for extensions augmented to allow
2383 safe storing and loading of data on resumption. This allows writing
2384 self-contained extensions (when possible). As a side effect
2385 the OPRFI extension was removed.
2387 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2389 ** libgnutls: Added PKCS #11 support and an API to access objects in
2390 gnutls/pkcs11.h. Currently certificates and public keys can be
2391 imported from tokens, and operations can be performed on private keys.
2393 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2395 ** libgnutls: Added initial support for the nettle library. It uses
2396 the system's random generator for seeding. That is /dev/urandom in Linux,
2397 system calls in Win32 and EGD on other systems.
2399 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2400 works even when resuming a session.
2402 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2403 similar gnutls_certificate_set_server_retrieve_function() and
2404 gnutls_certificate_set_client_retrieve_function(). In addition it support
2405 PKCS #11 private keys.
2407 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2408 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2410 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2411 sizes for private keys using a human understandable scale.
2413 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2414 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2415 --pkcs11-delete-url, --pkcs11-write
2417 certtool: The --pkcs-cipher is taken into account when generating a
2418 private key. The default cipher used now is aes-128. The old behavior can
2419 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2421 certtool: Added --certificate-pubkey to print the public key of the
2424 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2425 can now accept a PKCS #11 URL in addition to a file. This will allow for
2426 example to use the Gnome-keyring trusted certificate list to verify
2427 connections using a url such as:
2428 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2430 ** API and ABI modifications:
2431 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2432 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2433 gnutls_sign_callback_set: DEPRECATED
2434 gnutls_global_set_mutex: ADDED
2435 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2436 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2437 gnutls_x509_privkey_export_rsa_raw2: ADDED
2439 gnutls_sec_param_to_pk_bits: ADDED
2440 gnutls_pk_bits_to_sec_param: ADDED
2441 gnutls_sec_param_get_name: ADDED
2442 gnutls_pkcs11_type_get_name: ADDED
2443 gnutls_certificate_set_retrieve_function: ADDED
2444 gnutls_pkcs11_init: ADDED
2445 gnutls_pkcs11_deinit: ADDED
2446 gnutls_pkcs11_set_pin_function: ADDED
2447 gnutls_pkcs11_set_token_function: ADDED
2448 gnutls_pkcs11_add_provider: ADDED
2449 gnutls_pkcs11_obj_init: ADDED
2450 gnutls_pkcs11_obj_import_url: ADDED
2451 gnutls_pkcs11_obj_export_url: ADDED
2452 gnutls_pkcs11_obj_deinit: ADDED
2453 gnutls_pkcs11_obj_export: ADDED
2454 gnutls_pkcs11_obj_list_import_url: ADDED
2455 gnutls_pkcs11_obj_export: ADDED
2456 gnutls_x509_crt_import_pkcs11: ADDED
2457 gnutls_pkcs11_obj_get_type: ADDED
2458 gnutls_x509_crt_list_import_pkcs11: ADDED
2459 gnutls_x509_crt_import_pkcs11_url: ADDED
2460 gnutls_pkcs11_obj_get_info: ADDED
2461 gnutls_pkcs11_token_get_info: ADDED
2462 gnutls_pkcs11_token_get_url: ADDED
2463 gnutls_pkcs11_privkey_init: ADDED
2464 gnutls_pkcs11_privkey_deinit: ADDED
2465 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2466 gnutls_pkcs11_privkey_get_info: ADDED
2467 gnutls_pkcs11_privkey_import_url: ADDED
2468 gnutls_pkcs11_privkey_sign_data: ADDED
2469 gnutls_pkcs11_privkey_sign_hash: ADDED
2470 gnutls_pkcs11_privkey_decrypt_data: ADDED
2471 gnutls_privkey_init: ADDED
2472 gnutls_privkey_deinit: ADDED
2473 gnutls_privkey_get_pk_algorithm: ADDED
2474 gnutls_privkey_get_type: ADDED
2475 gnutls_privkey_import_pkcs11: ADDED
2476 gnutls_privkey_import_x509: ADDED
2477 gnutls_privkey_import_openpgp: ADDED
2478 gnutls_privkey_sign_data: ADDED
2479 gnutls_privkey_sign_hash: ADDED
2480 gnutls_privkey_decrypt_data: ADDED
2481 gnutls_pkcs11_privkey_export_url: ADDED
2482 gnutls_x509_crq_privkey_sign: ADDED
2483 gnutls_x509_crl_privkey_sign: ADDED
2484 gnutls_x509_crt_privkey_sign: ADDED
2485 gnutls_pubkey_init: ADDED
2486 gnutls_pubkey_deinit: ADDED
2487 gnutls_pubkey_get_pk_algorithm: ADDED
2488 gnutls_pubkey_import_x509: ADDED
2489 gnutls_pubkey_import_openpgp: ADDED
2490 gnutls_pubkey_get_pk_rsa_raw: ADDED
2491 gnutls_pubkey_get_pk_dsa_raw: ADDED
2492 gnutls_pubkey_export: ADDED
2493 gnutls_pubkey_get_key_id: ADDED
2494 gnutls_pubkey_get_key_usage: ADDED
2495 gnutls_pubkey_verify_hash: ADDED
2496 gnutls_pubkey_get_verify_algorithm: ADDED
2497 gnutls_pkcs11_type_get_name: ADDED
2498 gnutls_pubkey_import_pkcs11_url: ADDED
2499 gnutls_pubkey_import: ADDED
2500 gnutls_pubkey_import_pkcs11: ADDED
2501 gnutls_pubkey_import_dsa_raw: ADDED
2502 gnutls_pubkey_import_rsa_raw: ADDED
2503 gnutls_x509_crt_set_pubkey: ADDED
2504 gnutls_x509_crq_set_pubkey: ADDED
2505 gnutls_pkcs11_copy_x509_crt: ADDED
2506 gnutls_pkcs11_copy_x509_privkey: ADDED
2507 gnutls_pkcs11_delete_url: ADDED
2509 * Version 2.10.1 (released 2010-07-25)
2511 ** libgnutls: Added support for broken certificates that indicate RSA
2514 ** gnutls-cli: Allow verification using V1 CAs.
2516 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2517 gnutls_x509_privkey_import_pkcs8() without a password, if it
2518 is unable to decode the key.
2520 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2521 a memory leak. Reported by Mads Kiilerich.
2523 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2524 issue a warning, that the output key might not be working everywhere.
2526 ** certtool: The --pkcs-cipher is taken into account when generating a
2527 private key. The default cipher used now is aes-128. The old behavior
2528 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2530 ** API and ABI modifications:
2531 No changes since last version.
2533 * Version 2.10.0 (released 2010-06-25)
2535 ** API and ABI modifications:
2536 No changes since last version.
2538 * Version 2.9.12 (released 2010-06-17)
2540 ** gnutls-cli: Make --starttls work again.
2541 Problem introduced in patch to use read() instead of fgets() committed
2544 ** API and ABI modifications:
2545 No changes since last version.
2547 * Version 2.9.11 (released 2010-06-07)
2549 ** libgnutls: Removed two APIs related to safe renegotiation.
2550 Use priority strings instead. The APIs were
2551 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2552 (Remember that we don't promise ABI stability during development
2553 series, so this doesn't cause an shared library ABI increment.)
2555 ** tests: More self testing of safe renegotiation extension.
2556 See tests/safe-renegotiation/README for more information.
2558 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2560 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2562 ** API and ABI modifications:
2563 gnutls_safe_negotiation_set_initial: REMOVED.
2564 gnutls_safe_renegotiation_set: REMOVED.
2566 * Version 2.9.10 (released 2010-04-22)
2568 ** libgnutls: Time verification extended to trusted certificate list.
2569 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2572 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2573 Based on patch by Pavan Konjarla. Adds new constant
2574 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2576 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2577 Solves the issue discussed in:
2578 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2579 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2580 Note that to allow connecting to unpatched servers the full protection
2581 is only enabled if the priority string %SAFE_RENEGOTIATION is
2582 specified. You can check whether protection is in place by querying
2583 gnutls_safe_renegotiation_status(). New error codes
2584 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2585 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2587 ** libgnutls: When checking openpgp self signature also check the signatures
2589 Ilari Liusvaara noticed and reported the issue and provided test
2592 ** libgnutls: Added cryptodev support (/dev/crypto).
2593 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2594 benchmark utility for AES. Adds new error codes
2595 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2597 ** libgnutls: Exported API to access encryption and hash algorithms.
2598 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2599 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2600 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2601 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2602 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2603 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2604 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2606 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2607 verification of certificate upon receipt rather than waiting until the
2608 end of the handshake.
2610 ** libgnutls: Don't send alerts during handshake.
2611 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2613 ** certtool: Corrected two issues that affected certificate request generation.
2614 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2615 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2616 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2617 those parameters there since other implementations don't do either and having
2618 them does not seem to offer anything (anyway you need the signer's certificate
2619 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2620 This however has the side-effect that public key IDs shown by certtool are
2621 now different than previous gnutls releases.
2622 (3) the option --pgp-certificate-info will verify self signatures
2624 ** certtool: Allow exporting of Certificate requests on DER format.
2626 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2628 ** gnutls-cli: Handle reading binary data from server.
2629 Reported by and tiny patch from Vitaly Mayatskikh
2630 <v.mayatskih@gmail.com> in
2631 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2633 ** minitasn1: Upgraded to libtasn1 version 2.6.
2635 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2636 ** Added Italian and Simplified Chinese translation.
2637 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2638 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2640 ** doc: The GTK-DOC manual is significantly improved.
2642 ** API and ABI modifications:
2643 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2644 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2645 %UNSAFE_RENEGOTIATION: Added to priority strings.
2646 GNUTLS_DIG_SHA224: ADDED.
2647 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2648 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2649 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2650 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2651 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2652 GNUTLS_MAC_SHA224: ADDED.
2653 GNUTLS_OID_X520_NAME: ADDED.
2654 GNUTLS_OID_X520_POSTALCODE: ADDED.
2655 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2656 GNUTLS_VERSION_MAX: ADDED.
2657 gnutls_certificate_set_verify_function: ADDED.
2658 gnutls_cipher_decrypt: ADDED.
2659 gnutls_cipher_deinit: ADDED.
2660 gnutls_cipher_encrypt: ADDED.
2661 gnutls_cipher_get_block_size: ADDED.
2662 gnutls_cipher_init: ADDED.
2664 gnutls_hash_deinit: ADDED.
2665 gnutls_hash_fast: ADDED.
2666 gnutls_hash_get_len: ADDED.
2667 gnutls_hash_init: ADDED.
2668 gnutls_hash_output: ADDED.
2670 gnutls_hmac_deinit: ADDED.
2671 gnutls_hmac_fast: ADDED.
2672 gnutls_hmac_get_len: ADDED.
2673 gnutls_hmac_init: ADDED.
2674 gnutls_hmac_output: ADDED.
2675 gnutls_safe_negotiation_set_initial: ADDED.
2676 gnutls_safe_renegotiation_set: ADDED.
2677 gnutls_safe_renegotiation_status: ADDED.
2679 * Version 2.9.9 (released 2009-11-09)
2681 ** libgnutls: Cleanups and several bug fixes.
2682 Found by Steve Grubb and Tomas Mraz.
2684 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2686 ** Fix --disable-valgrind-tests.
2687 Reported by Ingmar Vanhassel in
2688 <https://savannah.gnu.org/support/?107029>.
2690 ** API and ABI modifications:
2691 No changes since last version.
2693 * Version 2.9.8 (released 2009-11-05)
2695 ** libgnutls: Fix for memory leaks on interrupted handshake.
2696 Reported by Tang Tong.
2698 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2699 ** extension and certificate verify field.
2700 This requires changes for TLS 1.2 servers and clients that use
2701 callbacks for certificate retrieval. They are now required to check
2702 with gnutls_sign_algorithm_get_requested() whether the certificate
2703 they send complies with the peer's preferences in signature
2706 ** libgnutls: In server side when resuming a session do not overwrite the
2707 ** initial session data with the resumed session data.
2709 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2711 This affects also PKCS #12 encoded files. This adds the following new
2712 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2713 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2715 ** libgnutls: Fix PKCS#12 encoding.
2716 The error you would get was "The OID is not supported.". Problem
2717 introduced for the v2.8.x branch in 2.7.6.
2719 ** certtool: Added the --pkcs-cipher option.
2720 To explicitely specify the encryption algorithm to use.
2722 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2724 ** tests: Fix time bomb in chainverify self-test.
2725 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2726 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2728 ** tests: Fix expired cert in chainverify self-test.
2730 ** i18n: Vietnamese translation updated.
2731 Thanks to Clytie Siddall.
2733 ** API and ABI modifications:
2734 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2735 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2736 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2737 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2738 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2739 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2740 gnutls_sign_algorithm_get_requested: ADDED.
2742 * Version 2.9.7 (released 2009-10-06)
2744 ** libgnutls: TLS 1.2 server mode fixes.
2745 Now interoperates against Opera. Contributed by Daiki Ueno.
2747 ** libgnutlsxx: Fix link problems.
2748 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2750 ** guile: Compatibility with guile 2.x.
2751 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2753 ** API and ABI modifications:
2754 No changes since last version.
2756 * Version 2.9.6 (released 2009-09-22)
2758 ** libgnutls: Enable Camellia ciphers by default.
2760 ** API and ABI modifications:
2761 No changes since last version.
2763 * Version 2.9.5 (released 2009-09-10)
2765 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2766 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2767 gnutls_x509_crt_get_issuer_alt_name, and
2768 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2769 Hards <bradh@frogmouth.net>.
2771 ** API and ABI modifications:
2772 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2773 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2774 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2776 * Version 2.9.4 (released 2009-09-03)
2778 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2779 The new supported ciphersuites are AES-128/256 in CBC mode with
2780 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2781 SHA-256 is now the preferred default MAC (however it is only used with
2784 ** libgnutls: Make OpenPGP hostname checking work again.
2785 The patch to resolve the X.509 CN/SAN issue accidentally broken
2786 OpenPGP hostname comparison.
2788 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2789 Reported by Howard Chu <hyc@symas.com> in
2790 <https://savannah.gnu.org/support/?106975>.
2792 ** Fix use of deprecated types internally.
2793 Use of deprecated types in GnuTLS from now on will lead to a compile
2794 error, to prevent this from happening again.
2796 ** API and ABI modifications:
2797 No changes since last version.
2799 * Version 2.9.3 (released 2009-08-19)
2801 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2802 The new APIs are gnutls_session_ticket_enable_client,
2803 gnutls_session_ticket_enable_server, and
2804 gnutls_session_ticket_key_generate.
2806 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2808 ** API and ABI modifications:
2809 gnutls_session_ticket_key_generate: ADDED.
2810 gnutls_session_ticket_enable_client: ADDED.
2811 gnutls_session_ticket_enable_server: ADDED.
2813 * Version 2.9.2 (released 2009-08-14)
2815 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2816 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2817 into 1) not printing the entire CN/SAN field value when printing a
2818 certificate and 2) cause incorrect positive matches when matching a
2819 hostname against a certificate. Some CAs apparently have poor
2820 checking of CN/SAN values and issue these (arguable invalid)
2821 certificates. Combined, this can be used by attackers to become a
2822 MITM on server-authenticated TLS sessions. The problem is mitigated
2823 since attackers needs to get one certificate per site they want to
2824 attack, and the attacker reveals his tracks by applying for a
2825 certificate at the CA. It does not apply to client authenticated TLS
2826 sessions. Research presented independently by Dan Kaminsky and Moxie
2827 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2828 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2830 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2831 The function may fail incorrectly when an earlier certificate was
2832 imported to the same gnutls_x509_crt_t structure.
2834 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2836 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2837 Before it always returned false. Reported by Peter Hendrickson
2838 <pdh@wiredyne.com> in
2839 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2841 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2842 The error resulted in truncated strings when printing unknown OIDs in
2843 X.509 certificate DNs. Reported by Tim Kosse
2844 <tim.kosse@filezilla-project.org> in
2845 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2847 ** libgnutls: Fix PKCS#12 decryption from password.
2848 The encryption key derived from the password was incorrect for (on
2849 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2850 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2851 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2853 ** libgnutls: Return correct bit lengths of some MPIs.
2854 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2855 gnutls_dh_get_peers_public_bits. Before the reported value was
2856 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2857 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2859 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2860 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2861 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2863 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2865 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2866 Before we required that the runtime library used the same (or more
2867 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2868 that the runtime usage is above the minimum required. Reported by
2869 Marco d'Itri <md@linux.it> via Andreas Metzler
2870 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2872 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2874 ** tests: Improved test vectors in self-test pkcs12_s2k.
2876 ** tests: Added new self-test dn2 to detect off-by-one size error.
2878 ** tests: Fix failure in "chainverify" because a certificate have expired.
2880 ** API and ABI modifications:
2881 No changes since last version.
2883 * Version 2.9.1 (released 2009-06-08)
2885 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2886 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2887 <http://bugs.gentoo.org/272388>.
2889 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2891 ** Reduce stack usage for some CRQ functions.
2893 ** Doc fixes for CRQ functions.
2895 ** API and ABI modifications:
2896 No changes since last version.
2898 * Version 2.9.0 (released 2009-05-28)
2902 ** API and ABI modifications:
2903 No changes since last version.
2905 * Version 2.8.6 (released 2010-03-15)
2907 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2908 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2909 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2911 Note: As a side effect of this change, the "public key identifier"
2912 value computed for a certificate using this version of GnuTLS will be
2913 different from values computed using earlier versions of GnuTLS.
2915 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2916 ** optional SignatureAlgorithm parameter field.
2917 VeriSign rejected these CSRs. They are stricly speaking not needed
2918 since you need the signer's certificate to verify the certificate
2919 signature anyway. Reported by Wilankar Trupti
2920 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2922 ** libgnutls: When checking openpgp self signature also check the signatures
2924 Ilari Liusvaara noticed and reported the issue and provided test
2927 ** libgnutls: Cleanups and several bug fixes.
2928 Found by Steve Grubb and Tomas Mraz.
2930 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2932 ** Fix --disable-valgrind-tests.
2933 Reported by Ingmar Vanhassel in
2934 <https://savannah.gnu.org/support/?107029>.
2936 ** examples: Use the new APIs for printing X.509 certificate information.
2938 ** Fix build failures on Solaris.
2939 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2941 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2942 ** translations. Added Simplified Chinese translation.
2944 ** API and ABI modifications:
2945 No changes since last version.
2947 * Version 2.8.5 (released 2009-11-02)
2949 ** libgnutls: In server side when resuming a session do not overwrite the
2950 ** initial session data with the resumed session data.
2952 ** libgnutls: Fix PKCS#12 encoding.
2953 The error you would get was "The OID is not supported.". Problem
2954 introduced for the v2.8.x branch in 2.7.6.
2956 ** guile: Compatibility with guile 2.x.
2957 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2959 ** tests: Fix expired cert in chainverify self-test.
2961 ** tests: Fix time bomb in chainverify self-test.
2962 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2963 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2965 ** API and ABI modifications:
2966 No changes since last version.
2968 * Version 2.8.4 (released 2009-09-18)
2970 ** libgnutls: Enable Camellia ciphers by default.
2972 ** libgnutls: Make OpenPGP hostname checking work again.
2973 The patch to resolve the X.509 CN/SAN issue accidentally broken
2974 OpenPGP hostname comparison.
2976 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2977 Reported by Howard Chu <hyc@symas.com> in
2978 <https://savannah.gnu.org/support/?106975>.
2980 ** API and ABI modifications:
2981 No changes since last version.
2983 * Version 2.8.3 (released 2009-08-13)
2985 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2986 Code intended to be removed would lead to an read-out-bound error in
2987 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
2988 code have been allocated for the vulnerability: [CVE-2009-2730].
2990 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2991 The function may fail incorrectly when an earlier certificate was
2992 imported to the same gnutls_x509_crt_t structure.
2994 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2996 ** tests: Made self-test mini-eagain take less time.
3000 ** API and ABI modifications:
3001 No changes since last version.
3003 * Version 2.8.2 (released 2009-08-10)
3005 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3006 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3007 into 1) not printing the entire CN/SAN field value when printing a
3008 certificate and 2) cause incorrect positive matches when matching a
3009 hostname against a certificate. Some CAs apparently have poor
3010 checking of CN/SAN values and issue these (arguable invalid)
3011 certificates. Combined, this can be used by attackers to become a
3012 MITM on server-authenticated TLS sessions. The problem is mitigated
3013 since attackers needs to get one certificate per site they want to
3014 attack, and the attacker reveals his tracks by applying for a
3015 certificate at the CA. It does not apply to client authenticated TLS
3016 sessions. Research presented independently by Dan Kaminsky and Moxie
3017 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3018 for providing one part of the patch. [GNUTLS-SA-2009-4].
3020 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3021 Before it always returned false. Reported by Peter Hendrickson
3022 <pdh@wiredyne.com> in
3023 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3025 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3026 The error resulted in truncated strings when printing unknown OIDs in
3027 X.509 certificate DNs. Reported by Tim Kosse
3028 <tim.kosse@filezilla-project.org> in
3029 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3031 ** libgnutls: Return correct bit lengths of some MPIs.
3032 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3033 gnutls_dh_get_peers_public_bits. Before the reported value was
3034 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3035 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3037 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3038 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3039 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3041 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3043 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3044 Before we required that the runtime library used the same (or more
3045 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3046 that the runtime usage is above the minimum required. Reported by
3047 Marco d'Itri <md@linux.it> via Andreas Metzler
3048 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3050 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3052 ** tests: Fix failure in "chainverify" because a certificate have expired.
3054 ** API and ABI modifications:
3055 No changes since last version.
3057 * Version 2.8.1 (released 2009-06-10)
3059 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3060 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3061 <http://bugs.gentoo.org/272388>.
3063 ** libgnutls: Fix PKCS#12 decryption from password.
3064 The encryption key derived from the password was incorrect for (on
3065 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3066 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3067 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3069 ** API and ABI modifications:
3070 No changes since last version.
3072 * Version 2.8.0 (released 2009-05-27)
3074 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3076 ** Major changes compared to the v2.4 branch:
3078 *** lib: Linker version scripts reduces number of exported symbols.
3080 *** lib: Limit exported symbols on systems without LD linker scripts.
3082 *** libgnutls: Fix namespace issue with version symbols.
3084 *** libgnutls: Add functions to verify a hash against a certificate.
3085 gnutls_x509_crt_verify_hash: ADDED
3086 gnutls_x509_crt_get_verify_algorithm: ADDED
3088 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3090 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3092 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3094 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3096 *** gnutls-serv: No longer disable MAC padding by default.
3098 *** gnutls-cli: Certificate information output format changed.
3100 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3101 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3103 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3105 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3107 *** libgnutls: gnutls_handshake when sending client hello during a
3108 rehandshake, will not offer a version number larger than the current.
3110 *** libgnutls: New interface to get key id for certificate requests.
3111 gnutls_x509_crq_get_key_id: ADDED.
3113 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3115 *** certtool: --verify-chain now prints results of using library verification.
3117 *** libgnutls: Libgcrypt initialization changed.
3119 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3121 *** gnutls-cli: Return non-zero exit code on error conditions.
3123 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3125 *** certtool: allow setting arbitrary key purpose object identifiers.
3127 *** libgnutls: Change detection of when to use a linker version script.
3128 Use --enable-ld-version-script or --disable-ld-version-script to
3129 override auto-detection logic.
3131 *** Fix warnings and build GnuTLS with more warnings enabled.
3133 *** New API to set X.509 credentials from PKCS#12 memory structure.
3134 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3136 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3137 Please use pkg-config instead.
3139 *** libgnutls: Added functions to handle CRL extensions.
3140 gnutls_x509_crl_get_authority_key_id: ADDED
3141 gnutls_x509_crl_get_number: ADDED
3142 gnutls_x509_crl_get_extension_oid: ADDED
3143 gnutls_x509_crl_get_extension_info: ADDED
3144 gnutls_x509_crl_get_extension_data: ADDED
3145 gnutls_x509_crl_set_authority_key_id: ADDED
3146 gnutls_x509_crl_set_number: ADDED
3148 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3150 gnutls_x509_crq_get_key_rsa_raw: ADDED
3151 gnutls_x509_crq_get_attribute_info: ADDED
3152 gnutls_x509_crq_get_attribute_data: ADDED
3153 gnutls_x509_crq_get_extension_info: ADDED
3154 gnutls_x509_crq_get_extension_data: ADDED
3155 gnutls_x509_crq_get_key_usage: ADDED
3156 gnutls_x509_crq_get_basic_constraints: ADDED
3157 gnutls_x509_crq_get_subject_alt_name: ADDED
3158 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3159 gnutls_x509_crq_get_extension_by_oid: ADDED
3160 gnutls_x509_crq_set_subject_alt_name: ADDED
3161 gnutls_x509_crq_set_basic_constraints: ADDED
3162 gnutls_x509_crq_set_key_usage: ADDED
3163 gnutls_x509_crq_get_key_purpose_oid: ADDED
3164 gnutls_x509_crq_set_key_purpose_oid: ADDED
3165 gnutls_x509_crq_print: ADDED
3166 gnutls_x509_crt_set_crq_extensions: ADDED
3168 *** certtool: Print and set CRL and CRQ extensions.
3170 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3172 *** examples: Now released into the public domain.
3174 *** The Texinfo and GTK-DOC manuals were improved.
3176 *** Several self-tests were added and others improved.
3178 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3179 No offically supported interfaces have been modified or removed. The
3180 library should be completely backwards compatible on both the source
3183 The shared library no longer exports some symbols that have never been
3184 officially supported, i.e., not mentioned in any of the header files.
3190 Normally when symbols are removed, the shared library version has to
3191 be incremented. This leads to a significant cost for everyone using
3192 the library. Because none of the above symbols have ever been
3193 intended for use by well-behaved applications, we decided that the it
3194 would be better for those applications to pay the price rather than
3195 incurring problems on the majority of applications.
3197 If it turns out that applications have been using unofficial
3198 interfaces, we will need to release a follow-on release on the v2.8
3199 branch to exports additional interfaces. However, initial testing
3200 suggests that few if any applications have been using any of the
3203 Although not a new change compared to 2.6.x, we'd like to remind you
3204 interfaces have been modified so that X.509 chain verification now
3205 also checks activation/expiration times on certificates. The affected
3208 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3209 gnutls_certificate_verify_peers: Likewise.
3210 gnutls_certificate_verify_peers2: Likewise.
3211 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3212 GNUTLS_CERT_EXPIRED: ADDED.
3213 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3215 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3216 we gave our rationale for it in earlier release notes.
3218 The following symbols have been added to the library:
3220 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3221 gnutls_x509_crl_get_authority_key_id: ADDED
3222 gnutls_x509_crl_get_extension_data: ADDED
3223 gnutls_x509_crl_get_extension_info: ADDED
3224 gnutls_x509_crl_get_extension_oid: ADDED
3225 gnutls_x509_crl_get_number: ADDED
3226 gnutls_x509_crl_set_authority_key_id: ADDED
3227 gnutls_x509_crl_set_number: ADDED
3228 gnutls_x509_crq_get_attribute_data: ADDED
3229 gnutls_x509_crq_get_attribute_info: ADDED
3230 gnutls_x509_crq_get_basic_constraints: ADDED
3231 gnutls_x509_crq_get_extension_by_oid: ADDED
3232 gnutls_x509_crq_get_extension_data: ADDED
3233 gnutls_x509_crq_get_extension_info: ADDED
3234 gnutls_x509_crq_get_key_id: ADDED.
3235 gnutls_x509_crq_get_key_purpose_oid: ADDED
3236 gnutls_x509_crq_get_key_rsa_raw: ADDED
3237 gnutls_x509_crq_get_key_usage: ADDED
3238 gnutls_x509_crq_get_subject_alt_name: ADDED
3239 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3240 gnutls_x509_crq_print: ADDED
3241 gnutls_x509_crq_set_basic_constraints: ADDED
3242 gnutls_x509_crq_set_key_purpose_oid: ADDED
3243 gnutls_x509_crq_set_key_usage: ADDED
3244 gnutls_x509_crq_set_subject_alt_name: ADDED
3245 gnutls_x509_crt_get_verify_algorithm: ADDED
3246 gnutls_x509_crt_set_crq_extensions: ADDED
3247 gnutls_x509_crt_verify_hash: ADDED
3249 The following interfaces have been added to the header files:
3251 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3252 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3253 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3254 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3255 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3256 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3258 The following interfaces have been deprecated:
3260 LIBGNUTLS_VERSION: DEPRECATED.
3261 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3262 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3263 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3264 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3265 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3267 * Version 2.7.14 (released 2009-05-26)
3269 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3270 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3271 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3274 ** Doc: Several typo fixes in documentation.
3275 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3277 ** API and ABI modifications:
3278 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3279 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3281 * Version 2.7.13 (released 2009-05-25)
3283 ** libgnutls: Fix version of some exported symbols in the shared library.
3284 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3285 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3287 ** tests: Handle recently expired certificates in chainverify self-test.
3288 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3289 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3291 ** API and ABI modifications:
3292 No changes since last version.
3294 * Version 2.7.12 (released 2009-05-20)
3296 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3298 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3299 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3300 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3302 ** Fix build failures.
3303 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3304 G. Christensen" <tgc@jupiterrise.com> in
3305 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3307 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3308 GnuTLS should work fine with libtasn1 v1.x and that is still
3311 ** API and ABI modifications:
3312 No changes since last version.
3314 * Version 2.7.11 (released 2009-05-18)
3316 ** minitasn1: Fix build failure when using internal libtasn1.
3317 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3318 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3320 ** libgnutls: Fix build failure with --disable-cxx.
3321 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3322 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3324 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3325 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3326 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3328 ** Building with many warning flags now requires --enable-gcc-warnings.
3329 This avoids crying wolf for normal compiles.
3331 ** API and ABI modifications:
3332 No changes since last version.
3334 * Version 2.7.10 (released 2009-05-13)
3336 ** examples: Now released into the public domain.
3337 This makes the license of the example code compatible with more
3338 licenses, including the (L)GPL.
3340 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3341 GnuTLS should work fine with libtasn1 v1.x and that is still
3344 ** libgnutls: Fix crash in signature verification
3345 The fix for the CVE-2009-1415 problem wasn't merged completely.
3347 ** doc: Fixes for GTK-DOC output.
3349 ** API and ABI modifications:
3350 No changes since last version.
3352 * Version 2.7.9 (released 2009-05-11)
3354 ** doc: Fix strings in man page of gnutls_priority_init.
3356 ** doc: Fix tables of error codes and supported algorithms.
3358 ** Fix build failure when cross-compiled using MinGW.
3360 ** Fix build failure when LZO is enabled.
3361 Reported by Arfrever Frehtes Taifersar Arahesis
3362 <arfrever.fta@gmail.com> in
3363 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3365 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3366 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3367 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3369 ** Fix warnings in self-tests.
3371 ** API and ABI modifications:
3372 No changes since last version.
3374 * Version 2.7.8 (released 2009-05-03)
3376 ** libgnutls: Fix DSA key generation.
3377 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3379 ** libgnutls: Check expiration/activation time on untrusted certificates.
3380 Merged from stable branch. Reported by Romain Francoise
3381 <romain@orebokech.com>. This changes the semantics of
3382 gnutls_x509_crt_list_verify, which in turn is used by
3383 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3384 We add two new gnutls_certificate_status_t codes for reporting the new
3385 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3386 We also add a new gnutls_certificate_verify_flags flag,
3387 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3388 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3390 ** lib: Linker version scripts reduces number of exported symbols.
3391 The linker version script now lists all exported ABIs explicitly, to
3392 avoid accidentally exporting unintended functions. Compared to
3393 before, most symbols beginning with _gnutls* are no longer exported.
3394 These functions have never been intended for use by applications, and
3395 there were no prototypes for these function in the public header
3396 files. Thus we believe it is possible to do this without incrementing
3397 the library ABI version which normally has to be done when removing an
3400 ** lib: Limit exported symbols on systems without LD linker scripts.
3401 Before all symbols were exported. Now we limit the exported symbols
3402 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3403 _gnutls*. This is a superset of the actual supported ABI, but still
3404 an improvement compared to before. This is implemented using Libtool
3405 -export-symbols-regex. It is more portable than linker version
3408 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3409 This should have been done in the last release.
3411 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3412 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3413 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3415 ** doc: Improved sections for the info manual.
3416 We now follow the advice given by the texinfo manual on which
3417 directory categories to use. In particular, libgnutls moved from the
3418 'GNU Libraries' section to the 'Software libraries' and the command
3419 line tools moved from 'Network Applications' to 'System
3422 ** API and ABI modifications:
3423 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3424 gnutls_certificate_verify_peers: Likewise.
3425 gnutls_certificate_verify_peers2: Likewise.
3426 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3427 GNUTLS_CERT_EXPIRED: ADDED.
3428 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3430 * Version 2.7.7 (released 2009-04-20)
3432 ** libgnutls: Applied patch by Cedric Bail to add functions
3433 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3435 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3436 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3437 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3439 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3440 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3442 ** doc: Fix build failure of errcodes/printlist.
3443 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3444 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3446 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3447 It is currently only used by the core library. This will enable a new
3448 domain 'gnutls' for translations of the command line tools.
3450 ** Corrected possible memory corruption on signature verification failure.
3451 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3453 ** API and ABI modifications:
3454 gnutls_x509_crt_verify_hash: ADDED
3455 gnutls_x509_crt_get_verify_algorithm: ADDED
3457 * Version 2.7.6 (released 2009-02-27)
3459 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3460 This applies both to generating certificates and certificate requests.
3462 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3464 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3465 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3466 be used for chain verification.
3468 ** gnutls-serv: No longer disable MAC padding by default.
3469 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3471 ** gnutls-cli: Certificate information output format changed.
3472 The tool now uses libgnutls' functions to print certificate
3473 information. This avoids code duplication.
3475 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3476 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3477 They can be used to override the default certificate chain validation
3480 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3481 specify the client hello message record version. Used to overcome buggy
3482 TLS servers. Report by Martin von Gagern.
3484 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3486 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3488 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3490 ** API and ABI modifications:
3491 No changes since last version.
3493 * Version 2.7.5 (released 2009-02-06)
3495 ** libgnutls: Accept chains where intermediary certs are trusted.
3496 Before GnuTLS needed to validate the entire chain back to a
3497 self-signed certificate. GnuTLS will now stop looking when it has
3498 found an intermediary trusted certificate. The new behaviour is
3499 useful when chains, for example, contains a top-level CA, an
3500 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3501 To avoid chain validation errors due to the RSA-MD5 cert, you can
3502 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3503 The signature on trusted certificates are not checked, so the chain
3504 has a chance to validate correctly. Reported by "Douglas E. Engert"
3505 <deengert@anl.gov> in
3506 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3508 ** libgnutls: result_size in gnutls_hex_encode now holds
3509 the size of the result. Report by John Brooks <special@dereferenced.net>.
3511 ** libgnutls: gnutls_handshake when sending client hello during a
3512 rehandshake, will not offer a version number larger than the current.
3513 Reported by Tristan Hill <stan@saticed.me.uk>.
3515 ** libgnutls: Permit V1 Certificate Authorities properly.
3516 Before they were mistakenly rejected even though
3517 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3518 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3519 "Douglas E. Engert" <deengert@anl.gov> in
3520 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3522 ** API and ABI modifications:
3523 No changes since last version.
3525 * Version 2.7.4 (released 2009-01-07)
3527 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3528 This is a bugfix -- the previous attempt to do this from internal x509
3529 certificate verification procedures did not return the correct value
3530 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3531 <dkg@fifthhorseman.net> in
3532 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3533 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3534 Gillmor <dkg@fifthhorseman.net>.
3536 ** libgnutls: New interface to get key id for certificate requests.
3537 Patch from David Marín Carreño <davefx@gmail.com> in
3538 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3540 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3542 ** certtool: --verify-chain now prints results of using library verification.
3543 Earlier, certtool --verify-chain used its own validation algorithm
3544 which wasn't guaranteed to give the same result as the libgnutls
3545 internal validation algorithm. Now this command print a new final
3546 line with header 'Chain verification output:' that contains the result
3547 from using the internal verification algorithm on the same chain.
3549 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3551 ** API and ABI modifications:
3552 gnutls_x509_crq_get_key_id: ADDED.
3554 * Version 2.7.3 (released 2008-12-10)
3556 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3557 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3558 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3559 Andreas Metzler <ametzler@downhill.at.eu.org> in
3560 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3562 ** libgnutls: Libgcrypt initialization changed.
3563 If libgcrypt has not already been initialized, GnuTLS will now
3564 initialize libgcrypt with disabled secure memory. Initialize
3565 libgcrypt explicitly in your application if you want to enable secure
3566 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3567 allocation functions, which doesn't use secure memory, so there is no
3568 real change in behaviour.
3570 ** libgnutls: Fix memory leak in PSK authentication.
3571 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3572 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3574 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3576 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3577 It needs to be invoked before libgcrypt is initialized.
3579 ** gnutls-cli: Return non-zero exit code on error conditions.
3581 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3583 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3585 ** API and ABI modifications:
3586 No changes since last version.
3588 * Version 2.7.2 (released 2008-11-18)
3590 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3591 The flaw makes it possible for man in the middle attackers (i.e.,
3592 active attackers) to assume any name and trick GnuTLS clients into
3593 trusting that name. Thanks for report and analysis from Martin von
3594 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3596 Any updates with more details about this vulnerability will be added
3597 to <http://www.gnu.org/software/gnutls/security.html>
3599 ** libgnutls: Fix namespace issue with version symbols.
3600 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3601 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3602 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3603 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3604 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3605 work but are deprecated.
3607 ** certtool: allow setting arbitrary key purpose object identifiers.
3609 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3611 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3612 Reported by Kevin Quick <quick@sparq.org> in
3613 <https://savannah.gnu.org/support/index.php?106454>.
3615 ** libgnutls-extra: Make building with LZO compression work again.
3616 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3617 <arfrever.fta@gmail.com> in
3618 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3620 ** libgnutls: Change detection of when to use a linker version script.
3621 Use --enable-ld-version-script or --disable-ld-version-script to
3622 override auto-detection logic.
3624 ** doc: Change license on the manual to GFDLv1.3+.
3626 ** doc: GTK-DOC fixes for new splitted configuration system.
3628 ** doc: Texinfo stylesheet uses white background.
3630 ** tests: Add cve-2008-4989.c self-test.
3631 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3632 follow-on problem with crashes on length 1 certificate chains.
3634 ** gnulib: Deprecated modules removed.
3635 Modules include memchr and memcmp.
3637 ** Fix warnings and build GnuTLS with more warnings enabled.
3639 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3641 ** API and ABI modifications:
3642 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3643 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3644 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3645 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3646 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3647 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3648 LIBGNUTLS_VERSION: DEPRECATED.
3649 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3650 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3651 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3652 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3654 * Version 2.7.1 (released 2008-10-31)
3656 ** certtool: print a PKCS #8 key even if it is not encrypted.
3658 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3659 Please use pkg-config instead.
3661 ** Configuration system modified.
3662 There is now a configure script in lib/ and libextra/ as well, because
3663 gnulib works better with a config.h per gnulib directory.
3665 ** API and ABI modifications:
3666 No changes since last version.
3668 * Version 2.7.0 (released 2008-10-16)
3670 ** libgnutls: Added functions to handle CRL extensions.
3672 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3675 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3676 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3678 ** certtool: Print and set CRL and CRQ extensions.
3680 ** libgnutls-extra: Protect internal symbols with static.
3681 Fixes problem when linking certtool statically. Tiny patch from Aaron
3682 Ucko <ucko@ncbi.nlm.nih.gov>.
3684 ** libgnutls-openssl: fix out of bounds access.
3685 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3686 from Thomas Viehmann <tv@beamnet.de>.
3688 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3690 ** tests: Make tests compile when using internal libtasn1.
3691 Patch by ludo@gnu.org (Ludovic Courtès).
3693 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3694 We now require a libgcrypt that has Camellia constants declared in
3695 gcrypt.h, which means v1.3.0 or later.
3697 ** API and ABI modifications:
3698 gnutls_x509_crl_get_authority_key_id: ADDED
3699 gnutls_x509_crl_get_number: ADDED
3700 gnutls_x509_crl_get_extension_oid: ADDED
3701 gnutls_x509_crl_get_extension_info: ADDED
3702 gnutls_x509_crl_get_extension_data: ADDED
3703 gnutls_x509_crl_set_authority_key_id: ADDED
3704 gnutls_x509_crl_set_number: ADDED
3705 gnutls_x509_crq_get_key_rsa_raw: ADDED
3706 gnutls_x509_crq_get_attribute_info: ADDED
3707 gnutls_x509_crq_get_attribute_data: ADDED
3708 gnutls_x509_crq_get_extension_info: ADDED
3709 gnutls_x509_crq_get_extension_data: ADDED
3710 gnutls_x509_crq_get_key_usage: ADDED
3711 gnutls_x509_crq_get_basic_constraints: ADDED
3712 gnutls_x509_crq_get_subject_alt_name: ADDED
3713 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3714 gnutls_x509_crq_get_extension_by_oid: ADDED
3715 gnutls_x509_crq_set_subject_alt_name: ADDED
3716 gnutls_x509_crq_set_basic_constraints: ADDED
3717 gnutls_x509_crq_set_key_usage: ADDED
3718 gnutls_x509_crq_get_key_purpose_oid: ADDED
3719 gnutls_x509_crq_set_key_purpose_oid: ADDED
3720 gnutls_x509_crq_print: ADDED
3721 gnutls_x509_crt_set_crq_extensions: ADDED
3723 * Version 2.6.6 (released 2009-04-30)
3725 ** libgnutls: Corrected double free on signature verification failure.
3726 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
3727 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
3729 ** libgnutls: Fix DSA key generation.
3730 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
3731 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
3732 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3734 ** libgnutls: Check expiration/activation time on untrusted certificates.
3735 Reported by Romain Francoise <romain@orebokech.com>. Before the
3736 library did not check activation/expiration times on certificates, and
3737 was documented as not doing so. We have realized that many
3738 applications that use libgnutls, including gnutls-cli, fail to perform
3739 proper checks. Implementing similar logic in all applications leads
3740 to code duplication. Hence, we decided to check whether the current
3741 time (as reported by the time function) is within the
3742 activation/expiration period of certificates when verifying untrusted
3745 This changes the semantics of gnutls_x509_crt_list_verify, which in
3746 turn is used by gnutls_certificate_verify_peers and
3747 gnutls_certificate_verify_peers2. We add two new
3748 gnutls_certificate_status_t codes for reporting the new error
3749 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
3750 add a new gnutls_certificate_verify_flags flag,
3751 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3754 More details about the vulnerabilities will be posted at
3755 <http://www.gnu.org/software/gnutls/security.html>.
3757 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3758 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3759 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3761 ** tests: Fix linking of tests/openpgp/keyring self-test.
3762 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3764 ** API and ABI modifications:
3765 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3766 gnutls_certificate_verify_peers: Likewise.
3767 gnutls_certificate_verify_peers2: Likewise.
3768 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3769 GNUTLS_CERT_EXPIRED: ADDED.
3770 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3772 * Version 2.6.5 (released 2009-04-11)
3774 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3775 specify the client hello message record version. Used to overcome buggy
3776 TLS servers. Report by Martin von Gagern.
3778 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3779 Libtasn1 0.3.4 or later is required. This is to align with the
3780 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3782 ** API and ABI modifications:
3783 No changes since last version.
3785 * Version 2.6.4 (released 2009-02-06)
3787 ** libgnutls: Accept chains where intermediary certs are trusted.
3788 Before GnuTLS needed to validate the entire chain back to a
3789 self-signed certificate. GnuTLS will now stop looking when it has
3790 found an intermediary trusted certificate. The new behaviour is
3791 useful when chains, for example, contains a top-level CA, an
3792 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3793 To avoid chain validation errors due to the RSA-MD5 cert, you can
3794 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3795 The signature on trusted certificates are not checked, so the chain
3796 has a chance to validate correctly. Reported by "Douglas E. Engert"
3797 <deengert@anl.gov> in
3798 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3800 ** libgnutls: result_size in gnutls_hex_encode now holds
3801 the size of the result. Report by John Brooks <special@dereferenced.net>.
3803 ** libgnutls: gnutls_handshake when sending client hello during a
3804 rehandshake, will not offer a version number larger than the current.
3805 Reported by Tristan Hill <stan@saticed.me.uk>.
3807 ** libgnutls: Permit V1 Certificate Authorities properly.
3808 Before they were mistakenly rejected even though
3809 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3810 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3811 "Douglas E. Engert" <deengert@anl.gov> in
3812 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3814 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3815 This is a bugfix -- the previous attempt to do this from internal x509
3816 certificate verification procedures did not return the correct value
3817 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3818 <dkg@fifthhorseman.net> in
3819 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3820 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3821 Gillmor <dkg@fifthhorseman.net>.
3823 ** libgnutls: Fix compile error with Sun CC.
3824 Reported by Jeff Cai <jeff.cai@sun.com> in
3825 <https://savannah.gnu.org/support/?106549>.
3827 ** API and ABI modifications:
3828 No changes since last version.
3830 * Version 2.6.3 (released 2008-12-12)
3832 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3833 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3834 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3835 Andreas Metzler <ametzler@downhill.at.eu.org> in
3836 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3838 ** libgnutls: Fix memory leak in PSK authentication.
3839 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3840 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3842 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3843 It needs to be invoked before libgcrypt is initialized.
3845 ** gnutls-cli: Return non-zero exit code on error conditions.
3847 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3849 ** API and ABI modifications:
3850 No changes since last version.
3852 * Version 2.6.2 (released 2008-11-12)
3854 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3855 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3856 problem for certificate chains that contained just one self-signed
3857 certificate. Reported by Michael Meskes <meskes@debian.org> in
3858 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3860 ** API and ABI modifications:
3861 No changes since last version.
3863 * Version 2.6.1 (released 2008-11-10)
3865 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3866 The flaw makes it possible for man in the middle attackers (i.e.,
3867 active attackers) to assume any name and trick GnuTLS clients into
3868 trusting that name. Thanks for report and analysis from Martin von
3869 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3871 Any updates with more details about this vulnerability will be added
3872 to <http://www.gnu.org/software/gnutls/security.html>