Skip to content

Feature/use dev random by default - #26

Open
goodluckart wants to merge 3 commits into
samr7:masterfrom
goodluckart:feature/use-dev-random-by-default
Open

Feature/use dev random by default#26
goodluckart wants to merge 3 commits into
samr7:masterfrom
goodluckart:feature/use-dev-random-by-default

Conversation

@goodluckart

Copy link
Copy Markdown

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)

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.
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.
Now we read from /dev/random by default, this message isn't really that important anymore.
@BlinkyStitt

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants