gnutls-devel
[Top][All Lists]
Advanced

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

Re: [gnutls-dev] Re: gnutls_rsa_params_init hangs. Is regenerating rsa-p


From: Andreas Metzler
Subject: Re: [gnutls-dev] Re: gnutls_rsa_params_init hangs. Is regenerating rsa-params once a day to frequent?
Date: Wed, 15 Dec 2004 08:11:00 +0100
User-agent: Mutt/1.5.6+20040907i

On 2004-12-14 Simon Josefsson <address@hidden> wrote:
> Andreas Metzler <address@hidden> writes:
[...]
> > gnutls_rsa_params_generate2(rsa_params, 512);

> > got stuck on his system, waiting indefinitely for new data to appear
> > in /dev/random.

> > I am a little bit at loss on how to deal with this. Is "once a day"
> > too frequent as a default value?

> I don't think so.

Fine.

[hopes for the future]
> > Is exim faulty for running gnutls_rsa_params_generate2 while handling
> > an incoming connection? (Not faulty as in in "not optimal" but as in
> > "the stupiest idea I've ever heard of, everybody using gnutls seriously
> > knows that you put running gnutls_rsa_params_generate2 in a separate
> > little thread/program")

> I wouldn't say faulty, but as you suggest, it may be sub-optimal.  You
> could have a stand-alone program that generate dh/rsa parameters, save
> the data to a file and ask the main process to re-load its data.  Or
> use a separate thread.
[...]

Thanks for the information. This should be easy to do, as exim's
processes are short lived there is no need for complicated
communication, asking proccesses to reload data.
      thanks, cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"



reply via email to

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