Support OTP SMS
It looks like the OTP support only work when the passcode is known before openfortivpn is started. The setup I have to connect to works with SMS codes that get send during the login.
This is a log of how it works when running openfortivpn from the command line:
root@splint:~# /usr/bin/openfortivpn
INFO: Connected to gateway.
Please enter one-time password: <-- here I wait for an SMS and types in the passcode
INFO: Authenticated.
INFO: Remote gateway has allocated a VPN.
...
I can try to implement it, but I will need some guidance in where to start.