Open Morriz opened 6 months ago
Hi @kota65535, I am not sure auth-user-pass is working correctly. I have the following set:
auth-user-pass
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:
.ovpn
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.
askpass pass.txt
I created PR #65
Hi @kota65535, I am not sure
auth-user-pass
is working correctly. I have the following set:which leads to the following transformation in the
.ovpn
file: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 addaskpass pass.txt
with the password in it, then all is good.