[gnutls-dev] set random seed file via gnutls api

Peter O'Gorman gnutls-dev at mlists.thewrittenword.com
Thu Apr 26 18:02:15 CEST 2007


Hi,
We built curl with gnutls support. It works fine, with a caveat:
% curl --version --random-file /tmp/pogma/foo/a
Fatal: no entropy gathering module detected

There is no API in gnutls to set the random seed file (there is an api
in libgcrypt to do so, however). It is unfortunate that on hosts
without a /dev/random where libgcrypt has been configured to gather
entropy from a particular socket and that socket is unavailable that
it exits the application during gnutls library initialization.

Should curl be using the libgcrypt api directly to avoid this? Or
ought there be a way to set the random file via gnutls? We're thinking
the latter.

Thanks,
Peter






More information about the Gnutls-devel mailing list