Open s-nt-s opened 7 months ago
I've never used a private key with a passphrase, but I think we cannot use them because GitHub Action runner does not have TTY and we have no chance to type the passphrase. cf. https://github.com/actions/runner/issues/241
You can append in client.ovpn
a line like askpass pass.txt
where pass.txt
is a file that contains the password.
I see the action makes this modification:
auth-user-pass up.txt
does that mean it now is supported @kota65535 ?
I still can't use it and I DO use a passphrase for my key. Let me try without...
I created a new issue for this: #63 Feel free to mark it as dupe if you think it is...
Same issue here such as @s-nt-s and same `client.ovpn" file.
You can append in
client.ovpn
a line likeaskpass pass.txt
wherepass.txt
is a file that contains the password.
This works for me too, but it's not really security saving the password in text plain.
@anxo-outeiral that is not an issue when it is injected in a container in a GitHub pipeline just for that run, where nobody can get to it...
Anyway, I forked this repo and made it accept all the configuration needed imo: https://github.com/Morriz/github-openvpn-connect-action
@anxo-outeiral that is not an issue when it is injected in a container in a GitHub pipeline just for that run, where nobody can get to it...
Anyway, I forked this repo and made it accept all the configuration needed imo: https://github.com/Morriz/github-openvpn-connect-action
Thanks @Morriz . I'll check it!
Hello
This is my
config.ovpn
:And it is how I manually connect to it:
But when I use
kota65535/github-openvpn-connect-action
in order to connect from a github action it always fail: