~/.ssb_astroport

This commit is contained in:
qo-op 2020-04-30 04:59:08 +02:00
parent 4fad598050
commit a5579d9555
1 changed files with 4 additions and 20 deletions

View File

@ -43,13 +43,6 @@ if [[ ! $(which sbotc) ]]; then
cd $MY_PATH
fi
echo "Do you want to create a new ~/.ssb identity (will backup current one) ? (y)/n"
read isitok
if [[ "$isitok" == "y" ]]; then
# TEST ssb-server Install
ssbSERVER=$(which ssb-server)
# If exists backup ~/.ssb to ~/.ssb_$USER SSB (one time only !)
[[ -d ~/.ssb_$USER ]] && echo "BACKUP already existing... ~/.ssb_$USER !!! Manual check please..." && exit 1
[[ -d ~/.ssb ]] && [[ ! -d ~/.ssb_$USER ]] && mv ~/.ssb ~/.ssb_$USER
@ -92,7 +85,6 @@ echo "SECRET CREDENTIALS !!! https://cesium.app & https://gchange.fr
ID:$salt
PWD:$pepper" > ~/.zen/secret.ZEN.txt
cat ~/.zen/secret.ZEN.txt
fi
@ -136,21 +128,13 @@ echo "
|_ |_ \/ (_) | | (_|
Your G1SSB KEY is made !!
# Your SSB ID is @$ssbpub.ed25519
Install Patchwork : https://github.com/ssbc/patchwork/releases/
# Libre Money Wallet
Use your credential with https://cesium.app
login (salt) : $salt
password : $pepper
"
cat ~/.zen/secret.ZEN.txt
chmod 400 ~/.zen/secret.ZEN.txt
else
echo "You must remove old '~/.ssb' before running $ME";
exit 1;
fi
exit 0