diff --git a/zen/tools/init_IPFS_with_cesium_loginKEY.sh b/zen/tools/init_IPFS_with_cesium_loginKEY.sh index b04be17..fdd4990 100755 --- a/zen/tools/init_IPFS_with_cesium_loginKEY.sh +++ b/zen/tools/init_IPFS_with_cesium_loginKEY.sh @@ -60,12 +60,19 @@ ZENID=\"$salt\" ZENPWD=\"$pepper\" IS : " g1pub=$(cat ~/.zen/secret.dunikey | grep "pub" | cut -d ' ' -f 2) -echo "G1PUB=\"$g1pub\"" >> ~/.zen/secret.astroport.key - g1priv=$(cat ~/.zen/secret.dunikey | grep "sec" | cut -d ' ' -f 2) +# make ScutlleButt secret key ssbpub=$(echo $g1pub | base58 -d | base64) ssbpriv=$(echo $g1priv | base58 -d | base64 | tr -d "\n" ) +cat > ~/.zen/secret <