replace ~/.ssb/secret.dunikey
This commit is contained in:
parent
6c8d4aa1be
commit
e5451b8737
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue