Feature/use dev random by default #26

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants
@goodluckart

typing '-s /dev/random' got annoying for me after a while :D

( merging this branch will pull the other one with the small bug fix in too)

goodluckart added some commits Mar 28, 2013

Echo of random seedfile can be null.
The error message was created from the 'optargs' variable which is only correct if the -s whatever was the last item on the command line.
Use /dev/random by default if available.
General security principle,  always default to the most secure option. If someone wants to -s /dev/zero the still can of course,  but we assume they know what they are doing!

Not all non windows platforms have a /dev/random, you can disable it on Linux if you really want to, so we check first.
Downgraded RNG seed message to -v only
Now we read from /dev/random by default, this message isn't really that important anymore.
@WyseNynja

This comment has been minimized.

Show comment Hide comment
@WyseNynja

WyseNynja Jan 26, 2014

Samr7 hasn't been active with this repo so I made this merged this into my fork at https://github.com/WyseNynja/vanitygen. It's easy to install with my brew tap at https://github.com/WyseNynja/homebrew-bitcoin and has various other fixes.

Samr7 hasn't been active with this repo so I made this merged this into my fork at https://github.com/WyseNynja/vanitygen. It's easy to install with my brew tap at https://github.com/WyseNynja/homebrew-bitcoin and has various other fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment