add example netRandom config file

pull/412/head
Chris Conlon 2016-05-05 15:34:52 -06:00
parent 8f3e1165a1
commit 3449990374
1 changed files with 40 additions and 0 deletions

40
wnr-example.conf 100644
View File

@ -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;
};
};