Hi,

There were some complaints about the default source of randomness and I
noticed the mauve crypto tests take significantly longer if the use the
spinner approach. Since if when /dev/urandom doesn't exist we fall back
to the old default anyway I add the following to the classpath.security
file:
 
2006-07-30  Mark Wielaard  <[EMAIL PROTECTED]>

       * resource/java/security/classpath.security: Add /dev/urandom as
       default securerandom.source.

Committed to trunk, release and generics branch.

Cheers,

Mark

diff -u -r1.2.2.4 classpath.security
--- resource/java/security/classpath.security   23 Jul 2006 21:28:36 -0000     
1.2.2.4
+++ resource/java/security/classpath.security   30 Jul 2006 21:10:55 -0000
@@ -45,3 +45,7 @@
 # The VM-wide default callback handler class name.  MUST be a subclass of
 # javax.security.auth.callback.CallbackHandler
 
auth.login.defaultCallbackHandler=gnu.javax.security.auth.callback.DefaultCallbackHandler
+
+# If this file isn't found we fall back to generating entropy through
+# "battling threads".
+securerandom.source=file:///dev/urandom



Reply via email to