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

Re: [Nbd] STARTTLS and DH parameters and GnuTLS initialisation



> On 9 Nov 2016, at 22:48, Wouter Verhelst <w@...112...> wrote:
> 
> Right. I simply took that from the example in the GnuTLS documentation,
> but I suppose you're probably right and we could do it once per
> nbd-server run rather than once per STARTTLS command. On my laptop (a
> reasonably recent Core i7) it takes about a second for the DH parameters
> to be generated (in the debugger, at least), so it's certainly something
> that might incur performance problems on less powerful hardware.

Suggest doing it once on server start up, with an option to skip it
entirely (for those on Raspberry Pis or similar)

-- 
Alex Bligh







Reply to: