replace ~/.ssb/secret.dunikey

This commit is contained in:
qo-op 2020-05-09 20:17:15 +02:00
parent 6c8d4aa1be
commit e5451b8737
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ ZENPWD=\"$pepper\"" > ~/.zen/secret.astroport.key
# CREATE ~/.ssb/secret.dunikey
python3 ~/.zen/astroport/zen/tools/key_create_dunikey.py "$salt" "$pepper"
sleep 1
[[ -f /tmp/secret.dunikey ]] && mv /tmp/secret.dunikey ~/.ssb/secret.dunikey || exit 1
[[ -f /tmp/secret.dunikey ]] && rm -f ~/.ssb/secret.dunikey && mv /tmp/secret.dunikey ~/.ssb/secret.dunikey || exit 1
# CREATE SSB secret
g1pub=$(cat ~/.ssb/secret.dunikey | grep "pub" | cut -d ' ' -f 2)