tendermint/go-crypto

keys: Recover from seed without persisting to disk

ebuchman opened this issue · 4 comments

We should be able to enter a seed and use a privkey without that privkey ever being saved to disk

Oh - maybe that's just using memDB!

The recover flow should enable us to specify an HD path as well. See #90

We should be able to enter a seed and use a privkey without that privkey ever being saved to disk

#118 tackles this the following way: if given an empty password, the (private) key is not persisted.

The recover flow should enable us to specify an HD path as well. See #90

possible in #118 (BIP 44 is fully supported by keybase API, arbitrary BIP 32 paths are also supported via the hd package, i.e. without the persistence support etc)

Possible via not providing a password to encrypt on disk (code moved over to cosmos-sdk).