! -f only
This commit is contained in:
parent
24173df36f
commit
ec67e9f098
|
@ -189,17 +189,19 @@ echo '
|
||||||
| | | | | (/_ | | | (_) | | | (_
|
| | | | | (/_ | | | (_) | | | (_
|
||||||
|
|
||||||
diceware passphrase generator...'
|
diceware passphrase generator...'
|
||||||
# INSTALL diceware files
|
# INSTALL diceware files ## TODO REPLACE WITH ipfs links
|
||||||
cd $MY_PATH
|
|
||||||
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware.sh
|
[[ ! -f ~/.ssb_astroport/diceware.sh ]] \
|
||||||
chmod +x diceware.sh
|
&& curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware.sh -o ~/.ssb_astroport/diceware.sh \
|
||||||
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware-wordlist.txt
|
&& chmod +x ~/.ssb_astroport/diceware.sh
|
||||||
## TODO REPLACE WITH ipfs links
|
|
||||||
|
[[ ! -f ~/.ssb_astroport/diceware-wordlist.txt ]] \
|
||||||
|
&& curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware-wordlist.txt
|
||||||
|
|
||||||
# LOGIN (=SALT)
|
# LOGIN (=SALT)
|
||||||
salt="$($MY_PATH/diceware.sh 6)"
|
salt="$(~/.ssb_astroport/diceware.sh 6)"
|
||||||
# PASS (=PEPPER)
|
# PASS (=PEPPER)
|
||||||
pepper="$($MY_PATH/diceware.sh 4)"
|
pepper="$(~/.ssb_astroport/diceware.sh 4)"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
echo "........."
|
echo "........."
|
||||||
|
|
Loading…
Reference in New Issue