jolocom / jolocom-lib

Library for interacting with the identity solution provided by Jolocom.
MIT License
24 stars 18 forks source link

Seed phrase recovery #304

Closed VolkerSchiewe closed 5 years ago

VolkerSchiewe commented 5 years ago

I think it is a good idea to move every thing that is mnemonic related to the lib, but I'm not sure if adding the getMnemonic method to the key provider is a good idea as it is kind of similar to the getPrivateKey-antipattern, isn't it?

cloeses #300

VolkerSchiewe commented 5 years ago

@chunningham I moved the recovery method to be part of the vkp and works basically like a constructor for it.