Bug 1612: Allow programmatic launching of onion-service with user-provided HsIdKeypair
Resolves #1612 (closed)
Simply adds an experimental method TorClient::launch_onion_service_ex()
which additionaly takes an HsIdKeypair
. It's an error to insert an HsIdKeypair
for a given nickname multiple times.
Includes the KeyMgr::insert()
commit from !2396 (merged) which adds overwrite flag which mirrors KeyMgr;:generate()
semantics.
/cc @gabi-250
Edited by morgan