Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
~The current `mlock` functionality—locking each memory page that happens to contain a secret key—causes problems with tests (and possibly also in production) because it quickly reaches the limit of locked memory pages.~
We need a special allocator that `mlock`s, zeroes and `munlock`s dedicated memory pages and allocates space for secrets in there: locked pages are a scarce resource and should be used exclusively for secrets.
See the discussion on https://github.com/poanetwork/threshold_crypto/pull/34, specifically https://github.com/poanetwork/threshold_crypto/pull/34#issuecomment-422108659, for more details and an initial suggestion of how such an allocator could look.
/cc @mbr, @DrPeterVanNostrand