Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
surban committed Sep 6, 2023
1 parent a88176e commit 207fe5b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[workspace]
members = ["aggligator", "aggligator-util"]
resolver = "2"
8 changes: 4 additions & 4 deletions aggligator-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@ network-interface = "1"
async-trait = "0.1"
bytes = "1"

bluer = { version = "0.15.7", default-features = false, optional = true }
bluer = { version = "0.16", default-features = false, optional = true }
rustls = { version = "0.21", optional = true }
rustls-pemfile = { version = "1.0", optional = true }
tokio-rustls = { version = "0.24", optional = true }
rand = { version = "0.8", optional = true }
rand_xoshiro = { version = "0.6", optional = true }
clap = { version = "4", features = ["derive"], optional = true }
anyhow = { version = "1", optional = true }
crossterm = { version = "0.26", optional = true }
crossterm = { version = "0.27", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
], optional = true }
axum = { version = "0.6", features = ["ws"], optional = true }
tungstenite = { version = "0.19", optional = true }
tokio-tungstenite = { version = "0.19", features = [
tungstenite = { version = "0.20", optional = true }
tokio-tungstenite = { version = "0.20", features = [
"rustls-tls-webpki-roots",
], optional = true }
url = { version = "2", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions aggligator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ bytes = "1.1"
rand = "0.8"
rand_xoshiro = "0.6"
atomic_refcell = "0.1.8"
x25519-dalek = "1.2"
rand_core = "0.5"
x25519-dalek = "2"
rand_core = "0.6"
crc32fast = "1.3"
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion aggligator/src/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ where
// Perform protocol handshake.
let (remote_server_id, conn_id, existing, remote_cfg, roundtrip, remote_user_data) =
timeout(cfg.link_ping_timeout, async {
let server_secret = EphemeralSecret::new(rand_core::OsRng);
let server_secret = EphemeralSecret::random_from_rng(rand_core::OsRng);
let server_public_key = PublicKey::from(&server_secret);

let start = Instant::now();
Expand Down
2 changes: 1 addition & 1 deletion aggligator/src/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ where

// Perform protocol handshake.
let (remote_cfg, roundtrip, remote_user_data) = timeout(self.cfg.link_ping_timeout, async {
let client_secret = EphemeralSecret::new(rand_core::OsRng);
let client_secret = EphemeralSecret::random_from_rng(rand_core::OsRng);
let client_public_key = PublicKey::from(&client_secret);

let LinkMsg::Welcome {
Expand Down

0 comments on commit 207fe5b

Please sign in to comment.