mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
load os tor key from db
This commit is contained in:
committed by
Aiden McClelland
parent
cdca5e1b67
commit
6093518e46
@@ -83,7 +83,7 @@ impl RpcContext {
|
||||
let net_controller = Arc::new(
|
||||
NetController::init(
|
||||
([127, 0, 0, 1], 80).into(),
|
||||
todo!("Grab Key from Database, Generate if it doesn't exist"),
|
||||
crate::net::tor::os_key(&mut secret_store.acquire().await?).await?,
|
||||
base.tor_control
|
||||
.unwrap_or(SocketAddr::from(([127, 0, 0, 1], 9051))),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user