newsGnuTLS - News: gnutls 3.1.0

Latest News
Atom feed moved posted by nmav, Sat 10 Nov 2012 10:25:15 PM UTC - 0 replies
GnuTLS 3.1.4 posted by nmav, Sat 10 Nov 2012 12:08:00 AM UTC - 0 replies
GnuTLS 3.0.26 posted by nmav, Thu 08 Nov 2012 11:15:07 PM UTC - 0 replies
GnuTLS 2.12.21 posted by nmav, Thu 08 Nov 2012 10:58:49 PM UTC - 0 replies
GnuTLS 3.1.3 posted by nmav, Fri 12 Oct 2012 05:24:47 PM UTC - 0 replies
[Submit News]
[65 news in archive]

gnutls 3.1.0

Item posted by Nikos Mavrogiannopoulos <nmav> on Wed 15 Aug 2012 08:49:08 PM UTC.

 I've just released gnutls 3.1.0. This is release is a major feature update on gnutls 3.0.x, but is fully binary and source compatible with it. The main addition are support for the TPM module to store cryptographic keys, and simplified functions to access encrypted structures.

  • Version 3.1.0 (released 2012-08-15)
    • libgnutls: Added direct support for TPM as a cryptographic module in gnutls/tpm.h. TPM keys can be used in functions accepting files using URLs of the following types:


    • libgnutls: Priority string level keywords can be combined.

For example the string "SECURE256:+SUITEB128" is now allowed.

    • libgnutls: requires libnettle 2.5.
    • libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5) for encryption and signatures.
    • libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between generic errors and signature verification errors in the verification functions.
    • libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function to simplify parsing in most PKCS #12 use cases.
    • libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds the whole certificate chain (if any) to the credentials structure, instead of only the end-user certificate.
    • libgnutls: Key import functions such as gnutls_pkcs12_simple_parse() and  gnutls_x509_privkey_import_pkcs8(), return consistently

GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no password was provided.

    • libgnutls: Added gnutls_handshake_set_timeout() a function that allows to set the maximum time spent in a handshake.
    • libgnutlsxx: Added session::set_transport_vec_push_function. Patch by Alexandre Bique.
    • tpmtool: Added. It is a tool to generate private keys in the


    • gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx

and --benchmark-tls-ciphers

    • certtool: generated PKCS #12 structures may hold more than one

private key. Patch by Lucas Fisher.

    • certtool: Added option --null-password to generate/decrypt keys that use a NULL password (in schemas that distinguish between NULL an empty passwords).
    • minitasn1: Upgraded to libtasn1 version 2.13.
    • API and ABI modifications:

gnutls_url_is_supported: Added
gnutls_pkcs11_obj_list_import_url2: Added
gnutls_pkcs11_obj_set_pin_function: Added
gnutls_pkcs11_privkey_set_pin_function: Added
gnutls_pkcs11_get_pin_function: Added
gnutls_privkey_import_tpm_raw: Added
gnutls_privkey_import_tpm_url: Added
gnutls_privkey_import_pkcs11_url: Added
gnutls_privkey_import_openpgp_raw: Added
gnutls_privkey_import_x509_raw: Added
gnutls_privkey_import_ext2: Added
gnutls_privkey_import_url: Added
gnutls_privkey_set_pin_function: Added
gnutls_tpm_privkey_generate: Added
gnutls_tpm_key_list_deinit: Added
gnutls_tpm_key_list_get_url: Added
gnutls_tpm_get_registered: Added
gnutls_tpm_privkey_delete: Added
gnutls_pubkey_import_tpm_raw: Added
gnutls_pubkey_import_tpm_url: Added
gnutls_pubkey_import_url: Added
gnutls_pubkey_verify_hash2: Added
gnutls_pubkey_set_pin_function: Added
gnutls_x509_privkey_import2: Added
gnutls_x509_privkey_import_openssl: Added
gnutls_x509_crt_set_pin_function: Added
gnutls_load_file: Added
gnutls_pkcs12_simple_parse: Added
gnutls_certificate_set_x509_system_trust: Added
gnutls_certificate_set_pin_function: Added
gnutls_x509_trust_list_add_system_trust: Added
gnutls_x509_trust_list_add_trust_file: Added
gnutls_x509_trust_list_add_trust_mem: Added
gnutls_pk_to_sign: Added
gnutls_handshake_set_timeout: Added
gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)

Getting the Software

GnuTLS may be downloaded from one of the GNU mirror sites or directly
From <>.  The list of GNU mirrors can be
found at <> and a list of GnuTLS mirrors
can be found at <>.

Here are the XZ compressed sources:

Here are the LZIP compressed sources:

Here are OpenPGP detached signatures signed using key 0x96865171:

Note that it has been signed with my openpgp key:
pub   3104R/96865171 2008-05-04 [expires: 2028-04-29]
uid                  Nikos Mavrogiannopoulos <nmav <at>>
uid                  Nikos Mavrogiannopoulos <n.mavrogiannopoulos <at>>
sub   2048R/9013B842 2008-05-04 [expires: 2018-05-02]
sub   2048R/1404A91D 2008-05-04 [expires: 2018-05-02]


No messages in gnutls 3.1.0


Back to the top

Powered by Savane 3.9