Change onion identity

debug-remodel-tor
Thomas Eizinger 3 years ago
parent 04d7508f4e
commit 56285883e8
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -28,6 +28,9 @@ async fn main() {
.public()
.get_onion_address()
.get_address_without_dot_onion();
tracing::info!("{}", onion_address);
let onion_port = 7654;
let mut client = AuthenticatedConn::new(9051).await.unwrap();
@ -126,12 +129,10 @@ async fn new_swarm(client: AuthenticatedConn<tokio::net::TcpStream, TorutAsyncEv
}
fn fixed_onion_identity() -> TorSecretKeyV3 {
// randomly generated bytes, corresponding onion address:
// jpclybnowuibjexya3qggzvzkoeruuav4nyjlxpnkrosldsvykfbn6qd
let fixed_onion_bytes = [
7, 164, 217, 80, 139, 239, 11, 110, 37, 77, 191, 158, 206, 252, 178, 188, 147, 98, 54, 13,
35, 183, 114, 231, 202, 38, 30, 29, 245, 8, 118, 153, 55, 141, 228, 109, 78, 189, 120, 28,
172, 131, 198, 55, 113, 47, 131, 135, 139, 117, 182, 195, 46, 34, 234, 169, 85, 96, 203,
172, 131, 198, 55, 113, 47, 10, 135, 139, 117, 182, 195, 46, 34, 234, 169, 85, 96, 203,
215, 7, 155, 209, 211,
];
fixed_onion_bytes.into()

Loading…
Cancel
Save