codechain-keystore-js
codechain-keystore-js copied to clipboard
A private key management library for CodeChain
Currently, private key type is `string` but `string` type variables cannot be explicitly dropped or cleared. Change the type of secret key to `Buffer` and clear(fill zeros to the memory...
hdwseed.getPublicKeyFromSeed function requires passphrase argument even though the field is optional
Unlike [codechain-primitives-js](https://github.com/CodeChain-io/codechain-primitives-js), keystore readme lacks installing package, API functions and how to test(`yarn test`).
CodeChain keystore changes its data format at 0.5.0. We should apply it add provide `migrate` feature to users.
Add a function that verifies a signature. Parameters - key - signature - message
keystore.db is currently located in ```$PWD```. It is little bit awkward for CLIs. Boto uses AWS CLI configurations located in ```~/.aws/```, and it is overridable. Link: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html Git config also...