passepartoutvpn / tunnelkit

VPN client library for Apple platforms.
GNU General Public License v3.0
9 stars 8 forks source link

How to use private key directly instead of 2048 bit OpenVPN static key #329

Closed manglikankit closed 1 year ago

manglikankit commented 1 year ago

How to use private key directly instead of 2048 bit OpenVPN static key passing in tlsKey variable. I can't convert private key into 20248 bit OPenVPN static key. Also is there a way to directly .ovpn file data? I need help on this please.

Thanks

keeshux commented 1 year ago

Static key encryption is not (and will not be) supported.

manglikankit commented 1 year ago

Hi keeshux, Thanks for replying. but I can see in the source code there is passing the ca and 2048 bit static key(Dummy) where as I don't have such key...Well is there any way to connect with OpenVPN by using .ovpn file? If it is please help me how to use.

keeshux commented 1 year ago

There's a Demo project for what you need.