Request username/password if empty. Override configuration file

settings with environment variables (GP_*). Implement openconnect
command (for sudo/doas cases) and args (for custom vpnc scripts).
Implement execution.
This commit is contained in:
Andris Raugulis
2018-09-03 15:03:16 +03:00
parent 1df901118d
commit 76597ea412
2 changed files with 24 additions and 9 deletions
+4 -1
View File
@@ -6,4 +6,7 @@ password = mypass
totp.okta = ABCDEFGHIJKLMNOP
totp.google = ABCDEFGHIJKLMNOP
gateway = Manual ny1-gw.example.com
bug.nl = 0
openconnect_cmd = sudo openconnect
openconnect_args = # optional arguments to openconnect
execute = 0 # execute openconnect command
bug.nl = 0 # newline work-around for openconnect