CodeChain-io / CodeChain-io/codechain-keystore-js

Clear secret keys when they are not needed anymore

Open
#52 2 comments 0 reactions 1 assignee Claimed by @seonpyoKim View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.