pia-foss / manual-connections

Scripts for manual connections to Private Internet Access
MIT License
566 stars 168 forks source link

IKEv2 Support #178

Open kronicd opened 1 year ago

kronicd commented 1 year ago

I'd like to request IKEv2 support be added to the manual connection scripts.

I'm more than happy to contribute this myself but I'm having some trouble understanding how the usernames & passwords are generated for IKEv2 use, or alternately how authentication is implemented at all for PIA's IKEv2 implementation.

I've had a look through the code in client-library-apple however I am unfamiliar with the iOS VPN management APIs and it is a little hard to follow.

The standard approach of splitting the token at char 62 did not seem to work either.

Any insights would be appreciated.