]> Cypherpunks.ru repositories - govpn.git/commit
Use /dev/urandom for new client identity generation
authorSergey Matveev <stargrave@stargrave.org>
Wed, 13 May 2015 14:00:55 +0000 (17:00 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 13 May 2015 14:00:55 +0000 (17:00 +0300)
commitcb530f030f975afad01155d559e1d16b16bd3097
tree7af14c624bbe32386ff7ce8e1f708fa4a53609ea
parent24d44126ebe1afab9d7652d457a6d3d50ecf0c71
Use /dev/urandom for new client identity generation

* FreeBSD has /dev/random and it never blocks, giving as much entropy as requested
* GNU/Linux has /dev/random can give shorter output
* /dev/urandom exists in both systems and never blocks

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
utils/newclient.sh