http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ https://speakerdeck.com/filosottile/the-plain-simple-reality-of-entropy Also remove the iflag=fullblock GNUism that doesn't exist on BSD and OSX
482 B
482 B
glorytun
Work In Progress: Do not touch!
glorytun depends on libsodium version >= 1.0.4 and needs an AES-NI capable CPU.
To build and install the latest version:
$ git clone https://github.com/angt/glorytun
$ cd glorytun
$ ./autogen.sh
$ ./configure
$ make
# make install
To create and use a new secret key:
$ dd if=/dev/urandom of=glorytun.key bs=32 count=1
# glorytun keyfile glorytun.key [...]