summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-09-17 15:12:22 +0200
committerDavid Lönnhager <david.l@mullvad.net>2024-09-24 16:54:03 +0200
commit32a75909f97787ee3b383b5d2c13f94f1c2a8a43 (patch)
treebe11bcc6956d9b6bdfc098630f9cddef493669bc
parent7031dc235a58825aa62b29971103f5043724faf6 (diff)
downloadmullvadvpn-32a75909f97787ee3b383b5d2c13f94f1c2a8a43.tar.xz
mullvadvpn-32a75909f97787ee3b383b5d2c13f94f1c2a8a43.zip
Change auto quantum resistant state to enabled on Windows
-rw-r--r--CHANGELOG.md3
-rw-r--r--mullvad-types/src/wireguard.rs10
2 files changed, 10 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5c64e5b5fa..4baa77da72 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,9 @@ Line wrap the file at 100 chars. Th
multihop, quantum-resistant tunnels, or DAITA.
- Improved output format of `mullvad status` command, which now also prints feature indicators.
+#### Windows
+- Enable quantum resistant tunnels by default (when set to `auto`).
+
#### macOS
- Disable split tunnel interface when disconnected. This prevents traffic from being sent through
the daemon when the VPN is disconnected.
diff --git a/mullvad-types/src/wireguard.rs b/mullvad-types/src/wireguard.rs
index 2850e7f10c..c6ec6cec5f 100644
--- a/mullvad-types/src/wireguard.rs
+++ b/mullvad-types/src/wireguard.rs
@@ -11,9 +11,13 @@ pub const MAX_ROTATION_INTERVAL: Duration = Duration::from_secs(30 * 24 * 60 * 6
pub const DEFAULT_ROTATION_INTERVAL: Duration = MAX_ROTATION_INTERVAL;
/// Whether to enable or disable quantum resistant tunnels when the setting is set to
-/// `QuantumResistantState::Auto`. It is currently enabled by default on Linux and macOS,
-/// but disabled on all other platforms.
-const QUANTUM_RESISTANT_AUTO_STATE: bool = cfg!(any(target_os = "linux", target_os = "macos"));
+/// `QuantumResistantState::Auto`. It is currently enabled by default on desktop,
+/// but disabled on Android.
+const QUANTUM_RESISTANT_AUTO_STATE: bool = cfg!(any(
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "windows"
+));
#[derive(Serialize, Deserialize, Default, Copy, Clone, Debug, PartialEq, Eq)]
#[serde(rename_all = "lowercase")]