forked from axiom-team/astrXbian
KEYFILE
This commit is contained in:
parent
c7dda18d0d
commit
9944323978
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue