Draft: Add HS client key manager sketch.
-
Add the key manager config to the example configs.
-
Make
TorClient
useHsClientKeyMgr
.-
TorClient
now contains aHsClientKeyMgr
for retrieving client auth keys -
arti-client
has some new*Config
types for configuring aHsClientKeyMgr
that uses either the legacy storage format or the current one (TBD what the current one looks like)
-
-
Add HS client key manager sketch.
This is a first attempt at defining an API for the HS client key manager.
- the client key manager (
HsClientKeyMgr
) lives in the newtor-keymgr
crate. Future versions of this crate will also exposeHsServiceKeyMgr
, which will be used by services to manage client auth keys - the
tor-hsclient::keys
module is moved totor-keymgr::keys
(to avoid a circular dependency betweentor-hsclient
andtor-keymgr
)
- the client key manager (
-
Fix typo in HS auth key notes.
The only type of client authorization key used in C Tor today is
KS_hsc_client_desc_enc
.
Part of #728 (closed).
Edited by gabi-250