gnutls-devel
[Top][All Lists]
Advanced

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

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


From: Peter O'Gorman
Subject: [gnutls-dev] set random seed file via gnutls api
Date: Thu, 26 Apr 2007 11:02:15 -0500
User-agent: Mutt/1.4.2.2i

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





reply via email to

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