codespaces-contrib / codespaces-openvpn

MIT License
41 stars 47 forks source link

Multi-line OPENVPN_CONFIG env var might cause problems #2

Open davetapley opened 2 years ago

davetapley commented 2 years ago

More info here, but wanted to link in this repo in case it trips up others.

I found the OPENVPN_CONFIG env var wasn't being set, presumably because it spans multiple lines.

It appears that you can safely remove all the newlines from vpnconfig.ovpn and openvpn --config can still read it, so perhaps recommend doing that (and surrounding with "s) before putting in a secret?