update random password generation

update random password generation to not include /=+

for this https://github.com/ch4ot1c/bitcore-install/blob/master/btcp_store_demo.sh#L92 I suggest

`local RPCPASSWORD=$(openssl rand -base64 32 | tr -d /=+ | cut -c -30)`
This commit is contained in:
J62 2018-05-19 01:41:17 -07:00 committed by GitHub
parent 667c0ea6ae
commit 970a84f38c
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