Browse Source

add example netRandom config file

Chris Conlon 8 years ago
parent
commit
3449990374
1 changed files with 40 additions and 0 deletions
  1. 40 0
      wnr-example.conf

+ 40 - 0
wnr-example.conf

@@ -0,0 +1,40 @@
+# Example netRandom client library configuration file
+#
+# This uses /dev/urandom for the seed, but could also
+# be set up to use a network entropy source
+
+version = "1.0";
+
+WnrClient:
+{
+  dir:
+  {
+    working = "/var/run/wnrentropy";
+    socket  = "/var/run/wnrentropy";
+  };
+
+  drbg:
+  {
+    type              = "SHA256";
+    security_strength = 256;
+    reseed_interval   = 1;
+  };
+
+  source:
+  {
+    seed = {
+                 type = "FILEPATH";
+                 path = "/dev/urandom";
+           };
+    stream = {
+                 type = "FILEPATH";
+                 path = "/dev/urandom";
+             };
+  };
+
+  buffer:
+  {
+    size = 8192;
+    threshold = 7168;
+  };
+};