Open ciphersimian opened 4 months ago
Thanks,
was to avoid having to enter the password every time, across all OpenVPN providers. The other issue is that we can't pass the stdin and read back the stdout directly, since we ultimately want it to run in the background. So we'd need to read OpenVPN's stdout to see if it asks for the password and communicate that back - I'm not sure if it's really worth the extra complexity.
is caused by https://github.com/jamesmcm/vopono/blob/master/vopono_core/src/util/mod.rs#L140-L163 - this was originally added to ensure the configs are readable, but since the way vopono is invoked has changed with the sudo crate, etc. now I don't think this should even be necessary anymore. But could also be fixed to not make the auth files group readable.
Do you have a use case where 1. is important? As in my experience they are randomly generated credentials from the providers anyway.
Two problems:
--auth-user-pass /home/.../.config/vopono/proton/openvpn/auth.txt
precluding the use of auth-user-pass in the configbut it did that itself... if I change the file to 600:
then run vopono...
it keeps changing it back to: