Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/use dev random by default #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

goodluckart
Copy link

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

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