how to use gnutls_privkey_import_ext

Carolin Latze latze at angry-red-pla.net
Sun Jun 10 17:08:18 CEST 2012


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
>    





More information about the Gnutls-help mailing list