You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vopono overrides the OpenVPN auth to a hardcoded value for some reason: --auth-user-pass /home/.../.config/vopono/proton/openvpn/auth.txt precluding the use of auth-user-pass in the config
It keeps changing the permissions of that file and every time it starts up it prints the message:
1712524542.815358 40 WARNING: file '/home/.../.config/vopono/proton/openvpn/auth.txt' is group or others accessible
but it did that itself... if I change the file to 600:
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:
The text was updated successfully, but these errors were encountered: