summaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
diff options
context:
space:
mode:
authorSebastian Holmin <sebastian.holmin@mullvad.net>2024-05-02 11:54:13 +0200
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-06-25 17:31:32 +0200
commitda95b2603470841b64518959ceac0d03aab0068a (patch)
tree83028a23bd2439813a0dcf826eac123ea83d956b /Cargo.lock
parent9dfdf2fa52422709ce3df7a50643e0abc6ade319 (diff)
downloadmullvadvpn-da95b2603470841b64518959ceac0d03aab0068a.tar.xz
mullvadvpn-da95b2603470841b64518959ceac0d03aab0068a.zip
Add a safe FFI wrapper in `wireguard-go-rs`
- Add local wireguard go import - Activate DAITA and add `wgActivateDaita` and `wgReceiveEvent` FFI - Implement `start_daita` on Wireguard-go tunnel type - Mention DAITA in `wireguard-go-rs` description - Do not compile `wireguard-go-rs` on Windows - Handle DAITA closed on `nil` event - Handle daita action timeouts in libwg - Remove noisy log lines - Remove `maybenot_on_action` callback - Remove unused link to `../build/lib` for `talpid-wireguard` - Bump the `wireguard-go` submodule to a signed release tag in Mullvad's `wireguard-go` fork. - Update path to `libwg/go.sum` in verification script Also: - Use u64 instead of *mut void as log context - Make Tunnel::set_config take a &mut self - Use dyn Error instead of i32s for wg errors Co-authored-by: Joakim Hulthe <joakim@hulthe.net>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock18
1 files changed, 14 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c6a1e328fb..8709388967 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2026,9 +2026,9 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]]
name = "maybenot"
-version = "1.1.0"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94ed977e86fc65a7ffae967a6a973e6f7a90b5d747ebd755703d5718804f7c16"
+checksum = "a7fe205734d700937dabf0b8687e290f8574fac996f8a9d04bd7a62d7c2c1dad"
dependencies = [
"byteorder",
"hex",
@@ -4144,6 +4144,7 @@ dependencies = [
"tunnel-obfuscation",
"widestring",
"windows-sys 0.52.0",
+ "wireguard-go-rs",
"zeroize",
]
@@ -5079,6 +5080,15 @@ dependencies = [
]
[[package]]
+name = "wireguard-go-rs"
+version = "0.0.0"
+dependencies = [
+ "log",
+ "thiserror",
+ "zeroize",
+]
+
+[[package]]
name = "x25519-dalek"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5112,9 +5122,9 @@ dependencies = [
[[package]]
name = "zeroize"
-version = "1.7.0"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
+checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
dependencies = [
"zeroize_derive",
]