diff --git a/bin/.genhushconfig.swo b/bin/.genhushconfig.swo new file mode 100644 index 000000000..4d8a6c7bf Binary files /dev/null and b/bin/.genhushconfig.swo differ diff --git a/bin/genhushconfig b/bin/genhushconfig new file mode 100755 index 000000000..c4d5f6912 --- /dev/null +++ b/bin/genhushconfig @@ -0,0 +1,13 @@ +#!/bin/bash + +# Generate a new Hush node config + +DIR="~/.hush" +if [ -d "$DIR" ]; then + echo "Hush config directory $DIR already exists, doing nothing!!!" +else + mkdir -p $DIR + echo "rpcuser=username" >> $DIR/hush.conf + echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>$DIR/hush.conf + echo "Created $DIR/hush.conf" +fi diff --git a/bin/jonathanleto/.hush/hush.conf b/bin/jonathanleto/.hush/hush.conf new file mode 100644 index 000000000..4358ec711 --- /dev/null +++ b/bin/jonathanleto/.hush/hush.conf @@ -0,0 +1,2 @@ +rpcuser=username +rpcpassword=meDOaPW5wqlgJHlPOdJ5FZM390p1EyZaEDrKuSDpRFQ=