gnutls 3.1.0 pre-release

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Aug 5 12:38:40 CEST 2012


Hello,
 One of the next few weeks I plan to release gnutls 3.1.0. This includes
quite some changes comparing to 3.0.x, the most prominent being:
* Dependence on nettle for RSA PKCS #1 1.5 operations.
* Support for TPM keys (if trousers is available).

The former means that we save quite some code by not reimplementing this
stuff in gnutls. The TPM support means that you can use your TPM chip
to secure your private key similarly to a smart-card. Keys are referred
to by using a (for now custom) URL-like format that looks like:
tpmkey:uuid=58ad734b-bde6-45c7-89d8-756a55ad1891;storage=user
tpmkey:file=/path/to/tpmkey.pem

I've put some pre-release versions at alpha.gnu.org. Please try them and
feel free to report any issues you encounter or any other comments.

ftp://alpha.gnu.org/gnu/gnutls/gnutls-3.1.0pre0.tar.lz
ftp://alpha.gnu.org/gnu/gnutls/gnutls-3.1.0pre0.tar.xz

ftp://alpha.gnu.org/gnu/gnutls/gnutls-3.1.0pre0.tar.lz.sig
ftp://alpha.gnu.org/gnu/gnutls/gnutls-3.1.0pre0.tar.xz.sig


A more detailed changelog follows.

* Version 3.1.0pre0 (released 2012-08-05)

** libgnutls: Added direct support for TPM as a cryptographic module
in gnutls/tpm.h.

** 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.

** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
by Alexandre Bique.

** tpmtool: Added. It is a tool to generate private keys in the
TPM.

** 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_CERT_SIGNATURE_FAILURE: Added
GNUTLS_CAMELLIA_192_CBC: Added
GNUTLS_PKCS_NULL_PASSWORD: Added
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_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)


regards,
Nikos




More information about the Gnutls-help mailing list