[gnutls-help] signing

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon May 22 09:22:28 CEST 2017


On Sun, May 21, 2017 at 11:24 PM, Jeremy Harris <jgh at wizmail.org> wrote:
> Hi,
>
> gnutls_x509_privkey_sign_data() is documented as working with
> an MD5 or SHA1 disgest method:
>
>  https://www.gnutls.org/manual/html_node/X509-certificate-API.html#index-gnutls_005fx509_005fprivkey_005fsign_005fdata
>
>
> I've seen code calling it with GNUTLS_DIG_SHA256.

The mention of MD5 or SHA1 as the only option is a leftover from the
time these were the only option. Any hash is allowed as option.

regards,
Nikos



More information about the Gnutls-help mailing list