ios-app icon indicating copy to clipboard operation
ios-app copied to clipboard

Force automatic WireGuard key regeneration if the rotation interval has passed

Open jordan-ivpn opened this issue 2 years ago • 1 comments

Bug report

A customer reports:

I am the user that reported the key rotation on wireguard a while back for the desktop app on MacOS. I noticed that the iPhone app doesn't auto-renew if it's been on airplane mode overnight and then I take it off in the morning. Sometimes I have to manually regenerate the keys because the expiration date is past due but it doesn't notice so the keys don't renew and the internet doesn't work until I manually regenerate.

You fixed the desktop app and it is working really well now, but it is only the iPhone app

https://github.com/ivpn/desktop-app/issues/90

Describe your environment

  • Device: _____
  • OS name and version: iOS 15.4.1
  • IVPN app version: 2.6.2

Describe the problem

Steps to reproduce:

  1. Put iOS device in Airplane Mode
  2. Let the rotation interval pass
  3. Disable Airplane Mode

Observed Results:

The key is not rotated.

Expected Results:

Rotate the key if the rotation interval has passed.

jordan-ivpn avatar May 13 '22 22:05 jordan-ivpn

We are not able to reproduce the issue so far. Note that when the WireGuard VPN tunnel is connected, the app will check every 1h if keys need to be rotated, so it is not immediate.

jurajhilje avatar Jul 08 '22 07:07 jurajhilje