mafintosh / hyperdb

Distributed scalable database
MIT License
753 stars 75 forks source link

Add option to pass in secret key #89

Closed Frando closed 6 years ago

Frando commented 6 years ago

Allow to pass in a precreated key pair and store the secret key with the source feed. This allows to first create the key pair and then the hyperdb - useful e.g. if you want to manage many hyperdb and store them in dirs named after the pubkeys (otherwise you'd have to move the db after creation because you'd only know the pubkey after creation).

mafintosh commented 6 years ago

Great job with adding tests as well