relay: Declare keys and add a KeyMgr to TorRelay
This MR does multiple things:
- Add a
KeyMgr
to theTorRelay
struct. - Create a new crate named
tor-relay-crypto
- Declare the relay keys in this new crate.
- Improve tor-key-forge create for the key wrappers.
- Add helper functions for certificate generation.
Because the KeyMgr
doesn't yet support storing certificate, this is not entirely complete to be able to close #1604 (closed) and thus we have TODO comments for this.
Related to #1604 (closed)
Signed-off-by: David Goulet dgoulet@torproject.org
Edited by David Goulet