Re: [Openvpn-devel] [PATCH 1/2] auth-user-pass: add support for inline credentials

2022-09-17 Thread Antonio Quartulli
Hi, On 17/09/2022 14:37, Gert Doering wrote: Hi, On Wed, Sep 14, 2022 at 08:59:36PM +0200, Antonio Quartulli wrote: #ifdef ENABLE_MANAGEMENT -auth_user_pass_setup(c->options.auth_user_pass_file, &c->options.sc_info); +auth_user_pass_setup(c->options.auth_user_pass_file, +

Re: [Openvpn-devel] [PATCH 1/2] auth-user-pass: add support for inline credentials

2022-09-17 Thread Gert Doering
Hi, On Wed, Sep 14, 2022 at 08:59:36PM +0200, Antonio Quartulli wrote: > #ifdef ENABLE_MANAGEMENT > -auth_user_pass_setup(c->options.auth_user_pass_file, > &c->options.sc_info); > +auth_user_pass_setup(c->options.auth_user_pass_file, > + c->options.aut

[Openvpn-devel] [PATCH 1/2] auth-user-pass: add support for inline credentials

2022-09-14 Thread Antonio Quartulli
--auth-user-pass is probably the only option expecting a filename as argument that cannot be inline'd as of today. This patch allows specifying username and password inline in the config file within the tag. This logic was already implemented for --http-proxy-user-pass, therefore it was just abo