From 9944323978f790b85220e4d169042c9678e8bf09 Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 18 Sep 2021 20:46:37 +0200 Subject: [PATCH] KEYFILE --- zen/new_file_in_astroport.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zen/new_file_in_astroport.sh b/zen/new_file_in_astroport.sh index f066b7a..c49ebf6 100755 --- a/zen/new_file_in_astroport.sh +++ b/zen/new_file_in_astroport.sh @@ -154,7 +154,8 @@ if [[ ! $(ipfs key list | grep "${MEDIAKEY}") ]]; then ## IPNS KEY CREATION mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB} KEY=$(ipfs key gen "${MEDIAKEY}") - KEYFILE=$(ls -t ~/.ipfs/keystore/ | head -n 1) +# KEYFILE=$(ls -t ~/.ipfs/keystore/ | head -n 1) # get name of last created key (could be fooled during stargate exchange) + KEYFILE=$(~/.zen/astrXbian/zen/tools/give_me_keystore_filename.py "${MEDIAKEY}") # better method applied fi ## IS IT NEW IPNS KEY?