help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use gnutls_privkey_import_ext


From: Carolin Latze
Subject: Re: how to use gnutls_privkey_import_ext
Date: Sun, 10 Jun 2012 17:08:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120506 Icedove/3.0.11

shy question: what type of hashes will be delivered with RSA-SHA1? I get a hash of 35 bytes length, which is a bit too long for a standard SHA1. And it is too short for the old SHA1+MD5 hash that used to used in TLS.

On 06/10/2012 03:26 PM, Nikos Mavrogiannopoulos wrote:
On 06/10/2012 02:51 PM, Carolin Latze wrote:

yay, that works ( I do it with a cert_callback now). I just need to
restrict the hash algorithms to SHA-1 since the TPM refuses to sign an
SHA256 hash :-/
need to figure out how to do this. If all is running fine I need to
clean up the code and will send it to you.

This you can control using the priority string. Add "-SIGN-ALL:+SIGN-SHA1".

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]