GNU bug report logs - #24628
GNUtls initialization adds 500ms to startup --- do we really need it just for the RNG?

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 6 Oct 2016 19:46:01 UTC

Severity: normal

Tags: moreinfo

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: 24628 <at> debbugs.gnu.org, dancol <at> dancol.org
Subject: bug#24628: GNUtls initialization adds 500ms to startup --- do we really need it just for the RNG?
Date: Fri, 07 Oct 2016 09:51:28 +0300
> From: John Wiegley <jwiegley <at> gmail.com>
> Date: Thu, 06 Oct 2016 13:22:15 -0700
> Cc: 24628 <at> debbugs.gnu.org
> 
> >>>>> "DC" == Daniel Colascione <dancol <at> dancol.org> writes:
> 
> DC> Can we go back to just using /dev/urandom directly?
> 
> I would prefer that too, if it's available.  Eli?

We've been there before, and not so long ago.  The original code,
written by yours truly, read /dev/urandom directly, see commit
3ffe81e.  Two days later Paul replaced that with GnuTLS calls (commit
05e8148), and I wasn't happy about that, to say the least:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22202#91

However, my objections were evidently not enough to revert back,
although you agreed with me:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22202#118

I leave it to you to guess what is my opinion about this ;-)




This bug report was last modified 8 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.