Skip Menu |
 

To: krb5-bugs@MIT.EDU
Subject: need to disable /dev/random use for testing
From: Ken Raeburn <raeburn@MIT.EDU>
Date: Tue, 29 Oct 2002 20:17:14 -0500
On relatively idle machines, nightly tests run via cron are failing
because kadmin takes too long to initialize at startup, because it
blocks reading from /dev/random. For testing purposes, we don't care
how good the random numbers are, as long as they're at least "sort of"
good; using /dev/urandom is more than adequate.

A new config file (krb5.conf probably) option to explicitly turn off
the use of /dev/random should be created. Probably using "insecure"
and "entropy" in the name, something like that. Whether the
application-level code or the crypto library code should act on it is
to be decided.
From: tlyu@mit.edu
Subject: SVN Commit

Add a new '-W' option to kadmind and kdb5_util create to allow reading
weak random numbers on startup, to avoid long delays in testing
situations. Use only for testing.

Update testing scripts accordingly.

https://github.com/krb5/krb5/commit/075289025c64774553d4b13f98a95fe7a1782f5c
Commit By: tlyu
Revision: 22434
Changed Files:
U trunk/src/kadmin/dbutil/kdb5_create.c
U trunk/src/kadmin/server/ovsec_kadmd.c
U trunk/src/kadmin/testing/scripts/start_servers_local
U trunk/src/tests/dejagnu/config/default.exp
From: tlyu@mit.edu
Subject: SVN Commit

pull up r22434 from trunk

------------------------------------------------------------------------
r22434 | tlyu | 2009-07-10 15:20:26 -0400 (Fri, 10 Jul 2009) | 8 lines

ticket: 1233

Add a new '-W' option to kadmind and kdb5_util create to allow reading
weak random numbers on startup, to avoid long delays in testing
situations. Use only for testing.

Update testing scripts accordingly.

https://github.com/krb5/krb5/commit/7bbdc60ecea69c9120c0140a2dcf4c89fc7029df
Commit By: tlyu
Revision: 22803
Changed Files:
U branches/krb5-1-7/src/kadmin/dbutil/kdb5_create.c
U branches/krb5-1-7/src/kadmin/server/ovsec_kadmd.c
U branches/krb5-1-7/src/kadmin/testing/scripts/start_servers_local
U branches/krb5-1-7/src/tests/dejagnu/config/default.exp