CodeChain-io / CodeChain-io/codechain-keystore-js
Clear secret keys when they are not needed anymore
Open
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
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 it holds) when the necessity of them ends to enhance security.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.