github-openvpn-connect-action
github-openvpn-connect-action copied to clipboard
auth-user-pass not working
Hi @kota65535, I am not sure auth-user-pass is working correctly. I have the following set:
with:
config_file: .github/workflows/client.ovpn
username: ${{ secrets.OVPN_USERNAME }}
password: ${{ secrets.OVPN_PASSWORD }}
client_key: ${{ secrets.OVPN_CLIENT_KEY }}
tls_auth_key: ${{ secrets.OVPN_TLS_AUTH_KEY }}
which leads to the following transformation in the .ovpn file:
auth-user-pass up.txt
key client.key
tls-auth ta.key 1
which does not take into account the password, as it is still asking for in on TTY. If I remove the auth-user-pass part and add askpass pass.txt with the password in it, then all is good.
I created PR #65