Skip to content

relay: Declare keys and add a KeyMgr to TorRelay

David Goulet requested to merge dgoulet/arti:ticket1604_01 into main

This MR does multiple things:

  1. Add a KeyMgr to the TorRelay struct.
  2. Create a new crate named tor-relay-crypto
  3. Declare the relay keys in this new crate.
  4. Improve tor-key-forge create for the key wrappers.
  5. 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

Merge request reports

Loading