diff options
| author | Emīls <emils@mullvad.net> | 2023-03-17 14:37:17 +0100 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2023-03-17 14:40:49 +0100 |
| commit | f4943b9ba69b06ba2363cb948a34dd2c162e80f2 (patch) | |
| tree | 4913963db452dbd5a743fdcb7839ce2ea2d69a51 | |
| parent | 7539eda6b44a2aa18b8e7389a7400af25bc82902 (diff) | |
| download | mullvadvpn-f4943b9ba69b06ba2363cb948a34dd2c162e80f2.tar.xz mullvadvpn-f4943b9ba69b06ba2363cb948a34dd2c162e80f2.zip | |
Change key rotation interval on Android and iOS
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | ios/CHANGELOG.md | 1 | ||||
| -rw-r--r-- | ios/MullvadVPN/TunnelManager/TunnelManager.swift | 2 | ||||
| -rw-r--r-- | mullvad-types/src/wireguard.rs | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a4ca650379..c1afb27555 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,9 @@ Line wrap the file at 100 chars. Th - Update OpenSSL to 1.1.1t from 1.1.1j. - Post-Quantum secure tunnels and multihop can now be used at the same time. +#### Android +- Change Android key rotation interval to 7 days instead of 4. + #### Windows - Remove automatic fallback to wireguard-go. This is done as a first step before fully deprecating it on Windows. diff --git a/ios/CHANGELOG.md b/ios/CHANGELOG.md index ff056eca95..e80a037144 100644 --- a/ios/CHANGELOG.md +++ b/ios/CHANGELOG.md @@ -43,6 +43,7 @@ with the option to buy more time. - Swap vertical position of country and city labels on connection view. - Display remaining account time in years if equal to or more than two years, otherwise display days. +- Changed key rotation interval from 4 to 7 days. ### Fixed - Improve random port distribution. Should be less biased towards port 53. diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift index 6ac13e7ac3..34883c9fdc 100644 --- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift +++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift @@ -28,7 +28,7 @@ private let establishingTunnelStatusPollInterval: TimeInterval = 3 private let establishedTunnelStatusPollInterval: TimeInterval = 5 /// Private key rotation interval (in seconds). -private let privateKeyRotationInterval: TimeInterval = 60 * 60 * 24 * 4 +private let privateKeyRotationInterval: TimeInterval = 60 * 60 * 24 * 7 /// Private key rotation retry interval (in seconds). private let privateKeyRotationFailureRetryInterval: TimeInterval = 60 * 15 diff --git a/mullvad-types/src/wireguard.rs b/mullvad-types/src/wireguard.rs index 5f77d769eb..71b6fc4164 100644 --- a/mullvad-types/src/wireguard.rs +++ b/mullvad-types/src/wireguard.rs @@ -8,11 +8,7 @@ use talpid_types::net::wireguard; pub const MIN_ROTATION_INTERVAL: Duration = Duration::from_secs(1 * 24 * 60 * 60); pub const MAX_ROTATION_INTERVAL: Duration = Duration::from_secs(7 * 24 * 60 * 60); -pub const DEFAULT_ROTATION_INTERVAL: Duration = if cfg!(target_os = "android") { - Duration::from_secs(4 * 24 * 60 * 60) -} else { - Duration::from_secs(7 * 24 * 60 * 60) -}; +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`. |
