to.auth_user_pass_file_inline=options->auth_user_pass_file_inline; to.auth_token_generate=options->auth_token_generate; to.auth_token_lifetime=options->auth_token_lifetime; to.auth_token_call_auth=options->auth_token_call_auth; Expand Down ...
Document that auth-user-pass may be inlined Commits 7d48d31, 39619b7 added support for inlining username and, optionally, password. Add a description of its usage in the man page. Github: resolves #370 Change-Id: I7a1765661f7676eeba8016024080fd1026220ced Signed-off-by: Selva Nair <selva...
https://github.com/OpenVPN/openvpn/blob/master/doc/man-sections/inline-files.rst + --auth-user-pass OpenVPN allows including files in the main configuration for the --ca, --cert, --dh, --extra-certs, --key, --pkcs12, --secret, --crl-verify, --auth-user-pass, --http-proxy-...
If you also want to emulate "auth-token expiry", you will have to cache some state info (say, CID and timestamp), but nothing sensitive needs to be saved to disk. A quick hack would be to add an inlined, bogus, username-password in the client config and ignore it in your authenti...