cardano-base
cardano-base copied to clipboard
KES Agent prerequisites
trafficstars
Adds:
- Direct serialization/deserialization of KES sign keys: we need this in order to send keys over network sockets without touching the GHC heap (which would violate mlocking protections).
- Cryptographic RNG: a wrapper around
randombytes_buf()from libsodium, to be used for generating mlocked seeds, such that we can generate KES sign keys entirely in mlocked memory.
This currently depends on ~~#388~~ #411 and #389; those should be dealt with first before merging this.