From 3449990374e81912d7ac5de19a089736a063a341 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Thu, 5 May 2016 15:34:52 -0600 Subject: [PATCH] add example netRandom config file --- wnr-example.conf | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 wnr-example.conf diff --git a/wnr-example.conf b/wnr-example.conf new file mode 100644 index 000000000..c460e22f5 --- /dev/null +++ b/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; + }; +};