Skip to content

Commit

Permalink
Merge branch 'macos-enable-pq'
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Jul 26, 2024
2 parents fd64b76 + ca1facb commit d6b0b74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Line wrap the file at 100 chars. Th
### Added
- Add DAITA (Defence against AI-guided Traffic Analysis) setting for Linux and macOS.

### Changed
#### macOS
- Enable quantum resistant tunnels by default (when set to `auto`).

### Fixed
- Fix mullvad cli bug causing `mullvad status listen` command to miss events if they occurred
too quickly.
Expand Down
6 changes: 3 additions & 3 deletions mullvad-types/src/wireguard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ 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 but disabled on all
/// other platforms.
const QUANTUM_RESISTANT_AUTO_STATE: bool = cfg!(target_os = "linux");
/// `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"));

#[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialEq, Eq)]
#[serde(rename_all = "lowercase")]
Expand Down

0 comments on commit d6b0b74

Please sign in to comment.