Message-ID: Date: Mon, 19 Feb 2024 22:59:31 +0100 MIME-Version: 1.0 Content-Language: en-US References: <20240219192822.2477258-1-selva.nair@...277...> From: Antonio Quartulli In-Reply-To: <20240219192822.2477258-1-selva.nair@...277...> Subject: Re: [Openvpn-devel] [PATCH] Document that auth-user-pass may be inlined List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net Hi, On 19/02/2024 20:28, selva.nair@...277... wrote: > From: Selva Nair > > Commits 7d48d31b, 39619b7f added support for inlining username > and, optionally, password. > Add a description of its usage in the man page. > > Change-Id: I7a1765661f7676eeba8016024080fd1026220ced > Signed-off-by: Selva Nair Acked-by: Antonio Quartulli > --- > Does this have to go through gerrit? > > doc/man-sections/client-options.rst | 11 +++++++++++ > doc/man-sections/inline-files.rst | 2 +- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/doc/man-sections/client-options.rst b/doc/man-sections/client-options.rst > index b92b1a46..b75fe5bd 100644 > --- a/doc/man-sections/client-options.rst > +++ b/doc/man-sections/client-options.rst > @@ -73,6 +73,17 @@ configuration. > If ``up`` is omitted, username/password will be prompted from the > console. > > + This option can also be inlined > + :: > + > + > + username > + [password] > + > + > + where password is optional, and will be prompted from the console if > + missing. > + > The server configuration must specify an ``--auth-user-pass-verify`` > script to verify the username/password provided by the client. > > diff --git a/doc/man-sections/inline-files.rst b/doc/man-sections/inline-files.rst > index f46301e8..ad02c855 100644 > --- a/doc/man-sections/inline-files.rst > +++ b/doc/man-sections/inline-files.rst > @@ -5,7 +5,7 @@ OpenVPN allows including files in the main configuration for the ``--ca``, > ``--cert``, ``--dh``, ``--extra-certs``, ``--key``, ``--pkcs12``, > ``--crl-verify``, ``--http-proxy-user-pass``, ``--tls-auth``, > ``--auth-gen-token-secret``, ``--peer-fingerprint``, ``--tls-crypt``, > -``--tls-crypt-v2`` and ``--verify-hash`` options. > +``--tls-crypt-v2``, ``--verify-hash`` and ``auth-user-pass`` options. > > Each inline file started by the line ```` -- Antonio Quartulli