Skip to content

Commit 8475b05

Browse files
committed
Change auto quantum resistant state to enabled on Windows
1 parent 196061b commit 8475b05

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ Line wrap the file at 100 chars. Th
3535
multihop, quantum-resistant tunnels, or DAITA.
3636
- Improved output format of `mullvad status` command, which now also prints feature indicators.
3737

38+
#### Windows
39+
- Enable quantum resistant tunnels by default (when set to `auto`).
40+
3841
#### macOS
3942
- Disable split tunnel interface when disconnected. This prevents traffic from being sent through
4043
the daemon when the VPN is disconnected.

mullvad-types/src/wireguard.rs

+7-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ pub const MAX_ROTATION_INTERVAL: Duration = Duration::from_secs(30 * 24 * 60 * 6
1111
pub const DEFAULT_ROTATION_INTERVAL: Duration = MAX_ROTATION_INTERVAL;
1212

1313
/// Whether to enable or disable quantum resistant tunnels when the setting is set to
14-
/// `QuantumResistantState::Auto`. It is currently enabled by default on Linux and macOS,
15-
/// but disabled on all other platforms.
16-
const QUANTUM_RESISTANT_AUTO_STATE: bool = cfg!(any(target_os = "linux", target_os = "macos"));
14+
/// `QuantumResistantState::Auto`. It is currently enabled by default on desktop,
15+
/// but disabled on Android.
16+
const QUANTUM_RESISTANT_AUTO_STATE: bool = cfg!(any(
17+
target_os = "linux",
18+
target_os = "macos",
19+
target_os = "windows"
20+
));
1721

1822
#[derive(Serialize, Deserialize, Default, Copy, Clone, Debug, PartialEq, Eq)]
1923
#[serde(rename_all = "lowercase")]

0 commit comments

Comments
 (0)