tor: update arti to 0.36

This commit is contained in:
ardocrat
2025-11-03 13:48:18 +03:00
parent 606072ca3a
commit fe2f79ecad
3 changed files with 687 additions and 214 deletions
Generated
+671 -203
View File
File diff suppressed because it is too large Load Diff
+11 -10
View File
@@ -108,22 +108,23 @@ hyper-proxy2 = "0.1.0"
hyper-tls = "0.6.0"
## tor
arti-client = { version = "0.31.0", features = ["pt-client", "static", "onion-service-service", "onion-service-client"] }
tor-rtcompat = { version = "0.31.0", features = ["static"] }
tor-config = "0.31.0"
fs-mistrust = "0.9.1"
tor-hsservice = "0.31.0"
tor-hsrproxy = "0.31.0"
tor-keymgr = "0.31.0"
tor-llcrypto = "0.31.0"
tor-hscrypto = "0.31.0"
tor-error = "0.31.0"
arti-client = { version = "0.36.0", features = ["pt-client", "static", "onion-service-service", "onion-service-client"] }
tor-rtcompat = { version = "0.36.0", features = ["static"] }
tor-config = "0.36.0"
fs-mistrust = "0.13.0"
tor-hsservice = "0.36.0"
tor-hsrproxy = "0.36.0"
tor-keymgr = "0.36.0"
tor-llcrypto = "0.36.0"
tor-hscrypto = "0.36.0"
tor-error = "0.36.0"
sha2 = "0.10.8"
ed25519-dalek = "2.1.1"
curve25519-dalek = "4.1.3"
hyper-tor = { version = "0.14.32", features = ["full"], package = "hyper" }
tls-api = "0.12.0"
tls-api-native-tls = "0.12.1"
safelog = "0.7.0"
## stratum server
tokio-old = { version = "0.2", features = ["full"], package = "tokio" }
+5 -1
View File
@@ -30,6 +30,7 @@ use std::str::FromStr;
use std::sync::Arc;
use std::time::Duration;
use std::{fs, thread};
use safelog::DisplayRedacted;
use tls_api::{TlsConnector as TlsConnectorTrait, TlsConnectorBuilder};
use tls_api_native_tls::TlsConnector;
use tokio::time::sleep;
@@ -287,7 +288,10 @@ impl Tor {
hs_nickname.clone(),
)).await.unwrap();
// Check service availability.
let addr = service.onion_address().unwrap().to_string();
let addr = service.onion_address()
.unwrap()
.display_unredacted()
.to_string();
let url = format!("http://{}/", addr);
Self::check_service(service_id, client_thread, url, port, key);
return;