1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000-2014 Free Software Foundation, Inc.
3 Copyright (C) 2013, 2014 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 3.3.6 (unreleased)
8 ** libgnutls: Use inet_ntop to print IP addresses when available
10 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
11 IP addresses, and match documented behavior. Reported by David Woodhouse.
13 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
16 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
17 being usable after a reinitialization.
19 ** libgnutls: fixed PKCS #11 private key operations after a fork.
21 ** libgnutls: fixed PKCS #11 ECDSA key generation.
23 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
24 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
25 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
26 CPU. The currently available options are:
27 0x1: Disable all run-time detected optimizations
31 0x100000: Enable VIA padlock
32 0x200000: Enable VIA PHE
33 0x400000: Enable VIA PHE SHA512
35 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
37 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
39 ** p11tool: ask for label when one isn't provided.
41 ** p11tool: added --batch parameter to disable any interactivity.
43 ** p11tool: will not implicitly enable so-login for certain types of
44 objects. That avoids issues with tokens that require different login
47 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
48 specify the curve to use.
50 ** API and ABI modifications:
51 No changes since last version.
54 * Version 3.3.5 (released 2014-06-26)
56 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
57 These functions provide a variant of gnutls_record_recv() that avoids
58 the final memcpy of data.
60 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
61 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
62 very large structures.
64 ** libgnutls: When the decoding of a printable DN element fails, then treat
65 it as unknown and print its hex value rather than failing. That works around
66 an issue in a TURKTRST root certificate which improperly encodes the
67 X520countryName element.
69 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
70 of certificates present in a PKCS #11 token when loading it.
72 ** libgnutls: Allow the post client hello callback to put the handshake on
73 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
75 ** certtool: option --to-p12 will now consider --load-ca-certificate
77 ** certtol: Added option to specify the PKCS #12 friendly name on command
80 ** p11tool: Allow marking a certificate copied to a token as a CA.
82 ** API and ABI modifications:
83 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
84 gnutls_x509_crl_iter_deinit: Added
85 gnutls_x509_crl_iter_crt_serial: Added
86 gnutls_record_recv_packet: Added
87 gnutls_packet_deinit: Added
88 gnutls_packet_get: Added
91 * Version 3.3.4 (released 2014-05-31)
93 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
94 crash on certain CPUs.
96 ** API and ABI modifications:
97 No changes since last version.
100 * Version 3.3.3 (released 2014-05-30)
102 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
103 Issue reported by Joonas Kuorilehto of Codenomicon.
105 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
106 new initialization process.
108 ** libgnutls: Increased the maximum certificate size buffer
109 in the PKCS #11 subsystem.
111 ** libgnutls: Check the return code of getpwuid_r() instead of relying
112 on the result value. That avoids issue in certain systems, when using
113 tofu authentication and the home path cannot be determined. Issue reported
116 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
117 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
119 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
122 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
123 be emulated with the implicit initialization of gnutls.
125 ** certtool: Allow multiple organizations and organizational unit names to
126 be specified in a template.
128 ** certtool: Warn when invalid configuration options are set to a template.
130 ** ocsptool: Include path in ocsp request. This resolves #108582
131 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
133 ** API and ABI modifications:
134 gnutls_credentials_get: Added
137 * Version 3.3.2 (released 2014-05-06)
139 ** libgnutls: Added the 'very weak' certificate verification profile
140 that corresponds to 64-bit security level.
142 ** libgnutls: Corrected file descriptor leak on random generator
145 ** libgnutls: Corrected file descriptor leak on PSK password file
146 reading. Issue identified using the Codenomicon TLS test suite.
148 ** libgnutls: Avoid deinitialization if initialization has failed.
150 ** libgnutls: null-terminate othername alternative names.
152 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
153 on a PKCS #11 trust list.
155 ** libgnutls: Several small bug fixes identified using valgrind and
156 the Codenomicon TLS test suite.
158 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
159 entry that matches the certificate. Patch by simon [at] arlott.org.
161 ** libgnutls-guile: Fixed compilation issue.
163 ** certtool: Allow exporting a CRL on DER format.
165 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
166 which is supported more widely than the previously used SECP224R1.
168 ** API and ABI modifications:
169 GNUTLS_PROFILE_VERY_WEAK: Added
172 * Version 3.3.1 (released 2014-04-19)
174 ** libgnutls: Enforce more strict checks to heartbeat messages
175 concerning padding and payload. Suggested by Peter Dettman.
177 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
180 ** libgnutls: Several small bug fixes found by coverity.
182 ** libgnutls: The conditionally available self-test functions
183 were moved to self-test.h.
185 ** libgnutls: Fixed issue with the check of incoming data when two
186 different recv and send pointers have been specified. Reported and
187 investigated by JMRecio.
189 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
190 result to illegal memory access if a server hint was provided. Reported
193 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
194 server hint was provided.
196 ** libgnutls: Corrected the *get_*_othername_oid() functions.
198 ** API and ABI modifications:
199 No changes since last version.
202 * Version 3.3.0 (released 2014-04-10)
204 ** libgnutls: The initialization of the library was moved to a
205 constructor. That is, gnutls_global_init() is no longer required
206 unless linking with a static library or a system that does not
207 support library constructors.
209 ** libgnutls: static libraries are not built by default.
211 ** libgnutls: PKCS #11 initialization is delayed to first usage.
212 That avoids long delays in gnutls initialization due to broken PKCS #11
215 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
216 on the first PKCS #11 API call after a fork.
218 ** libgnutls: certificate verification profiles were introduced
219 that can be specified as flags to verification functions. They
220 are enumerations in gnutls_certificate_verification_profiles_t
221 and can be converted to flags for use in a verification function
222 using GNUTLS_PROFILE_TO_VFLAGS().
224 ** libgnutls: Added the ability to read system-specific initial
225 keywords, if they are prefixed with '@'. That allows a compile-time
226 specified configuration file to be used to read pre-configured priority
227 strings from. That can be used to impose system specific policies.
229 ** libgnutls: Increased the default security level of priority
230 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
231 and set a verification profile by default. The LEGACY keyword is
232 introduced to set the old defaults.
234 ** libgnutls: Added support for the name constraints PKIX extension.
235 Currently only DNS names and e-mails are supported (no URIs, IPs
238 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
239 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
241 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
242 This API handles the X.509 extensions in isolation, allowing to parse
243 similarly formatted extensions stored in other structures.
245 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
246 can be used to specify a particular subgroup as the number of bits in
247 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
249 ** libgnutls: DH parameter generation is now delegated to nettle.
250 That unfortunately has the side-effect that DH parameters longer than
251 3072 bits, cannot be generated (not without a nettle update).
253 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
254 random number generator is based on salsa20/12.
256 ** libgnutls: The buffer alignment provided to crypto backend is
257 enforced to be 16-byte aligned, when compiled with cryptodev
258 support. That allows certain cryptodev drivers to operate more
261 ** libgnutls: Return error when a public/private key pair that doesn't
262 match is set into a credentials structure.
264 ** libgnutls: Depend on p11-kit 0.20.0 or later.
266 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
267 been removed. It was not approved by IETF.
269 ** libgnutls: The experimental xssl library is removed from the gnutls
272 ** libgnutls: Reduced the number of gnulib modules used in the main library.
274 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
276 ** libgnutls: Added the more extensible verification function
277 gnutls_certificate_verify_peers(), that allows checking, in addition
278 to a peer's DNS hostname, for the key purpose of the end certificate
279 (via PKIX extended key usage).
281 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
282 and in batch mode to 12 (appended with 4 random bytes).
284 ** certtool: When no CRL number is provided (or value set to -1), then
285 a time-based number will be used, similarly to the serial generation
286 number in certificates.
288 ** certtool: Print the SHA256 fingerprint of a certificate in addition
291 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
292 That option enables (when running on FIPS140-enabled system):
293 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
294 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
295 o Self-tests on initialization on ciphers/MACs, public key algorithms
296 and the random generator.
297 o HMAC-SHA256 verification of the library on load.
298 o MD5 is included for TLS purposes but cannot be used by the high level
300 o All ciphers except AES are disabled.
301 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
302 o All keys (temporal and long term) are zeroized after use.
303 o Security levels are adjusted to the FIPS140-2 recommendations (rather
306 ** API and ABI modifications:
307 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
308 gnutls_certificate_verify_peers: Added
309 gnutls_privkey_generate: Added
310 gnutls_pkcs11_crt_is_known: Added
311 gnutls_fips140_mode_enabled: Added
312 gnutls_sec_param_to_symmetric_bits: Added
313 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
314 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
315 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
316 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
317 gnutls_pubkey_verify_params: Added
318 gnutls_privkey_export_ecc_raw: Added
319 gnutls_privkey_export_dsa_raw: Added
320 gnutls_privkey_export_rsa_raw: Added
321 gnutls_privkey_import_ecc_raw: Added
322 gnutls_privkey_import_dsa_raw: Added
323 gnutls_privkey_import_rsa_raw: Added
324 gnutls_privkey_verify_params: Added
325 gnutls_x509_crt_check_hostname2: Added
326 gnutls_openpgp_crt_check_hostname2: Added
327 gnutls_x509_name_constraints_init: Added
328 gnutls_x509_name_constraints_deinit: Added
329 gnutls_x509_crt_get_name_constraints: Added
330 gnutls_x509_name_constraints_add_permitted: Added
331 gnutls_x509_name_constraints_add_excluded: Added
332 gnutls_x509_crt_set_name_constraints: Added
333 gnutls_x509_name_constraints_get_permitted: Added
334 gnutls_x509_name_constraints_get_excluded: Added
335 gnutls_x509_name_constraints_check: Added
336 gnutls_x509_name_constraints_check_crt: Added
337 gnutls_x509_crl_get_extension_data2: Added
338 gnutls_x509_crt_get_extension_data2: Added
339 gnutls_x509_crq_get_extension_data2: Added
340 gnutls_subject_alt_names_init: Added
341 gnutls_subject_alt_names_deinit: Added
342 gnutls_subject_alt_names_get: Added
343 gnutls_subject_alt_names_set: Added
344 gnutls_x509_ext_import_subject_alt_names: Added
345 gnutls_x509_ext_export_subject_alt_names: Added
346 gnutls_x509_crl_dist_points_init: Added
347 gnutls_x509_crl_dist_points_deinit: Added
348 gnutls_x509_crl_dist_points_get: Added
349 gnutls_x509_crl_dist_points_set: Added
350 gnutls_x509_ext_import_crl_dist_points: Added
351 gnutls_x509_ext_export_crl_dist_points: Added
352 gnutls_x509_ext_import_name_constraints: Added
353 gnutls_x509_ext_export_name_constraints: Added
354 gnutls_x509_aia_init: Added
355 gnutls_x509_aia_deinit: Added
356 gnutls_x509_aia_get: Added
357 gnutls_x509_aia_set: Added
358 gnutls_x509_ext_import_aia: Added
359 gnutls_x509_ext_export_aia: Added
360 gnutls_x509_ext_import_subject_key_id: Added
361 gnutls_x509_ext_export_subject_key_id: Added
362 gnutls_x509_ext_export_authority_key_id: Added
363 gnutls_x509_ext_import_authority_key_id: Added
364 gnutls_x509_aki_init: Added
365 gnutls_x509_aki_get_id: Added
366 gnutls_x509_aki_get_cert_issuer: Added
367 gnutls_x509_aki_set_id: Added
368 gnutls_x509_aki_set_cert_issuer: Added
369 gnutls_x509_aki_deinit: Added
370 gnutls_x509_ext_import_private_key_usage_period: Added
371 gnutls_x509_ext_export_private_key_usage_period: Added
372 gnutls_x509_ext_import_basic_constraints: Added
373 gnutls_x509_ext_export_basic_constraints: Added
374 gnutls_x509_ext_import_key_usage: Added
375 gnutls_x509_ext_export_key_usage: Added
376 gnutls_x509_ext_import_proxy: Added
377 gnutls_x509_ext_export_proxy: Added
378 gnutls_x509_policies_init: Added
379 gnutls_x509_policies_deinit: Added
380 gnutls_x509_policies_get: Added
381 gnutls_x509_policies_set: Added
382 gnutls_x509_ext_import_policies: Added
383 gnutls_x509_ext_export_policies: Added
384 gnutls_x509_key_purpose_init: Added
385 gnutls_x509_key_purpose_deinit: Added
386 gnutls_x509_key_purpose_set: Added
387 gnutls_x509_key_purpose_get: Added
388 gnutls_x509_ext_import_key_purposes: Added
389 gnutls_x509_ext_export_key_purposes: Added
390 gnutls_digest_self_test: Added (conditionally)
391 gnutls_mac_self_test: Added (conditionally)
392 gnutls_pk_self_test: Added (conditionally)
393 gnutls_cipher_self_test: Added (conditionally)
394 gnutls_global_set_mem_functions: Deprecated
397 * Version 3.2.6 (released 2013-10-31)
399 ** libgnutls: Support for TPM via trousers is now enabled by default.
401 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
402 GCM mode is prioritized over CBC in all of the default priority strings.
404 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
406 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
407 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
408 Reported by Stefan Buehler.
410 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
412 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
415 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
416 Contributed by Wolfgang Meyer zu Bergsten.
420 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
421 previous fix. Reported by Tomas Mraz.
423 ** p11tool: Added option generate-random.
425 ** API and ABI modifications:
426 gnutls_pkcs11_token_get_random: Added
429 * Version 3.2.5 (released 2013-10-23)
431 ** libgnutls: Documentation and build-time fixes.
433 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
435 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
436 as well as Camellia with GCM.
438 ** libdane: Added interfaces to allow initialization of dane_query_t from
439 external DNS resolutions, and to allow direct verification of a certificate
440 chain against a dane_query_t. Contributed by Christian Grothoff.
442 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
443 triggered by a DNS server supplying more than 4 DANE records. Report and fix
444 by Christian Grothoff.
446 ** srptool: Fixed index command line option. Patch by Attila Molnar.
448 ** gnutls-cli: Added support for inline commands, using the
449 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
451 ** certtool: pathlen constraint is now read correctly. Reported by
454 ** API and ABI modifications:
455 gnutls_certificate_get_crt_raw: Added
456 dane_verify_crt_raw: Added
460 * Version 3.2.4 (released 2013-08-31)
462 ** libgnutls: Fixes when session tickets and session DB are used.
463 Report and initial patch by Stefan Buehler.
465 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
466 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
468 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
471 ** libgnutls: Added the PFS priority string option.
473 ** libgnutls: Gnulib included files are strictly LGPLv2.
475 ** libgnutls: Corrected gnutls_certificate_server_set_request().
476 Reported by Petr Pisar.
478 ** API and ABI modifications:
479 gnutls_record_set_timeout: Exported
482 * Version 3.2.3 (released 2013-07-30)
484 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
486 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
487 (this fixes a bug that was accidentally introduced in 3.2.2)
489 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
492 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
495 ** API and ABI modifications:
496 gnutls_priority_kx_list: Added
497 gnutls_priority_mac_list: Added
498 gnutls_priority_cipher_list: Added
501 * Version 3.2.2 (released 2013-07-14)
503 ** libgnutls: Several optimizations in the related to packet processing
506 ** libgnutls: DTLS replay detection can now be disabled (to be used
507 in certain transport layers like SCTP).
509 ** libgnutls: Fixes in SRTP extension generation when MKI is being
512 ** libgnutls: Added ability to set hooks before or after sending or receiving
513 any handshake message with gnutls_handshake_set_hook_function().
515 ** API and ABI modifications:
516 GNUTLS_NO_REPLAY_PROTECTION: Added
517 gnutls_certificate_set_trust_list: Added
518 gnutls_cipher_get_tag_size: Added
519 gnutls_record_overhead_size: Added
520 gnutls_est_record_overhead_size: Added
521 gnutls_handshake_set_hook_function: Added
522 gnutls_handshake_description_get_name: Added
523 gnutls_digest_list: Added
524 gnutls_digest_get_id: Added
525 gnutls_digest_get_name: Added
528 * Version 3.2.1 (released 2013-06-01)
530 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
533 ** libgnutls: Fixes in interrupted function resumption. Report
534 and patch by Tim Kosse.
536 ** libgnutls: Corrected issue when receiving client hello verify requests
539 ** libgnutls: Fixes in DTLS record overhead size calculations.
541 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
544 ** API and ABI modifications:
545 gnutls_session_set_id: Added
548 * Version 3.2.0 (released 2013-05-10)
550 ** libgnutls: Use nettle's elliptic curve implementation.
552 ** libgnutls: Added Salsa20 cipher
554 ** libgnutls: Added UMAC-96 and UMAC-128
556 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
557 As they are not standardized they are defined using private ciphersuite
560 ** libgnutls: Added support for DTLS 1.2.
562 ** libgnutls: Added support for the Application Layer Protocol Negotiation
565 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
567 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
568 linking to pthreads if p11-kit isn't used).
570 ** API and ABI modifications:
571 gnutls_cipher_get_iv_size: Added
572 gnutls_hmac_set_nonce: Added
573 gnutls_mac_get_nonce_size: Added
576 * Version 3.1.10 (released 2013-03-22)
578 ** certtool: When generating PKCS #12 files use by default the
579 ARCFOUR (RC4) cipher to be compatible with devices that don't
580 support AES with PKCS #12.
582 ** libgnutls: Load CA certificates in android 4.x systems.
584 ** libgnutls: Optimized CA certificate loading.
586 ** libgnutls: Private keys are overwritten on deinitialization.
588 ** libgnutls: PKCS #11 slots are scanned only when needed, not
589 on initialization. This speeds up gnutls initialization when smart
592 ** libgnutls: Corrected issue in the (deprecated) external key
593 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
595 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
598 ** libgnutls-dane: Updated DANE verification options.
600 ** configure: Trust store file must be explicitly set or unset when
603 ** API and ABI modifications:
604 gnutls_x509_crt_get_issuer_dn2: Added
605 gnutls_x509_crt_get_dn2: Added
606 gnutls_x509_crl_get_issuer_dn2: Added
607 gnutls_x509_crq_get_dn2: Added
608 gnutls_x509_trust_list_remove_trust_mem: Added
609 gnutls_x509_trust_list_remove_trust_file: Added
610 gnutls_x509_trust_list_remove_cas: Added
611 gnutls_session_get_desc: Added
612 gnutls_privkey_sign_raw_data: Added
613 gnutls_privkey_status: Added
616 * Version 3.1.9 (released 2013-02-27)
618 ** certtool: Option --to-p12 will now ask for a password to generate
619 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
621 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
623 ** libgnutls: Corrected parsing issue in XMPP within a subject
624 alternative name. Reported by James Cloos.
626 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
627 modules, and not only the ones loaded via p11-kit.
629 ** libgnutls: Added function to check whether the private key is
630 still available (inserted).
632 ** libgnutls: Try to detect fork even during nonce generation.
634 ** API and ABI modifications:
635 gnutls_handshake_set_random: Added
636 gnutls_transport_set_int2: Added
637 gnutls_transport_get_int2: Added
638 gnutls_transport_get_int: Added
639 gnutls_record_cork: Exported
640 gnutls_record_uncork: Exported
641 gnutls_pkcs11_privkey_status: Added
644 * Version 3.1.8 (released 2013-02-10)
646 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
647 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
648 with encrypted keys. Reported by Yan Fiz.
650 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
651 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
654 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
655 to operate with long keys. Reported by Erik A Jensen.
657 ** API and ABI modifications:
658 No changes since last version.
661 * Version 3.1.7 (released 2013-02-04)
663 ** certtool: Added option "dn" which allows to directly set the DN
664 in a template from an RFC4514 string.
666 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
668 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
670 ** libgnutls-dane: Added function to specify a DLV file.
672 ** libgnutls: Heartbeat code was made optional.
674 ** libgnutls: Fixes in server side of DTLS-0.9.
676 ** libgnutls: DN variable 'T' was expanded to 'title'.
678 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
679 Issue reported by Kenny Paterson and Nadhem Alfardan.
681 ** libgnutls: Added functions to directly set the DN in a certificate
682 or request from an RFC4514 string.
684 ** libgnutls: Optimizations in the random generator. The re-seeding of
685 it is now explicitly done on every session deinit.
687 ** libgnutls: Simplified the DTLS sliding window implementation.
689 ** libgnutls: The minimum DH bits accepted by a client are now set
690 by the specified priority string. The current values correspond to the
691 previous defaults (727 bits), except for the SECURE128 and SECURE192
692 strings which increase the minimum to 1248 and 1776 respectively.
694 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
695 buffering in sending application data.
697 ** libgnutls: Removed default random padding, and added a length-hiding interface
698 instead. Both the server and the client must support this extension. Whether
699 length-hiding can be used on a given session can be checked using
700 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
702 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
703 a new padding mechanism in TLS allowing arbitrary padding in TLS records
704 in all ciphersuites, which makes length-hiding more efficient and solves
705 the issues with timing attacks on CBC ciphersuites.
707 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
708 ciphers (i.e., AES-GCM). Reported by William McGovern.
710 ** API and ABI modifications:
711 gnutls_db_check_entry_time: Added
712 gnutls_record_set_timeout: Added
713 gnutls_record_get_random_padding_status: Added
714 gnutls_x509_crt_set_dn: Added
715 gnutls_x509_crt_set_issuer_dn: Added
716 gnutls_x509_crq_set_dn: Added
717 gnutls_range_split: Added
718 gnutls_record_send_range: Added
719 gnutls_record_set_max_empty_records: Added
720 gnutls_record_can_use_length_hiding: Added
721 gnutls_rnd_refresh: Added
729 xssl_client_init: Added
730 xssl_server_init: Added
731 xssl_get_session: Added
732 xssl_get_verify_status: Added
733 xssl_cred_init: Added
734 xssl_cred_deinit: Added
735 dane_state_set_dlv_file: Added
736 GNUTLS_SEC_PARAM_EXPORT: Added
737 GNUTLS_SEC_PARAM_VERY_WEAK: Added
740 * Version 3.1.6 (released 2013-01-02)
742 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
743 Paterson and Nadhem Alfardan.
745 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
747 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
750 ** libgnutls: Ignore heartbeat messages when received out-of-order,
751 instead of issuing an error.
753 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
756 ** libgnutls: TPM support is disabled by default because GPL programs
757 cannot link with it. Use --with-tpm to enable it.
759 ** libgnutls-guile: Fixed parallel compilation issue.
761 ** gnutls-cli: It will try to connect to all possible returned addresses
764 ** API and ABI modifications:
765 No changes since last version.
768 * Version 3.1.5 (released 2012-11-24)
770 ** libgnutls: Added functions to parse the certificates policies
773 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
774 Name by translating it to UTF-8 (works on windows or systems with iconv).
776 ** libgnutls: Added PKCS #11 key generation function that returns the
777 public key on generation.
779 ** libgnutls: Corrected bug in priority string parsing, that mostly
780 affected combined levels. Patch by Tim Kosse.
782 ** certtool: The --pubkey-info option can be combined with the
783 --load-privkey or --load-request to print the corresponding public keys.
785 ** certtool: It is able to set certificate policies via a template.
787 ** certtool: Added --hex-numbers option which prints big numbers in
788 an easier to parse format.
790 ** p11tool: After key generation, outputs the public key (useful in
791 tokens that do not store the public key).
793 ** danetool: It is being built even without libgnutls-dane (the
794 --check functionality is disabled though).
796 ** API and ABI modifications:
797 gnutls_pkcs11_privkey_generate2: Added
798 gnutls_x509_crt_get_policy: Added
799 gnutls_x509_crt_set_policy: Added
800 gnutls_x509_policy_release: Added
801 gnutls_pubkey_import_x509_crq: Added
802 gnutls_pubkey_print: Added
803 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
806 * Version 3.1.4 (released 2012-11-10)
808 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
809 the available revocation data validity.
811 ** libgnutls: Added gnutls_certificate_verification_status_print(),
812 a function to print the verification status code in human readable text.
814 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
816 ** libgnutls: Simplified certificate verification by adding
817 gnutls_certificate_verify_peers3().
819 ** libgnutls: Added support for extension to establish keys for SRTP.
820 Contributed by Martin Storsjo.
822 ** libgnutls: The X.509 verification functions check the key
823 usage bits and pathlen constraints and on failure output
824 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
826 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
828 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
829 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
831 ** libgnutls: Always tolerate key usage violation errors from the side
832 of the peer, but also notify via an audit message.
834 ** gnutls-cli: Added --local-dns option.
836 ** danetool: Corrected bug that prevented loading PEM files.
838 ** danetool: Added --check option to allow querying and verifying
841 ** libgnutls-dane: Added pkg-config file for the library.
843 ** API and ABI modifications:
844 gnutls_session_get_id2: Added
845 gnutls_sign_is_secure: Added
846 gnutls_certificate_verify_peers3: Added
847 gnutls_ocsp_status_request_is_checked: Added
848 gnutls_certificate_verification_status_print: Added
849 gnutls_srtp_set_profile: Added
850 gnutls_srtp_set_profile_direct: Added
851 gnutls_srtp_get_selected_profile: Added
852 gnutls_srtp_get_profile_name: Added
853 gnutls_srtp_get_profile_id: Added
854 gnutls_srtp_get_keys: Added
855 gnutls_srtp_get_mki: Added
856 gnutls_srtp_set_mki: Added
857 gnutls_srtp_profile_t: Added
858 dane_cert_type_name: Added
859 dane_match_type_name: Added
860 dane_cert_usage_name: Added
861 dane_verification_status_print: Added
862 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
863 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
864 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
865 GNUTLS_CERT_UNEXPECTED_OWNER: Added
866 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
869 * Version 3.1.3 (released 2012-10-12)
871 ** libgnutls: Added support for the OCSP Certificate Status
874 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
875 certificate status extension in verification.
877 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
879 ** libgnutls: Increased maximum password length in the PKCS #12
882 ** libgnutls: Fixed the receipt of session tickets during session resumption.
883 Reported by danblack at http://savannah.gnu.org/support/?108146
885 ** libgnutls: Added functions to export structures in an allocated buffer.
887 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
888 response corresponds to the given certificate.
890 ** libgnutls: In client side gnutls_init() enables the session ticket and
891 OCSP certificate status request extensions by default. The flag
892 GNUTLS_NO_EXTENSIONS can be used to prevent that.
894 ** libgnutls: Several updates in the OpenPGP code. The generating code
895 is fully RFC6091 compliant and RFC5081 support is only supported in client
898 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
899 certificate verification.
901 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
903 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
905 ** API and ABI modifications:
906 gnutls_certificate_get_peers_subkey_id: Added
907 gnutls_certificate_set_ocsp_status_request_function: Added
908 gnutls_certificate_set_ocsp_status_request_file: Added
909 gnutls_ocsp_status_request_enable_client: Added
910 gnutls_ocsp_status_request_get: Added
911 gnutls_ocsp_resp_check_crt: Added
912 gnutls_dh_params_export2_pkcs3: Added
913 gnutls_pubkey_export2: Added
914 gnutls_x509_crt_export2: Added
915 gnutls_x509_dn_export2: Added
916 gnutls_x509_crl_export2: Added
917 gnutls_pkcs7_export2: Added
918 gnutls_x509_privkey_export2: Added
919 gnutls_x509_privkey_export2_pkcs8: Added
920 gnutls_x509_crq_export2: Added
921 gnutls_openpgp_crt_export2: Added
922 gnutls_openpgp_privkey_export2: Added
923 gnutls_pkcs11_obj_export2: Added
924 gnutls_pkcs12_export2: Added
925 gnutls_pubkey_import_openpgp_raw: Added
926 gnutls_pubkey_import_x509_raw: Added
927 dane_state_init: Added
928 dane_state_deinit: Added
929 dane_query_tlsa: Added
930 dane_query_status: Added
931 dane_query_entries: Added
932 dane_query_data: Added
933 dane_query_deinit: Added
934 dane_verify_session_crt: Added
935 dane_verify_crt: Added
939 * Version 3.1.2 (released 2012-09-26)
941 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
942 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
943 of certificates in the windows platform.
945 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
947 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
948 (the work was done during Google Summer of Code).
950 ** libgnutls: Added X.509 certificate verification flag
951 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
952 of unsorted certificate chains and is enabled by default for
953 TLS certificate verification (if gnutls_certificate_set_verify_flags()
954 does not override it).
956 ** libgnutls: Prints warning on certificates that contain keys of
957 an insecure level. If the %COMPAT priority flag is not specified
958 the TLS connection fails.
960 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
961 if interrupted during the retrasmition of handshake data.
963 ** libgnutls: Better mingw32 support (patch by LRN).
965 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
966 key usage violation errors (they are far too common to ignore).
968 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
969 which provides a tool to counter compression-related attacks where
970 parts of the data are controlled by the attacker _and_ are placed in
971 separate records (use with care - do not use compression if not sure).
973 ** libgnutls: Depends on libtasn1 2.14 or later.
975 ** certtool: Prints the number of bits of the public key algorithm
976 parameter in a private key.
978 ** API and ABI modifications:
979 gnutls_x509_privkey_get_pk_algorithm2: Added
980 gnutls_heartbeat_ping: Added
981 gnutls_heartbeat_pong: Added
982 gnutls_heartbeat_allowed: Added
983 gnutls_heartbeat_enable: Added
984 gnutls_heartbeat_set_timeouts: Added
985 gnutls_heartbeat_get_timeout: Added
986 GNUTLS_SEC_PARAM_WEAK: Added
987 GNUTLS_SEC_PARAM_INSECURE: Added
989 * Version 3.1.1 (released 2012-09-02)
991 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
993 ** certtool: Changes in password handling of certtool.
994 Ask password when required and only if the '--password' option is not
995 given. If the '--password' option is given during key generation then
996 assume the PKCS #8 file format, instead of ignoring the password.
998 ** tpmtool: No longer asks for key password in registered keys.
1000 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1001 wmNAF is now used for point multiplication and other optimizations.
1002 (the major part of the work was done during Google Summer of Code).
1004 ** libgnutls: The default pull_timeout_function only uses select
1005 instead of a combination of select() and recv() to prevent issues
1006 when used in stream sockets in some systems.
1008 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1009 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1012 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1013 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1014 me with ECDSA capable smart cards.
1016 ** API and ABI modifications:
1017 gnutls_sign_algorithm_get: Added
1018 gnutls_sign_get_hash_algorithm: Added
1019 gnutls_sign_get_pk_algorithm: Added
1022 * Version 3.1.0 (released 2012-08-15)
1024 ** libgnutls: Added direct support for TPM as a cryptographic module
1025 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1026 using URLs of the following types:
1027 tpmkey:file=/path/to/file
1028 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1030 ** libgnutls: Priority string level keywords can be combined.
1031 For example the string "SECURE256:+SUITEB128" is now allowed.
1033 ** libgnutls: requires libnettle 2.5.
1035 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1036 for encryption and signatures.
1038 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1039 generic errors and signature verification errors in the verification
1042 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1043 to simplify parsing in most PKCS #12 use cases.
1045 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1046 the whole certificate chain (if any) to the credentials structure, instead
1047 of only the end-user certificate.
1049 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1050 and gnutls_x509_privkey_import_pkcs8(), return consistently
1051 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1052 password was provided.
1054 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1055 allows to set the maximum time spent in a handshake.
1057 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1060 ** tpmtool: Added. It is a tool to generate private keys in the
1063 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1064 and --benchmark-tls-ciphers
1066 ** certtool: generated PKCS #12 structures may hold more than one
1067 private key. Patch by Lucas Fisher.
1069 ** certtool: Added option --null-password to generate/decrypt keys
1070 that use a NULL password (in schemas that distinguish between NULL
1071 an empty passwords).
1073 ** minitasn1: Upgraded to libtasn1 version 2.13.
1075 ** API and ABI modifications:
1076 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1077 GNUTLS_CAMELLIA_192_CBC: Added
1078 GNUTLS_PKCS_NULL_PASSWORD: Added
1079 gnutls_url_is_supported: Added
1080 gnutls_pkcs11_obj_list_import_url2: Added
1081 gnutls_pkcs11_obj_set_pin_function: Added
1082 gnutls_pkcs11_privkey_set_pin_function: Added
1083 gnutls_pkcs11_get_pin_function: Added
1084 gnutls_privkey_import_tpm_raw: Added
1085 gnutls_privkey_import_tpm_url: Added
1086 gnutls_privkey_import_pkcs11_url: Added
1087 gnutls_privkey_import_openpgp_raw: Added
1088 gnutls_privkey_import_x509_raw: Added
1089 gnutls_privkey_import_ext2: Added
1090 gnutls_privkey_import_url: Added
1091 gnutls_privkey_set_pin_function: Added
1092 gnutls_tpm_privkey_generate: Added
1093 gnutls_tpm_key_list_deinit: Added
1094 gnutls_tpm_key_list_get_url: Added
1095 gnutls_tpm_get_registered: Added
1096 gnutls_tpm_privkey_delete: Added
1097 gnutls_pubkey_import_tpm_raw: Added
1098 gnutls_pubkey_import_tpm_url: Added
1099 gnutls_pubkey_import_url: Added
1100 gnutls_pubkey_verify_hash2: Added
1101 gnutls_pubkey_set_pin_function: Added
1102 gnutls_x509_privkey_import2: Added
1103 gnutls_x509_privkey_import_openssl: Added
1104 gnutls_x509_crt_set_pin_function: Added
1105 gnutls_load_file: Added
1106 gnutls_pkcs12_simple_parse: Added
1107 gnutls_certificate_set_x509_system_trust: Added
1108 gnutls_certificate_set_pin_function: Added
1109 gnutls_x509_trust_list_add_system_trust: Added
1110 gnutls_x509_trust_list_add_trust_file: Added
1111 gnutls_x509_trust_list_add_trust_mem: Added
1112 gnutls_pk_to_sign: Added
1113 gnutls_handshake_set_timeout: Added
1114 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1115 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1118 * Version 3.0.22 (released 2012-08-04)
1120 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1121 is now supported on OpenBSD.
1123 ** libgnutls: When verifying a certificate chain make sure it is chain.
1124 If the chain is wronly interrupted at some point then truncate it,
1125 and only try to verify the correct part. Patch by David Woodhouse
1127 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1128 which now may (again) accept a NULL password.
1130 ** certtool: Allow the user to choose the hash algorithm
1131 when signing certificate request or certificate revocation list.
1132 Patch by Petr Písař.
1134 ** API and ABI modifications:
1135 No changes since last version.
1138 * Version 3.0.21 (released 2012-07-02)
1140 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1141 that prevented the loading of EC private keys when DER
1142 encoded. Reported by David Woodhouse.
1144 ** libgnutls: In DTLS larger to mtu records result to
1145 GNUTLS_E_LARGE_PACKET instead of being truncated.
1147 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1148 on patch by David Woodhouse.
1150 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1152 ** libgnutls: Added support for an old version of the DTLS protocol
1153 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1154 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1157 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1158 if only the label is specified. Patch by David Woodhouse.
1160 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1163 ** API and ABI modifications:
1164 gnutls_dtls_set_data_mtu: Added
1165 gnutls_session_set_premaster: Added
1168 * Version 3.0.20 (released 2012-06-05)
1170 ** libgnutls: Corrected bug which prevented the parsing of
1171 handshake packets spanning multiple records.
1173 ** libgnutls: Check key identifiers when checking for an issuer.
1175 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1177 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1178 that loads the trusted CA certificates from system locations
1179 (e.g. trusted storage in windows and CA bundle files in other systems).
1181 ** certtool: Added support for the URI subject alternative
1182 name type in certtool.
1184 ** certtool: Increase to 128 the maximum number of distinct options
1185 (e.g. dns_names) allowed.
1187 ** gnutls-cli: If --print-cert is given, print the certificate,
1188 even on verification failure.
1190 ** API and ABI modifications:
1191 gnutls_pk_to_sign: Added
1192 gnutls_pubkey_verify_hash2: Added
1193 gnutls_certificate_set_x509_system_trust: Added
1196 * Version 3.0.19 (released 2012-04-22)
1198 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1199 is assumed to be a file that stores the pin. Based on patch
1202 ** libgnutls: gnutls_record_check_pending() no longer
1203 returns unprocessed data, and thus ensure the non-blocking
1204 of the next call to gnutls_record_recv().
1206 ** libgnutls: Added strict tests in Diffie-Hellman and
1207 SRP key exchange public keys.
1209 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1210 strict in hash selection, and allow a stronger hash to
1211 be used than the appropriate, to improve interoperability
1214 ** tests: Disabled floating point test, and corrections
1215 in pkcs12 decoding tests.
1217 ** API and ABI modifications:
1218 No changes since last version.
1221 * Version 3.0.18 (released 2012-04-02)
1223 ** certtool: Avoid a Y2K38 bug when generating certificates.
1224 Patch by Robert Millan.
1226 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1227 is returned on premature termination (and added unit test).
1229 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1231 ** libgnutls: Corrected VIA padlock detection for old
1232 VIA processors. Reported by Kris Karas.
1234 ** libgnutls: Updated assembler files.
1236 ** libgnutls: Time in generated certificates is stored
1237 as GeneralizedTime instead of UTCTime (which only stores
1238 2 digits of a year).
1240 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1242 ** API and ABI modifications:
1243 gnutls_x509_crt_set_private_key_usage_period: Added
1244 gnutls_x509_crt_get_private_key_usage_period: Added
1245 gnutls_x509_crq_set_private_key_usage_period: Added
1246 gnutls_x509_crq_get_private_key_usage_period: Added
1247 gnutls_session_get_random: Added
1250 * Version 3.0.17 (released 2012-03-17)
1252 ** command line apps: Always link with local libopts.
1254 ** API and ABI modifications:
1255 No changes since last version.
1258 * Version 3.0.16 (released 2012-03-16)
1260 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1262 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1264 ** libgnutls: included assembler files for MacOSX.
1266 ** p11tool: Small fixes in handling of the --private command
1269 ** certtool: The template option allows for setting the domain
1270 component (DC) option of the distinguished name, and the ocsp_uri
1271 as well as the ca_issuers_uri options.
1273 ** API and ABI modifications:
1274 gnutls_x509_crt_set_authority_info_access: Added
1277 * Version 3.0.15 (released 2012-03-02)
1279 ** test suite: Only run under valgrind in the development
1280 system (the full git repository)
1282 ** command line apps: Link with local libopts if the
1283 installed is an old one.
1285 ** libgnutls: Eliminate double free during SRP
1286 authentication. Reported by Peter Penzov.
1288 ** libgnutls: Corrections in record packet parsing.
1289 Reported by Matthew Hall.
1291 ** libgnutls: Cryptodev updates and fixes.
1293 ** libgnutls: Corrected issue with select() that affected
1294 FreeBSD. This prevented establishing DTLS sessions.
1295 Reported by Andreas Metzler.
1297 ** libgnutls: Corrected rehandshake and resumption
1298 operations in DTLS. Reported by Sean Buckheister.
1300 ** libgnutls: PKCS #11 objects that do not have ID
1301 no longer crash listing. Reported by Sven Geggus.
1303 ** API and ABI modifications:
1304 No changes since last version.
1307 * Version 3.0.14 (released 2012-02-24)
1309 ** command line apps: Included libopts doesn't get installed
1312 ** libgnutls: Eliminate double free on wrongly formatted
1313 certificate list. Reported by Remi Gacogne.
1315 ** libgnutls: cryptodev code corrected, updated to account
1316 for hashes and GCM mode.
1318 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1319 Report and fix by Sam Varshavchik.
1321 ** API and ABI modifications:
1322 No changes since last version.
1325 * Version 3.0.13 (released 2012-02-18)
1327 ** gnutls-cli: added the --ocsp option which will verify
1328 the peer's certificate with OCSP.
1330 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1331 will use an ssh-style authentication method.
1333 ** gnutls-cli: if no --x509cafile is provided a default is
1334 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1336 ** ocsptool: Added --ask parameter, to verify a certificate's
1337 status from an ocsp server.
1339 ** command line apps: Use gnu autogen (libopts) to parse command
1340 line arguments and template files.
1342 ** tests: Added stress test for DTLS packet losses and
1343 out-of-order receival. Contributed by Sean Buckheister.
1345 ** libgnutls: Several updates and corrections in the DTLS
1346 DTLS lost packet handling and retransmission timeouts.
1347 Report and patches by Sean Buckheister.
1349 ** libgnutls: Added new functions to easily allow the usage of
1350 a trust on first use (SSH-style) authentication.
1352 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1353 for the RFC6460 requirements.
1355 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1356 to account for security level of 96-bits.
1358 ** libgnutls: In client side if server does not advertise any
1359 known CAs and only a single certificate is set in the credentials,
1362 ** libgnutls: Added functions to parse authority key identifiers
1363 when stored as a 'general name' and serial combo.
1365 ** libgnutls: Added function to force explicit reinitialization
1366 of PKCS #11 modules. This is required on the child process after
1367 a fork (if PKCS #11 functionality is desirable).
1369 ** libgnutls: Depend on p11-kit 0.11.
1371 ** API and ABI modifications:
1372 gnutls_dtls_get_timeout: Added
1373 gnutls_verify_stored_pubkey: Added
1374 gnutls_store_pubkey: Added
1375 gnutls_store_commitment: Added
1376 gnutls_x509_crt_get_authority_key_gn_serial: Added
1377 gnutls_x509_crl_get_authority_key_gn_serial: Added
1378 gnutls_pkcs11_reinit: Added
1379 gnutls_ecc_curve_list: Added
1380 gnutls_priority_certificate_type_list: Added
1381 gnutls_priority_sign_list: Added
1382 gnutls_priority_protocol_list: Added
1383 gnutls_priority_compression_list: Added
1384 gnutls_priority_ecc_curve_list: Added
1385 gnutls_tdb_init: Added
1386 gnutls_tdb_set_store_func: Added
1387 gnutls_tdb_set_store_commitment_func: Added
1388 gnutls_tdb_set_verify_func: Added
1389 gnutls_tdb_deinit: Added
1392 * Version 3.0.12 (released 2012-01-20)
1394 ** libgnutls: Added OCSP support.
1395 There is a new header file gnutls/ocsp.h and a set of new functions
1396 under the gnutls_ocsp namespace. Currently the functionality provided
1397 is to parse and extract information from OCSP requests/responses, to
1398 generate OCSP requests and to verify OCSP responses. See the manual
1399 for more information. Run ./configure with --disable-ocsp to build
1400 GnuTLS without OCSP support.
1402 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1404 ** ocsptool: Added new command line tool.
1405 The tool can parse OCSP request/responses, generate OCSP requests and
1406 verify OCSP responses. See the manual for more information.
1408 ** certtool: --outder option now works for private
1409 and public keys as well.
1411 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1412 to warn when no or insufficient priorities were set.
1414 ** libgnutls: Corrected an alignment issue in ECDH
1415 key generation which prevented some keys from being
1416 correctly aligned in rare circumstances.
1418 ** libgnutls: Corrected memory leaks in DH parameter
1419 generation and ecc_projective_check_point().
1421 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1422 return a descriptive name of a DN OID.
1424 ** API and ABI modifications:
1425 gnutls_pubkey_encrypt_data: Added
1426 gnutls_x509_dn_oid_name: Added
1427 gnutls_session_resumption_requested: Added
1428 gnutls/ocsp.h: Added new header file.
1429 gnutls_ocsp_print_formats_t: Added new type.
1430 gnutls_ocsp_resp_status_t: Added new type.
1431 gnutls_ocsp_cert_status_t: Added new type.
1432 gnutls_x509_crl_reason_t: Added new type.
1433 gnutls_ocsp_req_add_cert: Added.
1434 gnutls_ocsp_req_add_cert_id: Added.
1435 gnutls_ocsp_req_deinit: Added.
1436 gnutls_ocsp_req_export: Added.
1437 gnutls_ocsp_req_get_cert_id: Added.
1438 gnutls_ocsp_req_get_extension: Added.
1439 gnutls_ocsp_req_get_nonce: Added.
1440 gnutls_ocsp_req_get_version: Added.
1441 gnutls_ocsp_req_import: Added.
1442 gnutls_ocsp_req_init: Added.
1443 gnutls_ocsp_req_print: Added.
1444 gnutls_ocsp_req_randomize_nonce: Added.
1445 gnutls_ocsp_req_set_extension: Added.
1446 gnutls_ocsp_req_set_nonce: Added.
1447 gnutls_ocsp_resp_deinit: Added.
1448 gnutls_ocsp_resp_export: Added.
1449 gnutls_ocsp_resp_get_certs: Added.
1450 gnutls_ocsp_resp_get_extension: Added.
1451 gnutls_ocsp_resp_get_nonce: Added.
1452 gnutls_ocsp_resp_get_produced: Added.
1453 gnutls_ocsp_resp_get_responder: Added.
1454 gnutls_ocsp_resp_get_response: Added.
1455 gnutls_ocsp_resp_get_signature: Added.
1456 gnutls_ocsp_resp_get_signature_algorithm: Added.
1457 gnutls_ocsp_resp_get_single: Added.
1458 gnutls_ocsp_resp_get_status: Added.
1459 gnutls_ocsp_resp_get_version: Added.
1460 gnutls_ocsp_resp_import: Added.
1461 gnutls_ocsp_resp_init: Added.
1462 gnutls_ocsp_resp_print: Added.
1463 gnutls_ocsp_resp_verify: Added.
1465 * Version 3.0.11 (released 2012-01-06)
1467 ** libgnutls: Corrected functionality of
1468 gnutls_record_get_direction(). Reported by Philip Allison.
1470 ** libgnutls: Provide less timing information when decoding
1471 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1473 ** API and ABI modifications:
1474 No changes since last version.
1477 * Version 3.0.10 (released 2012-01-04)
1479 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1480 in Linux as well as in BSD.
1482 ** gnutls-cli: Fixed reading from windows terminals.
1484 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1485 the stream is assumed to be base64 encoded (previously
1486 the encoding was auto-detected). This avoids a decoding
1487 issue in windows systems.
1489 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1491 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1492 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1494 ** libgnutls: Added function gnutls_random_art() to convert
1495 fingerprints to images (currently ascii-art).
1497 ** libgnutls: Corrected bug in DSA private key parsing, which
1498 prevented the verification of the key.
1500 ** API and ABI modifications:
1501 gnutls_random_art: Added
1504 * Version 3.0.9 (released 2011-12-13)
1506 ** certtool: Added new parameter --dh-info.
1508 ** certtool: -l option was overloaded so if combined with --priority
1509 it will only list the ciphersuites that are enabled by the given
1512 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1513 changes the ciphersuite selection procedure. If specified the server
1514 priorities will be used for selection instead of the client's.
1516 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1519 ** libgnutls: When session tickets are negotiated and used in a
1520 session, a server will not store that session data into its cache.
1522 ** libgnutls: Added the SECP192R1 curve.
1524 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1525 allow listing the ciphersuites enabled in a priority structure.
1526 It outputs an index to be used in gnutls_get_cipher_suite_info().
1528 ** libgnutls: Optimizations in the elliptic curve code --timing
1529 attacks resistant code is only used in ECDSA private key operations.
1531 ** doc: man pages for API functions generation was fixed and are
1532 now added again in the distribution.
1534 ** API and ABI modifications:
1535 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1536 gnutls_priority_get_cipher_suite_index: Added
1539 * Version 3.0.8 (released 2011-11-12)
1541 ** certtool: Certtool -e returns error code on verification
1544 ** certtool: Verifies parameters of generated keys.
1546 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1548 ** libgnutls: Provide less timing information when decoding
1549 TLS/DTLS record packets.
1551 ** doc: man pages for API functions were removed.
1552 The reason was that the code that auto-generated the man pages missed
1553 many APIs and we couldn't fix it (volunteers welcome). See the info
1554 manual or the GTK-DOC manual instead.
1556 ** API and ABI modifications:
1557 gnutls_x509_privkey_verify_params: Added
1560 * Version 3.0.7 (released 2011-11-08)
1562 ** libgnutls: Corrected fix in gnutls_session_get_data()
1563 to report the actual session size when the provided buffer
1566 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1567 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1569 ** API and ABI modifications:
1570 No changes since last version.
1573 * Version 3.0.6 (released 2011-11-07)
1575 ** gnutls-guile: Compilation fixes.
1577 ** libgnutls: Fixed possible buffer overflow in
1578 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1580 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1581 Reported by Fabrice Gautier.
1583 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1584 Thanks to Joseph Graham for providing access to such a system.
1586 ** libgnutls: Correctly report ECC private key parsing errors.
1587 Reported by Fabrice Gautier.
1589 ** libgnutls: In ECDHE verify that the received point lies on
1590 the selected curve. The ECDHE ciphersuites now take precendence
1593 ** API and ABI modifications:
1594 No changes since last version.
1597 * Version 3.0.5 (released 2011-10-27)
1599 ** libgnutls-extra: is no more
1601 ** libgnutls: Corrections in order to compile with mingw32.
1603 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1604 and new detection of PHE with support for partial hashing.
1606 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1609 ** minitasn1: Upgraded to libtasn1 version 2.10.
1611 ** API and ABI modifications:
1612 No changes since last version.
1615 * Version 3.0.4 (released 2011-10-15)
1617 ** libgnutls-extra: gnutls_register_md5_handler() was
1620 ** gnutls-cli-debug: Added more tests including AES-GCM,
1621 SHA256 and elliptic curves.
1623 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1624 the software version of the ciphers instead of hw accelerated
1627 ** libgnutls: Public key ID calculation is consistent among
1628 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1630 ** libgnutls: gnutls_privkey_t allows setting external callback
1631 to perform signing or decryption. Can be set using
1632 gnutls_privkey_import_ext()
1634 ** libgnutls: A certificate credentials structure can be
1635 used with a gnutls_privkey_t and a gnutls_pcert_st
1636 structure using gnutls_certificate_set_key().
1638 ** libgnutls: Fixes to enable external signing callback to
1639 operate with TLS 1.2.
1641 ** libgnutls: Fixed crash when printing ECDSA certificate key
1642 ID. Reported by Erik Jensen.
1644 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1645 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1646 support for hashes and HMACs.
1648 ** libgnutls: Compilation fixed when p11-kit is not detected.
1650 ** libgnutls: Fixed the deflate compression code.
1652 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1653 Used to get the PKIX Authority Information Access (AIA) field.
1655 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1657 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1658 signing callback function.
1660 ** API and ABI modifications:
1661 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1662 gnutls_privkey_import_ext: Added function.
1663 gnutls_certificate_set_key: Added function.
1664 gnutls_info_access_what_t (x509.h): Added enum.
1665 GNUTLS_OID_AIA (x509.h): Added symbol.
1666 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1667 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1669 * Version 3.0.3 (released 2011-09-18)
1671 ** libgnutls: Added gnutls_record_get_discarded() to return the
1672 number of discarded records in a DTLS session.
1674 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1675 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1677 ** libgnutls: Memory leak fixes in credentials private key
1678 deinitialization. Reported by Dan Winship.
1680 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1682 ** libgnutls: Do not send an empty extension structure in server
1683 hello. This affected old implementations that do not support extensions.
1684 Reported by J. Cameijo Cerdeira.
1686 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1687 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1688 <http://bugs.debian.org/640639>.
1690 ** libgnutls: Added support for VIA padlock AES optimizations.
1691 (disabled by default)
1693 ** libgnutls: Added support for elliptic curves in
1696 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1697 to allow generating a key in a token.
1699 ** p11tool: Added generate-rsa, generate-dsa and
1700 generate-ecc options to allow generating private
1703 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1706 ** API and ABI modifications:
1707 gnutls_pkcs11_privkey_generate: Added
1708 gnutls_pubkey_import_ecc_raw: Added
1709 gnutls_pubkey_import_ecc_x962: Added
1710 gnutls_pubkey_get_pk_ecc_x962: Added
1711 gnutls_record_get_discarded: Added
1714 * Version 3.0.2 (released 2011-09-01)
1716 ** libgnutls: OpenPGP certificate type is not enabled
1719 ** libgnutls: Added %NO_EXTENSIONS priority string.
1721 ** libgnutls: Corrected issue in gnutls_record_recv()
1722 triggered on encryption or compression error.
1724 ** libgnutls: Compatibility fixes in CPU ID detection
1725 for i386 and old GCC.
1727 ** gnutls-cli: Benchmark applications were incorporated
1730 ** libgnutls: Corrected parsing of XMPP subject
1733 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1736 ** libgnutls: gnutls_certificate_set_x509_key() and
1737 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1738 and allow the release of the private key during the
1739 lifetime of the certificate structure.
1741 ** API and ABI modifications:
1742 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1745 * Version 3.0.1 (released 2011-08-20)
1747 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1748 friends support server name indication. If multiple
1749 certificates are set using these functions the proper one
1750 will be selected during a handshake.
1752 ** libgnutls: Added AES-256-GCM which was left out from
1753 the previous release. Reported by Benjamin Hof.
1755 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1756 times, the flags in the callback were not being updated
1757 to reflect for PIN low count or final try.
1759 ** libgnutls: Do not allow second instances of PKCS #11
1762 ** libgnutls: fixed alignment issue in AES-NI code.
1764 ** libgnutls: The config file at gnutls_pkcs11_init()
1765 is being read if provided.
1767 ** libgnutls: Ensure that a certificate list specified
1768 using gnutls_certificate_set_x509_key() and friends, is
1769 sorted according to TLS specification (from subject to issuer).
1771 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1772 gnutls_x509_crt_list_import. It checks whether the list to be
1773 imported is properly sorted.
1775 ** crywrap: Added to the distribution. It is an application
1776 that proxies TLS session to a port using a plaintext service.
1778 ** doc: Many GTK-DOC improvements.
1780 ** i18n: Translations were updated.
1782 ** API and ABI modifications:
1783 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1784 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1787 * Version 3.0.0 (released 2011-07-29)
1789 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1792 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1795 ** certtool: bug fixes in certificate request generation. Patch
1798 ** API and ABI modifications:
1799 gnutls_pcert_list_import_x509_raw: ADDED
1802 * Version 2.99.4 (released 2011-07-23)
1804 ** doc: documentation updates.
1806 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1807 to avoid thread-safety issues. Reported by Sam Varshavchik.
1809 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1811 ** libgnutls: license upgraded to LGPLv3
1813 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1816 ** API and ABI modifications:
1817 No changes since last version.
1820 * Version 2.99.3 (released 2011-06-18)
1822 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1823 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1825 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1826 strings to enable the NSA SuiteB cryptography ciphersuites.
1828 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1829 verify data provided the signature algorithm.
1831 ** libgnutls: Simplified the handling of handshake messages to
1832 be hashed. Instead of hashing during the handshake process we now
1833 keep the data until handshake is over and hash them on request.
1834 This uses more memory but eliminates issues with TLS 1.2 and
1837 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1838 instruction. Uses Andy Polyakov's assembly code.
1840 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1841 gnutls_x509_trust_list_verify_named_crt() that allow having a
1842 list of certificates in the trusted list that will be associated
1843 with a name (e.g. server name) and will not be used as CAs.
1845 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1846 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1849 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1851 ** API and ABI modifications:
1852 gnutls_pubkey_verify_data2: ADDED
1853 gnutls_ecc_curve_get: ADDED
1854 gnutls_x509_trust_list_add_named_crt: ADDED
1855 gnutls_x509_trust_list_verify_named_crt: ADDED
1856 gnutls_x509_privkey_verify_data: REMOVED
1857 gnutls_crypto_bigint_register: REMOVED
1858 gnutls_crypto_cipher_register: REMOVED
1859 gnutls_crypto_digest_register: REMOVED
1860 gnutls_crypto_mac_register: REMOVED
1861 gnutls_crypto_pk_register: REMOVED
1862 gnutls_crypto_rnd_register: REMOVED
1863 gnutls_crypto_single_cipher_register: REMOVED
1864 gnutls_crypto_single_digest_register: REMOVED
1865 gnutls_crypto_single_mac_register: REMOVED
1866 GNUTLS_KX_ECDHE_PSK: New key exchange method
1867 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1868 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1869 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1872 * Version 2.99.2 (released 2011-05-26)
1874 ** libgnutls: Added Elliptic curve support. This is not
1875 enabled by default. Requires priority strings:
1876 +CURVE-ALL: to add all supported curves
1877 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1878 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1879 +ANON-ECDHE: to add anonymous ECDH
1881 ** libgnutls: PKCS #11 URLs conform to the latest draft
1882 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1884 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1887 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1888 to get important auditing information including the corresponding session.
1889 That might be useful to block DoS or other attacker from specific IPs.
1891 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1892 the public key algorithm of the key.
1894 ** libgnutls: Added gnutls_certificate_get_issuer() and
1895 gnutls_x509_trust_list_get_issuer() to compensate for the
1896 missing gnutls_certificate_get_x509_cas().
1898 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1899 verification of the self signature in a certificate request.
1900 This allows verifying whether the owner of the private key
1901 is the generator of the request.
1903 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1904 the self signature of the request.
1906 ** API and ABI modifications:
1907 gnutls_certificate_get_issuer: ADDED
1908 gnutls_x509_trust_list_get_issuer: ADDED
1909 gnutls_x509_crq_verify: ADDED
1910 gnutls_global_set_audit_log_function: ADDED
1911 gnutls_ecc_curve_get_name: ADDED
1912 gnutls_ecc_curve_get_size: ADDED
1913 gnutls_x509_privkey_import_ecc_raw: ADDED
1914 gnutls_x509_privkey_export_ecc_raw: ADDED
1915 gnutls_global_set_time_function: ADDED
1917 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1918 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1919 GNUTLS_KX_ECDHE_RSA: New key exchange method
1920 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1921 GNUTLS_KX_ANON_ECDH: New key exchange method
1922 GNUTLS_PK_ECC: New public key algorithm
1923 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1924 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1925 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1926 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
1927 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1928 GNUTLS_ECC_CURVE_INVALID: New curve definition
1929 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1930 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1931 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1932 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1935 * Version 2.99.1 (released 2011-04-23)
1937 ** libgnutls: LZO support was removed.
1939 ** libgnutls: Corrections in SSLv2 client hello parsing.
1941 ** libgnutls: Added support for AES-NI if detected. Uses
1942 Andy Polyakov's AES-NI code.
1944 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
1945 weak, several sites require it for connection. It is enabled for
1946 "NORMAL" and "PERFORMANCE" priority strings.
1948 ** libgnutls: depend on libdl.
1950 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1952 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1953 function required GnuTLS to access system specific data, for no reason.
1954 Use gnutls_transport_set_errno(), or your system's errno fascility
1957 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1958 to set a callback to retrieve a certificate. The certificate is
1959 received in a format that requires no processing from gnutls thus
1960 it is suitable when performance is required.
1962 ** API and ABI modifications:
1963 gnutls_transport_set_global_errno: REMOVED
1964 gnutls_certificate_set_retrieve_function2: ADDED
1966 * Version 2.99.0 (released 2011-04-09)
1968 ** libgnutls: Added Datagram TLS support.
1970 ** libgnutls: Uses a single configure file and a single
1971 gnulib library to save space.
1973 ** libgnutls: Several bug fixes.
1975 ** libgnutls: gnutls_transport_set_lowat() is no more.
1977 ** libgnutls-openssl: modified to use modern gnutls' functions.
1978 This introduces an ABI incompatibility with previous versions.
1980 ** libgnutls: Corrected signature generation and verification
1981 in the Certificate Verify message when in TLS 1.2. Reported
1984 ** libgnutlsxx: The C++ interface returns exception on
1985 every error and not only on fatal ones. This allows easier
1988 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
1991 ** libgnutls: SRP and PSK are no longer set on the default priorities.
1992 They have to be explicitly set.
1994 ** libgnutls: During handshake message verification using DSS
1995 use the hash algorithm required by it.
1997 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
1998 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2000 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2002 ** libgnutls-extra: Inner application extension was removed.
2003 It was never standardized nor published as an RFC.
2005 ** libgnutls: Added new certificate verification functions, that
2006 can provide more details and are more efficient. Check
2007 gnutls_x509_trust_list_*.
2009 ** certtool: Uses the new certificate verification functions for
2012 ** certtool: Added new certificate verification functionality
2013 using the --verify option. Combined with --load-ca-certificate
2014 it can verify a certificate chain against a list of certificates.
2016 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2018 ** API and ABI modifications:
2019 gnutls_dtls_set_timeouts: ADDED
2020 gnutls_dtls_get_mtu: ADDED
2021 gnutls_dtls_get_data_mtu: ADDED
2022 gnutls_dtls_set_mtu: ADDED
2023 gnutls_dtls_cookie_send: ADDED
2024 gnutls_dtls_cookie_verify: ADDED
2025 gnutls_dtls_prestate_set: ADDED
2026 gnutls_x509_trust_list_verify_crt: ADDED
2027 gnutls_x509_trust_list_add_crls: ADDED
2028 gnutls_x509_trust_list_add_cas: ADDED
2029 gnutls_x509_trust_list_init: ADDED
2030 gnutls_x509_trust_list_deinit: ADDED
2031 gnutls_cipher_add_auth: ADDED
2032 gnutls_cipher_tag: ADDED
2033 gnutls_psk_netconf_derive_key: REMOVED
2034 gnutls_certificate_verify_peers: REMOVED
2035 gnutls_session_set_finished_function: REMOVED
2036 gnutls_ext_register: REMOVED
2037 gnutls_certificate_get_x509_crls: REMOVED
2038 gnutls_certificate_get_x509_cas: REMOVED
2039 gnutls_certificate_get_openpgp_keyring: REMOVED
2040 gnutls_session_get_server_random: REMOVED
2041 gnutls_session_get_client_random: REMOVED
2042 gnutls_session_get_master_secret: REMOVED
2043 gnutls_ia_allocate_client_credentials: REMOVED
2044 gnutls_ia_allocate_server_credentials: REMOVED
2045 gnutls_ia_enable: REMOVED
2046 gnutls_ia_endphase_send: REMOVED
2047 gnutls_ia_extract_inner_secret: REMOVED
2048 gnutls_ia_free_client_credentials: REMOVED
2049 gnutls_ia_free_server_credentials: REMOVED
2050 gnutls_ia_generate_challenge: REMOVED
2051 gnutls_ia_get_client_avp_ptr: REMOVED
2052 gnutls_ia_get_server_avp_ptr: REMOVED
2053 gnutls_ia_handshake: REMOVED
2054 gnutls_ia_handshake_p: REMOVED
2055 gnutls_ia_permute_inner_secret: REMOVED
2056 gnutls_ia_recv: REMOVED
2057 gnutls_ia_send: REMOVED
2058 gnutls_ia_set_client_avp_function: REMOVED
2059 gnutls_ia_set_client_avp_ptr: REMOVED
2060 gnutls_ia_set_server_avp_function: REMOVED
2061 gnutls_ia_set_server_avp_ptr: REMOVED
2062 gnutls_ia_verify_endphase: REMOVED
2065 * Version 2.12.2 (released 2011-04-08)
2067 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2069 ** libgnutls: Several bug and memory leak fixes.
2071 ** srptool: Accepts the -d option to enable debugging.
2073 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2074 the allocation of a verifier. Reported by Andrew Wiseman.
2076 ** API and ABI modifications:
2077 No changes since last version.
2080 * Version 2.12.1 (released 2011-04-02)
2082 ** certtool: Generated certificate request with stricter permissions.
2083 Reported by Luca Capello.
2085 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2087 ** libgnutls: Corrected windows system_errno() function prototype.
2089 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2091 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2092 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2094 ** API and ABI modifications:
2095 No changes since last version.
2100 * Version 2.12.0 (released 2011-03-24)
2102 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2103 the incompatibility with TLS other than 1.2.
2105 ** libgnutls: Modified signature algorithm selection in client
2106 certificate request, to avoid failures in DSA certificates.
2108 ** libgnutls: Instead of failing with internal error, return
2109 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2110 key with the negotiated protocol is encountered.
2112 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2114 ** libgnutls: Force state update when fork is detected in the nettle
2117 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2118 subkey instead of setting explicitly one.
2120 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2122 ** libgnutls-openssl: modified to use modern gnutls' functions.
2123 This introduces an ABI incompatibility with previous versions.
2125 ** API and ABI modifications:
2126 gnutls_pubkey_import_openpgp: MODIFIED
2131 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2132 replaced by gnutls_privkey_sign_hash2().
2134 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2135 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2136 gnutls_x509_crt_verify_hash return the negative error code
2137 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2140 ** libgnutls: Added helper functions for signature verification:
2141 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2143 ** libgnutls: Modified gnutls_privkey_sign_data().
2145 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2146 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2147 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2148 deprecated for gnutls_x509_crl_privkey_sign(),
2149 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2150 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2151 gnutls_pubkey_verify_data() respectively.
2153 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2156 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2157 and gnutls_x509_crt_list_import2().
2159 ** crypto.h: Fix use with C++.
2160 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2162 ** API and ABI modifications:
2163 gnutls_x509_crl_list_import: ADDED
2164 gnutls_x509_crl_list_import2: ADDED
2165 gnutls_x509_crt_list_import2: ADDED
2166 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2167 gnutls_pubkey_import_privkey: ADDED
2168 gnutls_pubkey_verify_data: ADDED
2169 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2170 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2171 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2172 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2173 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2174 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2175 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2176 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2177 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2178 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2179 gnutls_session_set_finished_function: DEPRECATED
2180 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2181 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2182 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2183 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2184 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2185 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2186 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2187 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2189 * Version 2.11.6 (released 2010-12-06)
2191 ** libgnutls: Record version of Client Hellos is now set by default to
2192 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2195 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2196 This makes us comply with RFC3279. Reported by Michael Rommel.
2198 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2200 ** API and ABI modifications:
2201 No changes since last version.
2203 * Version 2.11.5 (released 2010-12-01)
2205 ** libgnutls: Reverted default behavior for verification and
2206 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2207 V1 trusted CAs are allowed, unless the new flag is specified.
2209 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2210 Reported by Jeffrey Walton.
2212 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2213 as priority strings. Those allow to set all the supported algorithms
2216 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2218 ** gnutls-cli: Print channel binding only in verbose mode.
2219 Before it printed it after the 'Compression:' output, thus breaking
2220 Emacs starttls.el string searches.
2222 ** API and ABI modifications:
2223 gnutls_pkcs11_token_init: New function
2224 gnutls_pkcs11_token_set_pin: New function
2226 * Version 2.11.4 (released 2010-10-15)
2228 ** libgnutls: Add new API gnutls_session_channel_binding.
2229 The function is used to get the channel binding data. Currently only
2230 the "tls-unique" (RFC 5929) channel binding type is supported, through
2231 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2234 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2236 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2238 ** build: Update gnulib files.
2240 ** i18n: Update translations.
2242 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2244 ** API and ABI modifications:
2245 gnutls_session_channel_binding: New function.
2246 gnutls_channel_binding_t: New enumeration.
2247 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2248 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2250 * Version 2.11.3 (released 2010-10-14)
2252 ** Indent code to follow the GNU Coding Standard.
2253 You should be able to unpack the 2.11.2 release and run 'make indent'
2254 twice to get exactly the same content as 2.11.3 except for generated
2255 files. Using GNU Indent 2.2.11.
2257 ** API and ABI modifications:
2258 No changes since last version.
2260 * Version 2.11.2 (released 2010-10-08)
2262 ** libgnutls: Several bug fixes on session resumption
2263 and session tickets support.
2265 ** libgnutls: Add new extended key usage ipsecIKE.
2267 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2268 --p11-export-url, --p11-list-certs, --p11-list-certs,
2269 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2270 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2271 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2274 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2275 introduced with the new nettle code.
2277 ** libgnutls: Corrected advertizing issue for session tickets.
2279 ** API and ABI modifications:
2280 gnutls_x509_crt_get_subject_unique_id: ADDED.
2281 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2283 * Version 2.11.1 (released 2010-09-14)
2285 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2286 to use the libgcrypt back end.
2288 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2289 backend crypto library.
2291 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2293 ** libgnutls: Several updates in the buffering internal interface.
2295 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2296 tabs are being skipped.
2298 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2300 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2303 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2304 system calls. Applications that depended on it being 1 should explicitly call
2305 gnutls_transport_set_lowat().
2307 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2308 to ECRYPT II recommendations. Mappings were moved to a single location
2309 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2310 and 3072 keys only).
2312 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2313 gnutls_x509_privkey_import_pkcs8() without a password, if it
2314 is unable to decode the key.
2316 ** libgnutls: HMAC-MD5 no longer used by default.
2318 ** API and ABI modifications:
2319 gnutls_openpgp_privkey_sec_param: ADDED
2320 gnutls_x509_privkey_sec_param: ADDED
2322 * Version 2.11.0 (released 2010-07-22)
2324 ** libgnutls: support scattered write using writev(). This takes
2325 advantage of the new buffering layer and allows queuing of packets
2326 and flushing them. This is currently used for handshake messages
2329 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2330 alternative locking procedures. By default the system available
2331 locking is used. In *NIX pthreads are used and in windows the
2332 critical section API. This follows a different approach than the
2333 previous versions that depended on libgcrypt initialization. The
2334 locks are now set by default in systems that support it. Programs
2335 that used gcry_control() to set thread locks should insert it into
2337 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2341 ** libgnutls: Added support for reading DN from EV-certificates.
2343 jurisdictionOfIncorporationLocalityName,
2344 jurisdictionOfIncorporationStateOrProvinceName,
2345 jurisdictionOfIncorporationCountryName
2347 ** libgnutls: Added support for DSA signing/verifying with bit
2350 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2351 has to be called to register any required md5 handlers.
2353 ** libgnutls: Internal buffering code was replaced by simpler
2354 code contributed by Jonathan Bastien-Filiatrault.
2356 ** libgnutls: Internal API for extensions augmented to allow
2357 safe storing and loading of data on resumption. This allows writing
2358 self-contained extensions (when possible). As a side effect
2359 the OPRFI extension was removed.
2361 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2363 ** libgnutls: Added PKCS #11 support and an API to access objects in
2364 gnutls/pkcs11.h. Currently certificates and public keys can be
2365 imported from tokens, and operations can be performed on private keys.
2367 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2369 ** libgnutls: Added initial support for the nettle library. It uses
2370 the system's random generator for seeding. That is /dev/urandom in Linux,
2371 system calls in Win32 and EGD on other systems.
2373 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2374 works even when resuming a session.
2376 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2377 similar gnutls_certificate_set_server_retrieve_function() and
2378 gnutls_certificate_set_client_retrieve_function(). In addition it support
2379 PKCS #11 private keys.
2381 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2382 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2384 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2385 sizes for private keys using a human understandable scale.
2387 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2388 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2389 --pkcs11-delete-url, --pkcs11-write
2391 certtool: The --pkcs-cipher is taken into account when generating a
2392 private key. The default cipher used now is aes-128. The old behavior can
2393 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2395 certtool: Added --certificate-pubkey to print the public key of the
2398 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2399 can now accept a PKCS #11 URL in addition to a file. This will allow for
2400 example to use the Gnome-keyring trusted certificate list to verify
2401 connections using a url such as:
2402 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2404 ** API and ABI modifications:
2405 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2406 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2407 gnutls_sign_callback_set: DEPRECATED
2408 gnutls_global_set_mutex: ADDED
2409 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2410 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2411 gnutls_x509_privkey_export_rsa_raw2: ADDED
2413 gnutls_sec_param_to_pk_bits: ADDED
2414 gnutls_pk_bits_to_sec_param: ADDED
2415 gnutls_sec_param_get_name: ADDED
2416 gnutls_pkcs11_type_get_name: ADDED
2417 gnutls_certificate_set_retrieve_function: ADDED
2418 gnutls_pkcs11_init: ADDED
2419 gnutls_pkcs11_deinit: ADDED
2420 gnutls_pkcs11_set_pin_function: ADDED
2421 gnutls_pkcs11_set_token_function: ADDED
2422 gnutls_pkcs11_add_provider: ADDED
2423 gnutls_pkcs11_obj_init: ADDED
2424 gnutls_pkcs11_obj_import_url: ADDED
2425 gnutls_pkcs11_obj_export_url: ADDED
2426 gnutls_pkcs11_obj_deinit: ADDED
2427 gnutls_pkcs11_obj_export: ADDED
2428 gnutls_pkcs11_obj_list_import_url: ADDED
2429 gnutls_pkcs11_obj_export: ADDED
2430 gnutls_x509_crt_import_pkcs11: ADDED
2431 gnutls_pkcs11_obj_get_type: ADDED
2432 gnutls_x509_crt_list_import_pkcs11: ADDED
2433 gnutls_x509_crt_import_pkcs11_url: ADDED
2434 gnutls_pkcs11_obj_get_info: ADDED
2435 gnutls_pkcs11_token_get_info: ADDED
2436 gnutls_pkcs11_token_get_url: ADDED
2437 gnutls_pkcs11_privkey_init: ADDED
2438 gnutls_pkcs11_privkey_deinit: ADDED
2439 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2440 gnutls_pkcs11_privkey_get_info: ADDED
2441 gnutls_pkcs11_privkey_import_url: ADDED
2442 gnutls_pkcs11_privkey_sign_data: ADDED
2443 gnutls_pkcs11_privkey_sign_hash: ADDED
2444 gnutls_pkcs11_privkey_decrypt_data: ADDED
2445 gnutls_privkey_init: ADDED
2446 gnutls_privkey_deinit: ADDED
2447 gnutls_privkey_get_pk_algorithm: ADDED
2448 gnutls_privkey_get_type: ADDED
2449 gnutls_privkey_import_pkcs11: ADDED
2450 gnutls_privkey_import_x509: ADDED
2451 gnutls_privkey_import_openpgp: ADDED
2452 gnutls_privkey_sign_data: ADDED
2453 gnutls_privkey_sign_hash: ADDED
2454 gnutls_privkey_decrypt_data: ADDED
2455 gnutls_pkcs11_privkey_export_url: ADDED
2456 gnutls_x509_crq_privkey_sign: ADDED
2457 gnutls_x509_crl_privkey_sign: ADDED
2458 gnutls_x509_crt_privkey_sign: ADDED
2459 gnutls_pubkey_init: ADDED
2460 gnutls_pubkey_deinit: ADDED
2461 gnutls_pubkey_get_pk_algorithm: ADDED
2462 gnutls_pubkey_import_x509: ADDED
2463 gnutls_pubkey_import_openpgp: ADDED
2464 gnutls_pubkey_get_pk_rsa_raw: ADDED
2465 gnutls_pubkey_get_pk_dsa_raw: ADDED
2466 gnutls_pubkey_export: ADDED
2467 gnutls_pubkey_get_key_id: ADDED
2468 gnutls_pubkey_get_key_usage: ADDED
2469 gnutls_pubkey_verify_hash: ADDED
2470 gnutls_pubkey_get_verify_algorithm: ADDED
2471 gnutls_pkcs11_type_get_name: ADDED
2472 gnutls_pubkey_import_pkcs11_url: ADDED
2473 gnutls_pubkey_import: ADDED
2474 gnutls_pubkey_import_pkcs11: ADDED
2475 gnutls_pubkey_import_dsa_raw: ADDED
2476 gnutls_pubkey_import_rsa_raw: ADDED
2477 gnutls_x509_crt_set_pubkey: ADDED
2478 gnutls_x509_crq_set_pubkey: ADDED
2479 gnutls_pkcs11_copy_x509_crt: ADDED
2480 gnutls_pkcs11_copy_x509_privkey: ADDED
2481 gnutls_pkcs11_delete_url: ADDED
2483 * Version 2.10.1 (released 2010-07-25)
2485 ** libgnutls: Added support for broken certificates that indicate RSA
2488 ** gnutls-cli: Allow verification using V1 CAs.
2490 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2491 gnutls_x509_privkey_import_pkcs8() without a password, if it
2492 is unable to decode the key.
2494 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2495 a memory leak. Reported by Mads Kiilerich.
2497 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2498 issue a warning, that the output key might not be working everywhere.
2500 ** certtool: The --pkcs-cipher is taken into account when generating a
2501 private key. The default cipher used now is aes-128. The old behavior
2502 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2504 ** API and ABI modifications:
2505 No changes since last version.
2507 * Version 2.10.0 (released 2010-06-25)
2509 ** API and ABI modifications:
2510 No changes since last version.
2512 * Version 2.9.12 (released 2010-06-17)
2514 ** gnutls-cli: Make --starttls work again.
2515 Problem introduced in patch to use read() instead of fgets() committed
2518 ** API and ABI modifications:
2519 No changes since last version.
2521 * Version 2.9.11 (released 2010-06-07)
2523 ** libgnutls: Removed two APIs related to safe renegotiation.
2524 Use priority strings instead. The APIs were
2525 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2526 (Remember that we don't promise ABI stability during development
2527 series, so this doesn't cause an shared library ABI increment.)
2529 ** tests: More self testing of safe renegotiation extension.
2530 See tests/safe-renegotiation/README for more information.
2532 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2534 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2536 ** API and ABI modifications:
2537 gnutls_safe_negotiation_set_initial: REMOVED.
2538 gnutls_safe_renegotiation_set: REMOVED.
2540 * Version 2.9.10 (released 2010-04-22)
2542 ** libgnutls: Time verification extended to trusted certificate list.
2543 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2546 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2547 Based on patch by Pavan Konjarla. Adds new constant
2548 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2550 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2551 Solves the issue discussed in:
2552 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2553 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2554 Note that to allow connecting to unpatched servers the full protection
2555 is only enabled if the priority string %SAFE_RENEGOTIATION is
2556 specified. You can check whether protection is in place by querying
2557 gnutls_safe_renegotiation_status(). New error codes
2558 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2559 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2561 ** libgnutls: When checking openpgp self signature also check the signatures
2563 Ilari Liusvaara noticed and reported the issue and provided test
2566 ** libgnutls: Added cryptodev support (/dev/crypto).
2567 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2568 benchmark utility for AES. Adds new error codes
2569 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2571 ** libgnutls: Exported API to access encryption and hash algorithms.
2572 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2573 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2574 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2575 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2576 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2577 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2578 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2580 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2581 verification of certificate upon receipt rather than waiting until the
2582 end of the handshake.
2584 ** libgnutls: Don't send alerts during handshake.
2585 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2587 ** certtool: Corrected two issues that affected certificate request generation.
2588 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2589 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2590 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2591 those parameters there since other implementations don't do either and having
2592 them does not seem to offer anything (anyway you need the signer's certificate
2593 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2594 This however has the side-effect that public key IDs shown by certtool are
2595 now different than previous gnutls releases.
2596 (3) the option --pgp-certificate-info will verify self signatures
2598 ** certtool: Allow exporting of Certificate requests on DER format.
2600 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2602 ** gnutls-cli: Handle reading binary data from server.
2603 Reported by and tiny patch from Vitaly Mayatskikh
2604 <v.mayatskih@gmail.com> in
2605 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2607 ** minitasn1: Upgraded to libtasn1 version 2.6.
2609 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2610 ** Added Italian and Simplified Chinese translation.
2611 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2612 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2614 ** doc: The GTK-DOC manual is significantly improved.
2616 ** API and ABI modifications:
2617 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2618 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2619 %UNSAFE_RENEGOTIATION: Added to priority strings.
2620 GNUTLS_DIG_SHA224: ADDED.
2621 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2622 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2623 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2624 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2625 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2626 GNUTLS_MAC_SHA224: ADDED.
2627 GNUTLS_OID_X520_NAME: ADDED.
2628 GNUTLS_OID_X520_POSTALCODE: ADDED.
2629 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2630 GNUTLS_VERSION_MAX: ADDED.
2631 gnutls_certificate_set_verify_function: ADDED.
2632 gnutls_cipher_decrypt: ADDED.
2633 gnutls_cipher_deinit: ADDED.
2634 gnutls_cipher_encrypt: ADDED.
2635 gnutls_cipher_get_block_size: ADDED.
2636 gnutls_cipher_init: ADDED.
2638 gnutls_hash_deinit: ADDED.
2639 gnutls_hash_fast: ADDED.
2640 gnutls_hash_get_len: ADDED.
2641 gnutls_hash_init: ADDED.
2642 gnutls_hash_output: ADDED.
2644 gnutls_hmac_deinit: ADDED.
2645 gnutls_hmac_fast: ADDED.
2646 gnutls_hmac_get_len: ADDED.
2647 gnutls_hmac_init: ADDED.
2648 gnutls_hmac_output: ADDED.
2649 gnutls_safe_negotiation_set_initial: ADDED.
2650 gnutls_safe_renegotiation_set: ADDED.
2651 gnutls_safe_renegotiation_status: ADDED.
2653 * Version 2.9.9 (released 2009-11-09)
2655 ** libgnutls: Cleanups and several bug fixes.
2656 Found by Steve Grubb and Tomas Mraz.
2658 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2660 ** Fix --disable-valgrind-tests.
2661 Reported by Ingmar Vanhassel in
2662 <https://savannah.gnu.org/support/?107029>.
2664 ** API and ABI modifications:
2665 No changes since last version.
2667 * Version 2.9.8 (released 2009-11-05)
2669 ** libgnutls: Fix for memory leaks on interrupted handshake.
2670 Reported by Tang Tong.
2672 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2673 ** extension and certificate verify field.
2674 This requires changes for TLS 1.2 servers and clients that use
2675 callbacks for certificate retrieval. They are now required to check
2676 with gnutls_sign_algorithm_get_requested() whether the certificate
2677 they send complies with the peer's preferences in signature
2680 ** libgnutls: In server side when resuming a session do not overwrite the
2681 ** initial session data with the resumed session data.
2683 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2685 This affects also PKCS #12 encoded files. This adds the following new
2686 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2687 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2689 ** libgnutls: Fix PKCS#12 encoding.
2690 The error you would get was "The OID is not supported.". Problem
2691 introduced for the v2.8.x branch in 2.7.6.
2693 ** certtool: Added the --pkcs-cipher option.
2694 To explicitely specify the encryption algorithm to use.
2696 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2698 ** tests: Fix time bomb in chainverify self-test.
2699 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2700 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2702 ** tests: Fix expired cert in chainverify self-test.
2704 ** i18n: Vietnamese translation updated.
2705 Thanks to Clytie Siddall.
2707 ** API and ABI modifications:
2708 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2709 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2710 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2711 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2712 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2713 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2714 gnutls_sign_algorithm_get_requested: ADDED.
2716 * Version 2.9.7 (released 2009-10-06)
2718 ** libgnutls: TLS 1.2 server mode fixes.
2719 Now interoperates against Opera. Contributed by Daiki Ueno.
2721 ** libgnutlsxx: Fix link problems.
2722 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2724 ** guile: Compatibility with guile 2.x.
2725 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2727 ** API and ABI modifications:
2728 No changes since last version.
2730 * Version 2.9.6 (released 2009-09-22)
2732 ** libgnutls: Enable Camellia ciphers by default.
2734 ** API and ABI modifications:
2735 No changes since last version.
2737 * Version 2.9.5 (released 2009-09-10)
2739 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2740 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2741 gnutls_x509_crt_get_issuer_alt_name, and
2742 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2743 Hards <bradh@frogmouth.net>.
2745 ** API and ABI modifications:
2746 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2747 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2748 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2750 * Version 2.9.4 (released 2009-09-03)
2752 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2753 The new supported ciphersuites are AES-128/256 in CBC mode with
2754 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2755 SHA-256 is now the preferred default MAC (however it is only used with
2758 ** libgnutls: Make OpenPGP hostname checking work again.
2759 The patch to resolve the X.509 CN/SAN issue accidentally broken
2760 OpenPGP hostname comparison.
2762 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2763 Reported by Howard Chu <hyc@symas.com> in
2764 <https://savannah.gnu.org/support/?106975>.
2766 ** Fix use of deprecated types internally.
2767 Use of deprecated types in GnuTLS from now on will lead to a compile
2768 error, to prevent this from happening again.
2770 ** API and ABI modifications:
2771 No changes since last version.
2773 * Version 2.9.3 (released 2009-08-19)
2775 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2776 The new APIs are gnutls_session_ticket_enable_client,
2777 gnutls_session_ticket_enable_server, and
2778 gnutls_session_ticket_key_generate.
2780 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2782 ** API and ABI modifications:
2783 gnutls_session_ticket_key_generate: ADDED.
2784 gnutls_session_ticket_enable_client: ADDED.
2785 gnutls_session_ticket_enable_server: ADDED.
2787 * Version 2.9.2 (released 2009-08-14)
2789 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2790 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2791 into 1) not printing the entire CN/SAN field value when printing a
2792 certificate and 2) cause incorrect positive matches when matching a
2793 hostname against a certificate. Some CAs apparently have poor
2794 checking of CN/SAN values and issue these (arguable invalid)
2795 certificates. Combined, this can be used by attackers to become a
2796 MITM on server-authenticated TLS sessions. The problem is mitigated
2797 since attackers needs to get one certificate per site they want to
2798 attack, and the attacker reveals his tracks by applying for a
2799 certificate at the CA. It does not apply to client authenticated TLS
2800 sessions. Research presented independently by Dan Kaminsky and Moxie
2801 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2802 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2804 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2805 The function may fail incorrectly when an earlier certificate was
2806 imported to the same gnutls_x509_crt_t structure.
2808 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2810 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2811 Before it always returned false. Reported by Peter Hendrickson
2812 <pdh@wiredyne.com> in
2813 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2815 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2816 The error resulted in truncated strings when printing unknown OIDs in
2817 X.509 certificate DNs. Reported by Tim Kosse
2818 <tim.kosse@filezilla-project.org> in
2819 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2821 ** libgnutls: Fix PKCS#12 decryption from password.
2822 The encryption key derived from the password was incorrect for (on
2823 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2824 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2825 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2827 ** libgnutls: Return correct bit lengths of some MPIs.
2828 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2829 gnutls_dh_get_peers_public_bits. Before the reported value was
2830 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2831 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2833 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2834 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2835 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2837 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2839 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2840 Before we required that the runtime library used the same (or more
2841 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2842 that the runtime usage is above the minimum required. Reported by
2843 Marco d'Itri <md@linux.it> via Andreas Metzler
2844 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2846 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2848 ** tests: Improved test vectors in self-test pkcs12_s2k.
2850 ** tests: Added new self-test dn2 to detect off-by-one size error.
2852 ** tests: Fix failure in "chainverify" because a certificate have expired.
2854 ** API and ABI modifications:
2855 No changes since last version.
2857 * Version 2.9.1 (released 2009-06-08)
2859 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2860 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2861 <http://bugs.gentoo.org/272388>.
2863 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2865 ** Reduce stack usage for some CRQ functions.
2867 ** Doc fixes for CRQ functions.
2869 ** API and ABI modifications:
2870 No changes since last version.
2872 * Version 2.9.0 (released 2009-05-28)
2876 ** API and ABI modifications:
2877 No changes since last version.
2879 * Version 2.8.6 (released 2010-03-15)
2881 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2882 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2883 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2885 Note: As a side effect of this change, the "public key identifier"
2886 value computed for a certificate using this version of GnuTLS will be
2887 different from values computed using earlier versions of GnuTLS.
2889 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2890 ** optional SignatureAlgorithm parameter field.
2891 VeriSign rejected these CSRs. They are stricly speaking not needed
2892 since you need the signer's certificate to verify the certificate
2893 signature anyway. Reported by Wilankar Trupti
2894 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2896 ** libgnutls: When checking openpgp self signature also check the signatures
2898 Ilari Liusvaara noticed and reported the issue and provided test
2901 ** libgnutls: Cleanups and several bug fixes.
2902 Found by Steve Grubb and Tomas Mraz.
2904 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2906 ** Fix --disable-valgrind-tests.
2907 Reported by Ingmar Vanhassel in
2908 <https://savannah.gnu.org/support/?107029>.
2910 ** examples: Use the new APIs for printing X.509 certificate information.
2912 ** Fix build failures on Solaris.
2913 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2915 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2916 ** translations. Added Simplified Chinese translation.
2918 ** API and ABI modifications:
2919 No changes since last version.
2921 * Version 2.8.5 (released 2009-11-02)
2923 ** libgnutls: In server side when resuming a session do not overwrite the
2924 ** initial session data with the resumed session data.
2926 ** libgnutls: Fix PKCS#12 encoding.
2927 The error you would get was "The OID is not supported.". Problem
2928 introduced for the v2.8.x branch in 2.7.6.
2930 ** guile: Compatibility with guile 2.x.
2931 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2933 ** tests: Fix expired cert in chainverify self-test.
2935 ** tests: Fix time bomb in chainverify self-test.
2936 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2937 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2939 ** API and ABI modifications:
2940 No changes since last version.
2942 * Version 2.8.4 (released 2009-09-18)
2944 ** libgnutls: Enable Camellia ciphers by default.
2946 ** libgnutls: Make OpenPGP hostname checking work again.
2947 The patch to resolve the X.509 CN/SAN issue accidentally broken
2948 OpenPGP hostname comparison.
2950 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2951 Reported by Howard Chu <hyc@symas.com> in
2952 <https://savannah.gnu.org/support/?106975>.
2954 ** API and ABI modifications:
2955 No changes since last version.
2957 * Version 2.8.3 (released 2009-08-13)
2959 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2960 Code intended to be removed would lead to an read-out-bound error in
2961 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
2962 code have been allocated for the vulnerability: [CVE-2009-2730].
2964 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2965 The function may fail incorrectly when an earlier certificate was
2966 imported to the same gnutls_x509_crt_t structure.
2968 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2970 ** tests: Made self-test mini-eagain take less time.
2974 ** API and ABI modifications:
2975 No changes since last version.
2977 * Version 2.8.2 (released 2009-08-10)
2979 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2980 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2981 into 1) not printing the entire CN/SAN field value when printing a
2982 certificate and 2) cause incorrect positive matches when matching a
2983 hostname against a certificate. Some CAs apparently have poor
2984 checking of CN/SAN values and issue these (arguable invalid)
2985 certificates. Combined, this can be used by attackers to become a
2986 MITM on server-authenticated TLS sessions. The problem is mitigated
2987 since attackers needs to get one certificate per site they want to
2988 attack, and the attacker reveals his tracks by applying for a
2989 certificate at the CA. It does not apply to client authenticated TLS
2990 sessions. Research presented independently by Dan Kaminsky and Moxie
2991 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2992 for providing one part of the patch. [GNUTLS-SA-2009-4].
2994 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2995 Before it always returned false. Reported by Peter Hendrickson
2996 <pdh@wiredyne.com> in
2997 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2999 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3000 The error resulted in truncated strings when printing unknown OIDs in
3001 X.509 certificate DNs. Reported by Tim Kosse
3002 <tim.kosse@filezilla-project.org> in
3003 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3005 ** libgnutls: Return correct bit lengths of some MPIs.
3006 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3007 gnutls_dh_get_peers_public_bits. Before the reported value was
3008 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3009 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3011 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3012 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3013 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3015 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3017 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3018 Before we required that the runtime library used the same (or more
3019 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3020 that the runtime usage is above the minimum required. Reported by
3021 Marco d'Itri <md@linux.it> via Andreas Metzler
3022 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3024 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3026 ** tests: Fix failure in "chainverify" because a certificate have expired.
3028 ** API and ABI modifications:
3029 No changes since last version.
3031 * Version 2.8.1 (released 2009-06-10)
3033 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3034 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3035 <http://bugs.gentoo.org/272388>.
3037 ** libgnutls: Fix PKCS#12 decryption from password.
3038 The encryption key derived from the password was incorrect for (on
3039 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3040 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3041 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3043 ** API and ABI modifications:
3044 No changes since last version.
3046 * Version 2.8.0 (released 2009-05-27)
3048 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3050 ** Major changes compared to the v2.4 branch:
3052 *** lib: Linker version scripts reduces number of exported symbols.
3054 *** lib: Limit exported symbols on systems without LD linker scripts.
3056 *** libgnutls: Fix namespace issue with version symbols.
3058 *** libgnutls: Add functions to verify a hash against a certificate.
3059 gnutls_x509_crt_verify_hash: ADDED
3060 gnutls_x509_crt_get_verify_algorithm: ADDED
3062 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3064 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3066 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3068 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3070 *** gnutls-serv: No longer disable MAC padding by default.
3072 *** gnutls-cli: Certificate information output format changed.
3074 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3075 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3077 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3079 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3081 *** libgnutls: gnutls_handshake when sending client hello during a
3082 rehandshake, will not offer a version number larger than the current.
3084 *** libgnutls: New interface to get key id for certificate requests.
3085 gnutls_x509_crq_get_key_id: ADDED.
3087 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3089 *** certtool: --verify-chain now prints results of using library verification.
3091 *** libgnutls: Libgcrypt initialization changed.
3093 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3095 *** gnutls-cli: Return non-zero exit code on error conditions.
3097 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3099 *** certtool: allow setting arbitrary key purpose object identifiers.
3101 *** libgnutls: Change detection of when to use a linker version script.
3102 Use --enable-ld-version-script or --disable-ld-version-script to
3103 override auto-detection logic.
3105 *** Fix warnings and build GnuTLS with more warnings enabled.
3107 *** New API to set X.509 credentials from PKCS#12 memory structure.
3108 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3110 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3111 Please use pkg-config instead.
3113 *** libgnutls: Added functions to handle CRL extensions.
3114 gnutls_x509_crl_get_authority_key_id: ADDED
3115 gnutls_x509_crl_get_number: ADDED
3116 gnutls_x509_crl_get_extension_oid: ADDED
3117 gnutls_x509_crl_get_extension_info: ADDED
3118 gnutls_x509_crl_get_extension_data: ADDED
3119 gnutls_x509_crl_set_authority_key_id: ADDED
3120 gnutls_x509_crl_set_number: ADDED
3122 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3124 gnutls_x509_crq_get_key_rsa_raw: ADDED
3125 gnutls_x509_crq_get_attribute_info: ADDED
3126 gnutls_x509_crq_get_attribute_data: ADDED
3127 gnutls_x509_crq_get_extension_info: ADDED
3128 gnutls_x509_crq_get_extension_data: ADDED
3129 gnutls_x509_crq_get_key_usage: ADDED
3130 gnutls_x509_crq_get_basic_constraints: ADDED
3131 gnutls_x509_crq_get_subject_alt_name: ADDED
3132 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3133 gnutls_x509_crq_get_extension_by_oid: ADDED
3134 gnutls_x509_crq_set_subject_alt_name: ADDED
3135 gnutls_x509_crq_set_basic_constraints: ADDED
3136 gnutls_x509_crq_set_key_usage: ADDED
3137 gnutls_x509_crq_get_key_purpose_oid: ADDED
3138 gnutls_x509_crq_set_key_purpose_oid: ADDED
3139 gnutls_x509_crq_print: ADDED
3140 gnutls_x509_crt_set_crq_extensions: ADDED
3142 *** certtool: Print and set CRL and CRQ extensions.
3144 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3146 *** examples: Now released into the public domain.
3148 *** The Texinfo and GTK-DOC manuals were improved.
3150 *** Several self-tests were added and others improved.
3152 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3153 No offically supported interfaces have been modified or removed. The
3154 library should be completely backwards compatible on both the source
3157 The shared library no longer exports some symbols that have never been
3158 officially supported, i.e., not mentioned in any of the header files.
3164 Normally when symbols are removed, the shared library version has to
3165 be incremented. This leads to a significant cost for everyone using
3166 the library. Because none of the above symbols have ever been
3167 intended for use by well-behaved applications, we decided that the it
3168 would be better for those applications to pay the price rather than
3169 incurring problems on the majority of applications.
3171 If it turns out that applications have been using unofficial
3172 interfaces, we will need to release a follow-on release on the v2.8
3173 branch to exports additional interfaces. However, initial testing
3174 suggests that few if any applications have been using any of the
3177 Although not a new change compared to 2.6.x, we'd like to remind you
3178 interfaces have been modified so that X.509 chain verification now
3179 also checks activation/expiration times on certificates. The affected
3182 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3183 gnutls_certificate_verify_peers: Likewise.
3184 gnutls_certificate_verify_peers2: Likewise.
3185 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3186 GNUTLS_CERT_EXPIRED: ADDED.
3187 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3189 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3190 we gave our rationale for it in earlier release notes.
3192 The following symbols have been added to the library:
3194 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3195 gnutls_x509_crl_get_authority_key_id: ADDED
3196 gnutls_x509_crl_get_extension_data: ADDED
3197 gnutls_x509_crl_get_extension_info: ADDED
3198 gnutls_x509_crl_get_extension_oid: ADDED
3199 gnutls_x509_crl_get_number: ADDED
3200 gnutls_x509_crl_set_authority_key_id: ADDED
3201 gnutls_x509_crl_set_number: ADDED
3202 gnutls_x509_crq_get_attribute_data: ADDED
3203 gnutls_x509_crq_get_attribute_info: ADDED
3204 gnutls_x509_crq_get_basic_constraints: ADDED
3205 gnutls_x509_crq_get_extension_by_oid: ADDED
3206 gnutls_x509_crq_get_extension_data: ADDED
3207 gnutls_x509_crq_get_extension_info: ADDED
3208 gnutls_x509_crq_get_key_id: ADDED.
3209 gnutls_x509_crq_get_key_purpose_oid: ADDED
3210 gnutls_x509_crq_get_key_rsa_raw: ADDED
3211 gnutls_x509_crq_get_key_usage: ADDED
3212 gnutls_x509_crq_get_subject_alt_name: ADDED
3213 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3214 gnutls_x509_crq_print: ADDED
3215 gnutls_x509_crq_set_basic_constraints: ADDED
3216 gnutls_x509_crq_set_key_purpose_oid: ADDED
3217 gnutls_x509_crq_set_key_usage: ADDED
3218 gnutls_x509_crq_set_subject_alt_name: ADDED
3219 gnutls_x509_crt_get_verify_algorithm: ADDED
3220 gnutls_x509_crt_set_crq_extensions: ADDED
3221 gnutls_x509_crt_verify_hash: ADDED
3223 The following interfaces have been added to the header files:
3225 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3226 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3227 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3228 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3229 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3230 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3232 The following interfaces have been deprecated:
3234 LIBGNUTLS_VERSION: DEPRECATED.
3235 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3236 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3237 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3238 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3239 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3241 * Version 2.7.14 (released 2009-05-26)
3243 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3244 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3245 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3248 ** Doc: Several typo fixes in documentation.
3249 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3251 ** API and ABI modifications:
3252 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3253 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3255 * Version 2.7.13 (released 2009-05-25)
3257 ** libgnutls: Fix version of some exported symbols in the shared library.
3258 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3259 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3261 ** tests: Handle recently expired certificates in chainverify self-test.
3262 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3263 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3265 ** API and ABI modifications:
3266 No changes since last version.
3268 * Version 2.7.12 (released 2009-05-20)
3270 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3272 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3273 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3274 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3276 ** Fix build failures.
3277 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3278 G. Christensen" <tgc@jupiterrise.com> in
3279 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3281 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3282 GnuTLS should work fine with libtasn1 v1.x and that is still
3285 ** API and ABI modifications:
3286 No changes since last version.
3288 * Version 2.7.11 (released 2009-05-18)
3290 ** minitasn1: Fix build failure when using internal libtasn1.
3291 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3292 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3294 ** libgnutls: Fix build failure with --disable-cxx.
3295 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3296 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3298 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3299 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3300 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3302 ** Building with many warning flags now requires --enable-gcc-warnings.
3303 This avoids crying wolf for normal compiles.
3305 ** API and ABI modifications:
3306 No changes since last version.
3308 * Version 2.7.10 (released 2009-05-13)
3310 ** examples: Now released into the public domain.
3311 This makes the license of the example code compatible with more
3312 licenses, including the (L)GPL.
3314 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3315 GnuTLS should work fine with libtasn1 v1.x and that is still
3318 ** libgnutls: Fix crash in signature verification
3319 The fix for the CVE-2009-1415 problem wasn't merged completely.
3321 ** doc: Fixes for GTK-DOC output.
3323 ** API and ABI modifications:
3324 No changes since last version.
3326 * Version 2.7.9 (released 2009-05-11)
3328 ** doc: Fix strings in man page of gnutls_priority_init.
3330 ** doc: Fix tables of error codes and supported algorithms.
3332 ** Fix build failure when cross-compiled using MinGW.
3334 ** Fix build failure when LZO is enabled.
3335 Reported by Arfrever Frehtes Taifersar Arahesis
3336 <arfrever.fta@gmail.com> in
3337 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3339 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3340 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3341 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3343 ** Fix warnings in self-tests.
3345 ** API and ABI modifications:
3346 No changes since last version.
3348 * Version 2.7.8 (released 2009-05-03)
3350 ** libgnutls: Fix DSA key generation.
3351 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3353 ** libgnutls: Check expiration/activation time on untrusted certificates.
3354 Merged from stable branch. Reported by Romain Francoise
3355 <romain@orebokech.com>. This changes the semantics of
3356 gnutls_x509_crt_list_verify, which in turn is used by
3357 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3358 We add two new gnutls_certificate_status_t codes for reporting the new
3359 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3360 We also add a new gnutls_certificate_verify_flags flag,
3361 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3362 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3364 ** lib: Linker version scripts reduces number of exported symbols.
3365 The linker version script now lists all exported ABIs explicitly, to
3366 avoid accidentally exporting unintended functions. Compared to
3367 before, most symbols beginning with _gnutls* are no longer exported.
3368 These functions have never been intended for use by applications, and
3369 there were no prototypes for these function in the public header
3370 files. Thus we believe it is possible to do this without incrementing
3371 the library ABI version which normally has to be done when removing an
3374 ** lib: Limit exported symbols on systems without LD linker scripts.
3375 Before all symbols were exported. Now we limit the exported symbols
3376 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3377 _gnutls*. This is a superset of the actual supported ABI, but still
3378 an improvement compared to before. This is implemented using Libtool
3379 -export-symbols-regex. It is more portable than linker version
3382 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3383 This should have been done in the last release.
3385 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3386 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3387 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3389 ** doc: Improved sections for the info manual.
3390 We now follow the advice given by the texinfo manual on which
3391 directory categories to use. In particular, libgnutls moved from the
3392 'GNU Libraries' section to the 'Software libraries' and the command
3393 line tools moved from 'Network Applications' to 'System
3396 ** API and ABI modifications:
3397 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3398 gnutls_certificate_verify_peers: Likewise.
3399 gnutls_certificate_verify_peers2: Likewise.
3400 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3401 GNUTLS_CERT_EXPIRED: ADDED.
3402 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3404 * Version 2.7.7 (released 2009-04-20)
3406 ** libgnutls: Applied patch by Cedric Bail to add functions
3407 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3409 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3410 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3411 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3413 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3414 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3416 ** doc: Fix build failure of errcodes/printlist.
3417 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3418 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3420 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3421 It is currently only used by the core library. This will enable a new
3422 domain 'gnutls' for translations of the command line tools.
3424 ** Corrected possible memory corruption on signature verification failure.
3425 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3427 ** API and ABI modifications:
3428 gnutls_x509_crt_verify_hash: ADDED
3429 gnutls_x509_crt_get_verify_algorithm: ADDED
3431 * Version 2.7.6 (released 2009-02-27)
3433 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3434 This applies both to generating certificates and certificate requests.
3436 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3438 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3439 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3440 be used for chain verification.
3442 ** gnutls-serv: No longer disable MAC padding by default.
3443 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3445 ** gnutls-cli: Certificate information output format changed.
3446 The tool now uses libgnutls' functions to print certificate
3447 information. This avoids code duplication.
3449 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3450 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3451 They can be used to override the default certificate chain validation
3454 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3455 specify the client hello message record version. Used to overcome buggy
3456 TLS servers. Report by Martin von Gagern.
3458 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3460 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3462 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3464 ** API and ABI modifications:
3465 No changes since last version.
3467 * Version 2.7.5 (released 2009-02-06)
3469 ** libgnutls: Accept chains where intermediary certs are trusted.
3470 Before GnuTLS needed to validate the entire chain back to a
3471 self-signed certificate. GnuTLS will now stop looking when it has
3472 found an intermediary trusted certificate. The new behaviour is
3473 useful when chains, for example, contains a top-level CA, an
3474 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3475 To avoid chain validation errors due to the RSA-MD5 cert, you can
3476 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3477 The signature on trusted certificates are not checked, so the chain
3478 has a chance to validate correctly. Reported by "Douglas E. Engert"
3479 <deengert@anl.gov> in
3480 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3482 ** libgnutls: result_size in gnutls_hex_encode now holds
3483 the size of the result. Report by John Brooks <special@dereferenced.net>.
3485 ** libgnutls: gnutls_handshake when sending client hello during a
3486 rehandshake, will not offer a version number larger than the current.
3487 Reported by Tristan Hill <stan@saticed.me.uk>.
3489 ** libgnutls: Permit V1 Certificate Authorities properly.
3490 Before they were mistakenly rejected even though
3491 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3492 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3493 "Douglas E. Engert" <deengert@anl.gov> in
3494 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3496 ** API and ABI modifications:
3497 No changes since last version.
3499 * Version 2.7.4 (released 2009-01-07)
3501 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3502 This is a bugfix -- the previous attempt to do this from internal x509
3503 certificate verification procedures did not return the correct value
3504 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3505 <dkg@fifthhorseman.net> in
3506 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3507 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3508 Gillmor <dkg@fifthhorseman.net>.
3510 ** libgnutls: New interface to get key id for certificate requests.
3511 Patch from David Marín Carreño <davefx@gmail.com> in
3512 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3514 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3516 ** certtool: --verify-chain now prints results of using library verification.
3517 Earlier, certtool --verify-chain used its own validation algorithm
3518 which wasn't guaranteed to give the same result as the libgnutls
3519 internal validation algorithm. Now this command print a new final
3520 line with header 'Chain verification output:' that contains the result
3521 from using the internal verification algorithm on the same chain.
3523 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3525 ** API and ABI modifications:
3526 gnutls_x509_crq_get_key_id: ADDED.
3528 * Version 2.7.3 (released 2008-12-10)
3530 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3531 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3532 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3533 Andreas Metzler <ametzler@downhill.at.eu.org> in
3534 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3536 ** libgnutls: Libgcrypt initialization changed.
3537 If libgcrypt has not already been initialized, GnuTLS will now
3538 initialize libgcrypt with disabled secure memory. Initialize
3539 libgcrypt explicitly in your application if you want to enable secure
3540 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3541 allocation functions, which doesn't use secure memory, so there is no
3542 real change in behaviour.
3544 ** libgnutls: Fix memory leak in PSK authentication.
3545 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3546 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3548 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3550 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3551 It needs to be invoked before libgcrypt is initialized.
3553 ** gnutls-cli: Return non-zero exit code on error conditions.
3555 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3557 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3559 ** API and ABI modifications:
3560 No changes since last version.
3562 * Version 2.7.2 (released 2008-11-18)
3564 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3565 The flaw makes it possible for man in the middle attackers (i.e.,
3566 active attackers) to assume any name and trick GnuTLS clients into
3567 trusting that name. Thanks for report and analysis from Martin von
3568 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3570 Any updates with more details about this vulnerability will be added
3571 to <http://www.gnu.org/software/gnutls/security.html>
3573 ** libgnutls: Fix namespace issue with version symbols.
3574 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3575 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3576 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3577 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3578 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3579 work but are deprecated.
3581 ** certtool: allow setting arbitrary key purpose object identifiers.
3583 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3585 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3586 Reported by Kevin Quick <quick@sparq.org> in
3587 <https://savannah.gnu.org/support/index.php?106454>.
3589 ** libgnutls-extra: Make building with LZO compression work again.
3590 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3591 <arfrever.fta@gmail.com> in
3592 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3594 ** libgnutls: Change detection of when to use a linker version script.
3595 Use --enable-ld-version-script or --disable-ld-version-script to
3596 override auto-detection logic.
3598 ** doc: Change license on the manual to GFDLv1.3+.
3600 ** doc: GTK-DOC fixes for new splitted configuration system.
3602 ** doc: Texinfo stylesheet uses white background.
3604 ** tests: Add cve-2008-4989.c self-test.
3605 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3606 follow-on problem with crashes on length 1 certificate chains.
3608 ** gnulib: Deprecated modules removed.
3609 Modules include memchr and memcmp.
3611 ** Fix warnings and build GnuTLS with more warnings enabled.
3613 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3615 ** API and ABI modifications:
3616 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3617 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3618 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3619 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3620 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3621 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3622 LIBGNUTLS_VERSION: DEPRECATED.
3623 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3624 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3625 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3626 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3628 * Version 2.7.1 (released 2008-10-31)
3630 ** certtool: print a PKCS #8 key even if it is not encrypted.
3632 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3633 Please use pkg-config instead.
3635 ** Configuration system modified.
3636 There is now a configure script in lib/ and libextra/ as well, because
3637 gnulib works better with a config.h per gnulib directory.
3639 ** API and ABI modifications:
3640 No changes since last version.
3642 * Version 2.7.0 (released 2008-10-16)
3644 ** libgnutls: Added functions to handle CRL extensions.
3646 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3649 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3650 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3652 ** certtool: Print and set CRL and CRQ extensions.
3654 ** libgnutls-extra: Protect internal symbols with static.
3655 Fixes problem when linking certtool statically. Tiny patch from Aaron
3656 Ucko <ucko@ncbi.nlm.nih.gov>.
3658 ** libgnutls-openssl: fix out of bounds access.
3659 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3660 from Thomas Viehmann <tv@beamnet.de>.
3662 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3664 ** tests: Make tests compile when using internal libtasn1.
3665 Patch by ludo@gnu.org (Ludovic Courtès).
3667 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3668 We now require a libgcrypt that has Camellia constants declared in
3669 gcrypt.h, which means v1.3.0 or later.
3671 ** API and ABI modifications:
3672 gnutls_x509_crl_get_authority_key_id: ADDED
3673 gnutls_x509_crl_get_number: ADDED
3674 gnutls_x509_crl_get_extension_oid: ADDED
3675 gnutls_x509_crl_get_extension_info: ADDED
3676 gnutls_x509_crl_get_extension_data: ADDED
3677 gnutls_x509_crl_set_authority_key_id: ADDED
3678 gnutls_x509_crl_set_number: ADDED
3679 gnutls_x509_crq_get_key_rsa_raw: ADDED
3680 gnutls_x509_crq_get_attribute_info: ADDED
3681 gnutls_x509_crq_get_attribute_data: ADDED
3682 gnutls_x509_crq_get_extension_info: ADDED
3683 gnutls_x509_crq_get_extension_data: ADDED
3684 gnutls_x509_crq_get_key_usage: ADDED
3685 gnutls_x509_crq_get_basic_constraints: ADDED
3686 gnutls_x509_crq_get_subject_alt_name: ADDED
3687 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3688 gnutls_x509_crq_get_extension_by_oid: ADDED
3689 gnutls_x509_crq_set_subject_alt_name: ADDED
3690 gnutls_x509_crq_set_basic_constraints: ADDED
3691 gnutls_x509_crq_set_key_usage: ADDED
3692 gnutls_x509_crq_get_key_purpose_oid: ADDED
3693 gnutls_x509_crq_set_key_purpose_oid: ADDED
3694 gnutls_x509_crq_print: ADDED
3695 gnutls_x509_crt_set_crq_extensions: ADDED
3697 * Version 2.6.6 (released 2009-04-30)
3699 ** libgnutls: Corrected double free on signature verification failure.
3700 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
3701 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
3703 ** libgnutls: Fix DSA key generation.
3704 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
3705 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
3706 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3708 ** libgnutls: Check expiration/activation time on untrusted certificates.
3709 Reported by Romain Francoise <romain@orebokech.com>. Before the
3710 library did not check activation/expiration times on certificates, and
3711 was documented as not doing so. We have realized that many
3712 applications that use libgnutls, including gnutls-cli, fail to perform
3713 proper checks. Implementing similar logic in all applications leads
3714 to code duplication. Hence, we decided to check whether the current
3715 time (as reported by the time function) is within the
3716 activation/expiration period of certificates when verifying untrusted
3719 This changes the semantics of gnutls_x509_crt_list_verify, which in
3720 turn is used by gnutls_certificate_verify_peers and
3721 gnutls_certificate_verify_peers2. We add two new
3722 gnutls_certificate_status_t codes for reporting the new error
3723 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
3724 add a new gnutls_certificate_verify_flags flag,
3725 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3728 More details about the vulnerabilities will be posted at
3729 <http://www.gnu.org/software/gnutls/security.html>.
3731 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3732 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3733 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3735 ** tests: Fix linking of tests/openpgp/keyring self-test.
3736 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3738 ** API and ABI modifications:
3739 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3740 gnutls_certificate_verify_peers: Likewise.
3741 gnutls_certificate_verify_peers2: Likewise.
3742 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3743 GNUTLS_CERT_EXPIRED: ADDED.
3744 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3746 * Version 2.6.5 (released 2009-04-11)
3748 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3749 specify the client hello message record version. Used to overcome buggy
3750 TLS servers. Report by Martin von Gagern.
3752 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3753 Libtasn1 0.3.4 or later is required. This is to align with the
3754 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3756 ** API and ABI modifications:
3757 No changes since last version.
3759 * Version 2.6.4 (released 2009-02-06)
3761 ** libgnutls: Accept chains where intermediary certs are trusted.
3762 Before GnuTLS needed to validate the entire chain back to a
3763 self-signed certificate. GnuTLS will now stop looking when it has
3764 found an intermediary trusted certificate. The new behaviour is
3765 useful when chains, for example, contains a top-level CA, an
3766 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3767 To avoid chain validation errors due to the RSA-MD5 cert, you can
3768 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3769 The signature on trusted certificates are not checked, so the chain
3770 has a chance to validate correctly. Reported by "Douglas E. Engert"
3771 <deengert@anl.gov> in
3772 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3774 ** libgnutls: result_size in gnutls_hex_encode now holds
3775 the size of the result. Report by John Brooks <special@dereferenced.net>.
3777 ** libgnutls: gnutls_handshake when sending client hello during a
3778 rehandshake, will not offer a version number larger than the current.
3779 Reported by Tristan Hill <stan@saticed.me.uk>.
3781 ** libgnutls: Permit V1 Certificate Authorities properly.
3782 Before they were mistakenly rejected even though
3783 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3784 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3785 "Douglas E. Engert" <deengert@anl.gov> in
3786 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3788 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3789 This is a bugfix -- the previous attempt to do this from internal x509
3790 certificate verification procedures did not return the correct value
3791 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3792 <dkg@fifthhorseman.net> in
3793 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3794 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3795 Gillmor <dkg@fifthhorseman.net>.
3797 ** libgnutls: Fix compile error with Sun CC.
3798 Reported by Jeff Cai <jeff.cai@sun.com> in
3799 <https://savannah.gnu.org/support/?106549>.
3801 ** API and ABI modifications:
3802 No changes since last version.
3804 * Version 2.6.3 (released 2008-12-12)
3806 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3807 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3808 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3809 Andreas Metzler <ametzler@downhill.at.eu.org> in
3810 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3812 ** libgnutls: Fix memory leak in PSK authentication.
3813 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3814 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3816 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3817 It needs to be invoked before libgcrypt is initialized.
3819 ** gnutls-cli: Return non-zero exit code on error conditions.
3821 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3823 ** API and ABI modifications:
3824 No changes since last version.
3826 * Version 2.6.2 (released 2008-11-12)
3828 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3829 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3830 problem for certificate chains that contained just one self-signed
3831 certificate. Reported by Michael Meskes <meskes@debian.org> in
3832 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3834 ** API and ABI modifications:
3835 No changes since last version.
3837 * Version 2.6.1 (released 2008-11-10)
3839 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3840 The flaw makes it possible for man in the middle attackers (i.e.,
3841 active attackers) to assume any name and trick GnuTLS clients into
3842 trusting that name. Thanks for report and analysis from Martin von
3843 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3845 Any updates with more details about this vulnerability will be added
3846 to <http://www.gnu.org/software/gnutls/security.html>
3848 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3849 Reported by Kevin Quick <quick@sparq.org> in
3850 <https://savannah.gnu.org/support/index.php?106454>.
3852 ** libgnutls-extra: Protect internal symbols with static.
3853 Fixes problem when linking certtool statically. Tiny patch from Aaron
3854 Ucko <ucko@ncbi.nlm.nih.gov>.
3856 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
3857 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
3858 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
3860 ** certtool: Print a PKCS #8 key even if it is not encrypted.
3862 ** tests: Make tests compile when using internal libtasn1.
3863 Patch by ludo@gnu.org (Ludovic Courtès).
3865 ** API and ABI modifications:
3866 No changes since last version.
3868 * Version 2.6.0 (released 2008-10-06)
3870 ** libgnutls: Correct printing and parsing of IPv6 addresses.