1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000-2012 Free Software Foundation, Inc.
3 Copyright (C) 2013 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 3.3.0 (unreleased)
8 ** libgnutls: Added the SYSTEM priority string initial keyword.
9 That allows a compile-time specified configuration file to be
10 used to read the priorities. That can be used to impose system
13 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
14 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
16 ** libgnutls: certificate verification profiles were introduced
17 that can be specified as flags to verification functions. They
18 are enumerations in gnutls_certificate_verification_profiles_t
19 and can be converted to flags using GNUTLS_PROFILE_TO_VFLAGS()
21 ** libgnutls: When specifying a priority string a corresponding
22 certificate verification profile is automatically set.
24 ** libgnutls: Increased the default security level of priority
25 strings to corresponding defaults. The %COMPAT keyword is extended
26 to revert to old defaults, by reducing the overall security level.
28 ** libgnutls: The initialization of the library was moved to a
29 constructor. That is, gnutls_global_init() is no longer required
30 unless linking with a static library or a system that does not
31 support library constructors.
33 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
34 can be used to specify a particular subgroup as the number of bits in
35 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
37 ** libgnutls: DH parameter generation is now delegated to nettle.
39 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
40 random number generator is based on salsa20.
42 ** libgnutls: The buffer alignment provided to crypto backend is
43 enforced to be 16-byte aligned, when compiled with cryptodev
44 support. That allows certain cryptodev drivers to operate more
47 ** libgnutls: PKCS #11 initialization is delayed to first usage.
48 That avoids long delays in gnutls initialization due to broken PKCS #11
51 ** libgnutls: The PKCS #11 subsystem is reinitialized automatically when
54 ** libgnutls: Added --enable-fips140-mode configuration option. That
55 option enables (when running on FIPS140-enabled system):
56 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
57 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
58 o Self-tests on initialization on ciphers/MACs, public key algorithms
59 and the random generator.
60 o HMAC-SHA256 verification of the library on load.
61 o MD5 is included for TLS purposes but cannot be used by the high level
63 o All ciphers except AES are disabled.
64 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
65 o All keys (temporal and long term) are zeroized after use.
66 o Security levels are adjusted to the FIPS140-2 recommendations (rather
69 ** libgnutls: static libraries are not built by default.
71 ** libgnutls: Depend on p11-kit 0.19.1 or later.
73 ** API and ABI modifications:
74 gnutls_privkey_generate: Added
75 gnutls_pkcs11_crt_is_known: Added
76 gnutls_fips140_mode_enabled: Added
77 gnutls_sec_param_to_symmetric_bits: Added
78 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
79 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
80 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
81 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
82 gnutls_pubkey_verify_params: Added
83 gnutls_privkey_export_ecc_raw: Added
84 gnutls_privkey_export_dsa_raw: Added
85 gnutls_privkey_export_rsa_raw: Added
86 gnutls_privkey_import_ecc_raw: Added
87 gnutls_privkey_import_dsa_raw: Added
88 gnutls_privkey_import_rsa_raw: Added
89 gnutls_privkey_verify_params: Added
90 gnutls_digest_self_test: Added (conditionally)
91 gnutls_mac_self_test: Added (conditionally)
92 gnutls_pk_self_test: Added (conditionally)
93 gnutls_cipher_self_test: Added (conditionally)
94 gnutls_global_set_mem_functions: Deprecated
97 * Version 3.2.6 (released 2013-10-31)
99 ** libgnutls: Support for TPM via trousers is now enabled by default.
101 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
102 GCM mode is prioritized over CBC in all of the default priority strings.
104 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
106 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
107 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
108 Reported by Stefan Buehler.
110 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
112 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
115 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
116 Contributed by Wolfgang Meyer zu Bergsten.
120 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
121 previous fix. Reported by Tomas Mraz.
123 ** p11tool: Added option generate-random.
125 ** API and ABI modifications:
126 gnutls_pkcs11_token_get_random: Added
129 * Version 3.2.5 (released 2013-10-23)
131 ** libgnutls: Documentation and build-time fixes.
133 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
135 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
136 as well as Camellia with GCM.
138 ** libdane: Added interfaces to allow initialization of dane_query_t from
139 external DNS resolutions, and to allow direct verification of a certificate
140 chain against a dane_query_t. Contributed by Christian Grothoff.
142 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
143 triggered by a DNS server supplying more than 4 DANE records. Report and fix
144 by Christian Grothoff.
146 ** srptool: Fixed index command line option. Patch by Attila Molnar.
148 ** gnutls-cli: Added support for inline commands, using the
149 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
151 ** certtool: pathlen constraint is now read correctly. Reported by
154 ** API and ABI modifications:
155 gnutls_certificate_get_crt_raw: Added
156 dane_verify_crt_raw: Added
160 * Version 3.2.4 (released 2013-08-31)
162 ** libgnutls: Fixes when session tickets and session DB are used.
163 Report and initial patch by Stefan Buehler.
165 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
166 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
168 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
171 ** libgnutls: Added the PFS priority string option.
173 ** libgnutls: Gnulib included files are strictly LGPLv2.
175 ** libgnutls: Corrected gnutls_certificate_server_set_request().
176 Reported by Petr Pisar.
178 ** API and ABI modifications:
179 gnutls_record_set_timeout: Exported
182 * Version 3.2.3 (released 2013-07-30)
184 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
186 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
187 (this fixes a bug that was accidentally introduced in 3.2.2)
189 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
192 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
195 ** API and ABI modifications:
196 gnutls_priority_kx_list: Added
197 gnutls_priority_mac_list: Added
198 gnutls_priority_cipher_list: Added
201 * Version 3.2.2 (released 2013-07-14)
203 ** libgnutls: Several optimizations in the related to packet processing
206 ** libgnutls: DTLS replay detection can now be disabled (to be used
207 in certain transport layers like SCTP).
209 ** libgnutls: Fixes in SRTP extension generation when MKI is being
212 ** libgnutls: Added ability to set hooks before or after sending or receiving
213 any handshake message with gnutls_handshake_set_hook_function().
215 ** API and ABI modifications:
216 GNUTLS_NO_REPLAY_PROTECTION: Added
217 gnutls_certificate_set_trust_list: Added
218 gnutls_cipher_get_tag_size: Added
219 gnutls_record_overhead_size: Added
220 gnutls_est_record_overhead_size: Added
221 gnutls_handshake_set_hook_function: Added
222 gnutls_handshake_description_get_name: Added
223 gnutls_digest_list: Added
224 gnutls_digest_get_id: Added
225 gnutls_digest_get_name: Added
228 * Version 3.2.1 (released 2013-06-01)
230 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
233 ** libgnutls: Fixes in interrupted function resumption. Report
234 and patch by Tim Kosse.
236 ** libgnutls: Corrected issue when receiving client hello verify requests
239 ** libgnutls: Fixes in DTLS record overhead size calculations.
241 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
244 ** API and ABI modifications:
245 gnutls_session_set_id: Added
248 * Version 3.2.0 (released 2013-05-10)
250 ** libgnutls: Use nettle's elliptic curve implementation.
252 ** libgnutls: Added Salsa20 cipher
254 ** libgnutls: Added UMAC-96 and UMAC-128
256 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
257 As they are not standardized they are defined using private ciphersuite
260 ** libgnutls: Added support for DTLS 1.2.
262 ** libgnutls: Added support for the Application Layer Protocol Negotiation
265 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
267 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
268 linking to pthreads if p11-kit isn't used).
270 ** API and ABI modifications:
271 gnutls_cipher_get_iv_size: Added
272 gnutls_hmac_set_nonce: Added
273 gnutls_mac_get_nonce_size: Added
276 * Version 3.1.10 (released 2013-03-22)
278 ** certtool: When generating PKCS #12 files use by default the
279 ARCFOUR (RC4) cipher to be compatible with devices that don't
280 support AES with PKCS #12.
282 ** libgnutls: Load CA certificates in android 4.x systems.
284 ** libgnutls: Optimized CA certificate loading.
286 ** libgnutls: Private keys are overwritten on deinitialization.
288 ** libgnutls: PKCS #11 slots are scanned only when needed, not
289 on initialization. This speeds up gnutls initialization when smart
292 ** libgnutls: Corrected issue in the (deprecated) external key
293 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
295 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
298 ** libgnutls-dane: Updated DANE verification options.
300 ** configure: Trust store file must be explicitly set or unset when
303 ** API and ABI modifications:
304 gnutls_x509_crt_get_issuer_dn2: Added
305 gnutls_x509_crt_get_dn2: Added
306 gnutls_x509_crl_get_issuer_dn2: Added
307 gnutls_x509_crq_get_dn2: Added
308 gnutls_x509_trust_list_remove_trust_mem: Added
309 gnutls_x509_trust_list_remove_trust_file: Added
310 gnutls_x509_trust_list_remove_cas: Added
311 gnutls_session_get_desc: Added
312 gnutls_privkey_sign_raw_data: Added
313 gnutls_privkey_status: Added
316 * Version 3.1.9 (released 2013-02-27)
318 ** certtool: Option --to-p12 will now ask for a password to generate
319 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
321 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
323 ** libgnutls: Corrected parsing issue in XMPP within a subject
324 alternative name. Reported by James Cloos.
326 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
327 modules, and not only the ones loaded via p11-kit.
329 ** libgnutls: Added function to check whether the private key is
330 still available (inserted).
332 ** libgnutls: Try to detect fork even during nonce generation.
334 ** API and ABI modifications:
335 gnutls_handshake_set_random: Added
336 gnutls_transport_set_int2: Added
337 gnutls_transport_get_int2: Added
338 gnutls_transport_get_int: Added
339 gnutls_record_cork: Exported
340 gnutls_record_uncork: Exported
341 gnutls_pkcs11_privkey_status: Added
344 * Version 3.1.8 (released 2013-02-10)
346 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
347 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
348 with encrypted keys. Reported by Yan Fiz.
350 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
351 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
354 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
355 to operate with long keys. Reported by Erik A Jensen.
357 ** API and ABI modifications:
358 No changes since last version.
361 * Version 3.1.7 (released 2013-02-04)
363 ** certtool: Added option "dn" which allows to directly set the DN
364 in a template from an RFC4514 string.
366 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
368 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
370 ** libgnutls-dane: Added function to specify a DLV file.
372 ** libgnutls: Heartbeat code was made optional.
374 ** libgnutls: Fixes in server side of DTLS-0.9.
376 ** libgnutls: DN variable 'T' was expanded to 'title'.
378 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
379 Issue reported by Kenny Paterson and Nadhem Alfardan.
381 ** libgnutls: Added functions to directly set the DN in a certificate
382 or request from an RFC4514 string.
384 ** libgnutls: Optimizations in the random generator. The re-seeding of
385 it is now explicitly done on every session deinit.
387 ** libgnutls: Simplified the DTLS sliding window implementation.
389 ** libgnutls: The minimum DH bits accepted by a client are now set
390 by the specified priority string. The current values correspond to the
391 previous defaults (727 bits), except for the SECURE128 and SECURE192
392 strings which increase the minimum to 1248 and 1776 respectively.
394 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
395 buffering in sending application data.
397 ** libgnutls: Removed default random padding, and added a length-hiding interface
398 instead. Both the server and the client must support this extension. Whether
399 length-hiding can be used on a given session can be checked using
400 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
402 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
403 a new padding mechanism in TLS allowing arbitrary padding in TLS records
404 in all ciphersuites, which makes length-hiding more efficient and solves
405 the issues with timing attacks on CBC ciphersuites.
407 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
408 ciphers (i.e., AES-GCM). Reported by William McGovern.
410 ** API and ABI modifications:
411 gnutls_db_check_entry_time: Added
412 gnutls_record_set_timeout: Added
413 gnutls_record_get_random_padding_status: Added
414 gnutls_x509_crt_set_dn: Added
415 gnutls_x509_crt_set_issuer_dn: Added
416 gnutls_x509_crq_set_dn: Added
417 gnutls_range_split: Added
418 gnutls_record_send_range: Added
419 gnutls_record_set_max_empty_records: Added
420 gnutls_record_can_use_length_hiding: Added
421 gnutls_rnd_refresh: Added
429 xssl_client_init: Added
430 xssl_server_init: Added
431 xssl_get_session: Added
432 xssl_get_verify_status: Added
433 xssl_cred_init: Added
434 xssl_cred_deinit: Added
435 dane_state_set_dlv_file: Added
436 GNUTLS_SEC_PARAM_EXPORT: Added
437 GNUTLS_SEC_PARAM_VERY_WEAK: Added
440 * Version 3.1.6 (released 2013-01-02)
442 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
443 Paterson and Nadhem Alfardan.
445 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
447 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
450 ** libgnutls: Ignore heartbeat messages when received out-of-order,
451 instead of issuing an error.
453 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
456 ** libgnutls: TPM support is disabled by default because GPL programs
457 cannot link with it. Use --with-tpm to enable it.
459 ** libgnutls-guile: Fixed parallel compilation issue.
461 ** gnutls-cli: It will try to connect to all possible returned addresses
464 ** API and ABI modifications:
465 No changes since last version.
468 * Version 3.1.5 (released 2012-11-24)
470 ** libgnutls: Added functions to parse the certificates policies
473 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
474 Name by translating it to UTF-8 (works on windows or systems with iconv).
476 ** libgnutls: Added PKCS #11 key generation function that returns the
477 public key on generation.
479 ** libgnutls: Corrected bug in priority string parsing, that mostly
480 affected combined levels. Patch by Tim Kosse.
482 ** certtool: The --pubkey-info option can be combined with the
483 --load-privkey or --load-request to print the corresponding public keys.
485 ** certtool: It is able to set certificate policies via a template.
487 ** certtool: Added --hex-numbers option which prints big numbers in
488 an easier to parse format.
490 ** p11tool: After key generation, outputs the public key (useful in
491 tokens that do not store the public key).
493 ** danetool: It is being built even without libgnutls-dane (the
494 --check functionality is disabled though).
496 ** API and ABI modifications:
497 gnutls_pkcs11_privkey_generate2: Added
498 gnutls_x509_crt_get_policy: Added
499 gnutls_x509_crt_set_policy: Added
500 gnutls_x509_policy_release: Added
501 gnutls_pubkey_import_x509_crq: Added
502 gnutls_pubkey_print: Added
503 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
506 * Version 3.1.4 (released 2012-11-10)
508 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
509 the available revocation data validity.
511 ** libgnutls: Added gnutls_certificate_verification_status_print(),
512 a function to print the verification status code in human readable text.
514 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
516 ** libgnutls: Simplified certificate verification by adding
517 gnutls_certificate_verify_peers3().
519 ** libgnutls: Added support for extension to establish keys for SRTP.
520 Contributed by Martin Storsjo.
522 ** libgnutls: The X.509 verification functions check the key
523 usage bits and pathlen constraints and on failure output
524 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
526 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
528 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
529 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
531 ** libgnutls: Always tolerate key usage violation errors from the side
532 of the peer, but also notify via an audit message.
534 ** gnutls-cli: Added --local-dns option.
536 ** danetool: Corrected bug that prevented loading PEM files.
538 ** danetool: Added --check option to allow querying and verifying
541 ** libgnutls-dane: Added pkg-config file for the library.
543 ** API and ABI modifications:
544 gnutls_session_get_id2: Added
545 gnutls_sign_is_secure: Added
546 gnutls_certificate_verify_peers3: Added
547 gnutls_ocsp_status_request_is_checked: Added
548 gnutls_certificate_verification_status_print: Added
549 gnutls_srtp_set_profile: Added
550 gnutls_srtp_set_profile_direct: Added
551 gnutls_srtp_get_selected_profile: Added
552 gnutls_srtp_get_profile_name: Added
553 gnutls_srtp_get_profile_id: Added
554 gnutls_srtp_get_keys: Added
555 gnutls_srtp_get_mki: Added
556 gnutls_srtp_set_mki: Added
557 gnutls_srtp_profile_t: Added
558 dane_cert_type_name: Added
559 dane_match_type_name: Added
560 dane_cert_usage_name: Added
561 dane_verification_status_print: Added
562 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
563 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
564 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
565 GNUTLS_CERT_UNEXPECTED_OWNER: Added
566 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
569 * Version 3.1.3 (released 2012-10-12)
571 ** libgnutls: Added support for the OCSP Certificate Status
574 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
575 certificate status extension in verification.
577 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
579 ** libgnutls: Increased maximum password length in the PKCS #12
582 ** libgnutls: Fixed the receipt of session tickets during session resumption.
583 Reported by danblack at http://savannah.gnu.org/support/?108146
585 ** libgnutls: Added functions to export structures in an allocated buffer.
587 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
588 response corresponds to the given certificate.
590 ** libgnutls: In client side gnutls_init() enables the session ticket and
591 OCSP certificate status request extensions by default. The flag
592 GNUTLS_NO_EXTENSIONS can be used to prevent that.
594 ** libgnutls: Several updates in the OpenPGP code. The generating code
595 is fully RFC6091 compliant and RFC5081 support is only supported in client
598 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
599 certificate verification.
601 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
603 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
605 ** API and ABI modifications:
606 gnutls_certificate_get_peers_subkey_id: Added
607 gnutls_certificate_set_ocsp_status_request_function: Added
608 gnutls_certificate_set_ocsp_status_request_file: Added
609 gnutls_ocsp_status_request_enable_client: Added
610 gnutls_ocsp_status_request_get: Added
611 gnutls_ocsp_resp_check_crt: Added
612 gnutls_dh_params_export2_pkcs3: Added
613 gnutls_pubkey_export2: Added
614 gnutls_x509_crt_export2: Added
615 gnutls_x509_dn_export2: Added
616 gnutls_x509_crl_export2: Added
617 gnutls_pkcs7_export2: Added
618 gnutls_x509_privkey_export2: Added
619 gnutls_x509_privkey_export2_pkcs8: Added
620 gnutls_x509_crq_export2: Added
621 gnutls_openpgp_crt_export2: Added
622 gnutls_openpgp_privkey_export2: Added
623 gnutls_pkcs11_obj_export2: Added
624 gnutls_pkcs12_export2: Added
625 gnutls_pubkey_import_openpgp_raw: Added
626 gnutls_pubkey_import_x509_raw: Added
627 dane_state_init: Added
628 dane_state_deinit: Added
629 dane_query_tlsa: Added
630 dane_query_status: Added
631 dane_query_entries: Added
632 dane_query_data: Added
633 dane_query_deinit: Added
634 dane_verify_session_crt: Added
635 dane_verify_crt: Added
639 * Version 3.1.2 (released 2012-09-26)
641 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
642 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
643 of certificates in the windows platform.
645 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
647 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
648 (the work was done during Google Summer of Code).
650 ** libgnutls: Added X.509 certificate verification flag
651 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
652 of unsorted certificate chains and is enabled by default for
653 TLS certificate verification (if gnutls_certificate_set_verify_flags()
654 does not override it).
656 ** libgnutls: Prints warning on certificates that contain keys of
657 an insecure level. If the %COMPAT priority flag is not specified
658 the TLS connection fails.
660 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
661 if interrupted during the retrasmition of handshake data.
663 ** libgnutls: Better mingw32 support (patch by LRN).
665 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
666 key usage violation errors (they are far too common to ignore).
668 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
669 which provides a tool to counter compression-related attacks where
670 parts of the data are controlled by the attacker _and_ are placed in
671 separate records (use with care - do not use compression if not sure).
673 ** libgnutls: Depends on libtasn1 2.14 or later.
675 ** certtool: Prints the number of bits of the public key algorithm
676 parameter in a private key.
678 ** API and ABI modifications:
679 gnutls_x509_privkey_get_pk_algorithm2: Added
680 gnutls_heartbeat_ping: Added
681 gnutls_heartbeat_pong: Added
682 gnutls_heartbeat_allowed: Added
683 gnutls_heartbeat_enable: Added
684 gnutls_heartbeat_set_timeouts: Added
685 gnutls_heartbeat_get_timeout: Added
686 GNUTLS_SEC_PARAM_WEAK: Added
687 GNUTLS_SEC_PARAM_INSECURE: Added
689 * Version 3.1.1 (released 2012-09-02)
691 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
693 ** certtool: Changes in password handling of certtool.
694 Ask password when required and only if the '--password' option is not
695 given. If the '--password' option is given during key generation then
696 assume the PKCS #8 file format, instead of ignoring the password.
698 ** tpmtool: No longer asks for key password in registered keys.
700 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
701 wmNAF is now used for point multiplication and other optimizations.
702 (the major part of the work was done during Google Summer of Code).
704 ** libgnutls: The default pull_timeout_function only uses select
705 instead of a combination of select() and recv() to prevent issues
706 when used in stream sockets in some systems.
708 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
709 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
712 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
713 cards. Thanks to Andreas Schwier from cardcontact.de for providing
714 me with ECDSA capable smart cards.
716 ** API and ABI modifications:
717 gnutls_sign_algorithm_get: Added
718 gnutls_sign_get_hash_algorithm: Added
719 gnutls_sign_get_pk_algorithm: Added
722 * Version 3.1.0 (released 2012-08-15)
724 ** libgnutls: Added direct support for TPM as a cryptographic module
725 in gnutls/tpm.h. TPM keys can be used in functions accepting files
726 using URLs of the following types:
727 tpmkey:file=/path/to/file
728 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
730 ** libgnutls: Priority string level keywords can be combined.
731 For example the string "SECURE256:+SUITEB128" is now allowed.
733 ** libgnutls: requires libnettle 2.5.
735 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
736 for encryption and signatures.
738 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
739 generic errors and signature verification errors in the verification
742 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
743 to simplify parsing in most PKCS #12 use cases.
745 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
746 the whole certificate chain (if any) to the credentials structure, instead
747 of only the end-user certificate.
749 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
750 and gnutls_x509_privkey_import_pkcs8(), return consistently
751 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
752 password was provided.
754 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
755 allows to set the maximum time spent in a handshake.
757 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
760 ** tpmtool: Added. It is a tool to generate private keys in the
763 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
764 and --benchmark-tls-ciphers
766 ** certtool: generated PKCS #12 structures may hold more than one
767 private key. Patch by Lucas Fisher.
769 ** certtool: Added option --null-password to generate/decrypt keys
770 that use a NULL password (in schemas that distinguish between NULL
773 ** minitasn1: Upgraded to libtasn1 version 2.13.
775 ** API and ABI modifications:
776 GNUTLS_CERT_SIGNATURE_FAILURE: Added
777 GNUTLS_CAMELLIA_192_CBC: Added
778 GNUTLS_PKCS_NULL_PASSWORD: Added
779 gnutls_url_is_supported: Added
780 gnutls_pkcs11_obj_list_import_url2: Added
781 gnutls_pkcs11_obj_set_pin_function: Added
782 gnutls_pkcs11_privkey_set_pin_function: Added
783 gnutls_pkcs11_get_pin_function: Added
784 gnutls_privkey_import_tpm_raw: Added
785 gnutls_privkey_import_tpm_url: Added
786 gnutls_privkey_import_pkcs11_url: Added
787 gnutls_privkey_import_openpgp_raw: Added
788 gnutls_privkey_import_x509_raw: Added
789 gnutls_privkey_import_ext2: Added
790 gnutls_privkey_import_url: Added
791 gnutls_privkey_set_pin_function: Added
792 gnutls_tpm_privkey_generate: Added
793 gnutls_tpm_key_list_deinit: Added
794 gnutls_tpm_key_list_get_url: Added
795 gnutls_tpm_get_registered: Added
796 gnutls_tpm_privkey_delete: Added
797 gnutls_pubkey_import_tpm_raw: Added
798 gnutls_pubkey_import_tpm_url: Added
799 gnutls_pubkey_import_url: Added
800 gnutls_pubkey_verify_hash2: Added
801 gnutls_pubkey_set_pin_function: Added
802 gnutls_x509_privkey_import2: Added
803 gnutls_x509_privkey_import_openssl: Added
804 gnutls_x509_crt_set_pin_function: Added
805 gnutls_load_file: Added
806 gnutls_pkcs12_simple_parse: Added
807 gnutls_certificate_set_x509_system_trust: Added
808 gnutls_certificate_set_pin_function: Added
809 gnutls_x509_trust_list_add_system_trust: Added
810 gnutls_x509_trust_list_add_trust_file: Added
811 gnutls_x509_trust_list_add_trust_mem: Added
812 gnutls_pk_to_sign: Added
813 gnutls_handshake_set_timeout: Added
814 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
815 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
818 * Version 3.0.22 (released 2012-08-04)
820 ** libgnutls: gnutls_certificate_set_x509_system_trust()
821 is now supported on OpenBSD.
823 ** libgnutls: When verifying a certificate chain make sure it is chain.
824 If the chain is wronly interrupted at some point then truncate it,
825 and only try to verify the correct part. Patch by David Woodhouse
827 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
828 which now may (again) accept a NULL password.
830 ** certtool: Allow the user to choose the hash algorithm
831 when signing certificate request or certificate revocation list.
834 ** API and ABI modifications:
835 No changes since last version.
838 * Version 3.0.21 (released 2012-07-02)
840 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
841 that prevented the loading of EC private keys when DER
842 encoded. Reported by David Woodhouse.
844 ** libgnutls: In DTLS larger to mtu records result to
845 GNUTLS_E_LARGE_PACKET instead of being truncated.
847 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
848 on patch by David Woodhouse.
850 ** libgnutls: Fixed memory leak in PKCS #8 key import.
852 ** libgnutls: Added support for an old version of the DTLS protocol
853 used by openconnect vpn client for compatibility with Cisco's AnyConnect
854 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
857 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
858 if only the label is specified. Patch by David Woodhouse.
860 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
863 ** API and ABI modifications:
864 gnutls_dtls_set_data_mtu: Added
865 gnutls_session_set_premaster: Added
868 * Version 3.0.20 (released 2012-06-05)
870 ** libgnutls: Corrected bug which prevented the parsing of
871 handshake packets spanning multiple records.
873 ** libgnutls: Check key identifiers when checking for an issuer.
875 ** libgnutls: Added gnutls_pubkey_verify_hash2()
877 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
878 that loads the trusted CA certificates from system locations
879 (e.g. trusted storage in windows and CA bundle files in other systems).
881 ** certtool: Added support for the URI subject alternative
882 name type in certtool.
884 ** certtool: Increase to 128 the maximum number of distinct options
885 (e.g. dns_names) allowed.
887 ** gnutls-cli: If --print-cert is given, print the certificate,
888 even on verification failure.
890 ** API and ABI modifications:
891 gnutls_pk_to_sign: Added
892 gnutls_pubkey_verify_hash2: Added
893 gnutls_certificate_set_x509_system_trust: Added
896 * Version 3.0.19 (released 2012-04-22)
898 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
899 is assumed to be a file that stores the pin. Based on patch
902 ** libgnutls: gnutls_record_check_pending() no longer
903 returns unprocessed data, and thus ensure the non-blocking
904 of the next call to gnutls_record_recv().
906 ** libgnutls: Added strict tests in Diffie-Hellman and
907 SRP key exchange public keys.
909 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
910 strict in hash selection, and allow a stronger hash to
911 be used than the appropriate, to improve interoperability
914 ** tests: Disabled floating point test, and corrections
915 in pkcs12 decoding tests.
917 ** API and ABI modifications:
918 No changes since last version.
921 * Version 3.0.18 (released 2012-04-02)
923 ** certtool: Avoid a Y2K38 bug when generating certificates.
924 Patch by Robert Millan.
926 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
927 is returned on premature termination (and added unit test).
929 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
931 ** libgnutls: Corrected VIA padlock detection for old
932 VIA processors. Reported by Kris Karas.
934 ** libgnutls: Updated assembler files.
936 ** libgnutls: Time in generated certificates is stored
937 as GeneralizedTime instead of UTCTime (which only stores
940 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
942 ** API and ABI modifications:
943 gnutls_x509_crt_set_private_key_usage_period: Added
944 gnutls_x509_crt_get_private_key_usage_period: Added
945 gnutls_x509_crq_set_private_key_usage_period: Added
946 gnutls_x509_crq_get_private_key_usage_period: Added
947 gnutls_session_get_random: Added
950 * Version 3.0.17 (released 2012-03-17)
952 ** command line apps: Always link with local libopts.
954 ** API and ABI modifications:
955 No changes since last version.
958 * Version 3.0.16 (released 2012-03-16)
960 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
962 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
964 ** libgnutls: included assembler files for MacOSX.
966 ** p11tool: Small fixes in handling of the --private command
969 ** certtool: The template option allows for setting the domain
970 component (DC) option of the distinguished name, and the ocsp_uri
971 as well as the ca_issuers_uri options.
973 ** API and ABI modifications:
974 gnutls_x509_crt_set_authority_info_access: Added
977 * Version 3.0.15 (released 2012-03-02)
979 ** test suite: Only run under valgrind in the development
980 system (the full git repository)
982 ** command line apps: Link with local libopts if the
983 installed is an old one.
985 ** libgnutls: Eliminate double free during SRP
986 authentication. Reported by Peter Penzov.
988 ** libgnutls: Corrections in record packet parsing.
989 Reported by Matthew Hall.
991 ** libgnutls: Cryptodev updates and fixes.
993 ** libgnutls: Corrected issue with select() that affected
994 FreeBSD. This prevented establishing DTLS sessions.
995 Reported by Andreas Metzler.
997 ** libgnutls: Corrected rehandshake and resumption
998 operations in DTLS. Reported by Sean Buckheister.
1000 ** libgnutls: PKCS #11 objects that do not have ID
1001 no longer crash listing. Reported by Sven Geggus.
1003 ** API and ABI modifications:
1004 No changes since last version.
1007 * Version 3.0.14 (released 2012-02-24)
1009 ** command line apps: Included libopts doesn't get installed
1012 ** libgnutls: Eliminate double free on wrongly formatted
1013 certificate list. Reported by Remi Gacogne.
1015 ** libgnutls: cryptodev code corrected, updated to account
1016 for hashes and GCM mode.
1018 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1019 Report and fix by Sam Varshavchik.
1021 ** API and ABI modifications:
1022 No changes since last version.
1025 * Version 3.0.13 (released 2012-02-18)
1027 ** gnutls-cli: added the --ocsp option which will verify
1028 the peer's certificate with OCSP.
1030 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1031 will use an ssh-style authentication method.
1033 ** gnutls-cli: if no --x509cafile is provided a default is
1034 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1036 ** ocsptool: Added --ask parameter, to verify a certificate's
1037 status from an ocsp server.
1039 ** command line apps: Use gnu autogen (libopts) to parse command
1040 line arguments and template files.
1042 ** tests: Added stress test for DTLS packet losses and
1043 out-of-order receival. Contributed by Sean Buckheister.
1045 ** libgnutls: Several updates and corrections in the DTLS
1046 DTLS lost packet handling and retransmission timeouts.
1047 Report and patches by Sean Buckheister.
1049 ** libgnutls: Added new functions to easily allow the usage of
1050 a trust on first use (SSH-style) authentication.
1052 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1053 for the RFC6460 requirements.
1055 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1056 to account for security level of 96-bits.
1058 ** libgnutls: In client side if server does not advertise any
1059 known CAs and only a single certificate is set in the credentials,
1062 ** libgnutls: Added functions to parse authority key identifiers
1063 when stored as a 'general name' and serial combo.
1065 ** libgnutls: Added function to force explicit reinitialization
1066 of PKCS #11 modules. This is required on the child process after
1067 a fork (if PKCS #11 functionality is desirable).
1069 ** libgnutls: Depend on p11-kit 0.11.
1071 ** API and ABI modifications:
1072 gnutls_dtls_get_timeout: Added
1073 gnutls_verify_stored_pubkey: Added
1074 gnutls_store_pubkey: Added
1075 gnutls_store_commitment: Added
1076 gnutls_x509_crt_get_authority_key_gn_serial: Added
1077 gnutls_x509_crl_get_authority_key_gn_serial: Added
1078 gnutls_pkcs11_reinit: Added
1079 gnutls_ecc_curve_list: Added
1080 gnutls_priority_certificate_type_list: Added
1081 gnutls_priority_sign_list: Added
1082 gnutls_priority_protocol_list: Added
1083 gnutls_priority_compression_list: Added
1084 gnutls_priority_ecc_curve_list: Added
1085 gnutls_tdb_init: Added
1086 gnutls_tdb_set_store_func: Added
1087 gnutls_tdb_set_store_commitment_func: Added
1088 gnutls_tdb_set_verify_func: Added
1089 gnutls_tdb_deinit: Added
1092 * Version 3.0.12 (released 2012-01-20)
1094 ** libgnutls: Added OCSP support.
1095 There is a new header file gnutls/ocsp.h and a set of new functions
1096 under the gnutls_ocsp namespace. Currently the functionality provided
1097 is to parse and extract information from OCSP requests/responses, to
1098 generate OCSP requests and to verify OCSP responses. See the manual
1099 for more information. Run ./configure with --disable-ocsp to build
1100 GnuTLS without OCSP support.
1102 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1104 ** ocsptool: Added new command line tool.
1105 The tool can parse OCSP request/responses, generate OCSP requests and
1106 verify OCSP responses. See the manual for more information.
1108 ** certtool: --outder option now works for private
1109 and public keys as well.
1111 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1112 to warn when no or insufficient priorities were set.
1114 ** libgnutls: Corrected an alignment issue in ECDH
1115 key generation which prevented some keys from being
1116 correctly aligned in rare circumstances.
1118 ** libgnutls: Corrected memory leaks in DH parameter
1119 generation and ecc_projective_check_point().
1121 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1122 return a descriptive name of a DN OID.
1124 ** API and ABI modifications:
1125 gnutls_pubkey_encrypt_data: Added
1126 gnutls_x509_dn_oid_name: Added
1127 gnutls_session_resumption_requested: Added
1128 gnutls/ocsp.h: Added new header file.
1129 gnutls_ocsp_print_formats_t: Added new type.
1130 gnutls_ocsp_resp_status_t: Added new type.
1131 gnutls_ocsp_cert_status_t: Added new type.
1132 gnutls_x509_crl_reason_t: Added new type.
1133 gnutls_ocsp_req_add_cert: Added.
1134 gnutls_ocsp_req_add_cert_id: Added.
1135 gnutls_ocsp_req_deinit: Added.
1136 gnutls_ocsp_req_export: Added.
1137 gnutls_ocsp_req_get_cert_id: Added.
1138 gnutls_ocsp_req_get_extension: Added.
1139 gnutls_ocsp_req_get_nonce: Added.
1140 gnutls_ocsp_req_get_version: Added.
1141 gnutls_ocsp_req_import: Added.
1142 gnutls_ocsp_req_init: Added.
1143 gnutls_ocsp_req_print: Added.
1144 gnutls_ocsp_req_randomize_nonce: Added.
1145 gnutls_ocsp_req_set_extension: Added.
1146 gnutls_ocsp_req_set_nonce: Added.
1147 gnutls_ocsp_resp_deinit: Added.
1148 gnutls_ocsp_resp_export: Added.
1149 gnutls_ocsp_resp_get_certs: Added.
1150 gnutls_ocsp_resp_get_extension: Added.
1151 gnutls_ocsp_resp_get_nonce: Added.
1152 gnutls_ocsp_resp_get_produced: Added.
1153 gnutls_ocsp_resp_get_responder: Added.
1154 gnutls_ocsp_resp_get_response: Added.
1155 gnutls_ocsp_resp_get_signature: Added.
1156 gnutls_ocsp_resp_get_signature_algorithm: Added.
1157 gnutls_ocsp_resp_get_single: Added.
1158 gnutls_ocsp_resp_get_status: Added.
1159 gnutls_ocsp_resp_get_version: Added.
1160 gnutls_ocsp_resp_import: Added.
1161 gnutls_ocsp_resp_init: Added.
1162 gnutls_ocsp_resp_print: Added.
1163 gnutls_ocsp_resp_verify: Added.
1165 * Version 3.0.11 (released 2012-01-06)
1167 ** libgnutls: Corrected functionality of
1168 gnutls_record_get_direction(). Reported by Philip Allison.
1170 ** libgnutls: Provide less timing information when decoding
1171 TLS/DTLS record packets. Patch by Nadhem Alfardan.
1173 ** API and ABI modifications:
1174 No changes since last version.
1177 * Version 3.0.10 (released 2012-01-04)
1179 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
1180 in Linux as well as in BSD.
1182 ** gnutls-cli: Fixed reading from windows terminals.
1184 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
1185 the stream is assumed to be base64 encoded (previously
1186 the encoding was auto-detected). This avoids a decoding
1187 issue in windows systems.
1189 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
1191 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
1192 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
1194 ** libgnutls: Added function gnutls_random_art() to convert
1195 fingerprints to images (currently ascii-art).
1197 ** libgnutls: Corrected bug in DSA private key parsing, which
1198 prevented the verification of the key.
1200 ** API and ABI modifications:
1201 gnutls_random_art: Added
1204 * Version 3.0.9 (released 2011-12-13)
1206 ** certtool: Added new parameter --dh-info.
1208 ** certtool: -l option was overloaded so if combined with --priority
1209 it will only list the ciphersuites that are enabled by the given
1212 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
1213 changes the ciphersuite selection procedure. If specified the server
1214 priorities will be used for selection instead of the client's.
1216 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
1219 ** libgnutls: When session tickets are negotiated and used in a
1220 session, a server will not store that session data into its cache.
1222 ** libgnutls: Added the SECP192R1 curve.
1224 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
1225 allow listing the ciphersuites enabled in a priority structure.
1226 It outputs an index to be used in gnutls_get_cipher_suite_info().
1228 ** libgnutls: Optimizations in the elliptic curve code --timing
1229 attacks resistant code is only used in ECDSA private key operations.
1231 ** doc: man pages for API functions generation was fixed and are
1232 now added again in the distribution.
1234 ** API and ABI modifications:
1235 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
1236 gnutls_priority_get_cipher_suite_index: Added
1239 * Version 3.0.8 (released 2011-11-12)
1241 ** certtool: Certtool -e returns error code on verification
1244 ** certtool: Verifies parameters of generated keys.
1246 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
1248 ** libgnutls: Provide less timing information when decoding
1249 TLS/DTLS record packets.
1251 ** doc: man pages for API functions were removed.
1252 The reason was that the code that auto-generated the man pages missed
1253 many APIs and we couldn't fix it (volunteers welcome). See the info
1254 manual or the GTK-DOC manual instead.
1256 ** API and ABI modifications:
1257 gnutls_x509_privkey_verify_params: Added
1260 * Version 3.0.7 (released 2011-11-08)
1262 ** libgnutls: Corrected fix in gnutls_session_get_data()
1263 to report the actual session size when the provided buffer
1266 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1267 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1269 ** API and ABI modifications:
1270 No changes since last version.
1273 * Version 3.0.6 (released 2011-11-07)
1275 ** gnutls-guile: Compilation fixes.
1277 ** libgnutls: Fixed possible buffer overflow in
1278 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1280 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1281 Reported by Fabrice Gautier.
1283 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
1284 Thanks to Joseph Graham for providing access to such a system.
1286 ** libgnutls: Correctly report ECC private key parsing errors.
1287 Reported by Fabrice Gautier.
1289 ** libgnutls: In ECDHE verify that the received point lies on
1290 the selected curve. The ECDHE ciphersuites now take precendence
1293 ** API and ABI modifications:
1294 No changes since last version.
1297 * Version 3.0.5 (released 2011-10-27)
1299 ** libgnutls-extra: is no more
1301 ** libgnutls: Corrections in order to compile with mingw32.
1303 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1304 and new detection of PHE with support for partial hashing.
1306 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
1309 ** minitasn1: Upgraded to libtasn1 version 2.10.
1311 ** API and ABI modifications:
1312 No changes since last version.
1315 * Version 3.0.4 (released 2011-10-15)
1317 ** libgnutls-extra: gnutls_register_md5_handler() was
1320 ** gnutls-cli-debug: Added more tests including AES-GCM,
1321 SHA256 and elliptic curves.
1323 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1324 the software version of the ciphers instead of hw accelerated
1327 ** libgnutls: Public key ID calculation is consistent among
1328 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1330 ** libgnutls: gnutls_privkey_t allows setting external callback
1331 to perform signing or decryption. Can be set using
1332 gnutls_privkey_import_ext()
1334 ** libgnutls: A certificate credentials structure can be
1335 used with a gnutls_privkey_t and a gnutls_pcert_st
1336 structure using gnutls_certificate_set_key().
1338 ** libgnutls: Fixes to enable external signing callback to
1339 operate with TLS 1.2.
1341 ** libgnutls: Fixed crash when printing ECDSA certificate key
1342 ID. Reported by Erik Jensen.
1344 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
1345 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
1346 support for hashes and HMACs.
1348 ** libgnutls: Compilation fixed when p11-kit is not detected.
1350 ** libgnutls: Fixed the deflate compression code.
1352 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1353 Used to get the PKIX Authority Information Access (AIA) field.
1355 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1357 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1358 signing callback function.
1360 ** API and ABI modifications:
1361 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1362 gnutls_privkey_import_ext: Added function.
1363 gnutls_certificate_set_key: Added function.
1364 gnutls_info_access_what_t (x509.h): Added enum.
1365 GNUTLS_OID_AIA (x509.h): Added symbol.
1366 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1367 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1369 * Version 3.0.3 (released 2011-09-18)
1371 ** libgnutls: Added gnutls_record_get_discarded() to return the
1372 number of discarded records in a DTLS session.
1374 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1375 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1377 ** libgnutls: Memory leak fixes in credentials private key
1378 deinitialization. Reported by Dan Winship.
1380 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1382 ** libgnutls: Do not send an empty extension structure in server
1383 hello. This affected old implementations that do not support extensions.
1384 Reported by J. Cameijo Cerdeira.
1386 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1387 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1388 <http://bugs.debian.org/640639>.
1390 ** libgnutls: Added support for VIA padlock AES optimizations.
1391 (disabled by default)
1393 ** libgnutls: Added support for elliptic curves in
1396 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1397 to allow generating a key in a token.
1399 ** p11tool: Added generate-rsa, generate-dsa and
1400 generate-ecc options to allow generating private
1403 ** libgnutls: gnutls_transport_set_lowat dummy macro was
1406 ** API and ABI modifications:
1407 gnutls_pkcs11_privkey_generate: Added
1408 gnutls_pubkey_import_ecc_raw: Added
1409 gnutls_pubkey_import_ecc_x962: Added
1410 gnutls_pubkey_get_pk_ecc_x962: Added
1411 gnutls_record_get_discarded: Added
1414 * Version 3.0.2 (released 2011-09-01)
1416 ** libgnutls: OpenPGP certificate type is not enabled
1419 ** libgnutls: Added %NO_EXTENSIONS priority string.
1421 ** libgnutls: Corrected issue in gnutls_record_recv()
1422 triggered on encryption or compression error.
1424 ** libgnutls: Compatibility fixes in CPU ID detection
1425 for i386 and old GCC.
1427 ** gnutls-cli: Benchmark applications were incorporated
1430 ** libgnutls: Corrected parsing of XMPP subject
1433 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1436 ** libgnutls: gnutls_certificate_set_x509_key() and
1437 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1438 and allow the release of the private key during the
1439 lifetime of the certificate structure.
1441 ** API and ABI modifications:
1442 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1445 * Version 3.0.1 (released 2011-08-20)
1447 ** libgnutls: gnutls_certificate_set_x509_key_file() and
1448 friends support server name indication. If multiple
1449 certificates are set using these functions the proper one
1450 will be selected during a handshake.
1452 ** libgnutls: Added AES-256-GCM which was left out from
1453 the previous release. Reported by Benjamin Hof.
1455 ** libgnutls: When asking for a PKCS# 11 PIN multiple
1456 times, the flags in the callback were not being updated
1457 to reflect for PIN low count or final try.
1459 ** libgnutls: Do not allow second instances of PKCS #11
1462 ** libgnutls: fixed alignment issue in AES-NI code.
1464 ** libgnutls: The config file at gnutls_pkcs11_init()
1465 is being read if provided.
1467 ** libgnutls: Ensure that a certificate list specified
1468 using gnutls_certificate_set_x509_key() and friends, is
1469 sorted according to TLS specification (from subject to issuer).
1471 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1472 gnutls_x509_crt_list_import. It checks whether the list to be
1473 imported is properly sorted.
1475 ** crywrap: Added to the distribution. It is an application
1476 that proxies TLS session to a port using a plaintext service.
1478 ** doc: Many GTK-DOC improvements.
1480 ** i18n: Translations were updated.
1482 ** API and ABI modifications:
1483 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1484 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1487 * Version 3.0.0 (released 2011-07-29)
1489 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1492 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1495 ** certtool: bug fixes in certificate request generation. Patch
1498 ** API and ABI modifications:
1499 gnutls_pcert_list_import_x509_raw: ADDED
1502 * Version 2.99.4 (released 2011-07-23)
1504 ** doc: documentation updates.
1506 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1507 to avoid thread-safety issues. Reported by Sam Varshavchik.
1509 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1511 ** libgnutls: license upgraded to LGPLv3
1513 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1516 ** API and ABI modifications:
1517 No changes since last version.
1520 * Version 2.99.3 (released 2011-06-18)
1522 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1523 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1525 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1526 strings to enable the NSA SuiteB cryptography ciphersuites.
1528 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1529 verify data provided the signature algorithm.
1531 ** libgnutls: Simplified the handling of handshake messages to
1532 be hashed. Instead of hashing during the handshake process we now
1533 keep the data until handshake is over and hash them on request.
1534 This uses more memory but eliminates issues with TLS 1.2 and
1537 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1538 instruction. Uses Andy Polyakov's assembly code.
1540 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1541 gnutls_x509_trust_list_verify_named_crt() that allow having a
1542 list of certificates in the trusted list that will be associated
1543 with a name (e.g. server name) and will not be used as CAs.
1545 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1546 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1549 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1551 ** API and ABI modifications:
1552 gnutls_pubkey_verify_data2: ADDED
1553 gnutls_ecc_curve_get: ADDED
1554 gnutls_x509_trust_list_add_named_crt: ADDED
1555 gnutls_x509_trust_list_verify_named_crt: ADDED
1556 gnutls_x509_privkey_verify_data: REMOVED
1557 gnutls_crypto_bigint_register: REMOVED
1558 gnutls_crypto_cipher_register: REMOVED
1559 gnutls_crypto_digest_register: REMOVED
1560 gnutls_crypto_mac_register: REMOVED
1561 gnutls_crypto_pk_register: REMOVED
1562 gnutls_crypto_rnd_register: REMOVED
1563 gnutls_crypto_single_cipher_register: REMOVED
1564 gnutls_crypto_single_digest_register: REMOVED
1565 gnutls_crypto_single_mac_register: REMOVED
1566 GNUTLS_KX_ECDHE_PSK: New key exchange method
1567 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1568 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1569 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1572 * Version 2.99.2 (released 2011-05-26)
1574 ** libgnutls: Added Elliptic curve support. This is not
1575 enabled by default. Requires priority strings:
1576 +CURVE-ALL: to add all supported curves
1577 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1578 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1579 +ANON-ECDHE: to add anonymous ECDH
1581 ** libgnutls: PKCS #11 URLs conform to the latest draft
1582 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1584 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1587 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1588 to get important auditing information including the corresponding session.
1589 That might be useful to block DoS or other attacker from specific IPs.
1591 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1592 the public key algorithm of the key.
1594 ** libgnutls: Added gnutls_certificate_get_issuer() and
1595 gnutls_x509_trust_list_get_issuer() to compensate for the
1596 missing gnutls_certificate_get_x509_cas().
1598 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1599 verification of the self signature in a certificate request.
1600 This allows verifying whether the owner of the private key
1601 is the generator of the request.
1603 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1604 the self signature of the request.
1606 ** API and ABI modifications:
1607 gnutls_certificate_get_issuer: ADDED
1608 gnutls_x509_trust_list_get_issuer: ADDED
1609 gnutls_x509_crq_verify: ADDED
1610 gnutls_global_set_audit_log_function: ADDED
1611 gnutls_ecc_curve_get_name: ADDED
1612 gnutls_ecc_curve_get_size: ADDED
1613 gnutls_x509_privkey_import_ecc_raw: ADDED
1614 gnutls_x509_privkey_export_ecc_raw: ADDED
1615 gnutls_global_set_time_function: ADDED
1617 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1618 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1619 GNUTLS_KX_ECDHE_RSA: New key exchange method
1620 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1621 GNUTLS_KX_ANON_ECDH: New key exchange method
1622 GNUTLS_PK_ECC: New public key algorithm
1623 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1624 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1625 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1626 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
1627 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1628 GNUTLS_ECC_CURVE_INVALID: New curve definition
1629 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1630 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1631 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1632 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1635 * Version 2.99.1 (released 2011-04-23)
1637 ** libgnutls: LZO support was removed.
1639 ** libgnutls: Corrections in SSLv2 client hello parsing.
1641 ** libgnutls: Added support for AES-NI if detected. Uses
1642 Andy Polyakov's AES-NI code.
1644 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
1645 weak, several sites require it for connection. It is enabled for
1646 "NORMAL" and "PERFORMANCE" priority strings.
1648 ** libgnutls: depend on libdl.
1650 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1652 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1653 function required GnuTLS to access system specific data, for no reason.
1654 Use gnutls_transport_set_errno(), or your system's errno fascility
1657 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1658 to set a callback to retrieve a certificate. The certificate is
1659 received in a format that requires no processing from gnutls thus
1660 it is suitable when performance is required.
1662 ** API and ABI modifications:
1663 gnutls_transport_set_global_errno: REMOVED
1664 gnutls_certificate_set_retrieve_function2: ADDED
1666 * Version 2.99.0 (released 2011-04-09)
1668 ** libgnutls: Added Datagram TLS support.
1670 ** libgnutls: Uses a single configure file and a single
1671 gnulib library to save space.
1673 ** libgnutls: Several bug fixes.
1675 ** libgnutls: gnutls_transport_set_lowat() is no more.
1677 ** libgnutls-openssl: modified to use modern gnutls' functions.
1678 This introduces an ABI incompatibility with previous versions.
1680 ** libgnutls: Corrected signature generation and verification
1681 in the Certificate Verify message when in TLS 1.2. Reported
1684 ** libgnutlsxx: The C++ interface returns exception on
1685 every error and not only on fatal ones. This allows easier
1688 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
1691 ** libgnutls: SRP and PSK are no longer set on the default priorities.
1692 They have to be explicitly set.
1694 ** libgnutls: During handshake message verification using DSS
1695 use the hash algorithm required by it.
1697 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
1698 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
1700 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
1702 ** libgnutls-extra: Inner application extension was removed.
1703 It was never standardized nor published as an RFC.
1705 ** libgnutls: Added new certificate verification functions, that
1706 can provide more details and are more efficient. Check
1707 gnutls_x509_trust_list_*.
1709 ** certtool: Uses the new certificate verification functions for
1712 ** certtool: Added new certificate verification functionality
1713 using the --verify option. Combined with --load-ca-certificate
1714 it can verify a certificate chain against a list of certificates.
1716 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
1718 ** API and ABI modifications:
1719 gnutls_dtls_set_timeouts: ADDED
1720 gnutls_dtls_get_mtu: ADDED
1721 gnutls_dtls_get_data_mtu: ADDED
1722 gnutls_dtls_set_mtu: ADDED
1723 gnutls_dtls_cookie_send: ADDED
1724 gnutls_dtls_cookie_verify: ADDED
1725 gnutls_dtls_prestate_set: ADDED
1726 gnutls_x509_trust_list_verify_crt: ADDED
1727 gnutls_x509_trust_list_add_crls: ADDED
1728 gnutls_x509_trust_list_add_cas: ADDED
1729 gnutls_x509_trust_list_init: ADDED
1730 gnutls_x509_trust_list_deinit: ADDED
1731 gnutls_cipher_add_auth: ADDED
1732 gnutls_cipher_tag: ADDED
1733 gnutls_psk_netconf_derive_key: REMOVED
1734 gnutls_certificate_verify_peers: REMOVED
1735 gnutls_session_set_finished_function: REMOVED
1736 gnutls_ext_register: REMOVED
1737 gnutls_certificate_get_x509_crls: REMOVED
1738 gnutls_certificate_get_x509_cas: REMOVED
1739 gnutls_certificate_get_openpgp_keyring: REMOVED
1740 gnutls_session_get_server_random: REMOVED
1741 gnutls_session_get_client_random: REMOVED
1742 gnutls_session_get_master_secret: REMOVED
1743 gnutls_ia_allocate_client_credentials: REMOVED
1744 gnutls_ia_allocate_server_credentials: REMOVED
1745 gnutls_ia_enable: REMOVED
1746 gnutls_ia_endphase_send: REMOVED
1747 gnutls_ia_extract_inner_secret: REMOVED
1748 gnutls_ia_free_client_credentials: REMOVED
1749 gnutls_ia_free_server_credentials: REMOVED
1750 gnutls_ia_generate_challenge: REMOVED
1751 gnutls_ia_get_client_avp_ptr: REMOVED
1752 gnutls_ia_get_server_avp_ptr: REMOVED
1753 gnutls_ia_handshake: REMOVED
1754 gnutls_ia_handshake_p: REMOVED
1755 gnutls_ia_permute_inner_secret: REMOVED
1756 gnutls_ia_recv: REMOVED
1757 gnutls_ia_send: REMOVED
1758 gnutls_ia_set_client_avp_function: REMOVED
1759 gnutls_ia_set_client_avp_ptr: REMOVED
1760 gnutls_ia_set_server_avp_function: REMOVED
1761 gnutls_ia_set_server_avp_ptr: REMOVED
1762 gnutls_ia_verify_endphase: REMOVED
1765 * Version 2.12.2 (released 2011-04-08)
1767 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
1769 ** libgnutls: Several bug and memory leak fixes.
1771 ** srptool: Accepts the -d option to enable debugging.
1773 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
1774 the allocation of a verifier. Reported by Andrew Wiseman.
1776 ** API and ABI modifications:
1777 No changes since last version.
1780 * Version 2.12.1 (released 2011-04-02)
1782 ** certtool: Generated certificate request with stricter permissions.
1783 Reported by Luca Capello.
1785 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
1787 ** libgnutls: Corrected windows system_errno() function prototype.
1789 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
1791 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
1792 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
1794 ** API and ABI modifications:
1795 No changes since last version.
1800 * Version 2.12.0 (released 2011-03-24)
1802 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
1803 the incompatibility with TLS other than 1.2.
1805 ** libgnutls: Modified signature algorithm selection in client
1806 certificate request, to avoid failures in DSA certificates.
1808 ** libgnutls: Instead of failing with internal error, return
1809 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
1810 key with the negotiated protocol is encountered.
1812 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
1814 ** libgnutls: Force state update when fork is detected in the nettle
1817 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
1818 subkey instead of setting explicitly one.
1820 ** libgnutls: Corrected default behavior in record version of Client Hellos.
1822 ** libgnutls-openssl: modified to use modern gnutls' functions.
1823 This introduces an ABI incompatibility with previous versions.
1825 ** API and ABI modifications:
1826 gnutls_pubkey_import_openpgp: MODIFIED
1831 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
1832 replaced by gnutls_privkey_sign_hash2().
1834 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
1835 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
1836 gnutls_x509_crt_verify_hash return the negative error code
1837 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
1840 ** libgnutls: Added helper functions for signature verification:
1841 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
1843 ** libgnutls: Modified gnutls_privkey_sign_data().
1845 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
1846 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
1847 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
1848 deprecated for gnutls_x509_crl_privkey_sign(),
1849 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
1850 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
1851 gnutls_pubkey_verify_data() respectively.
1853 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
1856 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
1857 and gnutls_x509_crt_list_import2().
1859 ** crypto.h: Fix use with C++.
1860 Reported by "Brendan Doherty" <brendand@gentrack.com>.
1862 ** API and ABI modifications:
1863 gnutls_x509_crl_list_import: ADDED
1864 gnutls_x509_crl_list_import2: ADDED
1865 gnutls_x509_crt_list_import2: ADDED
1866 gnutls_x509_crl_get_raw_issuer_dn: ADDED
1867 gnutls_pubkey_import_privkey: ADDED
1868 gnutls_pubkey_verify_data: ADDED
1869 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
1870 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
1871 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1872 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1873 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
1874 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1875 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1876 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
1877 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1878 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1879 gnutls_session_set_finished_function: DEPRECATED
1880 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
1881 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1882 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
1883 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
1884 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1885 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
1886 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
1887 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
1889 * Version 2.11.6 (released 2010-12-06)
1891 ** libgnutls: Record version of Client Hellos is now set by default to
1892 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
1895 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
1896 This makes us comply with RFC3279. Reported by Michael Rommel.
1898 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
1900 ** API and ABI modifications:
1901 No changes since last version.
1903 * Version 2.11.5 (released 2010-12-01)
1905 ** libgnutls: Reverted default behavior for verification and
1906 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
1907 V1 trusted CAs are allowed, unless the new flag is specified.
1909 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
1910 Reported by Jeffrey Walton.
1912 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
1913 as priority strings. Those allow to set all the supported algorithms
1916 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
1918 ** gnutls-cli: Print channel binding only in verbose mode.
1919 Before it printed it after the 'Compression:' output, thus breaking
1920 Emacs starttls.el string searches.
1922 ** API and ABI modifications:
1923 gnutls_pkcs11_token_init: New function
1924 gnutls_pkcs11_token_set_pin: New function
1926 * Version 2.11.4 (released 2010-10-15)
1928 ** libgnutls: Add new API gnutls_session_channel_binding.
1929 The function is used to get the channel binding data. Currently only
1930 the "tls-unique" (RFC 5929) channel binding type is supported, through
1931 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
1934 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
1936 ** doc: Added pkcs11.h header file to GTK-DOC manual.
1938 ** build: Update gnulib files.
1940 ** i18n: Update translations.
1942 ** tests: Add self tests gendh.c. Speed up Guile self checks.
1944 ** API and ABI modifications:
1945 gnutls_session_channel_binding: New function.
1946 gnutls_channel_binding_t: New enumeration.
1947 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
1948 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
1950 * Version 2.11.3 (released 2010-10-14)
1952 ** Indent code to follow the GNU Coding Standard.
1953 You should be able to unpack the 2.11.2 release and run 'make indent'
1954 twice to get exactly the same content as 2.11.3 except for generated
1955 files. Using GNU Indent 2.2.11.
1957 ** API and ABI modifications:
1958 No changes since last version.
1960 * Version 2.11.2 (released 2010-10-08)
1962 ** libgnutls: Several bug fixes on session resumption
1963 and session tickets support.
1965 ** libgnutls: Add new extended key usage ipsecIKE.
1967 ** certtool: Renamed PKCS #11 options to: --p11-provider,
1968 --p11-export-url, --p11-list-certs, --p11-list-certs,
1969 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
1970 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
1971 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
1974 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
1975 introduced with the new nettle code.
1977 ** libgnutls: Corrected advertizing issue for session tickets.
1979 ** API and ABI modifications:
1980 gnutls_x509_crt_get_subject_unique_id: ADDED.
1981 gnutls_x509_crt_get_issuer_unique_id: ADDED.
1983 * Version 2.11.1 (released 2010-09-14)
1985 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
1986 to use the libgcrypt back end.
1988 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
1989 backend crypto library.
1991 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
1993 ** libgnutls: Several updates in the buffering internal interface.
1995 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
1996 tabs are being skipped.
1998 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2000 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2003 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2004 system calls. Applications that depended on it being 1 should explicitly call
2005 gnutls_transport_set_lowat().
2007 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2008 to ECRYPT II recommendations. Mappings were moved to a single location
2009 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2010 and 3072 keys only).
2012 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2013 gnutls_x509_privkey_import_pkcs8() without a password, if it
2014 is unable to decode the key.
2016 ** libgnutls: HMAC-MD5 no longer used by default.
2018 ** API and ABI modifications:
2019 gnutls_openpgp_privkey_sec_param: ADDED
2020 gnutls_x509_privkey_sec_param: ADDED
2022 * Version 2.11.0 (released 2010-07-22)
2024 ** libgnutls: support scattered write using writev(). This takes
2025 advantage of the new buffering layer and allows queuing of packets
2026 and flushing them. This is currently used for handshake messages
2029 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2030 alternative locking procedures. By default the system available
2031 locking is used. In *NIX pthreads are used and in windows the
2032 critical section API. This follows a different approach than the
2033 previous versions that depended on libgcrypt initialization. The
2034 locks are now set by default in systems that support it. Programs
2035 that used gcry_control() to set thread locks should insert it into
2037 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2041 ** libgnutls: Added support for reading DN from EV-certificates.
2043 jurisdictionOfIncorporationLocalityName,
2044 jurisdictionOfIncorporationStateOrProvinceName,
2045 jurisdictionOfIncorporationCountryName
2047 ** libgnutls: Added support for DSA signing/verifying with bit
2050 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2051 has to be called to register any required md5 handlers.
2053 ** libgnutls: Internal buffering code was replaced by simpler
2054 code contributed by Jonathan Bastien-Filiatrault.
2056 ** libgnutls: Internal API for extensions augmented to allow
2057 safe storing and loading of data on resumption. This allows writing
2058 self-contained extensions (when possible). As a side effect
2059 the OPRFI extension was removed.
2061 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2063 ** libgnutls: Added PKCS #11 support and an API to access objects in
2064 gnutls/pkcs11.h. Currently certificates and public keys can be
2065 imported from tokens, and operations can be performed on private keys.
2067 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2069 ** libgnutls: Added initial support for the nettle library. It uses
2070 the system's random generator for seeding. That is /dev/urandom in Linux,
2071 system calls in Win32 and EGD on other systems.
2073 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2074 works even when resuming a session.
2076 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2077 similar gnutls_certificate_set_server_retrieve_function() and
2078 gnutls_certificate_set_client_retrieve_function(). In addition it support
2079 PKCS #11 private keys.
2081 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2082 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2084 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2085 sizes for private keys using a human understandable scale.
2087 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2088 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2089 --pkcs11-delete-url, --pkcs11-write
2091 certtool: The --pkcs-cipher is taken into account when generating a
2092 private key. The default cipher used now is aes-128. The old behavior can
2093 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2095 certtool: Added --certificate-pubkey to print the public key of the
2098 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2099 can now accept a PKCS #11 URL in addition to a file. This will allow for
2100 example to use the Gnome-keyring trusted certificate list to verify
2101 connections using a url such as:
2102 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2104 ** API and ABI modifications:
2105 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2106 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2107 gnutls_sign_callback_set: DEPRECATED
2108 gnutls_global_set_mutex: ADDED
2109 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2110 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2111 gnutls_x509_privkey_export_rsa_raw2: ADDED
2113 gnutls_sec_param_to_pk_bits: ADDED
2114 gnutls_pk_bits_to_sec_param: ADDED
2115 gnutls_sec_param_get_name: ADDED
2116 gnutls_pkcs11_type_get_name: ADDED
2117 gnutls_certificate_set_retrieve_function: ADDED
2118 gnutls_pkcs11_init: ADDED
2119 gnutls_pkcs11_deinit: ADDED
2120 gnutls_pkcs11_set_pin_function: ADDED
2121 gnutls_pkcs11_set_token_function: ADDED
2122 gnutls_pkcs11_add_provider: ADDED
2123 gnutls_pkcs11_obj_init: ADDED
2124 gnutls_pkcs11_obj_import_url: ADDED
2125 gnutls_pkcs11_obj_export_url: ADDED
2126 gnutls_pkcs11_obj_deinit: ADDED
2127 gnutls_pkcs11_obj_export: ADDED
2128 gnutls_pkcs11_obj_list_import_url: ADDED
2129 gnutls_pkcs11_obj_export: ADDED
2130 gnutls_x509_crt_import_pkcs11: ADDED
2131 gnutls_pkcs11_obj_get_type: ADDED
2132 gnutls_x509_crt_list_import_pkcs11: ADDED
2133 gnutls_x509_crt_import_pkcs11_url: ADDED
2134 gnutls_pkcs11_obj_get_info: ADDED
2135 gnutls_pkcs11_token_get_info: ADDED
2136 gnutls_pkcs11_token_get_url: ADDED
2137 gnutls_pkcs11_privkey_init: ADDED
2138 gnutls_pkcs11_privkey_deinit: ADDED
2139 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2140 gnutls_pkcs11_privkey_get_info: ADDED
2141 gnutls_pkcs11_privkey_import_url: ADDED
2142 gnutls_pkcs11_privkey_sign_data: ADDED
2143 gnutls_pkcs11_privkey_sign_hash: ADDED
2144 gnutls_pkcs11_privkey_decrypt_data: ADDED
2145 gnutls_privkey_init: ADDED
2146 gnutls_privkey_deinit: ADDED
2147 gnutls_privkey_get_pk_algorithm: ADDED
2148 gnutls_privkey_get_type: ADDED
2149 gnutls_privkey_import_pkcs11: ADDED
2150 gnutls_privkey_import_x509: ADDED
2151 gnutls_privkey_import_openpgp: ADDED
2152 gnutls_privkey_sign_data: ADDED
2153 gnutls_privkey_sign_hash: ADDED
2154 gnutls_privkey_decrypt_data: ADDED
2155 gnutls_pkcs11_privkey_export_url: ADDED
2156 gnutls_x509_crq_privkey_sign: ADDED
2157 gnutls_x509_crl_privkey_sign: ADDED
2158 gnutls_x509_crt_privkey_sign: ADDED
2159 gnutls_pubkey_init: ADDED
2160 gnutls_pubkey_deinit: ADDED
2161 gnutls_pubkey_get_pk_algorithm: ADDED
2162 gnutls_pubkey_import_x509: ADDED
2163 gnutls_pubkey_import_openpgp: ADDED
2164 gnutls_pubkey_get_pk_rsa_raw: ADDED
2165 gnutls_pubkey_get_pk_dsa_raw: ADDED
2166 gnutls_pubkey_export: ADDED
2167 gnutls_pubkey_get_key_id: ADDED
2168 gnutls_pubkey_get_key_usage: ADDED
2169 gnutls_pubkey_verify_hash: ADDED
2170 gnutls_pubkey_get_verify_algorithm: ADDED
2171 gnutls_pkcs11_type_get_name: ADDED
2172 gnutls_pubkey_import_pkcs11_url: ADDED
2173 gnutls_pubkey_import: ADDED
2174 gnutls_pubkey_import_pkcs11: ADDED
2175 gnutls_pubkey_import_dsa_raw: ADDED
2176 gnutls_pubkey_import_rsa_raw: ADDED
2177 gnutls_x509_crt_set_pubkey: ADDED
2178 gnutls_x509_crq_set_pubkey: ADDED
2179 gnutls_pkcs11_copy_x509_crt: ADDED
2180 gnutls_pkcs11_copy_x509_privkey: ADDED
2181 gnutls_pkcs11_delete_url: ADDED
2183 * Version 2.10.1 (released 2010-07-25)
2185 ** libgnutls: Added support for broken certificates that indicate RSA
2188 ** gnutls-cli: Allow verification using V1 CAs.
2190 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2191 gnutls_x509_privkey_import_pkcs8() without a password, if it
2192 is unable to decode the key.
2194 ** libgnutls: Correctly deinitialize crypto API functions to prevent
2195 a memory leak. Reported by Mads Kiilerich.
2197 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
2198 issue a warning, that the output key might not be working everywhere.
2200 ** certtool: The --pkcs-cipher is taken into account when generating a
2201 private key. The default cipher used now is aes-128. The old behavior
2202 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2204 ** API and ABI modifications:
2205 No changes since last version.
2207 * Version 2.10.0 (released 2010-06-25)
2209 ** API and ABI modifications:
2210 No changes since last version.
2212 * Version 2.9.12 (released 2010-06-17)
2214 ** gnutls-cli: Make --starttls work again.
2215 Problem introduced in patch to use read() instead of fgets() committed
2218 ** API and ABI modifications:
2219 No changes since last version.
2221 * Version 2.9.11 (released 2010-06-07)
2223 ** libgnutls: Removed two APIs related to safe renegotiation.
2224 Use priority strings instead. The APIs were
2225 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
2226 (Remember that we don't promise ABI stability during development
2227 series, so this doesn't cause an shared library ABI increment.)
2229 ** tests: More self testing of safe renegotiation extension.
2230 See tests/safe-renegotiation/README for more information.
2232 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
2234 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
2236 ** API and ABI modifications:
2237 gnutls_safe_negotiation_set_initial: REMOVED.
2238 gnutls_safe_renegotiation_set: REMOVED.
2240 * Version 2.9.10 (released 2010-04-22)
2242 ** libgnutls: Time verification extended to trusted certificate list.
2243 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
2246 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
2247 Based on patch by Pavan Konjarla. Adds new constant
2248 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
2250 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
2251 Solves the issue discussed in:
2252 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
2253 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
2254 Note that to allow connecting to unpatched servers the full protection
2255 is only enabled if the priority string %SAFE_RENEGOTIATION is
2256 specified. You can check whether protection is in place by querying
2257 gnutls_safe_renegotiation_status(). New error codes
2258 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2259 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2261 ** libgnutls: When checking openpgp self signature also check the signatures
2263 Ilari Liusvaara noticed and reported the issue and provided test
2266 ** libgnutls: Added cryptodev support (/dev/crypto).
2267 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
2268 benchmark utility for AES. Adds new error codes
2269 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2271 ** libgnutls: Exported API to access encryption and hash algorithms.
2272 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2273 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2274 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2275 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2276 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2277 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
2278 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2280 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2281 verification of certificate upon receipt rather than waiting until the
2282 end of the handshake.
2284 ** libgnutls: Don't send alerts during handshake.
2285 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2287 ** certtool: Corrected two issues that affected certificate request generation.
2288 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2289 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2290 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
2291 those parameters there since other implementations don't do either and having
2292 them does not seem to offer anything (anyway you need the signer's certificate
2293 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2294 This however has the side-effect that public key IDs shown by certtool are
2295 now different than previous gnutls releases.
2296 (3) the option --pgp-certificate-info will verify self signatures
2298 ** certtool: Allow exporting of Certificate requests on DER format.
2300 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2302 ** gnutls-cli: Handle reading binary data from server.
2303 Reported by and tiny patch from Vitaly Mayatskikh
2304 <v.mayatskih@gmail.com> in
2305 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2307 ** minitasn1: Upgraded to libtasn1 version 2.6.
2309 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2310 ** Added Italian and Simplified Chinese translation.
2311 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2312 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2314 ** doc: The GTK-DOC manual is significantly improved.
2316 ** API and ABI modifications:
2317 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2318 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2319 %UNSAFE_RENEGOTIATION: Added to priority strings.
2320 GNUTLS_DIG_SHA224: ADDED.
2321 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2322 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2323 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2324 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2325 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2326 GNUTLS_MAC_SHA224: ADDED.
2327 GNUTLS_OID_X520_NAME: ADDED.
2328 GNUTLS_OID_X520_POSTALCODE: ADDED.
2329 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2330 GNUTLS_VERSION_MAX: ADDED.
2331 gnutls_certificate_set_verify_function: ADDED.
2332 gnutls_cipher_decrypt: ADDED.
2333 gnutls_cipher_deinit: ADDED.
2334 gnutls_cipher_encrypt: ADDED.
2335 gnutls_cipher_get_block_size: ADDED.
2336 gnutls_cipher_init: ADDED.
2338 gnutls_hash_deinit: ADDED.
2339 gnutls_hash_fast: ADDED.
2340 gnutls_hash_get_len: ADDED.
2341 gnutls_hash_init: ADDED.
2342 gnutls_hash_output: ADDED.
2344 gnutls_hmac_deinit: ADDED.
2345 gnutls_hmac_fast: ADDED.
2346 gnutls_hmac_get_len: ADDED.
2347 gnutls_hmac_init: ADDED.
2348 gnutls_hmac_output: ADDED.
2349 gnutls_safe_negotiation_set_initial: ADDED.
2350 gnutls_safe_renegotiation_set: ADDED.
2351 gnutls_safe_renegotiation_status: ADDED.
2353 * Version 2.9.9 (released 2009-11-09)
2355 ** libgnutls: Cleanups and several bug fixes.
2356 Found by Steve Grubb and Tomas Mraz.
2358 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2360 ** Fix --disable-valgrind-tests.
2361 Reported by Ingmar Vanhassel in
2362 <https://savannah.gnu.org/support/?107029>.
2364 ** API and ABI modifications:
2365 No changes since last version.
2367 * Version 2.9.8 (released 2009-11-05)
2369 ** libgnutls: Fix for memory leaks on interrupted handshake.
2370 Reported by Tang Tong.
2372 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2373 ** extension and certificate verify field.
2374 This requires changes for TLS 1.2 servers and clients that use
2375 callbacks for certificate retrieval. They are now required to check
2376 with gnutls_sign_algorithm_get_requested() whether the certificate
2377 they send complies with the peer's preferences in signature
2380 ** libgnutls: In server side when resuming a session do not overwrite the
2381 ** initial session data with the resumed session data.
2383 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2385 This affects also PKCS #12 encoded files. This adds the following new
2386 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2387 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2389 ** libgnutls: Fix PKCS#12 encoding.
2390 The error you would get was "The OID is not supported.". Problem
2391 introduced for the v2.8.x branch in 2.7.6.
2393 ** certtool: Added the --pkcs-cipher option.
2394 To explicitely specify the encryption algorithm to use.
2396 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2398 ** tests: Fix time bomb in chainverify self-test.
2399 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2400 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2402 ** tests: Fix expired cert in chainverify self-test.
2404 ** i18n: Vietnamese translation updated.
2405 Thanks to Clytie Siddall.
2407 ** API and ABI modifications:
2408 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2409 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2410 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2411 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2412 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2413 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2414 gnutls_sign_algorithm_get_requested: ADDED.
2416 * Version 2.9.7 (released 2009-10-06)
2418 ** libgnutls: TLS 1.2 server mode fixes.
2419 Now interoperates against Opera. Contributed by Daiki Ueno.
2421 ** libgnutlsxx: Fix link problems.
2422 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2424 ** guile: Compatibility with guile 2.x.
2425 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2427 ** API and ABI modifications:
2428 No changes since last version.
2430 * Version 2.9.6 (released 2009-09-22)
2432 ** libgnutls: Enable Camellia ciphers by default.
2434 ** API and ABI modifications:
2435 No changes since last version.
2437 * Version 2.9.5 (released 2009-09-10)
2439 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2440 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2441 gnutls_x509_crt_get_issuer_alt_name, and
2442 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
2443 Hards <bradh@frogmouth.net>.
2445 ** API and ABI modifications:
2446 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2447 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2448 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2450 * Version 2.9.4 (released 2009-09-03)
2452 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2453 The new supported ciphersuites are AES-128/256 in CBC mode with
2454 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
2455 SHA-256 is now the preferred default MAC (however it is only used with
2458 ** libgnutls: Make OpenPGP hostname checking work again.
2459 The patch to resolve the X.509 CN/SAN issue accidentally broken
2460 OpenPGP hostname comparison.
2462 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2463 Reported by Howard Chu <hyc@symas.com> in
2464 <https://savannah.gnu.org/support/?106975>.
2466 ** Fix use of deprecated types internally.
2467 Use of deprecated types in GnuTLS from now on will lead to a compile
2468 error, to prevent this from happening again.
2470 ** API and ABI modifications:
2471 No changes since last version.
2473 * Version 2.9.3 (released 2009-08-19)
2475 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2476 The new APIs are gnutls_session_ticket_enable_client,
2477 gnutls_session_ticket_enable_server, and
2478 gnutls_session_ticket_key_generate.
2480 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2482 ** API and ABI modifications:
2483 gnutls_session_ticket_key_generate: ADDED.
2484 gnutls_session_ticket_enable_client: ADDED.
2485 gnutls_session_ticket_enable_server: ADDED.
2487 * Version 2.9.2 (released 2009-08-14)
2489 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2490 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2491 into 1) not printing the entire CN/SAN field value when printing a
2492 certificate and 2) cause incorrect positive matches when matching a
2493 hostname against a certificate. Some CAs apparently have poor
2494 checking of CN/SAN values and issue these (arguable invalid)
2495 certificates. Combined, this can be used by attackers to become a
2496 MITM on server-authenticated TLS sessions. The problem is mitigated
2497 since attackers needs to get one certificate per site they want to
2498 attack, and the attacker reveals his tracks by applying for a
2499 certificate at the CA. It does not apply to client authenticated TLS
2500 sessions. Research presented independently by Dan Kaminsky and Moxie
2501 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2502 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
2504 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2505 The function may fail incorrectly when an earlier certificate was
2506 imported to the same gnutls_x509_crt_t structure.
2508 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2510 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2511 Before it always returned false. Reported by Peter Hendrickson
2512 <pdh@wiredyne.com> in
2513 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2515 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2516 The error resulted in truncated strings when printing unknown OIDs in
2517 X.509 certificate DNs. Reported by Tim Kosse
2518 <tim.kosse@filezilla-project.org> in
2519 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2521 ** libgnutls: Fix PKCS#12 decryption from password.
2522 The encryption key derived from the password was incorrect for (on
2523 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2524 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2525 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2527 ** libgnutls: Return correct bit lengths of some MPIs.
2528 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2529 gnutls_dh_get_peers_public_bits. Before the reported value was
2530 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2531 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2533 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2534 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2535 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2537 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2539 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2540 Before we required that the runtime library used the same (or more
2541 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2542 that the runtime usage is above the minimum required. Reported by
2543 Marco d'Itri <md@linux.it> via Andreas Metzler
2544 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2546 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2548 ** tests: Improved test vectors in self-test pkcs12_s2k.
2550 ** tests: Added new self-test dn2 to detect off-by-one size error.
2552 ** tests: Fix failure in "chainverify" because a certificate have expired.
2554 ** API and ABI modifications:
2555 No changes since last version.
2557 * Version 2.9.1 (released 2009-06-08)
2559 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2560 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2561 <http://bugs.gentoo.org/272388>.
2563 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2565 ** Reduce stack usage for some CRQ functions.
2567 ** Doc fixes for CRQ functions.
2569 ** API and ABI modifications:
2570 No changes since last version.
2572 * Version 2.9.0 (released 2009-05-28)
2576 ** API and ABI modifications:
2577 No changes since last version.
2579 * Version 2.8.6 (released 2010-03-15)
2581 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2582 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
2583 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2585 Note: As a side effect of this change, the "public key identifier"
2586 value computed for a certificate using this version of GnuTLS will be
2587 different from values computed using earlier versions of GnuTLS.
2589 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2590 ** optional SignatureAlgorithm parameter field.
2591 VeriSign rejected these CSRs. They are stricly speaking not needed
2592 since you need the signer's certificate to verify the certificate
2593 signature anyway. Reported by Wilankar Trupti
2594 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2596 ** libgnutls: When checking openpgp self signature also check the signatures
2598 Ilari Liusvaara noticed and reported the issue and provided test
2601 ** libgnutls: Cleanups and several bug fixes.
2602 Found by Steve Grubb and Tomas Mraz.
2604 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2606 ** Fix --disable-valgrind-tests.
2607 Reported by Ingmar Vanhassel in
2608 <https://savannah.gnu.org/support/?107029>.
2610 ** examples: Use the new APIs for printing X.509 certificate information.
2612 ** Fix build failures on Solaris.
2613 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2615 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2616 ** translations. Added Simplified Chinese translation.
2618 ** API and ABI modifications:
2619 No changes since last version.
2621 * Version 2.8.5 (released 2009-11-02)
2623 ** libgnutls: In server side when resuming a session do not overwrite the
2624 ** initial session data with the resumed session data.
2626 ** libgnutls: Fix PKCS#12 encoding.
2627 The error you would get was "The OID is not supported.". Problem
2628 introduced for the v2.8.x branch in 2.7.6.
2630 ** guile: Compatibility with guile 2.x.
2631 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2633 ** tests: Fix expired cert in chainverify self-test.
2635 ** tests: Fix time bomb in chainverify self-test.
2636 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2637 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2639 ** API and ABI modifications:
2640 No changes since last version.
2642 * Version 2.8.4 (released 2009-09-18)
2644 ** libgnutls: Enable Camellia ciphers by default.
2646 ** libgnutls: Make OpenPGP hostname checking work again.
2647 The patch to resolve the X.509 CN/SAN issue accidentally broken
2648 OpenPGP hostname comparison.
2650 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2651 Reported by Howard Chu <hyc@symas.com> in
2652 <https://savannah.gnu.org/support/?106975>.
2654 ** API and ABI modifications:
2655 No changes since last version.
2657 * Version 2.8.3 (released 2009-08-13)
2659 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2660 Code intended to be removed would lead to an read-out-bound error in
2661 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
2662 code have been allocated for the vulnerability: [CVE-2009-2730].
2664 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2665 The function may fail incorrectly when an earlier certificate was
2666 imported to the same gnutls_x509_crt_t structure.
2668 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2670 ** tests: Made self-test mini-eagain take less time.
2674 ** API and ABI modifications:
2675 No changes since last version.
2677 * Version 2.8.2 (released 2009-08-10)
2679 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2680 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2681 into 1) not printing the entire CN/SAN field value when printing a
2682 certificate and 2) cause incorrect positive matches when matching a
2683 hostname against a certificate. Some CAs apparently have poor
2684 checking of CN/SAN values and issue these (arguable invalid)
2685 certificates. Combined, this can be used by attackers to become a
2686 MITM on server-authenticated TLS sessions. The problem is mitigated
2687 since attackers needs to get one certificate per site they want to
2688 attack, and the attacker reveals his tracks by applying for a
2689 certificate at the CA. It does not apply to client authenticated TLS
2690 sessions. Research presented independently by Dan Kaminsky and Moxie
2691 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
2692 for providing one part of the patch. [GNUTLS-SA-2009-4].
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: Return correct bit lengths of some MPIs.
2706 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2707 gnutls_dh_get_peers_public_bits. Before the reported value was
2708 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
2709 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2711 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2712 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2713 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2715 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2717 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2718 Before we required that the runtime library used the same (or more
2719 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
2720 that the runtime usage is above the minimum required. Reported by
2721 Marco d'Itri <md@linux.it> via Andreas Metzler
2722 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2724 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2726 ** tests: Fix failure in "chainverify" because a certificate have expired.
2728 ** API and ABI modifications:
2729 No changes since last version.
2731 * Version 2.8.1 (released 2009-06-10)
2733 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2734 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2735 <http://bugs.gentoo.org/272388>.
2737 ** libgnutls: Fix PKCS#12 decryption from password.
2738 The encryption key derived from the password was incorrect for (on
2739 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
2740 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2741 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2743 ** API and ABI modifications:
2744 No changes since last version.
2746 * Version 2.8.0 (released 2009-05-27)
2748 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
2750 ** Major changes compared to the v2.4 branch:
2752 *** lib: Linker version scripts reduces number of exported symbols.
2754 *** lib: Limit exported symbols on systems without LD linker scripts.
2756 *** libgnutls: Fix namespace issue with version symbols.
2758 *** libgnutls: Add functions to verify a hash against a certificate.
2759 gnutls_x509_crt_verify_hash: ADDED
2760 gnutls_x509_crt_get_verify_algorithm: ADDED
2762 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2764 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2766 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2768 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2770 *** gnutls-serv: No longer disable MAC padding by default.
2772 *** gnutls-cli: Certificate information output format changed.
2774 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2775 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2777 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2779 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2781 *** libgnutls: gnutls_handshake when sending client hello during a
2782 rehandshake, will not offer a version number larger than the current.
2784 *** libgnutls: New interface to get key id for certificate requests.
2785 gnutls_x509_crq_get_key_id: ADDED.
2787 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
2789 *** certtool: --verify-chain now prints results of using library verification.
2791 *** libgnutls: Libgcrypt initialization changed.
2793 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2795 *** gnutls-cli: Return non-zero exit code on error conditions.
2797 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2799 *** certtool: allow setting arbitrary key purpose object identifiers.
2801 *** libgnutls: Change detection of when to use a linker version script.
2802 Use --enable-ld-version-script or --disable-ld-version-script to
2803 override auto-detection logic.
2805 *** Fix warnings and build GnuTLS with more warnings enabled.
2807 *** New API to set X.509 credentials from PKCS#12 memory structure.
2808 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2810 *** Old libgnutls.m4 and libgnutls-config scripts removed.
2811 Please use pkg-config instead.
2813 *** libgnutls: Added functions to handle CRL extensions.
2814 gnutls_x509_crl_get_authority_key_id: ADDED
2815 gnutls_x509_crl_get_number: ADDED
2816 gnutls_x509_crl_get_extension_oid: ADDED
2817 gnutls_x509_crl_get_extension_info: ADDED
2818 gnutls_x509_crl_get_extension_data: ADDED
2819 gnutls_x509_crl_set_authority_key_id: ADDED
2820 gnutls_x509_crl_set_number: ADDED
2822 *** libgnutls: Added functions to handle X.509 extensions in Certificate
2824 gnutls_x509_crq_get_key_rsa_raw: ADDED
2825 gnutls_x509_crq_get_attribute_info: ADDED
2826 gnutls_x509_crq_get_attribute_data: ADDED
2827 gnutls_x509_crq_get_extension_info: ADDED
2828 gnutls_x509_crq_get_extension_data: ADDED
2829 gnutls_x509_crq_get_key_usage: ADDED
2830 gnutls_x509_crq_get_basic_constraints: ADDED
2831 gnutls_x509_crq_get_subject_alt_name: ADDED
2832 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2833 gnutls_x509_crq_get_extension_by_oid: ADDED
2834 gnutls_x509_crq_set_subject_alt_name: ADDED
2835 gnutls_x509_crq_set_basic_constraints: ADDED
2836 gnutls_x509_crq_set_key_usage: ADDED
2837 gnutls_x509_crq_get_key_purpose_oid: ADDED
2838 gnutls_x509_crq_set_key_purpose_oid: ADDED
2839 gnutls_x509_crq_print: ADDED
2840 gnutls_x509_crt_set_crq_extensions: ADDED
2842 *** certtool: Print and set CRL and CRQ extensions.
2844 *** minitasn1: Internal copy updated to libtasn1 v2.1.
2846 *** examples: Now released into the public domain.
2848 *** The Texinfo and GTK-DOC manuals were improved.
2850 *** Several self-tests were added and others improved.
2852 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
2853 No offically supported interfaces have been modified or removed. The
2854 library should be completely backwards compatible on both the source
2857 The shared library no longer exports some symbols that have never been
2858 officially supported, i.e., not mentioned in any of the header files.
2864 Normally when symbols are removed, the shared library version has to
2865 be incremented. This leads to a significant cost for everyone using
2866 the library. Because none of the above symbols have ever been
2867 intended for use by well-behaved applications, we decided that the it
2868 would be better for those applications to pay the price rather than
2869 incurring problems on the majority of applications.
2871 If it turns out that applications have been using unofficial
2872 interfaces, we will need to release a follow-on release on the v2.8
2873 branch to exports additional interfaces. However, initial testing
2874 suggests that few if any applications have been using any of the
2877 Although not a new change compared to 2.6.x, we'd like to remind you
2878 interfaces have been modified so that X.509 chain verification now
2879 also checks activation/expiration times on certificates. The affected
2882 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2883 gnutls_certificate_verify_peers: Likewise.
2884 gnutls_certificate_verify_peers2: Likewise.
2885 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2886 GNUTLS_CERT_EXPIRED: ADDED.
2887 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2889 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
2890 we gave our rationale for it in earlier release notes.
2892 The following symbols have been added to the library:
2894 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2895 gnutls_x509_crl_get_authority_key_id: ADDED
2896 gnutls_x509_crl_get_extension_data: ADDED
2897 gnutls_x509_crl_get_extension_info: ADDED
2898 gnutls_x509_crl_get_extension_oid: ADDED
2899 gnutls_x509_crl_get_number: ADDED
2900 gnutls_x509_crl_set_authority_key_id: ADDED
2901 gnutls_x509_crl_set_number: ADDED
2902 gnutls_x509_crq_get_attribute_data: ADDED
2903 gnutls_x509_crq_get_attribute_info: ADDED
2904 gnutls_x509_crq_get_basic_constraints: ADDED
2905 gnutls_x509_crq_get_extension_by_oid: ADDED
2906 gnutls_x509_crq_get_extension_data: ADDED
2907 gnutls_x509_crq_get_extension_info: ADDED
2908 gnutls_x509_crq_get_key_id: ADDED.
2909 gnutls_x509_crq_get_key_purpose_oid: ADDED
2910 gnutls_x509_crq_get_key_rsa_raw: ADDED
2911 gnutls_x509_crq_get_key_usage: ADDED
2912 gnutls_x509_crq_get_subject_alt_name: ADDED
2913 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2914 gnutls_x509_crq_print: ADDED
2915 gnutls_x509_crq_set_basic_constraints: ADDED
2916 gnutls_x509_crq_set_key_purpose_oid: ADDED
2917 gnutls_x509_crq_set_key_usage: ADDED
2918 gnutls_x509_crq_set_subject_alt_name: ADDED
2919 gnutls_x509_crt_get_verify_algorithm: ADDED
2920 gnutls_x509_crt_set_crq_extensions: ADDED
2921 gnutls_x509_crt_verify_hash: ADDED
2923 The following interfaces have been added to the header files:
2925 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2926 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2927 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2928 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2929 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2930 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2932 The following interfaces have been deprecated:
2934 LIBGNUTLS_VERSION: DEPRECATED.
2935 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2936 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2937 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2938 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2939 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2941 * Version 2.7.14 (released 2009-05-26)
2943 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
2944 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
2945 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
2948 ** Doc: Several typo fixes in documentation.
2949 Reported by Peter Hendrickson <pdh@wiredyne.com>.
2951 ** API and ABI modifications:
2952 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2953 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2955 * Version 2.7.13 (released 2009-05-25)
2957 ** libgnutls: Fix version of some exported symbols in the shared library.
2958 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2959 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
2961 ** tests: Handle recently expired certificates in chainverify self-test.
2962 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2963 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
2965 ** API and ABI modifications:
2966 No changes since last version.
2968 * Version 2.7.12 (released 2009-05-20)
2970 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
2972 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
2973 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2974 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
2976 ** Fix build failures.
2977 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
2978 G. Christensen" <tgc@jupiterrise.com> in
2979 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
2981 ** minitasn1: Internal copy updated to libtasn1 v2.2.
2982 GnuTLS should work fine with libtasn1 v1.x and that is still
2985 ** API and ABI modifications:
2986 No changes since last version.
2988 * Version 2.7.11 (released 2009-05-18)
2990 ** minitasn1: Fix build failure when using internal libtasn1.
2991 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2992 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
2994 ** libgnutls: Fix build failure with --disable-cxx.
2995 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2996 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
2998 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
2999 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3000 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3002 ** Building with many warning flags now requires --enable-gcc-warnings.
3003 This avoids crying wolf for normal compiles.
3005 ** API and ABI modifications:
3006 No changes since last version.
3008 * Version 2.7.10 (released 2009-05-13)
3010 ** examples: Now released into the public domain.
3011 This makes the license of the example code compatible with more
3012 licenses, including the (L)GPL.
3014 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3015 GnuTLS should work fine with libtasn1 v1.x and that is still
3018 ** libgnutls: Fix crash in signature verification
3019 The fix for the CVE-2009-1415 problem wasn't merged completely.
3021 ** doc: Fixes for GTK-DOC output.
3023 ** API and ABI modifications:
3024 No changes since last version.
3026 * Version 2.7.9 (released 2009-05-11)
3028 ** doc: Fix strings in man page of gnutls_priority_init.
3030 ** doc: Fix tables of error codes and supported algorithms.
3032 ** Fix build failure when cross-compiled using MinGW.
3034 ** Fix build failure when LZO is enabled.
3035 Reported by Arfrever Frehtes Taifersar Arahesis
3036 <arfrever.fta@gmail.com> in
3037 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3039 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3040 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3041 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3043 ** Fix warnings in self-tests.
3045 ** API and ABI modifications:
3046 No changes since last version.
3048 * Version 2.7.8 (released 2009-05-03)
3050 ** libgnutls: Fix DSA key generation.
3051 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3053 ** libgnutls: Check expiration/activation time on untrusted certificates.
3054 Merged from stable branch. Reported by Romain Francoise
3055 <romain@orebokech.com>. This changes the semantics of
3056 gnutls_x509_crt_list_verify, which in turn is used by
3057 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3058 We add two new gnutls_certificate_status_t codes for reporting the new
3059 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3060 We also add a new gnutls_certificate_verify_flags flag,
3061 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3062 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3064 ** lib: Linker version scripts reduces number of exported symbols.
3065 The linker version script now lists all exported ABIs explicitly, to
3066 avoid accidentally exporting unintended functions. Compared to
3067 before, most symbols beginning with _gnutls* are no longer exported.
3068 These functions have never been intended for use by applications, and
3069 there were no prototypes for these function in the public header
3070 files. Thus we believe it is possible to do this without incrementing
3071 the library ABI version which normally has to be done when removing an
3074 ** lib: Limit exported symbols on systems without LD linker scripts.
3075 Before all symbols were exported. Now we limit the exported symbols
3076 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3077 _gnutls*. This is a superset of the actual supported ABI, but still
3078 an improvement compared to before. This is implemented using Libtool
3079 -export-symbols-regex. It is more portable than linker version
3082 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3083 This should have been done in the last release.
3085 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3086 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3087 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3089 ** doc: Improved sections for the info manual.
3090 We now follow the advice given by the texinfo manual on which
3091 directory categories to use. In particular, libgnutls moved from the
3092 'GNU Libraries' section to the 'Software libraries' and the command
3093 line tools moved from 'Network Applications' to 'System
3096 ** API and ABI modifications:
3097 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3098 gnutls_certificate_verify_peers: Likewise.
3099 gnutls_certificate_verify_peers2: Likewise.
3100 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3101 GNUTLS_CERT_EXPIRED: ADDED.
3102 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3104 * Version 2.7.7 (released 2009-04-20)
3106 ** libgnutls: Applied patch by Cedric Bail to add functions
3107 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3109 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3110 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3111 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3113 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3114 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3116 ** doc: Fix build failure of errcodes/printlist.
3117 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3118 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3120 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3121 It is currently only used by the core library. This will enable a new
3122 domain 'gnutls' for translations of the command line tools.
3124 ** Corrected possible memory corruption on signature verification failure.
3125 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3127 ** API and ABI modifications:
3128 gnutls_x509_crt_verify_hash: ADDED
3129 gnutls_x509_crt_get_verify_algorithm: ADDED
3131 * Version 2.7.6 (released 2009-02-27)
3133 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3134 This applies both to generating certificates and certificate requests.
3136 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3138 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3139 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3140 be used for chain verification.
3142 ** gnutls-serv: No longer disable MAC padding by default.
3143 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3145 ** gnutls-cli: Certificate information output format changed.
3146 The tool now uses libgnutls' functions to print certificate
3147 information. This avoids code duplication.
3149 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3150 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3151 They can be used to override the default certificate chain validation
3154 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3155 specify the client hello message record version. Used to overcome buggy
3156 TLS servers. Report by Martin von Gagern.
3158 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3160 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3162 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
3164 ** API and ABI modifications:
3165 No changes since last version.
3167 * Version 2.7.5 (released 2009-02-06)
3169 ** libgnutls: Accept chains where intermediary certs are trusted.
3170 Before GnuTLS needed to validate the entire chain back to a
3171 self-signed certificate. GnuTLS will now stop looking when it has
3172 found an intermediary trusted certificate. The new behaviour is
3173 useful when chains, for example, contains a top-level CA, an
3174 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3175 To avoid chain validation errors due to the RSA-MD5 cert, you can
3176 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3177 The signature on trusted certificates are not checked, so the chain
3178 has a chance to validate correctly. Reported by "Douglas E. Engert"
3179 <deengert@anl.gov> in
3180 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3182 ** libgnutls: result_size in gnutls_hex_encode now holds
3183 the size of the result. Report by John Brooks <special@dereferenced.net>.
3185 ** libgnutls: gnutls_handshake when sending client hello during a
3186 rehandshake, will not offer a version number larger than the current.
3187 Reported by Tristan Hill <stan@saticed.me.uk>.
3189 ** libgnutls: Permit V1 Certificate Authorities properly.
3190 Before they were mistakenly rejected even though
3191 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3192 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
3193 "Douglas E. Engert" <deengert@anl.gov> in
3194 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3196 ** API and ABI modifications:
3197 No changes since last version.
3199 * Version 2.7.4 (released 2009-01-07)
3201 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3202 This is a bugfix -- the previous attempt to do this from internal x509
3203 certificate verification procedures did not return the correct value
3204 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
3205 <dkg@fifthhorseman.net> in
3206 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3207 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3208 Gillmor <dkg@fifthhorseman.net>.
3210 ** libgnutls: New interface to get key id for certificate requests.
3211 Patch from David Marín Carreño <davefx@gmail.com> in
3212 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
3214 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
3216 ** certtool: --verify-chain now prints results of using library verification.
3217 Earlier, certtool --verify-chain used its own validation algorithm
3218 which wasn't guaranteed to give the same result as the libgnutls
3219 internal validation algorithm. Now this command print a new final
3220 line with header 'Chain verification output:' that contains the result
3221 from using the internal verification algorithm on the same chain.
3223 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
3225 ** API and ABI modifications:
3226 gnutls_x509_crq_get_key_id: ADDED.
3228 * Version 2.7.3 (released 2008-12-10)
3230 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3231 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3232 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3233 Andreas Metzler <ametzler@downhill.at.eu.org> in
3234 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3236 ** libgnutls: Libgcrypt initialization changed.
3237 If libgcrypt has not already been initialized, GnuTLS will now
3238 initialize libgcrypt with disabled secure memory. Initialize
3239 libgcrypt explicitly in your application if you want to enable secure
3240 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
3241 allocation functions, which doesn't use secure memory, so there is no
3242 real change in behaviour.
3244 ** libgnutls: Fix memory leak in PSK authentication.
3245 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3246 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3248 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3250 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3251 It needs to be invoked before libgcrypt is initialized.
3253 ** gnutls-cli: Return non-zero exit code on error conditions.
3255 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3257 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3259 ** API and ABI modifications:
3260 No changes since last version.
3262 * Version 2.7.2 (released 2008-11-18)
3264 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3265 The flaw makes it possible for man in the middle attackers (i.e.,
3266 active attackers) to assume any name and trick GnuTLS clients into
3267 trusting that name. Thanks for report and analysis from Martin von
3268 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
3270 Any updates with more details about this vulnerability will be added
3271 to <http://www.gnu.org/software/gnutls/security.html>
3273 ** libgnutls: Fix namespace issue with version symbols.
3274 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3275 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3276 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3277 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3278 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
3279 work but are deprecated.
3281 ** certtool: allow setting arbitrary key purpose object identifiers.
3283 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3285 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3286 Reported by Kevin Quick <quick@sparq.org> in
3287 <https://savannah.gnu.org/support/index.php?106454>.
3289 ** libgnutls-extra: Make building with LZO compression work again.
3290 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3291 <arfrever.fta@gmail.com> in
3292 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3294 ** libgnutls: Change detection of when to use a linker version script.
3295 Use --enable-ld-version-script or --disable-ld-version-script to
3296 override auto-detection logic.
3298 ** doc: Change license on the manual to GFDLv1.3+.
3300 ** doc: GTK-DOC fixes for new splitted configuration system.
3302 ** doc: Texinfo stylesheet uses white background.
3304 ** tests: Add cve-2008-4989.c self-test.
3305 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3306 follow-on problem with crashes on length 1 certificate chains.
3308 ** gnulib: Deprecated modules removed.
3309 Modules include memchr and memcmp.
3311 ** Fix warnings and build GnuTLS with more warnings enabled.
3313 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3315 ** API and ABI modifications:
3316 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3317 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3318 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3319 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3320 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3321 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3322 LIBGNUTLS_VERSION: DEPRECATED.
3323 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3324 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3325 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3326 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3328 * Version 2.7.1 (released 2008-10-31)
3330 ** certtool: print a PKCS #8 key even if it is not encrypted.
3332 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3333 Please use pkg-config instead.
3335 ** Configuration system modified.
3336 There is now a configure script in lib/ and libextra/ as well, because
3337 gnulib works better with a config.h per gnulib directory.
3339 ** API and ABI modifications:
3340 No changes since last version.
3342 * Version 2.7.0 (released 2008-10-16)
3344 ** libgnutls: Added functions to handle CRL extensions.