CodeChain-io / CodeChain-io/codechain-keystore-js
Clear secret keys when they are not needed anymore
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 14
- Forks
- 7
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.