CodeChain-io / CodeChain-io/codechain-keystore-js
Clear secret keys when they are not needed anymore
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 14
- Forks
- 7
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.