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.3 (unreleased)
8 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
9 new initialization process.
11 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
12 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
14 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
17 ** API and ABI modifications:
21 * Version 3.3.2 (released 2014-05-06)
23 ** libgnutls: Added the 'very weak' certificate verification profile
24 that corresponds to 64-bit security level.
26 ** libgnutls: Corrected file descriptor leak on random generator
29 ** libgnutls: Corrected file descriptor leak on PSK password file
30 reading. Issue identified using the Codenomicon TLS test suite.
32 ** libgnutls: Avoid deinitialization if initialization has failed.
34 ** libgnutls: null-terminate othername alternative names.
36 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
37 on a PKCS #11 trust list.
39 ** libgnutls: Several small bug fixes identified using valgrind and
40 the Codenomicon TLS test suite.
42 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
43 entry that matches the certificate. Patch by simon [at] arlott.org.
45 ** libgnutls-guile: Fixed compilation issue.
47 ** certtool: Allow exporting a CRL on DER format.
49 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
50 which is supported more widely than the previously used SECP224R1.
52 ** API and ABI modifications:
53 GNUTLS_PROFILE_VERY_WEAK: Added
56 * Version 3.3.1 (released 2014-04-19)
58 ** libgnutls: Enforce more strict checks to heartbeat messages
59 concerning padding and payload. Suggested by Peter Dettman.
61 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
64 ** libgnutls: Several small bug fixes found by coverity.
66 ** libgnutls: The conditionally available self-test functions
67 were moved to self-test.h.
69 ** libgnutls: Fixed issue with the check of incoming data when two
70 different recv and send pointers have been specified. Reported and
71 investigated by JMRecio.
73 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
74 result to illegal memory access if a server hint was provided. Reported
77 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
78 server hint was provided.
80 ** libgnutls: Corrected the *get_*_othername_oid() functions.
82 ** API and ABI modifications:
83 No changes since last version.
86 * Version 3.3.0 (released 2014-04-10)
88 ** libgnutls: The initialization of the library was moved to a
89 constructor. That is, gnutls_global_init() is no longer required
90 unless linking with a static library or a system that does not
91 support library constructors.
93 ** libgnutls: static libraries are not built by default.
95 ** libgnutls: PKCS #11 initialization is delayed to first usage.
96 That avoids long delays in gnutls initialization due to broken PKCS #11
99 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
100 on the first PKCS #11 API call after a fork.
102 ** libgnutls: certificate verification profiles were introduced
103 that can be specified as flags to verification functions. They
104 are enumerations in gnutls_certificate_verification_profiles_t
105 and can be converted to flags for use in a verification function
106 using GNUTLS_PROFILE_TO_VFLAGS().
108 ** libgnutls: Added the ability to read system-specific initial
109 keywords, if they are prefixed with '@'. That allows a compile-time
110 specified configuration file to be used to read pre-configured priority
111 strings from. That can be used to impose system specific policies.
113 ** libgnutls: Increased the default security level of priority
114 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
115 and set a verification profile by default. The LEGACY keyword is
116 introduced to set the old defaults.
118 ** libgnutls: Added support for the name constraints PKIX extension.
119 Currently only DNS names and e-mails are supported (no URIs, IPs
122 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
123 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
125 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
126 This API handles the X.509 extensions in isolation, allowing to parse
127 similarly formatted extensions stored in other structures.
129 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
130 can be used to specify a particular subgroup as the number of bits in
131 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
133 ** libgnutls: DH parameter generation is now delegated to nettle.
134 That unfortunately has the side-effect that DH parameters longer than
135 3072 bits, cannot be generated (not without a nettle update).
137 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
138 random number generator is based on salsa20/12.
140 ** libgnutls: The buffer alignment provided to crypto backend is
141 enforced to be 16-byte aligned, when compiled with cryptodev
142 support. That allows certain cryptodev drivers to operate more
145 ** libgnutls: Return error when a public/private key pair that doesn't
146 match is set into a credentials structure.
148 ** libgnutls: Depend on p11-kit 0.20.0 or later.
150 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
151 been removed. It was not approved by IETF.
153 ** libgnutls: The experimental xssl library is removed from the gnutls
156 ** libgnutls: Reduced the number of gnulib modules used in the main library.
158 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
160 ** libgnutls: Added the more extensible verification function
161 gnutls_certificate_verify_peers(), that allows checking, in addition
162 to a peer's DNS hostname, for the key purpose of the end certificate
163 (via PKIX extended key usage).
165 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
166 and in batch mode to 12 (appended with 4 random bytes).
168 ** certtool: When no CRL number is provided (or value set to -1), then
169 a time-based number will be used, similarly to the serial generation
170 number in certificates.
172 ** certtool: Print the SHA256 fingerprint of a certificate in addition
175 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
176 That option enables (when running on FIPS140-enabled system):
177 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
178 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
179 o Self-tests on initialization on ciphers/MACs, public key algorithms
180 and the random generator.
181 o HMAC-SHA256 verification of the library on load.
182 o MD5 is included for TLS purposes but cannot be used by the high level
184 o All ciphers except AES are disabled.
185 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
186 o All keys (temporal and long term) are zeroized after use.
187 o Security levels are adjusted to the FIPS140-2 recommendations (rather
190 ** API and ABI modifications:
191 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
192 gnutls_certificate_verify_peers: Added
193 gnutls_privkey_generate: Added
194 gnutls_pkcs11_crt_is_known: Added
195 gnutls_fips140_mode_enabled: Added
196 gnutls_sec_param_to_symmetric_bits: Added
197 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
198 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
199 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
200 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
201 gnutls_pubkey_verify_params: Added
202 gnutls_privkey_export_ecc_raw: Added
203 gnutls_privkey_export_dsa_raw: Added
204 gnutls_privkey_export_rsa_raw: Added
205 gnutls_privkey_import_ecc_raw: Added
206 gnutls_privkey_import_dsa_raw: Added
207 gnutls_privkey_import_rsa_raw: Added
208 gnutls_privkey_verify_params: Added
209 gnutls_x509_crt_check_hostname2: Added
210 gnutls_openpgp_crt_check_hostname2: Added
211 gnutls_x509_name_constraints_init: Added
212 gnutls_x509_name_constraints_deinit: Added
213 gnutls_x509_crt_get_name_constraints: Added
214 gnutls_x509_name_constraints_add_permitted: Added
215 gnutls_x509_name_constraints_add_excluded: Added
216 gnutls_x509_crt_set_name_constraints: Added
217 gnutls_x509_name_constraints_get_permitted: Added
218 gnutls_x509_name_constraints_get_excluded: Added
219 gnutls_x509_name_constraints_check: Added
220 gnutls_x509_name_constraints_check_crt: Added
221 gnutls_x509_crl_get_extension_data2: Added
222 gnutls_x509_crt_get_extension_data2: Added
223 gnutls_x509_crq_get_extension_data2: Added
224 gnutls_subject_alt_names_init: Added
225 gnutls_subject_alt_names_deinit: Added
226 gnutls_subject_alt_names_get: Added
227 gnutls_subject_alt_names_set: Added
228 gnutls_x509_ext_import_subject_alt_names: Added
229 gnutls_x509_ext_export_subject_alt_names: Added
230 gnutls_x509_crl_dist_points_init: Added
231 gnutls_x509_crl_dist_points_deinit: Added
232 gnutls_x509_crl_dist_points_get: Added
233 gnutls_x509_crl_dist_points_set: Added
234 gnutls_x509_ext_import_crl_dist_points: Added
235 gnutls_x509_ext_export_crl_dist_points: Added
236 gnutls_x509_ext_import_name_constraints: Added
237 gnutls_x509_ext_export_name_constraints: Added
238 gnutls_x509_aia_init: Added
239 gnutls_x509_aia_deinit: Added
240 gnutls_x509_aia_get: Added
241 gnutls_x509_aia_set: Added
242 gnutls_x509_ext_import_aia: Added
243 gnutls_x509_ext_export_aia: Added
244 gnutls_x509_ext_import_subject_key_id: Added
245 gnutls_x509_ext_export_subject_key_id: Added
246 gnutls_x509_ext_export_authority_key_id: Added
247 gnutls_x509_ext_import_authority_key_id: Added
248 gnutls_x509_aki_init: Added
249 gnutls_x509_aki_get_id: Added
250 gnutls_x509_aki_get_cert_issuer: Added
251 gnutls_x509_aki_set_id: Added
252 gnutls_x509_aki_set_cert_issuer: Added
253 gnutls_x509_aki_deinit: Added
254 gnutls_x509_ext_import_private_key_usage_period: Added
255 gnutls_x509_ext_export_private_key_usage_period: Added
256 gnutls_x509_ext_import_basic_constraints: Added
257 gnutls_x509_ext_export_basic_constraints: Added
258 gnutls_x509_ext_import_key_usage: Added
259 gnutls_x509_ext_export_key_usage: Added
260 gnutls_x509_ext_import_proxy: Added
261 gnutls_x509_ext_export_proxy: Added
262 gnutls_x509_policies_init: Added
263 gnutls_x509_policies_deinit: Added
264 gnutls_x509_policies_get: Added
265 gnutls_x509_policies_set: Added
266 gnutls_x509_ext_import_policies: Added
267 gnutls_x509_ext_export_policies: Added
268 gnutls_x509_key_purpose_init: Added
269 gnutls_x509_key_purpose_deinit: Added
270 gnutls_x509_key_purpose_set: Added
271 gnutls_x509_key_purpose_get: Added
272 gnutls_x509_ext_import_key_purposes: Added
273 gnutls_x509_ext_export_key_purposes: Added
274 gnutls_digest_self_test: Added (conditionally)
275 gnutls_mac_self_test: Added (conditionally)
276 gnutls_pk_self_test: Added (conditionally)
277 gnutls_cipher_self_test: Added (conditionally)
278 gnutls_global_set_mem_functions: Deprecated
281 * Version 3.2.6 (released 2013-10-31)
283 ** libgnutls: Support for TPM via trousers is now enabled by default.
285 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
286 GCM mode is prioritized over CBC in all of the default priority strings.
288 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
290 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
291 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
292 Reported by Stefan Buehler.
294 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
296 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
299 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
300 Contributed by Wolfgang Meyer zu Bergsten.
304 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
305 previous fix. Reported by Tomas Mraz.
307 ** p11tool: Added option generate-random.
309 ** API and ABI modifications:
310 gnutls_pkcs11_token_get_random: Added
313 * Version 3.2.5 (released 2013-10-23)
315 ** libgnutls: Documentation and build-time fixes.
317 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
319 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
320 as well as Camellia with GCM.
322 ** libdane: Added interfaces to allow initialization of dane_query_t from
323 external DNS resolutions, and to allow direct verification of a certificate
324 chain against a dane_query_t. Contributed by Christian Grothoff.
326 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
327 triggered by a DNS server supplying more than 4 DANE records. Report and fix
328 by Christian Grothoff.
330 ** srptool: Fixed index command line option. Patch by Attila Molnar.
332 ** gnutls-cli: Added support for inline commands, using the
333 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
335 ** certtool: pathlen constraint is now read correctly. Reported by
338 ** API and ABI modifications:
339 gnutls_certificate_get_crt_raw: Added
340 dane_verify_crt_raw: Added
344 * Version 3.2.4 (released 2013-08-31)
346 ** libgnutls: Fixes when session tickets and session DB are used.
347 Report and initial patch by Stefan Buehler.
349 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
350 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
352 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
355 ** libgnutls: Added the PFS priority string option.
357 ** libgnutls: Gnulib included files are strictly LGPLv2.
359 ** libgnutls: Corrected gnutls_certificate_server_set_request().
360 Reported by Petr Pisar.
362 ** API and ABI modifications:
363 gnutls_record_set_timeout: Exported
366 * Version 3.2.3 (released 2013-07-30)
368 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
370 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
371 (this fixes a bug that was accidentally introduced in 3.2.2)
373 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
376 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
379 ** API and ABI modifications:
380 gnutls_priority_kx_list: Added
381 gnutls_priority_mac_list: Added
382 gnutls_priority_cipher_list: Added
385 * Version 3.2.2 (released 2013-07-14)
387 ** libgnutls: Several optimizations in the related to packet processing
390 ** libgnutls: DTLS replay detection can now be disabled (to be used
391 in certain transport layers like SCTP).
393 ** libgnutls: Fixes in SRTP extension generation when MKI is being
396 ** libgnutls: Added ability to set hooks before or after sending or receiving
397 any handshake message with gnutls_handshake_set_hook_function().
399 ** API and ABI modifications:
400 GNUTLS_NO_REPLAY_PROTECTION: Added
401 gnutls_certificate_set_trust_list: Added
402 gnutls_cipher_get_tag_size: Added
403 gnutls_record_overhead_size: Added
404 gnutls_est_record_overhead_size: Added
405 gnutls_handshake_set_hook_function: Added
406 gnutls_handshake_description_get_name: Added
407 gnutls_digest_list: Added
408 gnutls_digest_get_id: Added
409 gnutls_digest_get_name: Added
412 * Version 3.2.1 (released 2013-06-01)
414 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
417 ** libgnutls: Fixes in interrupted function resumption. Report
418 and patch by Tim Kosse.
420 ** libgnutls: Corrected issue when receiving client hello verify requests
423 ** libgnutls: Fixes in DTLS record overhead size calculations.
425 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
428 ** API and ABI modifications:
429 gnutls_session_set_id: Added
432 * Version 3.2.0 (released 2013-05-10)
434 ** libgnutls: Use nettle's elliptic curve implementation.
436 ** libgnutls: Added Salsa20 cipher
438 ** libgnutls: Added UMAC-96 and UMAC-128
440 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
441 As they are not standardized they are defined using private ciphersuite
444 ** libgnutls: Added support for DTLS 1.2.
446 ** libgnutls: Added support for the Application Layer Protocol Negotiation
449 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
451 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
452 linking to pthreads if p11-kit isn't used).
454 ** API and ABI modifications:
455 gnutls_cipher_get_iv_size: Added
456 gnutls_hmac_set_nonce: Added
457 gnutls_mac_get_nonce_size: Added
460 * Version 3.1.10 (released 2013-03-22)
462 ** certtool: When generating PKCS #12 files use by default the
463 ARCFOUR (RC4) cipher to be compatible with devices that don't
464 support AES with PKCS #12.
466 ** libgnutls: Load CA certificates in android 4.x systems.
468 ** libgnutls: Optimized CA certificate loading.
470 ** libgnutls: Private keys are overwritten on deinitialization.
472 ** libgnutls: PKCS #11 slots are scanned only when needed, not
473 on initialization. This speeds up gnutls initialization when smart
476 ** libgnutls: Corrected issue in the (deprecated) external key
477 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
479 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
482 ** libgnutls-dane: Updated DANE verification options.
484 ** configure: Trust store file must be explicitly set or unset when
487 ** API and ABI modifications:
488 gnutls_x509_crt_get_issuer_dn2: Added
489 gnutls_x509_crt_get_dn2: Added
490 gnutls_x509_crl_get_issuer_dn2: Added
491 gnutls_x509_crq_get_dn2: Added
492 gnutls_x509_trust_list_remove_trust_mem: Added
493 gnutls_x509_trust_list_remove_trust_file: Added
494 gnutls_x509_trust_list_remove_cas: Added
495 gnutls_session_get_desc: Added
496 gnutls_privkey_sign_raw_data: Added
497 gnutls_privkey_status: Added
500 * Version 3.1.9 (released 2013-02-27)
502 ** certtool: Option --to-p12 will now ask for a password to generate
503 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
505 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
507 ** libgnutls: Corrected parsing issue in XMPP within a subject
508 alternative name. Reported by James Cloos.
510 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
511 modules, and not only the ones loaded via p11-kit.
513 ** libgnutls: Added function to check whether the private key is
514 still available (inserted).
516 ** libgnutls: Try to detect fork even during nonce generation.
518 ** API and ABI modifications:
519 gnutls_handshake_set_random: Added
520 gnutls_transport_set_int2: Added
521 gnutls_transport_get_int2: Added
522 gnutls_transport_get_int: Added
523 gnutls_record_cork: Exported
524 gnutls_record_uncork: Exported
525 gnutls_pkcs11_privkey_status: Added
528 * Version 3.1.8 (released 2013-02-10)
530 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
531 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
532 with encrypted keys. Reported by Yan Fiz.
534 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
535 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
538 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
539 to operate with long keys. Reported by Erik A Jensen.
541 ** API and ABI modifications:
542 No changes since last version.
545 * Version 3.1.7 (released 2013-02-04)
547 ** certtool: Added option "dn" which allows to directly set the DN
548 in a template from an RFC4514 string.
550 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
552 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
554 ** libgnutls-dane: Added function to specify a DLV file.
556 ** libgnutls: Heartbeat code was made optional.
558 ** libgnutls: Fixes in server side of DTLS-0.9.
560 ** libgnutls: DN variable 'T' was expanded to 'title'.
562 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
563 Issue reported by Kenny Paterson and Nadhem Alfardan.
565 ** libgnutls: Added functions to directly set the DN in a certificate
566 or request from an RFC4514 string.
568 ** libgnutls: Optimizations in the random generator. The re-seeding of
569 it is now explicitly done on every session deinit.
571 ** libgnutls: Simplified the DTLS sliding window implementation.
573 ** libgnutls: The minimum DH bits accepted by a client are now set
574 by the specified priority string. The current values correspond to the
575 previous defaults (727 bits), except for the SECURE128 and SECURE192
576 strings which increase the minimum to 1248 and 1776 respectively.
578 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
579 buffering in sending application data.
581 ** libgnutls: Removed default random padding, and added a length-hiding interface
582 instead. Both the server and the client must support this extension. Whether
583 length-hiding can be used on a given session can be checked using
584 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
586 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
587 a new padding mechanism in TLS allowing arbitrary padding in TLS records
588 in all ciphersuites, which makes length-hiding more efficient and solves
589 the issues with timing attacks on CBC ciphersuites.
591 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
592 ciphers (i.e., AES-GCM). Reported by William McGovern.
594 ** API and ABI modifications:
595 gnutls_db_check_entry_time: Added
596 gnutls_record_set_timeout: Added
597 gnutls_record_get_random_padding_status: Added
598 gnutls_x509_crt_set_dn: Added
599 gnutls_x509_crt_set_issuer_dn: Added
600 gnutls_x509_crq_set_dn: Added
601 gnutls_range_split: Added
602 gnutls_record_send_range: Added
603 gnutls_record_set_max_empty_records: Added
604 gnutls_record_can_use_length_hiding: Added
605 gnutls_rnd_refresh: Added
613 xssl_client_init: Added
614 xssl_server_init: Added
615 xssl_get_session: Added
616 xssl_get_verify_status: Added
617 xssl_cred_init: Added
618 xssl_cred_deinit: Added
619 dane_state_set_dlv_file: Added
620 GNUTLS_SEC_PARAM_EXPORT: Added
621 GNUTLS_SEC_PARAM_VERY_WEAK: Added
624 * Version 3.1.6 (released 2013-01-02)
626 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
627 Paterson and Nadhem Alfardan.
629 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
631 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
634 ** libgnutls: Ignore heartbeat messages when received out-of-order,
635 instead of issuing an error.
637 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
640 ** libgnutls: TPM support is disabled by default because GPL programs
641 cannot link with it. Use --with-tpm to enable it.
643 ** libgnutls-guile: Fixed parallel compilation issue.
645 ** gnutls-cli: It will try to connect to all possible returned addresses
648 ** API and ABI modifications:
649 No changes since last version.
652 * Version 3.1.5 (released 2012-11-24)
654 ** libgnutls: Added functions to parse the certificates policies
657 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
658 Name by translating it to UTF-8 (works on windows or systems with iconv).
660 ** libgnutls: Added PKCS #11 key generation function that returns the
661 public key on generation.
663 ** libgnutls: Corrected bug in priority string parsing, that mostly
664 affected combined levels. Patch by Tim Kosse.
666 ** certtool: The --pubkey-info option can be combined with the
667 --load-privkey or --load-request to print the corresponding public keys.
669 ** certtool: It is able to set certificate policies via a template.
671 ** certtool: Added --hex-numbers option which prints big numbers in
672 an easier to parse format.
674 ** p11tool: After key generation, outputs the public key (useful in
675 tokens that do not store the public key).
677 ** danetool: It is being built even without libgnutls-dane (the
678 --check functionality is disabled though).
680 ** API and ABI modifications:
681 gnutls_pkcs11_privkey_generate2: Added
682 gnutls_x509_crt_get_policy: Added
683 gnutls_x509_crt_set_policy: Added
684 gnutls_x509_policy_release: Added
685 gnutls_pubkey_import_x509_crq: Added
686 gnutls_pubkey_print: Added
687 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
690 * Version 3.1.4 (released 2012-11-10)
692 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
693 the available revocation data validity.
695 ** libgnutls: Added gnutls_certificate_verification_status_print(),
696 a function to print the verification status code in human readable text.
698 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
700 ** libgnutls: Simplified certificate verification by adding
701 gnutls_certificate_verify_peers3().
703 ** libgnutls: Added support for extension to establish keys for SRTP.
704 Contributed by Martin Storsjo.
706 ** libgnutls: The X.509 verification functions check the key
707 usage bits and pathlen constraints and on failure output
708 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
710 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
712 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
713 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
715 ** libgnutls: Always tolerate key usage violation errors from the side
716 of the peer, but also notify via an audit message.
718 ** gnutls-cli: Added --local-dns option.
720 ** danetool: Corrected bug that prevented loading PEM files.
722 ** danetool: Added --check option to allow querying and verifying
725 ** libgnutls-dane: Added pkg-config file for the library.
727 ** API and ABI modifications:
728 gnutls_session_get_id2: Added
729 gnutls_sign_is_secure: Added
730 gnutls_certificate_verify_peers3: Added
731 gnutls_ocsp_status_request_is_checked: Added
732 gnutls_certificate_verification_status_print: Added
733 gnutls_srtp_set_profile: Added
734 gnutls_srtp_set_profile_direct: Added
735 gnutls_srtp_get_selected_profile: Added
736 gnutls_srtp_get_profile_name: Added
737 gnutls_srtp_get_profile_id: Added
738 gnutls_srtp_get_keys: Added
739 gnutls_srtp_get_mki: Added
740 gnutls_srtp_set_mki: Added
741 gnutls_srtp_profile_t: Added
742 dane_cert_type_name: Added
743 dane_match_type_name: Added
744 dane_cert_usage_name: Added
745 dane_verification_status_print: Added
746 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
747 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
748 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
749 GNUTLS_CERT_UNEXPECTED_OWNER: Added
750 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
753 * Version 3.1.3 (released 2012-10-12)
755 ** libgnutls: Added support for the OCSP Certificate Status
758 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
759 certificate status extension in verification.
761 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
763 ** libgnutls: Increased maximum password length in the PKCS #12
766 ** libgnutls: Fixed the receipt of session tickets during session resumption.
767 Reported by danblack at http://savannah.gnu.org/support/?108146
769 ** libgnutls: Added functions to export structures in an allocated buffer.
771 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
772 response corresponds to the given certificate.
774 ** libgnutls: In client side gnutls_init() enables the session ticket and
775 OCSP certificate status request extensions by default. The flag
776 GNUTLS_NO_EXTENSIONS can be used to prevent that.
778 ** libgnutls: Several updates in the OpenPGP code. The generating code
779 is fully RFC6091 compliant and RFC5081 support is only supported in client
782 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
783 certificate verification.
785 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
787 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
789 ** API and ABI modifications:
790 gnutls_certificate_get_peers_subkey_id: Added
791 gnutls_certificate_set_ocsp_status_request_function: Added
792 gnutls_certificate_set_ocsp_status_request_file: Added
793 gnutls_ocsp_status_request_enable_client: Added
794 gnutls_ocsp_status_request_get: Added
795 gnutls_ocsp_resp_check_crt: Added
796 gnutls_dh_params_export2_pkcs3: Added
797 gnutls_pubkey_export2: Added
798 gnutls_x509_crt_export2: Added
799 gnutls_x509_dn_export2: Added
800 gnutls_x509_crl_export2: Added
801 gnutls_pkcs7_export2: Added
802 gnutls_x509_privkey_export2: Added
803 gnutls_x509_privkey_export2_pkcs8: Added
804 gnutls_x509_crq_export2: Added
805 gnutls_openpgp_crt_export2: Added
806 gnutls_openpgp_privkey_export2: Added
807 gnutls_pkcs11_obj_export2: Added
808 gnutls_pkcs12_export2: Added
809 gnutls_pubkey_import_openpgp_raw: Added
810 gnutls_pubkey_import_x509_raw: Added
811 dane_state_init: Added
812 dane_state_deinit: Added
813 dane_query_tlsa: Added
814 dane_query_status: Added
815 dane_query_entries: Added
816 dane_query_data: Added
817 dane_query_deinit: Added
818 dane_verify_session_crt: Added
819 dane_verify_crt: Added
823 * Version 3.1.2 (released 2012-09-26)
825 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
826 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
827 of certificates in the windows platform.
829 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
831 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
832 (the work was done during Google Summer of Code).
834 ** libgnutls: Added X.509 certificate verification flag
835 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
836 of unsorted certificate chains and is enabled by default for
837 TLS certificate verification (if gnutls_certificate_set_verify_flags()
838 does not override it).
840 ** libgnutls: Prints warning on certificates that contain keys of
841 an insecure level. If the %COMPAT priority flag is not specified
842 the TLS connection fails.
844 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
845 if interrupted during the retrasmition of handshake data.
847 ** libgnutls: Better mingw32 support (patch by LRN).
849 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
850 key usage violation errors (they are far too common to ignore).
852 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
853 which provides a tool to counter compression-related attacks where
854 parts of the data are controlled by the attacker _and_ are placed in
855 separate records (use with care - do not use compression if not sure).
857 ** libgnutls: Depends on libtasn1 2.14 or later.
859 ** certtool: Prints the number of bits of the public key algorithm
860 parameter in a private key.
862 ** API and ABI modifications:
863 gnutls_x509_privkey_get_pk_algorithm2: Added
864 gnutls_heartbeat_ping: Added
865 gnutls_heartbeat_pong: Added
866 gnutls_heartbeat_allowed: Added
867 gnutls_heartbeat_enable: Added
868 gnutls_heartbeat_set_timeouts: Added
869 gnutls_heartbeat_get_timeout: Added
870 GNUTLS_SEC_PARAM_WEAK: Added
871 GNUTLS_SEC_PARAM_INSECURE: Added
873 * Version 3.1.1 (released 2012-09-02)
875 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
877 ** certtool: Changes in password handling of certtool.
878 Ask password when required and only if the '--password' option is not
879 given. If the '--password' option is given during key generation then
880 assume the PKCS #8 file format, instead of ignoring the password.
882 ** tpmtool: No longer asks for key password in registered keys.
884 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
885 wmNAF is now used for point multiplication and other optimizations.
886 (the major part of the work was done during Google Summer of Code).
888 ** libgnutls: The default pull_timeout_function only uses select
889 instead of a combination of select() and recv() to prevent issues
890 when used in stream sockets in some systems.
892 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
893 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
896 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
897 cards. Thanks to Andreas Schwier from cardcontact.de for providing
898 me with ECDSA capable smart cards.
900 ** API and ABI modifications:
901 gnutls_sign_algorithm_get: Added
902 gnutls_sign_get_hash_algorithm: Added
903 gnutls_sign_get_pk_algorithm: Added
906 * Version 3.1.0 (released 2012-08-15)
908 ** libgnutls: Added direct support for TPM as a cryptographic module
909 in gnutls/tpm.h. TPM keys can be used in functions accepting files
910 using URLs of the following types:
911 tpmkey:file=/path/to/file
912 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
914 ** libgnutls: Priority string level keywords can be combined.
915 For example the string "SECURE256:+SUITEB128" is now allowed.
917 ** libgnutls: requires libnettle 2.5.
919 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
920 for encryption and signatures.
922 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
923 generic errors and signature verification errors in the verification
926 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
927 to simplify parsing in most PKCS #12 use cases.
929 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
930 the whole certificate chain (if any) to the credentials structure, instead
931 of only the end-user certificate.
933 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
934 and gnutls_x509_privkey_import_pkcs8(), return consistently
935 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
936 password was provided.
938 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
939 allows to set the maximum time spent in a handshake.
941 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
944 ** tpmtool: Added. It is a tool to generate private keys in the
947 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
948 and --benchmark-tls-ciphers
950 ** certtool: generated PKCS #12 structures may hold more than one
951 private key. Patch by Lucas Fisher.
953 ** certtool: Added option --null-password to generate/decrypt keys
954 that use a NULL password (in schemas that distinguish between NULL
957 ** minitasn1: Upgraded to libtasn1 version 2.13.
959 ** API and ABI modifications:
960 GNUTLS_CERT_SIGNATURE_FAILURE: Added
961 GNUTLS_CAMELLIA_192_CBC: Added
962 GNUTLS_PKCS_NULL_PASSWORD: Added
963 gnutls_url_is_supported: Added
964 gnutls_pkcs11_obj_list_import_url2: Added
965 gnutls_pkcs11_obj_set_pin_function: Added
966 gnutls_pkcs11_privkey_set_pin_function: Added
967 gnutls_pkcs11_get_pin_function: Added
968 gnutls_privkey_import_tpm_raw: Added
969 gnutls_privkey_import_tpm_url: Added
970 gnutls_privkey_import_pkcs11_url: Added
971 gnutls_privkey_import_openpgp_raw: Added
972 gnutls_privkey_import_x509_raw: Added
973 gnutls_privkey_import_ext2: Added
974 gnutls_privkey_import_url: Added
975 gnutls_privkey_set_pin_function: Added
976 gnutls_tpm_privkey_generate: Added
977 gnutls_tpm_key_list_deinit: Added
978 gnutls_tpm_key_list_get_url: Added
979 gnutls_tpm_get_registered: Added
980 gnutls_tpm_privkey_delete: Added
981 gnutls_pubkey_import_tpm_raw: Added
982 gnutls_pubkey_import_tpm_url: Added
983 gnutls_pubkey_import_url: Added
984 gnutls_pubkey_verify_hash2: Added
985 gnutls_pubkey_set_pin_function: Added
986 gnutls_x509_privkey_import2: Added
987 gnutls_x509_privkey_import_openssl: Added
988 gnutls_x509_crt_set_pin_function: Added
989 gnutls_load_file: Added
990 gnutls_pkcs12_simple_parse: Added
991 gnutls_certificate_set_x509_system_trust: Added
992 gnutls_certificate_set_pin_function: Added
993 gnutls_x509_trust_list_add_system_trust: Added
994 gnutls_x509_trust_list_add_trust_file: Added
995 gnutls_x509_trust_list_add_trust_mem: Added
996 gnutls_pk_to_sign: Added
997 gnutls_handshake_set_timeout: Added
998 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
999 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1002 * Version 3.0.22 (released 2012-08-04)
1004 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1005 is now supported on OpenBSD.
1007 ** libgnutls: When verifying a certificate chain make sure it is chain.
1008 If the chain is wronly interrupted at some point then truncate it,
1009 and only try to verify the correct part. Patch by David Woodhouse
1011 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1012 which now may (again) accept a NULL password.
1014 ** certtool: Allow the user to choose the hash algorithm
1015 when signing certificate request or certificate revocation list.
1016 Patch by Petr PÃsaÅ™.
1018 ** API and ABI modifications:
1019 No changes since last version.
1022 * Version 3.0.21 (released 2012-07-02)
1024 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1025 that prevented the loading of EC private keys when DER
1026 encoded. Reported by David Woodhouse.
1028 ** libgnutls: In DTLS larger to mtu records result to
1029 GNUTLS_E_LARGE_PACKET instead of being truncated.
1031 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1032 on patch by David Woodhouse.
1034 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1036 ** libgnutls: Added support for an old version of the DTLS protocol
1037 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1038 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1041 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1042 if only the label is specified. Patch by David Woodhouse.
1044 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1047 ** API and ABI modifications:
1048 gnutls_dtls_set_data_mtu: Added
1049 gnutls_session_set_premaster: Added
1052 * Version 3.0.20 (released 2012-06-05)
1054 ** libgnutls: Corrected bug which prevented the parsing of
1055 handshake packets spanning multiple records.
1057 ** libgnutls: Check key identifiers when checking for an issuer.
1059 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1061 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1062 that loads the trusted CA certificates from system locations
1063 (e.g. trusted storage in windows and CA bundle files in other systems).
1065 ** certtool: Added support for the URI subject alternative
1066 name type in certtool.
1068 ** certtool: Increase to 128 the maximum number of distinct options
1069 (e.g. dns_names) allowed.
1071 ** gnutls-cli: If --print-cert is given, print the certificate,
1072 even on verification failure.
1074 ** API and ABI modifications:
1075 gnutls_pk_to_sign: Added
1076 gnutls_pubkey_verify_hash2: Added
1077 gnutls_certificate_set_x509_system_trust: Added
1080 * Version 3.0.19 (released 2012-04-22)
1082 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1083 is assumed to be a file that stores the pin. Based on patch
1086 ** libgnutls: gnutls_record_check_pending() no longer
1087 returns unprocessed data, and thus ensure the non-blocking
1088 of the next call to gnutls_record_recv().
1090 ** libgnutls: Added strict tests in Diffie-Hellman and
1091 SRP key exchange public keys.
1093 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1094 strict in hash selection, and allow a stronger hash to
1095 be used than the appropriate, to improve interoperability
1098 ** tests: Disabled floating point test, and corrections
1099 in pkcs12 decoding tests.
1101 ** API and ABI modifications:
1102 No changes since last version.
1105 * Version 3.0.18 (released 2012-04-02)
1107 ** certtool: Avoid a Y2K38 bug when generating certificates.
1108 Patch by Robert Millan.
1110 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1111 is returned on premature termination (and added unit test).
1113 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1115 ** libgnutls: Corrected VIA padlock detection for old
1116 VIA processors. Reported by Kris Karas.
1118 ** libgnutls: Updated assembler files.
1120 ** libgnutls: Time in generated certificates is stored
1121 as GeneralizedTime instead of UTCTime (which only stores
1122 2 digits of a year).
1124 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1126 ** API and ABI modifications:
1127 gnutls_x509_crt_set_private_key_usage_period: Added
1128 gnutls_x509_crt_get_private_key_usage_period: Added
1129 gnutls_x509_crq_set_private_key_usage_period: Added
1130 gnutls_x509_crq_get_private_key_usage_period: Added
1131 gnutls_session_get_random: Added
1134 * Version 3.0.17 (released 2012-03-17)
1136 ** command line apps: Always link with local libopts.
1138 ** API and ABI modifications:
1139 No changes since last version.
1142 * Version 3.0.16 (released 2012-03-16)
1144 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1146 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1148 ** libgnutls: included assembler files for MacOSX.
1150 ** p11tool: Small fixes in handling of the --private command
1153 ** certtool: The template option allows for setting the domain
1154 component (DC) option of the distinguished name, and the ocsp_uri
1155 as well as the ca_issuers_uri options.
1157 ** API and ABI modifications:
1158 gnutls_x509_crt_set_authority_info_access: Added
1161 * Version 3.0.15 (released 2012-03-02)
1163 ** test suite: Only run under valgrind in the development
1164 system (the full git repository)
1166 ** command line apps: Link with local libopts if the
1167 installed is an old one.
1169 ** libgnutls: Eliminate double free during SRP
1170 authentication. Reported by Peter Penzov.
1172 ** libgnutls: Corrections in record packet parsing.
1173 Reported by Matthew Hall.
1175 ** libgnutls: Cryptodev updates and fixes.
1177 ** libgnutls: Corrected issue with select() that affected
1178 FreeBSD. This prevented establishing DTLS sessions.
1179 Reported by Andreas Metzler.
1181 ** libgnutls: Corrected rehandshake and resumption
1182 operations in DTLS. Reported by Sean Buckheister.
1184 ** libgnutls: PKCS #11 objects that do not have ID
1185 no longer crash listing. Reported by Sven Geggus.
1187 ** API and ABI modifications:
1188 No changes since last version.
1191 * Version 3.0.14 (released 2012-02-24)
1193 ** command line apps: Included libopts doesn't get installed
1196 ** libgnutls: Eliminate double free on wrongly formatted
1197 certificate list. Reported by Remi Gacogne.
1199 ** libgnutls: cryptodev code corrected, updated to account
1200 for hashes and GCM mode.
1202 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1203 Report and fix by Sam Varshavchik.
1205 ** API and ABI modifications:
1206 No changes since last version.
1209 * Version 3.0.13 (released 2012-02-18)
1211 ** gnutls-cli: added the --ocsp option which will verify
1212 the peer's certificate with OCSP.
1214 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1215 will use an ssh-style authentication method.
1217 ** gnutls-cli: if no --x509cafile is provided a default is
1218 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1220 ** ocsptool: Added --ask parameter, to verify a certificate's
1221 status from an ocsp server.
1223 ** command line apps: Use gnu autogen (libopts) to parse command
1224 line arguments and template files.
1226 ** tests: Added stress test for DTLS packet losses and
1227 out-of-order receival. Contributed by Sean Buckheister.
1229 ** libgnutls: Several updates and corrections in the DTLS
1230 DTLS lost packet handling and retransmission timeouts.
1231 Report and patches by Sean Buckheister.
1233 ** libgnutls: Added new functions to easily allow the usage of
1234 a trust on first use (SSH-style) authentication.
1236 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1237 for the RFC6460 requirements.
1239 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1240 to account for security level of 96-bits.
1242 ** libgnutls: In client side if server does not advertise any
1243 known CAs and only a single certificate is set in the credentials,
1246 ** libgnutls: Added functions to parse authority key identifiers
1247 when stored as a 'general name' and serial combo.
1249 ** libgnutls: Added function to force explicit reinitialization
1250 of PKCS #11 modules. This is required on the child process after
1251 a fork (if PKCS #11 functionality is desirable).
1253 ** libgnutls: Depend on p11-kit 0.11.
1255 ** API and ABI modifications:
1256 gnutls_dtls_get_timeout: Added
1257 gnutls_verify_stored_pubkey: Added
1258 gnutls_store_pubkey: Added
1259 gnutls_store_commitment: Added
1260 gnutls_x509_crt_get_authority_key_gn_serial: Added
1261 gnutls_x509_crl_get_authority_key_gn_serial: Added
1262 gnutls_pkcs11_reinit: Added
1263 gnutls_ecc_curve_list: Added
1264 gnutls_priority_certificate_type_list: Added
1265 gnutls_priority_sign_list: Added
1266 gnutls_priority_protocol_list: Added
1267 gnutls_priority_compression_list: Added
1268 gnutls_priority_ecc_curve_list: Added
1269 gnutls_tdb_init: Added
1270 gnutls_tdb_set_store_func: Added
1271 gnutls_tdb_set_store_commitment_func: Added
1272 gnutls_tdb_set_verify_func: Added
1273 gnutls_tdb_deinit: Added
1276 * Version 3.0.12 (released 2012-01-20)
1278 ** libgnutls: Added OCSP support.
1279 There is a new header file gnutls/ocsp.h and a set of new functions
1280 under the gnutls_ocsp namespace. Currently the functionality provided
1281 is to parse and extract information from OCSP requests/responses, to
1282 generate OCSP requests and to verify OCSP responses. See the manual
1283 for more information. Run ./configure with --disable-ocsp to build
1284 GnuTLS without OCSP support.
1286 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1288 ** ocsptool: Added new command line tool.
1289 The tool can parse OCSP request/responses, generate OCSP requests and
1290 verify OCSP responses. See the manual for more information.
1292 ** certtool: --outder option now works for private
1293 and public keys as well.
1295 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1296 to warn when no or insufficient priorities were set.
1298 ** libgnutls: Corrected an alignment issue in ECDH
1299 key generation which prevented some keys from being
1300 correctly aligned in rare circumstances.
1302 ** libgnutls: Corrected memory leaks in DH parameter
1303 generation and ecc_projective_check_point().
1305 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1306 return a descriptive name of a DN OID.
1308 ** API and ABI modifications:
1309 gnutls_pubkey_encrypt_data: Added
1310 gnutls_x509_dn_oid_name: Added
1311 gnutls_session_resumption_requested: Added
1312 gnutls/ocsp.h: Added new header file.
1313 gnutls_ocsp_print_formats_t: Added new type.
1314 gnutls_ocsp_resp_status_t: Added new type.
1315 gnutls_ocsp_cert_status_t: Added new type.
1316 gnutls_x509_crl_reason_t: Added new type.
1317 gnutls_ocsp_req_add_cert: Added.
1318 gnutls_ocsp_req_add_cert_id: Added.
1319 gnutls_ocsp_req_deinit: Added.
1320 gnutls_ocsp_req_export: Added.
1321 gnutls_ocsp_req_get_cert_id: Added.
1322 gnutls_ocsp_req_get_extension: Added.
1323 gnutls_ocsp_req_get_nonce: Added.
1324 gnutls_ocsp_req_get_version: Added.
1325 gnutls_ocsp_req_import: Added.
1326 gnutls_ocsp_req_init: Added.
1327 gnutls_ocsp_req_print: Added.
1328 gnutls_ocsp_req_randomize_nonce: Added.
1329 gnutls_ocsp_req_set_extension: Added.
1330 gnutls_ocsp_req_set_nonce: Added.
1331 gnutls_ocsp_resp_deinit: Added.
1332 gnutls_ocsp_resp_export: Added.
1333 gnutls_ocsp_resp_get_certs: Added.
1334 gnutls_ocsp_resp_get_extension: Added.
1335 gnutls_ocsp_resp_get_nonce: Added.
1336 gnutls_ocsp_resp_get_produced: Added.
1337 gnutls_ocsp_resp_get_responder: Added.
1338 gnutls_ocsp_resp_get_response: Added.
1339 gnutls_ocsp_resp_get_signature: Added.
1340 gnutls_ocsp_resp_get_signature_algorithm: Added.
1341 gnutls_ocsp_resp_get_single: Added.
1342 gnutls_ocsp_resp_get_status: Added.
1343 gnutls_ocsp_resp_get_version: Added.
1344 gnutls_ocsp_resp_import: Added.
1345 gnutls_ocsp_resp_init: Added.
1346 gnutls_ocsp_resp_print: Added.
1347 gnutls_ocsp_resp_verify: Added.
1349 * Version 3.0.11 (released 2012-01-06)
1351 ** libgnutls: Corrected functionality of
1352 gnutls_record_get_direction(). Reported by Philip Allison.
1354 ** libgnutls: Provide less timing information when decoding
1355 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1357 ** API and ABI modifications:
1358 No changes since last version.
1361 * Version 3.0.10 (released 2012-01-04)
1363 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1364 in Linux as well as in BSD.
1366 ** gnutls-cli: Fixed reading from windows terminals.
1368 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1369 the stream is assumed to be base64 encoded (previously
1370 the encoding was auto-detected). This avoids a decoding
1371 issue in windows systems.
1373 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1375 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1376 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1378 ** libgnutls: Added function gnutls_random_art() to convert
1379 fingerprints to images (currently ascii-art).
1381 ** libgnutls: Corrected bug in DSA private key parsing, which
1382 prevented the verification of the key.
1384 ** API and ABI modifications:
1385 gnutls_random_art: Added
1388 * Version 3.0.9 (released 2011-12-13)
1390 ** certtool: Added new parameter --dh-info.
1392 ** certtool: -l option was overloaded so if combined with --priority
1393 it will only list the ciphersuites that are enabled by the given
1396 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1397 changes the ciphersuite selection procedure. If specified the server
1398 priorities will be used for selection instead of the client's.
1400 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1403 ** libgnutls: When session tickets are negotiated and used in a
1404 session, a server will not store that session data into its cache.
1406 ** libgnutls: Added the SECP192R1 curve.
1408 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1409 allow listing the ciphersuites enabled in a priority structure.
1410 It outputs an index to be used in gnutls_get_cipher_suite_info().
1412 ** libgnutls: Optimizations in the elliptic curve code --timing
1413 attacks resistant code is only used in ECDSA private key operations.
1415 ** doc: man pages for API functions generation was fixed and are
1416 now added again in the distribution.
1418 ** API and ABI modifications:
1419 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1420 gnutls_priority_get_cipher_suite_index: Added
1423 * Version 3.0.8 (released 2011-11-12)
1425 ** certtool: Certtool -e returns error code on verification
1428 ** certtool: Verifies parameters of generated keys.
1430 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1432 ** libgnutls: Provide less timing information when decoding
1433 TLS/DTLS record packets.
1435 ** doc: man pages for API functions were removed.
1436 The reason was that the code that auto-generated the man pages missed
1437 many APIs and we couldn't fix it (volunteers welcome). See the info
1438 manual or the GTK-DOC manual instead.
1440 ** API and ABI modifications:
1441 gnutls_x509_privkey_verify_params: Added
1444 * Version 3.0.7 (released 2011-11-08)
1446 ** libgnutls: Corrected fix in gnutls_session_get_data()
1447 to report the actual session size when the provided buffer
1450 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1451 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1453 ** API and ABI modifications:
1454 No changes since last version.
1457 * Version 3.0.6 (released 2011-11-07)
1459 ** gnutls-guile: Compilation fixes.
1461 ** libgnutls: Fixed possible buffer overflow in
1462 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1464 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1465 Reported by Fabrice Gautier.
1467 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1468 Thanks to Joseph Graham for providing access to such a system.
1470 ** libgnutls: Correctly report ECC private key parsing errors.
1471 Reported by Fabrice Gautier.
1473 ** libgnutls: In ECDHE verify that the received point lies on
1474 the selected curve. The ECDHE ciphersuites now take precendence
1477 ** API and ABI modifications:
1478 No changes since last version.
1481 * Version 3.0.5 (released 2011-10-27)
1483 ** libgnutls-extra: is no more
1485 ** libgnutls: Corrections in order to compile with mingw32.
1487 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1488 and new detection of PHE with support for partial hashing.
1490 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1493 ** minitasn1: Upgraded to libtasn1 version 2.10.
1495 ** API and ABI modifications:
1496 No changes since last version.
1499 * Version 3.0.4 (released 2011-10-15)
1501 ** libgnutls-extra: gnutls_register_md5_handler() was
1504 ** gnutls-cli-debug: Added more tests including AES-GCM,
1505 SHA256 and elliptic curves.
1507 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1508 the software version of the ciphers instead of hw accelerated
1511 ** libgnutls: Public key ID calculation is consistent among
1512 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1514 ** libgnutls: gnutls_privkey_t allows setting external callback
1515 to perform signing or decryption. Can be set using
1516 gnutls_privkey_import_ext()
1518 ** libgnutls: A certificate credentials structure can be
1519 used with a gnutls_privkey_t and a gnutls_pcert_st
1520 structure using gnutls_certificate_set_key().
1522 ** libgnutls: Fixes to enable external signing callback to
1523 operate with TLS 1.2.
1525 ** libgnutls: Fixed crash when printing ECDSA certificate key
1526 ID. Reported by Erik Jensen.
1528 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1529 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1530 support for hashes and HMACs.
1532 ** libgnutls: Compilation fixed when p11-kit is not detected.
1534 ** libgnutls: Fixed the deflate compression code.
1536 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1537 Used to get the PKIX Authority Information Access (AIA) field.
1539 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1541 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1542 signing callback function.
1544 ** API and ABI modifications:
1545 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1546 gnutls_privkey_import_ext: Added function.
1547 gnutls_certificate_set_key: Added function.
1548 gnutls_info_access_what_t (x509.h): Added enum.
1549 GNUTLS_OID_AIA (x509.h): Added symbol.
1550 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1551 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1553 * Version 3.0.3 (released 2011-09-18)
1555 ** libgnutls: Added gnutls_record_get_discarded() to return the
1556 number of discarded records in a DTLS session.
1558 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1559 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1561 ** libgnutls: Memory leak fixes in credentials private key
1562 deinitialization. Reported by Dan Winship.
1564 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1566 ** libgnutls: Do not send an empty extension structure in server
1567 hello. This affected old implementations that do not support extensions.
1568 Reported by J. Cameijo Cerdeira.
1570 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1571 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1572 <http://bugs.debian.org/640639>.
1574 ** libgnutls: Added support for VIA padlock AES optimizations.
1575 (disabled by default)
1577 ** libgnutls: Added support for elliptic curves in
1580 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1581 to allow generating a key in a token.
1583 ** p11tool: Added generate-rsa, generate-dsa and
1584 generate-ecc options to allow generating private
1587 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1590 ** API and ABI modifications:
1591 gnutls_pkcs11_privkey_generate: Added
1592 gnutls_pubkey_import_ecc_raw: Added
1593 gnutls_pubkey_import_ecc_x962: Added
1594 gnutls_pubkey_get_pk_ecc_x962: Added
1595 gnutls_record_get_discarded: Added
1598 * Version 3.0.2 (released 2011-09-01)
1600 ** libgnutls: OpenPGP certificate type is not enabled
1603 ** libgnutls: Added %NO_EXTENSIONS priority string.
1605 ** libgnutls: Corrected issue in gnutls_record_recv()
1606 triggered on encryption or compression error.
1608 ** libgnutls: Compatibility fixes in CPU ID detection
1609 for i386 and old GCC.
1611 ** gnutls-cli: Benchmark applications were incorporated
1614 ** libgnutls: Corrected parsing of XMPP subject
1617 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1620 ** libgnutls: gnutls_certificate_set_x509_key() and
1621 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1622 and allow the release of the private key during the
1623 lifetime of the certificate structure.
1625 ** API and ABI modifications:
1626 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1629 * Version 3.0.1 (released 2011-08-20)
1631 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1632 friends support server name indication. If multiple
1633 certificates are set using these functions the proper one
1634 will be selected during a handshake.
1636 ** libgnutls: Added AES-256-GCM which was left out from
1637 the previous release. Reported by Benjamin Hof.
1639 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1640 times, the flags in the callback were not being updated
1641 to reflect for PIN low count or final try.
1643 ** libgnutls: Do not allow second instances of PKCS #11
1646 ** libgnutls: fixed alignment issue in AES-NI code.
1648 ** libgnutls: The config file at gnutls_pkcs11_init()
1649 is being read if provided.
1651 ** libgnutls: Ensure that a certificate list specified
1652 using gnutls_certificate_set_x509_key() and friends, is
1653 sorted according to TLS specification (from subject to issuer).
1655 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1656 gnutls_x509_crt_list_import. It checks whether the list to be
1657 imported is properly sorted.
1659 ** crywrap: Added to the distribution. It is an application
1660 that proxies TLS session to a port using a plaintext service.
1662 ** doc: Many GTK-DOC improvements.
1664 ** i18n: Translations were updated.
1666 ** API and ABI modifications:
1667 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1668 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1671 * Version 3.0.0 (released 2011-07-29)
1673 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1676 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1679 ** certtool: bug fixes in certificate request generation. Patch
1682 ** API and ABI modifications:
1683 gnutls_pcert_list_import_x509_raw: ADDED
1686 * Version 2.99.4 (released 2011-07-23)
1688 ** doc: documentation updates.
1690 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1691 to avoid thread-safety issues. Reported by Sam Varshavchik.
1693 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1695 ** libgnutls: license upgraded to LGPLv3
1697 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1700 ** API and ABI modifications:
1701 No changes since last version.
1704 * Version 2.99.3 (released 2011-06-18)
1706 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1707 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1709 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1710 strings to enable the NSA SuiteB cryptography ciphersuites.
1712 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1713 verify data provided the signature algorithm.
1715 ** libgnutls: Simplified the handling of handshake messages to
1716 be hashed. Instead of hashing during the handshake process we now
1717 keep the data until handshake is over and hash them on request.
1718 This uses more memory but eliminates issues with TLS 1.2 and
1721 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1722 instruction. Uses Andy Polyakov's assembly code.
1724 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1725 gnutls_x509_trust_list_verify_named_crt() that allow having a
1726 list of certificates in the trusted list that will be associated
1727 with a name (e.g. server name) and will not be used as CAs.
1729 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1730 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1733 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1735 ** API and ABI modifications:
1736 gnutls_pubkey_verify_data2: ADDED
1737 gnutls_ecc_curve_get: ADDED
1738 gnutls_x509_trust_list_add_named_crt: ADDED
1739 gnutls_x509_trust_list_verify_named_crt: ADDED
1740 gnutls_x509_privkey_verify_data: REMOVED
1741 gnutls_crypto_bigint_register: REMOVED
1742 gnutls_crypto_cipher_register: REMOVED
1743 gnutls_crypto_digest_register: REMOVED
1744 gnutls_crypto_mac_register: REMOVED
1745 gnutls_crypto_pk_register: REMOVED
1746 gnutls_crypto_rnd_register: REMOVED
1747 gnutls_crypto_single_cipher_register: REMOVED
1748 gnutls_crypto_single_digest_register: REMOVED
1749 gnutls_crypto_single_mac_register: REMOVED
1750 GNUTLS_KX_ECDHE_PSK: New key exchange method
1751 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1752 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1753 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1756 * Version 2.99.2 (released 2011-05-26)
1758 ** libgnutls: Added Elliptic curve support. This is not
1759 enabled by default. Requires priority strings:
1760 +CURVE-ALL: to add all supported curves
1761 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1762 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1763 +ANON-ECDHE: to add anonymous ECDH
1765 ** libgnutls: PKCS #11 URLs conform to the latest draft
1766 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1768 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1771 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1772 to get important auditing information including the corresponding session.
1773 That might be useful to block DoS or other attacker from specific IPs.
1775 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1776 the public key algorithm of the key.
1778 ** libgnutls: Added gnutls_certificate_get_issuer() and
1779 gnutls_x509_trust_list_get_issuer() to compensate for the
1780 missing gnutls_certificate_get_x509_cas().
1782 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1783 verification of the self signature in a certificate request.
1784 This allows verifying whether the owner of the private key
1785 is the generator of the request.
1787 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1788 the self signature of the request.
1790 ** API and ABI modifications:
1791 gnutls_certificate_get_issuer: ADDED
1792 gnutls_x509_trust_list_get_issuer: ADDED
1793 gnutls_x509_crq_verify: ADDED
1794 gnutls_global_set_audit_log_function: ADDED
1795 gnutls_ecc_curve_get_name: ADDED
1796 gnutls_ecc_curve_get_size: ADDED
1797 gnutls_x509_privkey_import_ecc_raw: ADDED
1798 gnutls_x509_privkey_export_ecc_raw: ADDED
1799 gnutls_global_set_time_function: ADDED
1801 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1802 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1803 GNUTLS_KX_ECDHE_RSA: New key exchange method
1804 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1805 GNUTLS_KX_ANON_ECDH: New key exchange method
1806 GNUTLS_PK_ECC: New public key algorithm
1807 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1808 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1809 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1810 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
1811 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1812 GNUTLS_ECC_CURVE_INVALID: New curve definition
1813 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1814 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1815 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1816 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1819 * Version 2.99.1 (released 2011-04-23)
1821 ** libgnutls: LZO support was removed.
1823 ** libgnutls: Corrections in SSLv2 client hello parsing.
1825 ** libgnutls: Added support for AES-NI if detected. Uses
1826 Andy Polyakov's AES-NI code.
1828 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
1829 weak, several sites require it for connection. It is enabled for
1830 "NORMAL" and "PERFORMANCE" priority strings.
1832 ** libgnutls: depend on libdl.
1834 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1836 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1837 function required GnuTLS to access system specific data, for no reason.
1838 Use gnutls_transport_set_errno(), or your system's errno fascility
1841 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1842 to set a callback to retrieve a certificate. The certificate is
1843 received in a format that requires no processing from gnutls thus
1844 it is suitable when performance is required.
1846 ** API and ABI modifications:
1847 gnutls_transport_set_global_errno: REMOVED
1848 gnutls_certificate_set_retrieve_function2: ADDED
1850 * Version 2.99.0 (released 2011-04-09)
1852 ** libgnutls: Added Datagram TLS support.
1854 ** libgnutls: Uses a single configure file and a single
1855 gnulib library to save space.
1857 ** libgnutls: Several bug fixes.
1859 ** libgnutls: gnutls_transport_set_lowat() is no more.
1861 ** libgnutls-openssl: modified to use modern gnutls' functions.
1862 This introduces an ABI incompatibility with previous versions.
1864 ** libgnutls: Corrected signature generation and verification
1865 in the Certificate Verify message when in TLS 1.2. Reported
1868 ** libgnutlsxx: The C++ interface returns exception on
1869 every error and not only on fatal ones. This allows easier
1872 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
1875 ** libgnutls: SRP and PSK are no longer set on the default priorities.
1876 They have to be explicitly set.
1878 ** libgnutls: During handshake message verification using DSS
1879 use the hash algorithm required by it.
1881 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
1882 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
1884 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
1886 ** libgnutls-extra: Inner application extension was removed.
1887 It was never standardized nor published as an RFC.
1889 ** libgnutls: Added new certificate verification functions, that
1890 can provide more details and are more efficient. Check
1891 gnutls_x509_trust_list_*.
1893 ** certtool: Uses the new certificate verification functions for
1896 ** certtool: Added new certificate verification functionality
1897 using the --verify option. Combined with --load-ca-certificate
1898 it can verify a certificate chain against a list of certificates.
1900 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
1902 ** API and ABI modifications:
1903 gnutls_dtls_set_timeouts: ADDED
1904 gnutls_dtls_get_mtu: ADDED
1905 gnutls_dtls_get_data_mtu: ADDED
1906 gnutls_dtls_set_mtu: ADDED
1907 gnutls_dtls_cookie_send: ADDED
1908 gnutls_dtls_cookie_verify: ADDED
1909 gnutls_dtls_prestate_set: ADDED
1910 gnutls_x509_trust_list_verify_crt: ADDED
1911 gnutls_x509_trust_list_add_crls: ADDED
1912 gnutls_x509_trust_list_add_cas: ADDED
1913 gnutls_x509_trust_list_init: ADDED
1914 gnutls_x509_trust_list_deinit: ADDED
1915 gnutls_cipher_add_auth: ADDED
1916 gnutls_cipher_tag: ADDED
1917 gnutls_psk_netconf_derive_key: REMOVED
1918 gnutls_certificate_verify_peers: REMOVED
1919 gnutls_session_set_finished_function: REMOVED
1920 gnutls_ext_register: REMOVED
1921 gnutls_certificate_get_x509_crls: REMOVED
1922 gnutls_certificate_get_x509_cas: REMOVED
1923 gnutls_certificate_get_openpgp_keyring: REMOVED
1924 gnutls_session_get_server_random: REMOVED
1925 gnutls_session_get_client_random: REMOVED
1926 gnutls_session_get_master_secret: REMOVED
1927 gnutls_ia_allocate_client_credentials: REMOVED
1928 gnutls_ia_allocate_server_credentials: REMOVED
1929 gnutls_ia_enable: REMOVED
1930 gnutls_ia_endphase_send: REMOVED
1931 gnutls_ia_extract_inner_secret: REMOVED
1932 gnutls_ia_free_client_credentials: REMOVED
1933 gnutls_ia_free_server_credentials: REMOVED
1934 gnutls_ia_generate_challenge: REMOVED
1935 gnutls_ia_get_client_avp_ptr: REMOVED
1936 gnutls_ia_get_server_avp_ptr: REMOVED
1937 gnutls_ia_handshake: REMOVED
1938 gnutls_ia_handshake_p: REMOVED
1939 gnutls_ia_permute_inner_secret: REMOVED
1940 gnutls_ia_recv: REMOVED
1941 gnutls_ia_send: REMOVED
1942 gnutls_ia_set_client_avp_function: REMOVED
1943 gnutls_ia_set_client_avp_ptr: REMOVED
1944 gnutls_ia_set_server_avp_function: REMOVED
1945 gnutls_ia_set_server_avp_ptr: REMOVED
1946 gnutls_ia_verify_endphase: REMOVED
1949 * Version 2.12.2 (released 2011-04-08)
1951 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
1953 ** libgnutls: Several bug and memory leak fixes.
1955 ** srptool: Accepts the -d option to enable debugging.
1957 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
1958 the allocation of a verifier. Reported by Andrew Wiseman.
1960 ** API and ABI modifications:
1961 No changes since last version.
1964 * Version 2.12.1 (released 2011-04-02)
1966 ** certtool: Generated certificate request with stricter permissions.
1967 Reported by Luca Capello.
1969 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
1971 ** libgnutls: Corrected windows system_errno() function prototype.
1973 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
1975 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
1976 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
1978 ** API and ABI modifications:
1979 No changes since last version.
1984 * Version 2.12.0 (released 2011-03-24)
1986 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
1987 the incompatibility with TLS other than 1.2.
1989 ** libgnutls: Modified signature algorithm selection in client
1990 certificate request, to avoid failures in DSA certificates.
1992 ** libgnutls: Instead of failing with internal error, return
1993 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
1994 key with the negotiated protocol is encountered.
1996 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
1998 ** libgnutls: Force state update when fork is detected in the nettle
2001 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2002 subkey instead of setting explicitly one.
2004 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2006 ** libgnutls-openssl: modified to use modern gnutls' functions.
2007 This introduces an ABI incompatibility with previous versions.
2009 ** API and ABI modifications:
2010 gnutls_pubkey_import_openpgp: MODIFIED
2015 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2016 replaced by gnutls_privkey_sign_hash2().
2018 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2019 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2020 gnutls_x509_crt_verify_hash return the negative error code
2021 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2024 ** libgnutls: Added helper functions for signature verification:
2025 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2027 ** libgnutls: Modified gnutls_privkey_sign_data().
2029 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2030 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2031 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2032 deprecated for gnutls_x509_crl_privkey_sign(),
2033 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2034 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2035 gnutls_pubkey_verify_data() respectively.
2037 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2040 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2041 and gnutls_x509_crt_list_import2().
2043 ** crypto.h: Fix use with C++.
2044 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2046 ** API and ABI modifications:
2047 gnutls_x509_crl_list_import: ADDED
2048 gnutls_x509_crl_list_import2: ADDED
2049 gnutls_x509_crt_list_import2: ADDED
2050 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2051 gnutls_pubkey_import_privkey: ADDED
2052 gnutls_pubkey_verify_data: ADDED
2053 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2054 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2055 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2056 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2057 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2058 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2059 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2060 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2061 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2062 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2063 gnutls_session_set_finished_function: DEPRECATED
2064 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2065 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2066 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2067 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2068 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2069 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2070 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2071 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2073 * Version 2.11.6 (released 2010-12-06)
2075 ** libgnutls: Record version of Client Hellos is now set by default to
2076 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2079 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2080 This makes us comply with RFC3279. Reported by Michael Rommel.
2082 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2084 ** API and ABI modifications:
2085 No changes since last version.
2087 * Version 2.11.5 (released 2010-12-01)
2089 ** libgnutls: Reverted default behavior for verification and
2090 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2091 V1 trusted CAs are allowed, unless the new flag is specified.
2093 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2094 Reported by Jeffrey Walton.
2096 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2097 as priority strings. Those allow to set all the supported algorithms
2100 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2102 ** gnutls-cli: Print channel binding only in verbose mode.
2103 Before it printed it after the 'Compression:' output, thus breaking
2104 Emacs starttls.el string searches.
2106 ** API and ABI modifications:
2107 gnutls_pkcs11_token_init: New function
2108 gnutls_pkcs11_token_set_pin: New function
2110 * Version 2.11.4 (released 2010-10-15)
2112 ** libgnutls: Add new API gnutls_session_channel_binding.
2113 The function is used to get the channel binding data. Currently only
2114 the "tls-unique" (RFC 5929) channel binding type is supported, through
2115 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2118 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2120 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2122 ** build: Update gnulib files.
2124 ** i18n: Update translations.
2126 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2128 ** API and ABI modifications:
2129 gnutls_session_channel_binding: New function.
2130 gnutls_channel_binding_t: New enumeration.
2131 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2132 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2134 * Version 2.11.3 (released 2010-10-14)
2136 ** Indent code to follow the GNU Coding Standard.
2137 You should be able to unpack the 2.11.2 release and run 'make indent'
2138 twice to get exactly the same content as 2.11.3 except for generated
2139 files. Using GNU Indent 2.2.11.
2141 ** API and ABI modifications:
2142 No changes since last version.
2144 * Version 2.11.2 (released 2010-10-08)
2146 ** libgnutls: Several bug fixes on session resumption
2147 and session tickets support.
2149 ** libgnutls: Add new extended key usage ipsecIKE.
2151 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2152 --p11-export-url, --p11-list-certs, --p11-list-certs,
2153 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2154 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2155 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2158 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2159 introduced with the new nettle code.
2161 ** libgnutls: Corrected advertizing issue for session tickets.
2163 ** API and ABI modifications:
2164 gnutls_x509_crt_get_subject_unique_id: ADDED.
2165 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2167 * Version 2.11.1 (released 2010-09-14)
2169 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2170 to use the libgcrypt back end.
2172 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2173 backend crypto library.
2175 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2177 ** libgnutls: Several updates in the buffering internal interface.
2179 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2180 tabs are being skipped.
2182 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2184 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2187 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2188 system calls. Applications that depended on it being 1 should explicitly call
2189 gnutls_transport_set_lowat().
2191 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2192 to ECRYPT II recommendations. Mappings were moved to a single location
2193 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2194 and 3072 keys only).
2196 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2197 gnutls_x509_privkey_import_pkcs8() without a password, if it
2198 is unable to decode the key.
2200 ** libgnutls: HMAC-MD5 no longer used by default.
2202 ** API and ABI modifications:
2203 gnutls_openpgp_privkey_sec_param: ADDED
2204 gnutls_x509_privkey_sec_param: ADDED
2206 * Version 2.11.0 (released 2010-07-22)
2208 ** libgnutls: support scattered write using writev(). This takes
2209 advantage of the new buffering layer and allows queuing of packets
2210 and flushing them. This is currently used for handshake messages
2213 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2214 alternative locking procedures. By default the system available
2215 locking is used. In *NIX pthreads are used and in windows the
2216 critical section API. This follows a different approach than the
2217 previous versions that depended on libgcrypt initialization. The
2218 locks are now set by default in systems that support it. Programs
2219 that used gcry_control() to set thread locks should insert it into
2221 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2225 ** libgnutls: Added support for reading DN from EV-certificates.
2227 jurisdictionOfIncorporationLocalityName,
2228 jurisdictionOfIncorporationStateOrProvinceName,
2229 jurisdictionOfIncorporationCountryName
2231 ** libgnutls: Added support for DSA signing/verifying with bit
2234 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2235 has to be called to register any required md5 handlers.
2237 ** libgnutls: Internal buffering code was replaced by simpler
2238 code contributed by Jonathan Bastien-Filiatrault.
2240 ** libgnutls: Internal API for extensions augmented to allow
2241 safe storing and loading of data on resumption. This allows writing
2242 self-contained extensions (when possible). As a side effect
2243 the OPRFI extension was removed.
2245 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2247 ** libgnutls: Added PKCS #11 support and an API to access objects in
2248 gnutls/pkcs11.h. Currently certificates and public keys can be
2249 imported from tokens, and operations can be performed on private keys.
2251 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2253 ** libgnutls: Added initial support for the nettle library. It uses
2254 the system's random generator for seeding. That is /dev/urandom in Linux,
2255 system calls in Win32 and EGD on other systems.
2257 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2258 works even when resuming a session.
2260 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2261 similar gnutls_certificate_set_server_retrieve_function() and
2262 gnutls_certificate_set_client_retrieve_function(). In addition it support
2263 PKCS #11 private keys.
2265 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2266 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2268 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2269 sizes for private keys using a human understandable scale.
2271 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2272 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2273 --pkcs11-delete-url, --pkcs11-write
2275 certtool: The --pkcs-cipher is taken into account when generating a
2276 private key. The default cipher used now is aes-128. The old behavior can
2277 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2279 certtool: Added --certificate-pubkey to print the public key of the
2282 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2283 can now accept a PKCS #11 URL in addition to a file. This will allow for
2284 example to use the Gnome-keyring trusted certificate list to verify
2285 connections using a url such as:
2286 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2288 ** API and ABI modifications:
2289 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2290 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2291 gnutls_sign_callback_set: DEPRECATED
2292 gnutls_global_set_mutex: ADDED
2293 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2294 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2295 gnutls_x509_privkey_export_rsa_raw2: ADDED
2297 gnutls_sec_param_to_pk_bits: ADDED
2298 gnutls_pk_bits_to_sec_param: ADDED
2299 gnutls_sec_param_get_name: ADDED
2300 gnutls_pkcs11_type_get_name: ADDED
2301 gnutls_certificate_set_retrieve_function: ADDED
2302 gnutls_pkcs11_init: ADDED
2303 gnutls_pkcs11_deinit: ADDED
2304 gnutls_pkcs11_set_pin_function: ADDED
2305 gnutls_pkcs11_set_token_function: ADDED
2306 gnutls_pkcs11_add_provider: ADDED
2307 gnutls_pkcs11_obj_init: ADDED
2308 gnutls_pkcs11_obj_import_url: ADDED
2309 gnutls_pkcs11_obj_export_url: ADDED
2310 gnutls_pkcs11_obj_deinit: ADDED
2311 gnutls_pkcs11_obj_export: ADDED
2312 gnutls_pkcs11_obj_list_import_url: ADDED
2313 gnutls_pkcs11_obj_export: ADDED
2314 gnutls_x509_crt_import_pkcs11: ADDED
2315 gnutls_pkcs11_obj_get_type: ADDED
2316 gnutls_x509_crt_list_import_pkcs11: ADDED
2317 gnutls_x509_crt_import_pkcs11_url: ADDED
2318 gnutls_pkcs11_obj_get_info: ADDED
2319 gnutls_pkcs11_token_get_info: ADDED
2320 gnutls_pkcs11_token_get_url: ADDED
2321 gnutls_pkcs11_privkey_init: ADDED
2322 gnutls_pkcs11_privkey_deinit: ADDED
2323 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2324 gnutls_pkcs11_privkey_get_info: ADDED
2325 gnutls_pkcs11_privkey_import_url: ADDED
2326 gnutls_pkcs11_privkey_sign_data: ADDED
2327 gnutls_pkcs11_privkey_sign_hash: ADDED
2328 gnutls_pkcs11_privkey_decrypt_data: ADDED
2329 gnutls_privkey_init: ADDED
2330 gnutls_privkey_deinit: ADDED
2331 gnutls_privkey_get_pk_algorithm: ADDED
2332 gnutls_privkey_get_type: ADDED
2333 gnutls_privkey_import_pkcs11: ADDED
2334 gnutls_privkey_import_x509: ADDED
2335 gnutls_privkey_import_openpgp: ADDED
2336 gnutls_privkey_sign_data: ADDED
2337 gnutls_privkey_sign_hash: ADDED
2338 gnutls_privkey_decrypt_data: ADDED
2339 gnutls_pkcs11_privkey_export_url: ADDED
2340 gnutls_x509_crq_privkey_sign: ADDED
2341 gnutls_x509_crl_privkey_sign: ADDED
2342 gnutls_x509_crt_privkey_sign: ADDED
2343 gnutls_pubkey_init: ADDED
2344 gnutls_pubkey_deinit: ADDED
2345 gnutls_pubkey_get_pk_algorithm: ADDED
2346 gnutls_pubkey_import_x509: ADDED
2347 gnutls_pubkey_import_openpgp: ADDED
2348 gnutls_pubkey_get_pk_rsa_raw: ADDED
2349 gnutls_pubkey_get_pk_dsa_raw: ADDED
2350 gnutls_pubkey_export: ADDED
2351 gnutls_pubkey_get_key_id: ADDED
2352 gnutls_pubkey_get_key_usage: ADDED
2353 gnutls_pubkey_verify_hash: ADDED
2354 gnutls_pubkey_get_verify_algorithm: ADDED
2355 gnutls_pkcs11_type_get_name: ADDED
2356 gnutls_pubkey_import_pkcs11_url: ADDED
2357 gnutls_pubkey_import: ADDED
2358 gnutls_pubkey_import_pkcs11: ADDED
2359 gnutls_pubkey_import_dsa_raw: ADDED
2360 gnutls_pubkey_import_rsa_raw: ADDED
2361 gnutls_x509_crt_set_pubkey: ADDED
2362 gnutls_x509_crq_set_pubkey: ADDED
2363 gnutls_pkcs11_copy_x509_crt: ADDED
2364 gnutls_pkcs11_copy_x509_privkey: ADDED
2365 gnutls_pkcs11_delete_url: ADDED
2367 * Version 2.10.1 (released 2010-07-25)
2369 ** libgnutls: Added support for broken certificates that indicate RSA
2372 ** gnutls-cli: Allow verification using V1 CAs.
2374 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2375 gnutls_x509_privkey_import_pkcs8() without a password, if it
2376 is unable to decode the key.
2378 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2379 a memory leak. Reported by Mads Kiilerich.
2381 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2382 issue a warning, that the output key might not be working everywhere.
2384 ** certtool: The --pkcs-cipher is taken into account when generating a
2385 private key. The default cipher used now is aes-128. The old behavior
2386 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2388 ** API and ABI modifications:
2389 No changes since last version.
2391 * Version 2.10.0 (released 2010-06-25)
2393 ** API and ABI modifications:
2394 No changes since last version.
2396 * Version 2.9.12 (released 2010-06-17)
2398 ** gnutls-cli: Make --starttls work again.
2399 Problem introduced in patch to use read() instead of fgets() committed
2402 ** API and ABI modifications:
2403 No changes since last version.
2405 * Version 2.9.11 (released 2010-06-07)
2407 ** libgnutls: Removed two APIs related to safe renegotiation.
2408 Use priority strings instead. The APIs were
2409 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2410 (Remember that we don't promise ABI stability during development
2411 series, so this doesn't cause an shared library ABI increment.)
2413 ** tests: More self testing of safe renegotiation extension.
2414 See tests/safe-renegotiation/README for more information.
2416 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2418 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2420 ** API and ABI modifications:
2421 gnutls_safe_negotiation_set_initial: REMOVED.
2422 gnutls_safe_renegotiation_set: REMOVED.
2424 * Version 2.9.10 (released 2010-04-22)
2426 ** libgnutls: Time verification extended to trusted certificate list.
2427 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2430 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2431 Based on patch by Pavan Konjarla. Adds new constant
2432 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2434 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2435 Solves the issue discussed in:
2436 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2437 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2438 Note that to allow connecting to unpatched servers the full protection
2439 is only enabled if the priority string %SAFE_RENEGOTIATION is
2440 specified. You can check whether protection is in place by querying
2441 gnutls_safe_renegotiation_status(). New error codes
2442 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2443 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2445 ** libgnutls: When checking openpgp self signature also check the signatures
2447 Ilari Liusvaara noticed and reported the issue and provided test
2450 ** libgnutls: Added cryptodev support (/dev/crypto).
2451 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2452 benchmark utility for AES. Adds new error codes
2453 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2455 ** libgnutls: Exported API to access encryption and hash algorithms.
2456 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2457 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2458 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2459 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2460 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2461 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2462 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2464 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2465 verification of certificate upon receipt rather than waiting until the
2466 end of the handshake.
2468 ** libgnutls: Don't send alerts during handshake.
2469 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2471 ** certtool: Corrected two issues that affected certificate request generation.
2472 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2473 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2474 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2475 those parameters there since other implementations don't do either and having
2476 them does not seem to offer anything (anyway you need the signer's certificate
2477 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2478 This however has the side-effect that public key IDs shown by certtool are
2479 now different than previous gnutls releases.
2480 (3) the option --pgp-certificate-info will verify self signatures
2482 ** certtool: Allow exporting of Certificate requests on DER format.
2484 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2486 ** gnutls-cli: Handle reading binary data from server.
2487 Reported by and tiny patch from Vitaly Mayatskikh
2488 <v.mayatskih@gmail.com> in
2489 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2491 ** minitasn1: Upgraded to libtasn1 version 2.6.
2493 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2494 ** Added Italian and Simplified Chinese translation.
2495 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2496 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2498 ** doc: The GTK-DOC manual is significantly improved.
2500 ** API and ABI modifications:
2501 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2502 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2503 %UNSAFE_RENEGOTIATION: Added to priority strings.
2504 GNUTLS_DIG_SHA224: ADDED.
2505 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2506 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2507 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2508 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2509 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2510 GNUTLS_MAC_SHA224: ADDED.
2511 GNUTLS_OID_X520_NAME: ADDED.
2512 GNUTLS_OID_X520_POSTALCODE: ADDED.
2513 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2514 GNUTLS_VERSION_MAX: ADDED.
2515 gnutls_certificate_set_verify_function: ADDED.
2516 gnutls_cipher_decrypt: ADDED.
2517 gnutls_cipher_deinit: ADDED.
2518 gnutls_cipher_encrypt: ADDED.
2519 gnutls_cipher_get_block_size: ADDED.
2520 gnutls_cipher_init: ADDED.
2522 gnutls_hash_deinit: ADDED.
2523 gnutls_hash_fast: ADDED.
2524 gnutls_hash_get_len: ADDED.
2525 gnutls_hash_init: ADDED.
2526 gnutls_hash_output: ADDED.
2528 gnutls_hmac_deinit: ADDED.
2529 gnutls_hmac_fast: ADDED.
2530 gnutls_hmac_get_len: ADDED.
2531 gnutls_hmac_init: ADDED.
2532 gnutls_hmac_output: ADDED.
2533 gnutls_safe_negotiation_set_initial: ADDED.
2534 gnutls_safe_renegotiation_set: ADDED.
2535 gnutls_safe_renegotiation_status: ADDED.
2537 * Version 2.9.9 (released 2009-11-09)
2539 ** libgnutls: Cleanups and several bug fixes.
2540 Found by Steve Grubb and Tomas Mraz.
2542 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2544 ** Fix --disable-valgrind-tests.
2545 Reported by Ingmar Vanhassel in
2546 <https://savannah.gnu.org/support/?107029>.
2548 ** API and ABI modifications:
2549 No changes since last version.
2551 * Version 2.9.8 (released 2009-11-05)
2553 ** libgnutls: Fix for memory leaks on interrupted handshake.
2554 Reported by Tang Tong.
2556 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2557 ** extension and certificate verify field.
2558 This requires changes for TLS 1.2 servers and clients that use
2559 callbacks for certificate retrieval. They are now required to check
2560 with gnutls_sign_algorithm_get_requested() whether the certificate
2561 they send complies with the peer's preferences in signature
2564 ** libgnutls: In server side when resuming a session do not overwrite the
2565 ** initial session data with the resumed session data.
2567 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2569 This affects also PKCS #12 encoded files. This adds the following new
2570 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2571 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2573 ** libgnutls: Fix PKCS#12 encoding.
2574 The error you would get was "The OID is not supported.". Problem
2575 introduced for the v2.8.x branch in 2.7.6.
2577 ** certtool: Added the --pkcs-cipher option.
2578 To explicitely specify the encryption algorithm to use.
2580 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2582 ** tests: Fix time bomb in chainverify self-test.
2583 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2584 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2586 ** tests: Fix expired cert in chainverify self-test.
2588 ** i18n: Vietnamese translation updated.
2589 Thanks to Clytie Siddall.
2591 ** API and ABI modifications:
2592 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2593 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2594 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2595 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2596 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2597 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2598 gnutls_sign_algorithm_get_requested: ADDED.
2600 * Version 2.9.7 (released 2009-10-06)
2602 ** libgnutls: TLS 1.2 server mode fixes.
2603 Now interoperates against Opera. Contributed by Daiki Ueno.
2605 ** libgnutlsxx: Fix link problems.
2606 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2608 ** guile: Compatibility with guile 2.x.
2609 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2611 ** API and ABI modifications:
2612 No changes since last version.
2614 * Version 2.9.6 (released 2009-09-22)
2616 ** libgnutls: Enable Camellia ciphers by default.
2618 ** API and ABI modifications:
2619 No changes since last version.
2621 * Version 2.9.5 (released 2009-09-10)
2623 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2624 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2625 gnutls_x509_crt_get_issuer_alt_name, and
2626 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2627 Hards <bradh@frogmouth.net>.
2629 ** API and ABI modifications:
2630 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2631 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2632 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2634 * Version 2.9.4 (released 2009-09-03)
2636 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2637 The new supported ciphersuites are AES-128/256 in CBC mode with
2638 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2639 SHA-256 is now the preferred default MAC (however it is only used with
2642 ** libgnutls: Make OpenPGP hostname checking work again.
2643 The patch to resolve the X.509 CN/SAN issue accidentally broken
2644 OpenPGP hostname comparison.
2646 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2647 Reported by Howard Chu <hyc@symas.com> in
2648 <https://savannah.gnu.org/support/?106975>.
2650 ** Fix use of deprecated types internally.
2651 Use of deprecated types in GnuTLS from now on will lead to a compile
2652 error, to prevent this from happening again.
2654 ** API and ABI modifications:
2655 No changes since last version.
2657 * Version 2.9.3 (released 2009-08-19)
2659 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2660 The new APIs are gnutls_session_ticket_enable_client,
2661 gnutls_session_ticket_enable_server, and
2662 gnutls_session_ticket_key_generate.
2664 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2666 ** API and ABI modifications:
2667 gnutls_session_ticket_key_generate: ADDED.
2668 gnutls_session_ticket_enable_client: ADDED.
2669 gnutls_session_ticket_enable_server: ADDED.
2671 * Version 2.9.2 (released 2009-08-14)
2673 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2674 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2675 into 1) not printing the entire CN/SAN field value when printing a
2676 certificate and 2) cause incorrect positive matches when matching a
2677 hostname against a certificate. Some CAs apparently have poor
2678 checking of CN/SAN values and issue these (arguable invalid)
2679 certificates. Combined, this can be used by attackers to become a
2680 MITM on server-authenticated TLS sessions. The problem is mitigated
2681 since attackers needs to get one certificate per site they want to
2682 attack, and the attacker reveals his tracks by applying for a
2683 certificate at the CA. It does not apply to client authenticated TLS
2684 sessions. Research presented independently by Dan Kaminsky and Moxie
2685 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2686 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2688 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2689 The function may fail incorrectly when an earlier certificate was
2690 imported to the same gnutls_x509_crt_t structure.
2692 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2694 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2695 Before it always returned false. Reported by Peter Hendrickson
2696 <pdh@wiredyne.com> in
2697 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2699 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2700 The error resulted in truncated strings when printing unknown OIDs in
2701 X.509 certificate DNs. Reported by Tim Kosse
2702 <tim.kosse@filezilla-project.org> in
2703 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2705 ** libgnutls: Fix PKCS#12 decryption from password.
2706 The encryption key derived from the password was incorrect for (on
2707 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2708 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2709 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2711 ** libgnutls: Return correct bit lengths of some MPIs.
2712 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2713 gnutls_dh_get_peers_public_bits. Before the reported value was
2714 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2715 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2717 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2718 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2719 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2721 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2723 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2724 Before we required that the runtime library used the same (or more
2725 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2726 that the runtime usage is above the minimum required. Reported by
2727 Marco d'Itri <md@linux.it> via Andreas Metzler
2728 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2730 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2732 ** tests: Improved test vectors in self-test pkcs12_s2k.
2734 ** tests: Added new self-test dn2 to detect off-by-one size error.
2736 ** tests: Fix failure in "chainverify" because a certificate have expired.
2738 ** API and ABI modifications:
2739 No changes since last version.
2741 * Version 2.9.1 (released 2009-06-08)
2743 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2744 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2745 <http://bugs.gentoo.org/272388>.
2747 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2749 ** Reduce stack usage for some CRQ functions.
2751 ** Doc fixes for CRQ functions.
2753 ** API and ABI modifications:
2754 No changes since last version.
2756 * Version 2.9.0 (released 2009-05-28)
2760 ** API and ABI modifications:
2761 No changes since last version.
2763 * Version 2.8.6 (released 2010-03-15)
2765 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2766 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2767 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2769 Note: As a side effect of this change, the "public key identifier"
2770 value computed for a certificate using this version of GnuTLS will be
2771 different from values computed using earlier versions of GnuTLS.
2773 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2774 ** optional SignatureAlgorithm parameter field.
2775 VeriSign rejected these CSRs. They are stricly speaking not needed
2776 since you need the signer's certificate to verify the certificate
2777 signature anyway. Reported by Wilankar Trupti
2778 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2780 ** libgnutls: When checking openpgp self signature also check the signatures
2782 Ilari Liusvaara noticed and reported the issue and provided test
2785 ** libgnutls: Cleanups and several bug fixes.
2786 Found by Steve Grubb and Tomas Mraz.
2788 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2790 ** Fix --disable-valgrind-tests.
2791 Reported by Ingmar Vanhassel in
2792 <https://savannah.gnu.org/support/?107029>.
2794 ** examples: Use the new APIs for printing X.509 certificate information.
2796 ** Fix build failures on Solaris.
2797 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2799 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2800 ** translations. Added Simplified Chinese translation.
2802 ** API and ABI modifications:
2803 No changes since last version.
2805 * Version 2.8.5 (released 2009-11-02)
2807 ** libgnutls: In server side when resuming a session do not overwrite the
2808 ** initial session data with the resumed session data.
2810 ** libgnutls: Fix PKCS#12 encoding.
2811 The error you would get was "The OID is not supported.". Problem
2812 introduced for the v2.8.x branch in 2.7.6.
2814 ** guile: Compatibility with guile 2.x.
2815 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2817 ** tests: Fix expired cert in chainverify self-test.
2819 ** tests: Fix time bomb in chainverify self-test.
2820 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2821 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2823 ** API and ABI modifications:
2824 No changes since last version.
2826 * Version 2.8.4 (released 2009-09-18)
2828 ** libgnutls: Enable Camellia ciphers by default.
2830 ** libgnutls: Make OpenPGP hostname checking work again.
2831 The patch to resolve the X.509 CN/SAN issue accidentally broken
2832 OpenPGP hostname comparison.
2834 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2835 Reported by Howard Chu <hyc@symas.com> in
2836 <https://savannah.gnu.org/support/?106975>.
2838 ** API and ABI modifications:
2839 No changes since last version.
2841 * Version 2.8.3 (released 2009-08-13)
2843 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2844 Code intended to be removed would lead to an read-out-bound error in
2845 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
2846 code have been allocated for the vulnerability: [CVE-2009-2730].
2848 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2849 The function may fail incorrectly when an earlier certificate was
2850 imported to the same gnutls_x509_crt_t structure.
2852 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2854 ** tests: Made self-test mini-eagain take less time.
2858 ** API and ABI modifications:
2859 No changes since last version.
2861 * Version 2.8.2 (released 2009-08-10)
2863 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2864 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2865 into 1) not printing the entire CN/SAN field value when printing a
2866 certificate and 2) cause incorrect positive matches when matching a
2867 hostname against a certificate. Some CAs apparently have poor
2868 checking of CN/SAN values and issue these (arguable invalid)
2869 certificates. Combined, this can be used by attackers to become a
2870 MITM on server-authenticated TLS sessions. The problem is mitigated
2871 since attackers needs to get one certificate per site they want to
2872 attack, and the attacker reveals his tracks by applying for a
2873 certificate at the CA. It does not apply to client authenticated TLS
2874 sessions. Research presented independently by Dan Kaminsky and Moxie
2875 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2876 for providing one part of the patch. [GNUTLS-SA-2009-4].
2878 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2879 Before it always returned false. Reported by Peter Hendrickson
2880 <pdh@wiredyne.com> in
2881 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2883 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2884 The error resulted in truncated strings when printing unknown OIDs in
2885 X.509 certificate DNs. Reported by Tim Kosse
2886 <tim.kosse@filezilla-project.org> in
2887 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2889 ** libgnutls: Return correct bit lengths of some MPIs.
2890 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2891 gnutls_dh_get_peers_public_bits. Before the reported value was
2892 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2893 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2895 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2896 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2897 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2899 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2901 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2902 Before we required that the runtime library used the same (or more
2903 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2904 that the runtime usage is above the minimum required. Reported by
2905 Marco d'Itri <md@linux.it> via Andreas Metzler
2906 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2908 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2910 ** tests: Fix failure in "chainverify" because a certificate have expired.
2912 ** API and ABI modifications:
2913 No changes since last version.
2915 * Version 2.8.1 (released 2009-06-10)
2917 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2918 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2919 <http://bugs.gentoo.org/272388>.
2921 ** libgnutls: Fix PKCS#12 decryption from password.
2922 The encryption key derived from the password was incorrect for (on
2923 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2924 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2925 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2927 ** API and ABI modifications:
2928 No changes since last version.
2930 * Version 2.8.0 (released 2009-05-27)
2932 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
2934 ** Major changes compared to the v2.4 branch:
2936 *** lib: Linker version scripts reduces number of exported symbols.
2938 *** lib: Limit exported symbols on systems without LD linker scripts.
2940 *** libgnutls: Fix namespace issue with version symbols.
2942 *** libgnutls: Add functions to verify a hash against a certificate.
2943 gnutls_x509_crt_verify_hash: ADDED
2944 gnutls_x509_crt_get_verify_algorithm: ADDED
2946 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2948 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2950 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2952 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2954 *** gnutls-serv: No longer disable MAC padding by default.
2956 *** gnutls-cli: Certificate information output format changed.
2958 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2959 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2961 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2963 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2965 *** libgnutls: gnutls_handshake when sending client hello during a
2966 rehandshake, will not offer a version number larger than the current.
2968 *** libgnutls: New interface to get key id for certificate requests.
2969 gnutls_x509_crq_get_key_id: ADDED.
2971 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
2973 *** certtool: --verify-chain now prints results of using library verification.
2975 *** libgnutls: Libgcrypt initialization changed.
2977 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2979 *** gnutls-cli: Return non-zero exit code on error conditions.
2981 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2983 *** certtool: allow setting arbitrary key purpose object identifiers.
2985 *** libgnutls: Change detection of when to use a linker version script.
2986 Use --enable-ld-version-script or --disable-ld-version-script to
2987 override auto-detection logic.
2989 *** Fix warnings and build GnuTLS with more warnings enabled.
2991 *** New API to set X.509 credentials from PKCS#12 memory structure.
2992 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2994 *** Old libgnutls.m4 and libgnutls-config scripts removed.
2995 Please use pkg-config instead.
2997 *** libgnutls: Added functions to handle CRL extensions.
2998 gnutls_x509_crl_get_authority_key_id: ADDED
2999 gnutls_x509_crl_get_number: ADDED
3000 gnutls_x509_crl_get_extension_oid: ADDED
3001 gnutls_x509_crl_get_extension_info: ADDED
3002 gnutls_x509_crl_get_extension_data: ADDED
3003 gnutls_x509_crl_set_authority_key_id: ADDED
3004 gnutls_x509_crl_set_number: ADDED
3006 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3008 gnutls_x509_crq_get_key_rsa_raw: ADDED
3009 gnutls_x509_crq_get_attribute_info: ADDED
3010 gnutls_x509_crq_get_attribute_data: ADDED
3011 gnutls_x509_crq_get_extension_info: ADDED
3012 gnutls_x509_crq_get_extension_data: ADDED
3013 gnutls_x509_crq_get_key_usage: ADDED
3014 gnutls_x509_crq_get_basic_constraints: ADDED
3015 gnutls_x509_crq_get_subject_alt_name: ADDED
3016 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3017 gnutls_x509_crq_get_extension_by_oid: ADDED
3018 gnutls_x509_crq_set_subject_alt_name: ADDED
3019 gnutls_x509_crq_set_basic_constraints: ADDED
3020 gnutls_x509_crq_set_key_usage: ADDED
3021 gnutls_x509_crq_get_key_purpose_oid: ADDED
3022 gnutls_x509_crq_set_key_purpose_oid: ADDED
3023 gnutls_x509_crq_print: ADDED
3024 gnutls_x509_crt_set_crq_extensions: ADDED
3026 *** certtool: Print and set CRL and CRQ extensions.
3028 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3030 *** examples: Now released into the public domain.
3032 *** The Texinfo and GTK-DOC manuals were improved.
3034 *** Several self-tests were added and others improved.
3036 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3037 No offically supported interfaces have been modified or removed. The
3038 library should be completely backwards compatible on both the source
3041 The shared library no longer exports some symbols that have never been
3042 officially supported, i.e., not mentioned in any of the header files.
3048 Normally when symbols are removed, the shared library version has to
3049 be incremented. This leads to a significant cost for everyone using
3050 the library. Because none of the above symbols have ever been
3051 intended for use by well-behaved applications, we decided that the it
3052 would be better for those applications to pay the price rather than
3053 incurring problems on the majority of applications.
3055 If it turns out that applications have been using unofficial
3056 interfaces, we will need to release a follow-on release on the v2.8
3057 branch to exports additional interfaces. However, initial testing
3058 suggests that few if any applications have been using any of the
3061 Although not a new change compared to 2.6.x, we'd like to remind you
3062 interfaces have been modified so that X.509 chain verification now
3063 also checks activation/expiration times on certificates. The affected
3066 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3067 gnutls_certificate_verify_peers: Likewise.
3068 gnutls_certificate_verify_peers2: Likewise.
3069 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3070 GNUTLS_CERT_EXPIRED: ADDED.
3071 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3073 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3074 we gave our rationale for it in earlier release notes.
3076 The following symbols have been added to the library:
3078 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3079 gnutls_x509_crl_get_authority_key_id: ADDED
3080 gnutls_x509_crl_get_extension_data: ADDED
3081 gnutls_x509_crl_get_extension_info: ADDED
3082 gnutls_x509_crl_get_extension_oid: ADDED
3083 gnutls_x509_crl_get_number: ADDED
3084 gnutls_x509_crl_set_authority_key_id: ADDED
3085 gnutls_x509_crl_set_number: ADDED
3086 gnutls_x509_crq_get_attribute_data: ADDED
3087 gnutls_x509_crq_get_attribute_info: ADDED
3088 gnutls_x509_crq_get_basic_constraints: ADDED
3089 gnutls_x509_crq_get_extension_by_oid: ADDED
3090 gnutls_x509_crq_get_extension_data: ADDED
3091 gnutls_x509_crq_get_extension_info: ADDED
3092 gnutls_x509_crq_get_key_id: ADDED.
3093 gnutls_x509_crq_get_key_purpose_oid: ADDED
3094 gnutls_x509_crq_get_key_rsa_raw: ADDED
3095 gnutls_x509_crq_get_key_usage: ADDED
3096 gnutls_x509_crq_get_subject_alt_name: ADDED
3097 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3098 gnutls_x509_crq_print: ADDED
3099 gnutls_x509_crq_set_basic_constraints: ADDED
3100 gnutls_x509_crq_set_key_purpose_oid: ADDED
3101 gnutls_x509_crq_set_key_usage: ADDED
3102 gnutls_x509_crq_set_subject_alt_name: ADDED
3103 gnutls_x509_crt_get_verify_algorithm: ADDED
3104 gnutls_x509_crt_set_crq_extensions: ADDED
3105 gnutls_x509_crt_verify_hash: ADDED
3107 The following interfaces have been added to the header files:
3109 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3110 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3111 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3112 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3113 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3114 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3116 The following interfaces have been deprecated:
3118 LIBGNUTLS_VERSION: DEPRECATED.
3119 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3120 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3121 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3122 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3123 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3125 * Version 2.7.14 (released 2009-05-26)
3127 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3128 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3129 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3132 ** Doc: Several typo fixes in documentation.
3133 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3135 ** API and ABI modifications:
3136 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3137 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3139 * Version 2.7.13 (released 2009-05-25)
3141 ** libgnutls: Fix version of some exported symbols in the shared library.
3142 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3143 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3145 ** tests: Handle recently expired certificates in chainverify self-test.
3146 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3147 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3149 ** API and ABI modifications:
3150 No changes since last version.
3152 * Version 2.7.12 (released 2009-05-20)
3154 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3156 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3157 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3158 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3160 ** Fix build failures.
3161 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3162 G. Christensen" <tgc@jupiterrise.com> in
3163 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3165 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3166 GnuTLS should work fine with libtasn1 v1.x and that is still
3169 ** API and ABI modifications:
3170 No changes since last version.
3172 * Version 2.7.11 (released 2009-05-18)
3174 ** minitasn1: Fix build failure when using internal libtasn1.
3175 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3176 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3178 ** libgnutls: Fix build failure with --disable-cxx.
3179 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3180 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3182 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3183 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3184 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3186 ** Building with many warning flags now requires --enable-gcc-warnings.
3187 This avoids crying wolf for normal compiles.
3189 ** API and ABI modifications:
3190 No changes since last version.
3192 * Version 2.7.10 (released 2009-05-13)
3194 ** examples: Now released into the public domain.
3195 This makes the license of the example code compatible with more
3196 licenses, including the (L)GPL.
3198 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3199 GnuTLS should work fine with libtasn1 v1.x and that is still
3202 ** libgnutls: Fix crash in signature verification
3203 The fix for the CVE-2009-1415 problem wasn't merged completely.
3205 ** doc: Fixes for GTK-DOC output.
3207 ** API and ABI modifications:
3208 No changes since last version.
3210 * Version 2.7.9 (released 2009-05-11)
3212 ** doc: Fix strings in man page of gnutls_priority_init.
3214 ** doc: Fix tables of error codes and supported algorithms.
3216 ** Fix build failure when cross-compiled using MinGW.
3218 ** Fix build failure when LZO is enabled.
3219 Reported by Arfrever Frehtes Taifersar Arahesis
3220 <arfrever.fta@gmail.com> in
3221 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3223 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3224 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3225 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3227 ** Fix warnings in self-tests.
3229 ** API and ABI modifications:
3230 No changes since last version.
3232 * Version 2.7.8 (released 2009-05-03)
3234 ** libgnutls: Fix DSA key generation.
3235 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3237 ** libgnutls: Check expiration/activation time on untrusted certificates.
3238 Merged from stable branch. Reported by Romain Francoise
3239 <romain@orebokech.com>. This changes the semantics of
3240 gnutls_x509_crt_list_verify, which in turn is used by
3241 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3242 We add two new gnutls_certificate_status_t codes for reporting the new
3243 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3244 We also add a new gnutls_certificate_verify_flags flag,
3245 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3246 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3248 ** lib: Linker version scripts reduces number of exported symbols.
3249 The linker version script now lists all exported ABIs explicitly, to
3250 avoid accidentally exporting unintended functions. Compared to
3251 before, most symbols beginning with _gnutls* are no longer exported.
3252 These functions have never been intended for use by applications, and
3253 there were no prototypes for these function in the public header
3254 files. Thus we believe it is possible to do this without incrementing
3255 the library ABI version which normally has to be done when removing an
3258 ** lib: Limit exported symbols on systems without LD linker scripts.
3259 Before all symbols were exported. Now we limit the exported symbols
3260 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3261 _gnutls*. This is a superset of the actual supported ABI, but still
3262 an improvement compared to before. This is implemented using Libtool
3263 -export-symbols-regex. It is more portable than linker version
3266 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3267 This should have been done in the last release.
3269 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3270 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3271 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3273 ** doc: Improved sections for the info manual.
3274 We now follow the advice given by the texinfo manual on which
3275 directory categories to use. In particular, libgnutls moved from the
3276 'GNU Libraries' section to the 'Software libraries' and the command
3277 line tools moved from 'Network Applications' to 'System
3280 ** API and ABI modifications:
3281 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3282 gnutls_certificate_verify_peers: Likewise.
3283 gnutls_certificate_verify_peers2: Likewise.
3284 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3285 GNUTLS_CERT_EXPIRED: ADDED.
3286 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3288 * Version 2.7.7 (released 2009-04-20)
3290 ** libgnutls: Applied patch by Cedric Bail to add functions
3291 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3293 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3294 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3295 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3297 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3298 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3300 ** doc: Fix build failure of errcodes/printlist.
3301 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3302 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3304 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3305 It is currently only used by the core library. This will enable a new
3306 domain 'gnutls' for translations of the command line tools.
3308 ** Corrected possible memory corruption on signature verification failure.
3309 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3311 ** API and ABI modifications:
3312 gnutls_x509_crt_verify_hash: ADDED
3313 gnutls_x509_crt_get_verify_algorithm: ADDED
3315 * Version 2.7.6 (released 2009-02-27)
3317 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3318 This applies both to generating certificates and certificate requests.
3320 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3322 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3323 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3324 be used for chain verification.
3326 ** gnutls-serv: No longer disable MAC padding by default.
3327 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3329 ** gnutls-cli: Certificate information output format changed.
3330 The tool now uses libgnutls' functions to print certificate
3331 information. This avoids code duplication.
3333 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3334 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3335 They can be used to override the default certificate chain validation
3338 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3339 specify the client hello message record version. Used to overcome buggy
3340 TLS servers. Report by Martin von Gagern.
3342 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3344 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3346 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3348 ** API and ABI modifications:
3349 No changes since last version.
3351 * Version 2.7.5 (released 2009-02-06)
3353 ** libgnutls: Accept chains where intermediary certs are trusted.
3354 Before GnuTLS needed to validate the entire chain back to a
3355 self-signed certificate. GnuTLS will now stop looking when it has
3356 found an intermediary trusted certificate. The new behaviour is
3357 useful when chains, for example, contains a top-level CA, an
3358 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3359 To avoid chain validation errors due to the RSA-MD5 cert, you can
3360 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3361 The signature on trusted certificates are not checked, so the chain
3362 has a chance to validate correctly. Reported by "Douglas E. Engert"
3363 <deengert@anl.gov> in
3364 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3366 ** libgnutls: result_size in gnutls_hex_encode now holds
3367 the size of the result. Report by John Brooks <special@dereferenced.net>.
3369 ** libgnutls: gnutls_handshake when sending client hello during a
3370 rehandshake, will not offer a version number larger than the current.
3371 Reported by Tristan Hill <stan@saticed.me.uk>.
3373 ** libgnutls: Permit V1 Certificate Authorities properly.
3374 Before they were mistakenly rejected even though
3375 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3376 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3377 "Douglas E. Engert" <deengert@anl.gov> in
3378 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3380 ** API and ABI modifications:
3381 No changes since last version.
3383 * Version 2.7.4 (released 2009-01-07)
3385 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3386 This is a bugfix -- the previous attempt to do this from internal x509
3387 certificate verification procedures did not return the correct value
3388 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3389 <dkg@fifthhorseman.net> in
3390 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3391 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3392 Gillmor <dkg@fifthhorseman.net>.
3394 ** libgnutls: New interface to get key id for certificate requests.
3395 Patch from David MarÃn Carreño <davefx@gmail.com> in
3396 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3398 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3400 ** certtool: --verify-chain now prints results of using library verification.
3401 Earlier, certtool --verify-chain used its own validation algorithm
3402 which wasn't guaranteed to give the same result as the libgnutls
3403 internal validation algorithm. Now this command print a new final
3404 line with header 'Chain verification output:' that contains the result
3405 from using the internal verification algorithm on the same chain.
3407 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3409 ** API and ABI modifications:
3410 gnutls_x509_crq_get_key_id: ADDED.
3412 * Version 2.7.3 (released 2008-12-10)
3414 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3415 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3416 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3417 Andreas Metzler <ametzler@downhill.at.eu.org> in
3418 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3420 ** libgnutls: Libgcrypt initialization changed.
3421 If libgcrypt has not already been initialized, GnuTLS will now
3422 initialize libgcrypt with disabled secure memory. Initialize
3423 libgcrypt explicitly in your application if you want to enable secure
3424 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3425 allocation functions, which doesn't use secure memory, so there is no
3426 real change in behaviour.
3428 ** libgnutls: Fix memory leak in PSK authentication.
3429 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3430 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3432 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3434 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3435 It needs to be invoked before libgcrypt is initialized.
3437 ** gnutls-cli: Return non-zero exit code on error conditions.
3439 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3441 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3443 ** API and ABI modifications:
3444 No changes since last version.
3446 * Version 2.7.2 (released 2008-11-18)
3448 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3449 The flaw makes it possible for man in the middle attackers (i.e.,
3450 active attackers) to assume any name and trick GnuTLS clients into
3451 trusting that name. Thanks for report and analysis from Martin von
3452 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3454 Any updates with more details about this vulnerability will be added
3455 to <http://www.gnu.org/software/gnutls/security.html>
3457 ** libgnutls: Fix namespace issue with version symbols.
3458 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3459 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3460 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3461 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3462 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3463 work but are deprecated.
3465 ** certtool: allow setting arbitrary key purpose object identifiers.
3467 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3469 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3470 Reported by Kevin Quick <quick@sparq.org> in
3471 <https://savannah.gnu.org/support/index.php?106454>.
3473 ** libgnutls-extra: Make building with LZO compression work again.
3474 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3475 <arfrever.fta@gmail.com> in
3476 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3478 ** libgnutls: Change detection of when to use a linker version script.
3479 Use --enable-ld-version-script or --disable-ld-version-script to
3480 override auto-detection logic.
3482 ** doc: Change license on the manual to GFDLv1.3+.
3484 ** doc: GTK-DOC fixes for new splitted configuration system.
3486 ** doc: Texinfo stylesheet uses white background.
3488 ** tests: Add cve-2008-4989.c self-test.
3489 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3490 follow-on problem with crashes on length 1 certificate chains.
3492 ** gnulib: Deprecated modules removed.
3493 Modules include memchr and memcmp.
3495 ** Fix warnings and build GnuTLS with more warnings enabled.
3497 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3499 ** API and ABI modifications:
3500 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3501 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3502 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3503 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3504 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3505 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3506 LIBGNUTLS_VERSION: DEPRECATED.
3507 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3508 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3509 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3510 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3512 * Version 2.7.1 (released 2008-10-31)
3514 ** certtool: print a PKCS #8 key even if it is not encrypted.
3516 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3517 Please use pkg-config instead.
3519 ** Configuration system modified.
3520 There is now a configure script in lib/ and libextra/ as well, because
3521 gnulib works better with a config.h per gnulib directory.
3523 ** API and ABI modifications:
3524 No changes since last version.
3526 * Version 2.7.0 (released 2008-10-16)
3528 ** libgnutls: Added functions to handle CRL extensions.
3530 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3533 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3534 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3536 ** certtool: Print and set CRL and CRQ extensions.
3538 ** libgnutls-extra: Protect internal symbols with static.
3539 Fixes problem when linking certtool statically. Tiny patch from Aaron
3540 Ucko <ucko@ncbi.nlm.nih.gov>.
3542 ** libgnutls-openssl: fix out of bounds access.
3543 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3544 from Thomas Viehmann <tv@beamnet.de>.
3546 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3548 ** tests: Make tests compile when using internal libtasn1.
3549 Patch by ludo@gnu.org (Ludovic Courtès).
3551 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3552 We now require a libgcrypt that has Camellia constants declared in
3553 gcrypt.h, which means v1.3.0 or later.
3555 ** API and ABI modifications:
3556 gnutls_x509_crl_get_authority_key_id: ADDED
3557 gnutls_x509_crl_get_number: ADDED
3558 gnutls_x509_crl_get_extension_oid: ADDED
3559 gnutls_x509_crl_get_extension_info: ADDED
3560 gnutls_x509_crl_get_extension_data: ADDED
3561 gnutls_x509_crl_set_authority_key_id: ADDED
3562 gnutls_x509_crl_set_number: ADDED
3563 gnutls_x509_crq_get_key_rsa_raw: ADDED
3564 gnutls_x509_crq_get_attribute_info: ADDED
3565 gnutls_x509_crq_get_attribute_data: ADDED
3566 gnutls_x509_crq_get_extension_info: ADDED
3567 gnutls_x509_crq_get_extension_data: ADDED
3568 gnutls_x509_crq_get_key_usage: ADDED
3569 gnutls_x509_crq_get_basic_constraints: ADDED
3570 gnutls_x509_crq_get_subject_alt_name: ADDED
3571 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3572 gnutls_x509_crq_get_extension_by_oid: ADDED
3573 gnutls_x509_crq_set_subject_alt_name: ADDED
3574 gnutls_x509_crq_set_basic_constraints: ADDED
3575 gnutls_x509_crq_set_key_usage: ADDED
3576 gnutls_x509_crq_get_key_purpose_oid: ADDED
3577 gnutls_x509_crq_set_key_purpose_oid: ADDED
3578 gnutls_x509_crq_print: ADDED
3579 gnutls_x509_crt_set_crq_extensions: ADDED
3581 * Version 2.6.6 (released 2009-04-30)
3583 ** libgnutls: Corrected double free on signature verification failure.
3584 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
3585 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
3587 ** libgnutls: Fix DSA key generation.
3588 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
3589 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
3590 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3592 ** libgnutls: Check expiration/activation time on untrusted certificates.
3593 Reported by Romain Francoise <romain@orebokech.com>. Before the
3594 library did not check activation/expiration times on certificates, and
3595 was documented as not doing so. We have realized that many
3596 applications that use libgnutls, including gnutls-cli, fail to perform
3597 proper checks. Implementing similar logic in all applications leads
3598 to code duplication. Hence, we decided to check whether the current
3599 time (as reported by the time function) is within the
3600 activation/expiration period of certificates when verifying untrusted
3603 This changes the semantics of gnutls_x509_crt_list_verify, which in
3604 turn is used by gnutls_certificate_verify_peers and
3605 gnutls_certificate_verify_peers2. We add two new
3606 gnutls_certificate_status_t codes for reporting the new error
3607 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
3608 add a new gnutls_certificate_verify_flags flag,
3609 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3612 More details about the vulnerabilities will be posted at
3613 <http://www.gnu.org/software/gnutls/security.html>.
3615 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3616 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3617 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3619 ** tests: Fix linking of tests/openpgp/keyring self-test.
3620 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3622 ** API and ABI modifications:
3623 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3624 gnutls_certificate_verify_peers: Likewise.
3625 gnutls_certificate_verify_peers2: Likewise.
3626 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3627 GNUTLS_CERT_EXPIRED: ADDED.
3628 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3630 * Version 2.6.5 (released 2009-04-11)
3632 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3633 specify the client hello message record version. Used to overcome buggy
3634 TLS servers. Report by Martin von Gagern.
3636 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3637 Libtasn1 0.3.4 or later is required. This is to align with the
3638 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3640 ** API and ABI modifications:
3641 No changes since last version.
3643 * Version 2.6.4 (released 2009-02-06)
3645 ** libgnutls: Accept chains where intermediary certs are trusted.
3646 Before GnuTLS needed to validate the entire chain back to a
3647 self-signed certificate. GnuTLS will now stop looking when it has
3648 found an intermediary trusted certificate. The new behaviour is
3649 useful when chains, for example, contains a top-level CA, an
3650 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3651 To avoid chain validation errors due to the RSA-MD5 cert, you can
3652 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3653 The signature on trusted certificates are not checked, so the chain
3654 has a chance to validate correctly. Reported by "Douglas E. Engert"
3655 <deengert@anl.gov> in
3656 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3658 ** libgnutls: result_size in gnutls_hex_encode now holds
3659 the size of the result. Report by John Brooks <special@dereferenced.net>.
3661 ** libgnutls: gnutls_handshake when sending client hello during a
3662 rehandshake, will not offer a version number larger than the current.
3663 Reported by Tristan Hill <stan@saticed.me.uk>.
3665 ** libgnutls: Permit V1 Certificate Authorities properly.
3666 Before they were mistakenly rejected even though
3667 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3668 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3669 "Douglas E. Engert" <deengert@anl.gov> in
3670 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3672 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3673 This is a bugfix -- the previous attempt to do this from internal x509
3674 certificate verification procedures did not return the correct value
3675 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3676 <dkg@fifthhorseman.net> in
3677 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3678 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3679 Gillmor <dkg@fifthhorseman.net>.
3681 ** libgnutls: Fix compile error with Sun CC.
3682 Reported by Jeff Cai <jeff.cai@sun.com> in
3683 <https://savannah.gnu.org/support/?106549>.
3685 ** API and ABI modifications:
3686 No changes since last version.
3688 * Version 2.6.3 (released 2008-12-12)
3690 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3691 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3692 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3693 Andreas Metzler <ametzler@downhill.at.eu.org> in
3694 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3696 ** libgnutls: Fix memory leak in PSK authentication.
3697 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3698 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3700 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3701 It needs to be invoked before libgcrypt is initialized.
3703 ** gnutls-cli: Return non-zero exit code on error conditions.
3705 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3707 ** API and ABI modifications:
3708 No changes since last version.
3710 * Version 2.6.2 (released 2008-11-12)
3712 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3713 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3714 problem for certificate chains that contained just one self-signed
3715 certificate. Reported by Michael Meskes <meskes@debian.org> in
3716 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3718 ** API and ABI modifications:
3719 No changes since last version.
3721 * Version 2.6.1 (released 2008-11-10)
3723 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3724 The flaw makes it possible for man in the middle attackers (i.e.,
3725 active attackers) to assume any name and trick GnuTLS clients into
3726 trusting that name. Thanks for report and analysis from Martin von
3727 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3729 Any updates with more details about this vulnerability will be added
3730 to <http://www.gnu.org/software/gnutls/security.html>
3732 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3733 Reported by Kevin Quick <quick@sparq.org> in
3734 <https://savannah.gnu.org/support/index.php?106454>.
3736 ** libgnutls-extra: Protect internal symbols with static.
3737 Fixes problem when linking certtool statically. Tiny patch from Aaron
3738 Ucko <ucko@ncbi.nlm.nih.gov>.
3740 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
3741 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
3742 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
3744 ** certtool: Print a PKCS #8 key even if it is not encrypted.
3746 ** tests: Make tests compile when using internal libtasn1.
3747 Patch by ludo@gnu.org (Ludovic Courtès).
3749 ** API and ABI modifications:
3750 No changes since last version.
3752 * Version 2.6.0 (released 2008-10-06)
3754 ** libgnutls: Correct printing and parsing of IPv6 addresses.
3756 ** libgnutls-openssl: fix out of bounds access.
3757 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
3758 from Thomas Viehmann <tv@beamnet.de>.
3760 ** certtool: Use inet_pton for parsing IPv6 addresses.
3762 ** Major changes compared to the v2.4 branch:
3764 *** Added API to replace and update the crypto backend.
3766 *** certtool: can add several subject alternative names via template file.
3768 *** opencdk: Parse (but not decrypt) encrypted secret keys.
3770 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
3771 either set or append alternative names. It can also handle binary structures
3772 such as IP addresses.
3774 *** libgnutls: New function to set minimum acceptable SRP bits.
3775 The function is gnutls_srp_set_prime_bits.
3777 *** libgnutls: Add interface to deal with public key and signature algorithms.
3778 The functions are called gnutls_pk_list, gnutls_pk_get_id,
3779 gnutls_sign_list, and gnutls_sign_get_id.
3781 *** libgnutls: New interfaces to get name of public key and signing algorithms.
3782 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
3784 *** libgnutls: New API to get a string corresponding to a error symbol.
3785 The function is gnutls_strerror_name.
3787 *** libgnutls: New API to set the public parameters in a certificate request
3788 *** from a private key.
3789 The function is gnutls_x509_crq_set_key_rsa_raw.
3791 *** libgnutls: New API to set a callback to extract TLS Finished data.
3792 The function to register is gnutls_session_set_finished_function and
3793 it takes a callback of the gnutls_finished_callback_func type.
3795 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
3797 *** libgnutls: New interface to register a new TLS extension handler.
3798 The new function gnutls_ext_register can be used to register handlers
3799 for specific TLS extension types. The callback functions have the new
3800 types gnutls_ext_recv_func and gnutls_ext_send_func. A type to
3801 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
3804 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
3805 The function is gnutls_register_md5_handler. When libgcrypt is in
3806 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
3809 *** API/ABI changes in GnuTLS 2.6
3810 No functions have been removed or modified. The library should be
3811 fully backwards compatible on both the source and binary level.
3813 A new header file <gnutls/crypto.h> have been added. It contains
3814 definitions related to replacing the internal crypto functionality.
3815 All definitions and the header itself is experimental but supported.
3817 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
3818 does not use the normal namespace. We have added GNUTLS_MASTER_SIZE
3819 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
3821 The following functions have been added to libgnutls:
3825 gnutls_crypto_bigint_register2
3826 gnutls_crypto_cipher_register2
3827 gnutls_crypto_digest_register2
3828 gnutls_crypto_mac_register2
3829 gnutls_crypto_pk_register2
3830 gnutls_crypto_rnd_register2
3831 gnutls_crypto_single_cipher_register2
3832 gnutls_crypto_single_digest_register2
3833 gnutls_crypto_single_mac_register2
3838 gnutls_session_set_finished_function
3840 gnutls_sign_get_name
3842 gnutls_srp_set_prime_bits:
3843 gnutls_strerror_name
3844 gnutls_x509_crq_set_key_rsa_raw
3845 gnutls_x509_crt_set_crl_dist_points2
3846 gnutls_x509_crt_set_subject_alt_name
3848 The following functions have been added to libgnutls-extra:
3850 gnutls_register_md5_handler
3852 ** API and ABI modifications:
3853 No changes since last version.
3855 * Version 2.5.9 (released 2008-09-29)
3857 ** libgnutls: Fix several memory leaks.
3858 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
3860 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
3861 Report and patch by Jonathan Manktelow.
3863 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
3864 The parameters are now allocated in the structure itself.
3866 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
3868 ** tests: Scripts now use EXEEXT properly.
3869 Modern libtool doesn't create wrapper script, so the self tests need
3870 to invoke certtool.exe under MinGW32+Wine.
3872 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.