Merge pull request #1 from interbiznw/patch-3

update random password generation
This commit is contained in:
Jon Layton 2018-05-19 12:45:27 -05:00 committed by GitHub
commit 52caa4f911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ fi
if [ ! -e ~/.btcprivate/btcprivate.conf ]
then
local RPCPASSWORD=$(head -c 32 /dev/urandom | base64)
local RPCPASSWORD=$(openssl rand -base64 32 | tr -d /=+ | cut -c -30)
touch ~/.btcprivate/btcprivate.conf
cat << EOF > ~/.btcprivate/btcprivate.conf
#gen=1