Document that auth-user-pass may be inlined
PATCH 1/1 Document that auth-user-pass may be inlined
From: Selva Nair <[email protected]...>
Commits 7d48d31b, 39619b7f added support for inlining username and, optionally, password.
Add a description of its usage in the man page.
---
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(-)
doc/man-sections/client-options.rst +11 -0
@@ -73,6 +73,17 @@ configuration. If ``up`` is omitted, username/password will be prompted from the console. + This option can also be inlined + :: + + <auth-user-pass> + username + [password] + </auth-user-pass> + + 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.
doc/man-sections/inline-files.rst +1 -1
@@ -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 ``<option>`` and ended by the line ``</option>``
Signature · 1 line
2.34.1
Hi,
Quoted 8 lines · On 19/02/2024 20:28, [email protected]... wrote:
From: Selva Nair <[email protected]...>
Commits
7d48d31b,39619b7fadded support for inlining username and, optionally, password.
Add a description of its usage in the man page.Change-Id I7a1765661f7676eeba8016024080fd1026220cedSigned-off-by Selva Nair <[email protected]...>
Quoted 42 lines
---
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(-)doc/man-sections/client-options.rst +11
-0@@ -73,6 +73,17 @@ configuration. If ``up`` is omitted, username/password will be prompted from the console. + This option can also be inlined + :: + + <auth-user-pass> + username + [password] + </auth-user-pass> + + 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.doc/man-sections/inline-files.rst +1
-1@@ -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 ``<option>`` and ended by the line ``</option>``
Signature · 1 line
Antonio Quartulli
Hi,
Quoted 1 line · On Mon, Feb 19, 2024 at 02:28:22PM -0500, [email protected]... wrote:
Does this have to go through gerrit?
As of today, there's two ways to inject patches / patch sets for "openvpn main" - the openvpn-devel@ list, "as always", and gerrit.
Gerrit is nice for larger and more complex patchsets, because review can happen in pieces (= you can review the first half today, comment on the web, it will remember which parts you have seen already, and do the rest tomorrow), and also gerrit can do stuff like "so what changed from v4 to v5?" meta-diffs.
For smaller patches "single file, trivially correct", openvpn-devel@ is less work for me :-)
So - what is "better" depends.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Quoted 5 lines · On Mon, Feb 19, 2024 at 02:28:22PM -0500, [email protected]... wrote:
From: Selva Nair <[email protected]...>
Commits
7d48d31b,39619b7fadded support for inlining username and, optionally, password.
Add a description of its usage in the man page.
Please reference Github #370 which is the same topic.
Quoted 36 lines
Change-Id I7a1765661f7676eeba8016024080fd1026220cedSigned-off-by Selva Nair <[email protected]...>---
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(-)doc/man-sections/client-options.rst +11
-0@@ -73,6 +73,17 @@ configuration. If ``up`` is omitted, username/password will be prompted from the console. + This option can also be inlined + :: + + <auth-user-pass> + username + [password] + </auth-user-pass> + + 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.doc/man-sections/inline-files.rst +0
-0
doc/man-sections/inline-files.rst OpenVPN allows including files in the main configuration for the ``--ca``, · line 8
Quoted 5 lines
doc/man-sections/inline-files.rst +1
-1@@ -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.
--auth-user-pass for consistency.
Regards,
Signature · 1 line
Frank Lichtenheld
PATCH v2 1/1 Document that auth-user-pass may be inlined
In reply to [email protected]...From: Selva Nair <[email protected]...>
Commits 7d48d31b, 39619b7f added support for inlining username and, optionally, password.
Add a description of its usage in the man page.
Github: resolves OpenVPN/openvpn#370
---
v2: Add '--' prefix when referring to auth-user-pass and mention related github issue
doc/man-sections/client-options.rst | 11 +++++++++++ doc/man-sections/inline-files.rst | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-)
doc/man-sections/client-options.rst +11 -0
@@ -73,6 +73,17 @@ configuration. If ``up`` is omitted, username/password will be prompted from the console. + This option can also be inlined + :: + + <auth-user-pass> + username + [password] + </auth-user-pass> + + 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.
doc/man-sections/inline-files.rst +1 -1
@@ -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 ``<option>`` and ended by the line ``</option>``
Signature · 1 line
2.34.1
Hi,
Quoted 10 lines · On 20/02/2024 18:52, [email protected]... wrote:
From: Selva Nair <[email protected]...>
Commits
7d48d31b,39619b7fadded support for inlining username and, optionally, password.
Add a description of its usage in the man page.Github: resolves OpenVPN/openvpn#370
Change-Id I7a1765661f7676eeba8016024080fd1026220cedSigned-off-by Selva Nair <[email protected]...>
Quoted 42 lines
---
v2: Add '--' prefix when referring to auth-user-pass and mention related github issuedoc/man-sections/client-options.rst | 11 +++++++++++ doc/man-sections/inline-files.rst | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-)doc/man-sections/client-options.rst +11
-0@@ -73,6 +73,17 @@ configuration. If ``up`` is omitted, username/password will be prompted from the console. + This option can also be inlined + :: + + <auth-user-pass> + username + [password] + </auth-user-pass> + + 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.doc/man-sections/inline-files.rst +1
-1@@ -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 ``<option>`` and ended by the line ``</option>``
Signature · 1 line
Antonio Quartulli
Thanks for that. Documentation improvements are always welcome :-)
Your patch has been applied to the master and releae/2.6 branch (docs).
commit fad2d7017eee366317bb18b34416e7788cbe2372 (master) commit 2aac80e4b13d442139f62ed2b35756d1cda44c39 (release/2.6)
Author: Selva Nair Date: Tue Feb 20 12:52:15 2024 -0500
Document that auth-user-pass may be inlined
Signed-off-by: Selva Nair <[email protected]...>
Acked-by: Antonio Quartulli <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg28284.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering