hexresearch / hexresearch/hschain

We leave private keys in memory

Open
#346 1 comment 0 reactions 0 assignees View on GitHub
cryptography
Dominant language
C
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

More specific and actionable version of #263

We frequently convert private keys and other secret values to bytestrings which are subsequently left in memory and could be possibly retrieved. We need cross-platform analog of cryptonite's `ScrubbedBytes` to scrub information from memory on GC. To do that we need following

- [ ] Scrubbed bytes for GHCJS
- [ ] Check whether we can reuse memory type class for GHCJS
- [ ] Expand ByteRepr to work with scrubbed bytes or switch to memory

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.