Hit ENTER again to continue

This commit is contained in:
qo-op 2020-11-16 23:22:18 +01:00
parent 21dbdaf9cf
commit c33f1e3e0a
1 changed files with 7 additions and 4 deletions

View File

@ -13,12 +13,13 @@ echo '>>>>>>> METAVERSE KEY CREATION <<<<<<<<
/_ _ __(__ )| |/ |/ / /_/ / / / / / / / / /_/ /
/_//_/ /____/ |__/|__/\__,_/_/ /_/ /_/ /_/\____/
KEY
CESIUM KEY
CHOOSE YOU LOGIN (min 8 car. best is more than 6 words!!)...
or LEAVE BLANK and HIT ENTER FOR diceware AUTO GENERATION
'
read salt
[[ $salt == "" ]] && echo "Hit ENTER again to continue" && read salt
[[ $salt != "" ]] && echo "CHOOSE PASSWORD?" && read pepper && [[ $pepper == "" ]] && echo "AARRRRGGG why no pepper? exiting" && exit 1
if [[ "$salt" == "" && "$pepper" == "" ]]; then
@ -85,9 +86,11 @@ EOF
&& chmod +x ~/.zen/astroport/zen/tools/create_ipfsnodeid_from_tmp_secret.dunikey.py
python3 ~/.zen/astroport/zen/tools/create_ipfsnodeid_from_tmp_secret.dunikey.py
echo "copy the lines and apply that jq commands new ID to your IPFS node"
echo "jq '.Identity.PeerID=\"$PeerID\"' ~/.ipfs/config"
ech "jq '.Identity.PrivKey=\"$PrivKey\"' ~/.ipfs/config"
echo
echo "copy the lines above in your console"
echo "then and apply jq commands to make your IPFS node ID https://Cesium.app compatible"
echo "jq '.Identity.PeerID=\"\$PeerID\"' ~/.ipfs/config"
echo "jq '.Identity.PrivKey=\"\$PrivKey\"' ~/.ipfs/config"
rm -f /tmp/secret.dunikey
}