This commit is contained in:
qo-op 2020-05-02 03:46:32 +02:00
parent 0662744723
commit 45d5a13a9c
1 changed files with 2 additions and 3 deletions

View File

@ -132,16 +132,15 @@ salt="$($MY_PATH/diceware.sh 6)"
# PASS (=PEPPER)
pepper="$($MY_PATH/diceware.sh 4)"
fi
echo "........."
[[ -f ~/.zen/secret.astroport.key ]] && echo "Your identity is already existing..." && cat ~/.zen/secret.astroport.key && exit 1
# [[ -f ~/.zen/secret.astroport.key ]] && echo "Your identity is already existing..." && cat ~/.zen/secret.astroport.key && exit 1
rm -f ~/.zen/secret.astroport.key
echo "# ASTROPORT SECRET CREDENTIALS !!!
ZENID=\"$salt\"
ZENPWD=\"$pepper\"" > ~/.zen/secret.astroport.key
fi
# CREATE ~/.ssb/secret.dunikey
python3 ~/.zen/astroport/zen/tools/key_create_dunikey.py "$salt" "$pepper"
sleep 1