Super rough summary of key recovery - please complete

This commit is contained in:
Ethan Frey 2017-06-21 20:21:07 +02:00
parent aa18ff4c4c
commit e94ea20706

View File

@ -0,0 +1,20 @@
# Key Management
Here we explain a bit how to real with your keys, using the `basecli keys` subcommand.
**TODO**
## Creating keys
Create the keys and store a key phrase. No other way to recover it.
```
SEED=$(echo 1234567890 | basecli keys new fred -o json | jq .seed | tr -d \")
echo $SEED
(echo qwertyuiop; echo $SEED stamp) | basecli keys recover oops
(echo qwertyuiop; echo $SEED) | basecli keys recover derf
basecli keys get fred -o json
basecli keys get derf -o json
```
You can type it in to recover... try to do this by hand.