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 /ios | |
| parent | 7539eda6b44a2aa18b8e7389a7400af25bc82902 (diff) | |
| download | mullvadvpn-f4943b9ba69b06ba2363cb948a34dd2c162e80f2.tar.xz mullvadvpn-f4943b9ba69b06ba2363cb948a34dd2c162e80f2.zip | |
Change key rotation interval on Android and iOS
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/CHANGELOG.md | 1 | ||||
| -rw-r--r-- | ios/MullvadVPN/TunnelManager/TunnelManager.swift | 2 |
2 files changed, 2 insertions, 1 deletions
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 |
