Skip to contentSkip to conversation

Change in openvpn[master]: management: add password-base64 multi-line input for passwords

Openvpn-devel Superseded Bluca (Code Review) 2 participants 39 messages Mar 25 – Apr 6 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1774477871000.Ib99f171fb69d51f2260b44edf8ebe21ac958f233@...2715...

#1 lore raw

Attention is currently required from: plaisthos.

Hello plaisthos,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to review the following change.

Change subject: management: add password-base64 multi-line input for passwords
......................................................................

management: add password-base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client sends a 'password-base64 <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 88 insertions(+), 0 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/1

doc/management-notes.txt +15 -0
index 41e2a91..f3373d4 100644
@@ -313,6 +313,21 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the password-base64 command with multi-line base64 format
+  instead:
+
+    password-base64 "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +72 -0

102 lines not on this page · raw message

src/openvpn/manage.h +1 -0
index 38f437f..797021d 100644
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 1
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add password-base64 multi-line input for passwords
......................................................................

Patch Set 1:

(5 comments)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/ec11ebed_489629cf?usp=email :
PS1, Line 329: commands.
Update MANAGEMENT_VERSION to 6 and document that multi-line password support requires daemon version >= 6.

File src/openvpn/manage.c:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/0fc3a710_af3796ab?usp=email :
PS1, Line 1029: * @param type The type of password being entered (e.g. "Auth", "TLS-Auth", etc)
Nitpick: "TLS-Auth" is not a valid type -- "Private Key" ?

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/ce75309c_cca007a8?usp=email :
PS1, Line 1102: msg(M_CLIENT, "ERROR: could not base64-decode password");
This could lead to an unhelpful decode error or silent truncation which is hard to debug.

Instead, use a larger length like OPENVPN_BASE64_LENGTH(USER_PASS_LEN) + 1024 that will capture some of the excess data (if any), and then check OPENVPN_BASE64_DECODE_LENGTH(BLEN(buf)) < USER_PASS_LEN. On failure, return an ERROR message showing password is too long.

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/13426238_dff01d9f?usp=email :
PS1, Line 1110: secure_memzero(decoded, sizeof(decoded));
Also needs a buf_clear() somewhere as buf contains sensitive data.

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/1de6799c_71c005a6?usp=email :
PS1, Line 1664: else if (streq(p[0], "password-base64"))
As Gert suggested, we could use "password 'Type'" with no argument and interpret it differently based on the management-client-version (say MCV_MULTILINE_PASSWORD). Better than introducing a different keyword?

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 1
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Comment-Date: Sat, 28 Mar 2026 15:49:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#3 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

Hello plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#2).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 104 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/2

doc/management-notes.txt +16 -0
index 41e2a91..ac7c608 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.6+ management version > 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +86 -2

125 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 2
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>

#4 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 2:

(6 comments)

Patchset:

PS2:
Applied as suggested and re-tested, thank you

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/b759445b_0d2c0f53?usp=email :
PS1, Line 329: commands.

Quoted 1 line

Update MANAGEMENT_VERSION to 6 and document that multi-line password support requires daemon version […]

Acknowledged

File src/openvpn/manage.c:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/637bc2bb_b3e0712d?usp=email :
PS1, Line 1029: * @param type The type of password being entered (e.g. "Auth", "TLS-Auth", etc)

Quoted 1 line

Nitpick: "TLS-Auth" is not a valid type -- "Private Key" ?

Acknowledged

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/7a862134_202d00db?usp=email :
PS1, Line 1102: msg(M_CLIENT, "ERROR: could not base64-decode password");

Quoted 1 line

This could lead to an unhelpful decode error or silent truncation which is hard to debug. […]

Acknowledged

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/ba43603c_1204f5ea?usp=email :
PS1, Line 1110: secure_memzero(decoded, sizeof(decoded));

Quoted 1 line

Also needs a buf_clear() somewhere as buf contains sensitive data.

Acknowledged

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/ef07d82c_af4a08f9?usp=email :
PS1, Line 1664: else if (streq(p[0], "password-base64"))

Quoted 1 line

As Gert suggested, we could use "password 'Type'" with no argument and interpret it differently base […]

Acknowledged

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 2
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sat, 28 Mar 2026 16:32:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <[email protected]...>

#5 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Hello plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#3).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 105 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/3

doc/management-notes.txt +16 -0
index 41e2a91..ac7c608 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.6+ management version > 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 3
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>

#6 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 3:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/e6bf8340_48d90d74?usp=email :
PS3, Line 330: commands. Requires OpenVPN 2.6+ management version > 6.
2.7.x+ or 2.8+ instead of 2.6+ depending on where this lands. Could be fixed at merge time. Also, "management version >= 6", right?

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 3
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 01:00:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#7 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

Hello plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#4).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 105 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/4

doc/management-notes.txt +16 -0
index 41e2a91..e1ee4bd 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.7+ management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 4
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>

#8 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

Hello plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#5).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 105 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/5

doc/management-notes.txt +16 -0
index 41e2a91..73a6ba9 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.7.1+ management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 5
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>

#9 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 3:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/d87593c5_06589fe7?usp=email :
PS3, Line 330: commands. Requires OpenVPN 2.6+ management version > 6.

Quoted 1 line

2.7.x+ or 2.8+ instead of 2.6+ depending on where this lands. Could be fixed at merge time. […]

I'm being optimistic, so pushed with 2.7.1+ :-)

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 3
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 01:03:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <[email protected]...>

#10 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 5:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/7693b0c0_dad5e836?usp=email :
PS3, Line 330: commands. Requires OpenVPN 2.6+ management version > 6.

Quoted 1 line

I'm being optimistic, so pushed with 2.7. […]

Acknowledged

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 5
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 01:03:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bluca <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#11 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 5:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/22eb0ca7_548a804f?usp=email :
PS3, Line 330: commands. Requires OpenVPN 2.6+ management version > 6.

Quoted 1 line

Acknowledged

I could also drop the source version and leave only the management version, if that makes it easier - let me know

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 5
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 01:05:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bluca <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#12 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Hello plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#6).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 105 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/6

doc/management-notes.txt +16 -0
index 41e2a91..a527e5e 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.8+ management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 6
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>

#13 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 5:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/05be92b2_36d8ef0c?usp=email :
PS3, Line 330: commands. Requires OpenVPN 2.6+ management version > 6.

Quoted 1 line

I could also drop the source version and leave only the management version, if that makes it easier […]

actually noticed the 2.7.x are on a separate stable branch, so I've changed this to "OpenVPN 2.8+" now

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 5
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 14:38:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bluca <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#14 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 6: Code-Review+2

(1 comment)

Patchset:

PS6:
Tested using a patched OpenVPN-GUI. All look good.

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 6
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 21:42:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

#15 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 6:

(1 comment)

Patchset:

PS6:
Can someone with access please enable buildbot runs on this?

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 6
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 21:48:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#16 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca.

plaisthos has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 6:

(1 comment)

Patchset:

PS6:

Quoted 1 line

Can someone with access please enable buildbot runs on this?

I don't have the rights to do that but builds are triggered depending on who uploads a patch. If I or you are pushing this patch again as patchset 7 it will build.

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 6
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 21:52:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <[email protected]...>

#17 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca.

selvanair has uploaded a new patch set (#7) to the change originally created by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

The change is no longer submittable: checks~ChecksSubmitRule is unsatisfied now.

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 105 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/7

doc/management-notes.txt +16 -0
index 41e2a91..a527e5e 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.8+ management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 7
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Bluca <[email protected]...>

#18 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 7: Code-Review+2

(1 comment)

Patchset:

PS6:

Quoted 1 line

I don't have the rights to do that but builds are triggered depending on who uploads a patch. […]

Done

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 7
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 22:27:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: plaisthos <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#19 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 7:

(1 comment)

Patchset:

PS6:

Quoted 1 line

Done

One test failed (222 succeeded) - is it a known issue? The linked page with the result doesn't load for me:

ubuntu-2510-factory--with-crypto-librarymbedtls

http://buildbot.community.aws.openvpn.in:8010/#/builders/455/builds/1027

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 7
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 22:55:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#20 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 7:

(1 comment)

Patchset:

PS6:

Quoted 1 line

One test failed (222 succeeded) - is it a known issue? The linked page with the result doesn't load […]

nvm, it passed on rerun, all green now

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 7
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Sun, 29 Mar 2026 23:31:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <[email protected]...>
Comment-In-Reply-To: Bluca <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#21 lore raw

PATCH v7 1/1 management: add base64 multi-line input for passwords

In reply to a message not in the archive

From: Luca Boccassi <[email protected]...>

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 4 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
This mail reflects revision 7 of this Change.

Acked-by according to Gerrit (reflected above):
Selva Nair <[email protected]...>

doc/management-notes.txt +16 -0
index 41e2a91..a527e5e 100644
@@ -313,6 +313,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version > 3 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN 2.8+ management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index 38f437f..c446913 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -296,6 +296,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;
#22 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, plaisthos, selvanair.

cron2 has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 7: Code-Review-1

(1 comment)

Patchset:

PS7:
close...

MCV version *4* is MCV_USERNAME_ONLY (which was in gerrit, but not merged before today).

Various bits here contradict each other - the docs speak about "version 3", the commit message mentions "MCV 4" and "version 6", so this needs cleaning up towards "5". @[email protected]... I think you're best qualified to verify that all these numbers are correct? I don't feel I am.

Also I need clear guidance if this is going to 2.7.x or 2.8 now - doc/management-notes.txt speaks of "2.8" now (this is relevant shall we ever want to add a new feature to the management version in 2.7 - since this is a simplistic version compare, if we bump the version number in pre-2.8, we can't have new management version-dependent features in 2.7).

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 7
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 12:52:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

#23 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos, selvanair.

Hello cron2, plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#8).

The following approvals got outdated and were removed:
Code-Review+2 by selvanair, Code-Review-1 by cron2

The change is no longer submittable: Code-Review and checks~ChecksSubmitRule are unsatisfied now.

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 5 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 105 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/8

doc/management-notes.txt +16 -0
index 7da4aaf..c48c76e 100644
@@ -326,6 +326,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version >= 5 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index e5ad23f..27d3b60 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -297,6 +297,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 8
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>

#24 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 8:

(1 comment)

Patchset:

PS7:

Quoted 1 line

close... […]

Ok, bumped MCV to 5.

Also updated the docs/comments/etc to consistently refer to version >= 5. It was saying "> 3" in a couple of place to indicate "4 or greater" which yeah it was a bit confusing. Should be clearer now.

Also I've dropped the openvpn source version from the doc. It now only refers to the management protocol version and the management client version. In the end that's what matters rather than the source version, which might change and so on.

Please check again, thanks!

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 8
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 13:01:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <[email protected]...>

#25 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 8:

(2 comments)

Patchset:

PS8:
To me this looks safe for 2.7 as the changes are very isolated. As we can already set long passwords via stdin/console, one could argue this is not even a new feature. That said, limitations on password length that could fit in the TLS buffer still stands, so unclear of its immediate utility.

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/d8383e4f_fc3eda84?usp=email :
PS8, Line 531: >PASSWORD:Need 'Auth' username -- version 4 or greater
Please add a line here to keep track of client versions. Usually client version is updated only when new server->client commands are added -- this one is a special case. So something like:
multiline password from client -- version 5 or greater ??

Signature · 20 lines
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 8
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 14:25:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
#26 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos.

Hello cron2, plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#9).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 5 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 106 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/9

doc/management-notes.txt +17 -0
index 7da4aaf..4cb3815 100644
@@ -326,6 +326,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version >= 5 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
@@ -513,6 +529,7 @@
     >PK_SIGN:[base64]           -- version 2 or greater
     >PK_SIGN:[base64],[alg]     -- version 3 or greater
     >PASSWORD:Need 'Auth' username -- version 4 or greater
+    >PASSWORD:multiline password from client -- version 5 or greater
 
 COMMAND -- auth-retry
 ---------------------
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index e5ad23f..27d3b60 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -297,6 +297,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 9
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>

#27 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 8:

(2 comments)

Patchset:

PS8:

Quoted 1 line

That said, limitations on password length that could fit in the TLS buffer still stands, so unclear of its immediate utility.

I have a WIP branch with another proposal for the TLS buffer issue, which will hopefully be more acceptable. But it is technically unrelated to this management protocol change, so I'm waiting for this to be approved and merged first. Hope that's ok!

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/71172fcd_66764247?usp=email :
PS8, Line 531: >PASSWORD:Need 'Auth' username -- version 4 or greater

Quoted 1 line

Please add a line here to keep track of client versions. […]

Done

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 8
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 14:31:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <[email protected]...>

#28 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 9:

(1 comment)

Patchset:

PS6:

Quoted 1 line

nvm, it passed on rerun, all green now

Could you please push again, so that the CI runs again with the latest revision? Thanks!

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 9
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 14:31:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <[email protected]...>
Comment-In-Reply-To: Bluca <[email protected]...>
Comment-In-Reply-To: selvanair <[email protected]...>

#29 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 9:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/0c5ab2d1_0627474d?usp=email :
PS9, Line 532: >PASSWORD:multiline password from client -- version 5 or greater
This is confusing as its not >PASSWORD: command from management server that is extended, but password 'Type' reply from client.

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 9
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 15:05:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#30 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos.

Hello cron2, plaisthos, selvanair,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email

to look at the new patch set (#10).

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 5 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 106 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/10

doc/management-notes.txt +17 -0
index 7da4aaf..1126468 100644
@@ -326,6 +326,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version >= 5 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
@@ -513,6 +529,7 @@
     >PK_SIGN:[base64]           -- version 2 or greater
     >PK_SIGN:[base64],[alg]     -- version 3 or greater
     >PASSWORD:Need 'Auth' username -- version 4 or greater
+    multiline password from client -- version 5 or greater
 
 COMMAND -- auth-retry
 ---------------------
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index e5ad23f..27d3b60 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -297,6 +297,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 10
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>

#31 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 9:

(1 comment)

File doc/management-notes.txt:

http://gerrit.openvpn.net/c/openvpn/+/1593/comment/bdf7c8e2_32c89363?usp=email :
PS9, Line 532: >PASSWORD:multiline password from client -- version 5 or greater

Quoted 1 line

This is confusing as its not >PASSWORD: command from management server that is extended, but passwor […]

Done

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 9
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 15:06:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <[email protected]...>

#32 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 11:

(1 comment)

Patchset:

PS11:
thanks, CI all gree again

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 11
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 16:56:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#33 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos.

selvanair has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 11: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 11
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 17:58:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#34 lore raw

PATCH v11 1/1 management: add base64 multi-line input for passwords

In reply to a message not in the archive

From: Luca Boccassi <[email protected]...>

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 5 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
This mail reflects revision 11 of this Change.

Acked-by according to Gerrit (reflected above):
Selva Nair <[email protected]...>

doc/management-notes.txt +17 -0
index 7da4aaf..1126468 100644
@@ -326,6 +326,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version >= 5 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
@@ -513,6 +529,7 @@
     >PK_SIGN:[base64]           -- version 2 or greater
     >PK_SIGN:[base64],[alg]     -- version 3 or greater
     >PASSWORD:Need 'Auth' username -- version 4 or greater
+    multiline password from client -- version 5 or greater
 
 COMMAND -- auth-retry
 ---------------------
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index e5ad23f..27d3b60 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -297,6 +297,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;
#35 lore raw

[Openvpn-devel] [PATCH applied] Re: management: add base64 multi-line input for passwords

I'm glad Selva reviewed and ACKed this - my understanding of the management interface code is not as thorough.

I tested the resulting code on the client/server testbeds (which are not actually using the management interface yet, and even if they were, they would not use this new interface... - but it confirms that nothing else was broken). Glancing at the code also does not find anything I'd consider problematic anymore. In it goes...

Your patch has been applied to the master and release/2.7 branch (long-term compat, distros moving very slowly, eventual NM integration).

commit 49ff16dd54c5656eedf26194a9879ad90548a7a5 (master) commit d9b48759fe9e5a1fd216d88377a534ba1f5232cf (release/2.7)

Author: Luca Boccassi
Date:   Mon Mar 30 20:08:54 2026 +0200
     management: add base64 multi-line input for passwords

     Signed-off-by: Luca Boccassi <[email protected]...>
     Acked-by: Selva Nair <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg36360.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#36 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos, selvanair.

Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 11:

(1 comment)

Patchset:

PS11:
This has been submitted to the ML as https://sourceforge.net/p/openvpn/mailman/message/59315742/ - anything else I need to do to move this forward? Thanks!

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 11
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Thu, 02 Apr 2026 12:08:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#37 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: Bluca, cron2, plaisthos, selvanair.

flichtenheld has posted comments on this change by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

Patch Set 11:

(1 comment)

Patchset:

PS11:

Quoted 1 line

This has been submitted to the ML as https://sourceforge. […]

No, at this point you don't need to do anything. It is now in the queue of the patches to be merged.

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 11
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: Bluca <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Thu, 02 Apr 2026 12:13:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bluca <[email protected]...>

#38 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: selvanair.

cron2 has uploaded a new patch set (#12) to the change originally created by Bluca. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by selvanair

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 5 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36360.html

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 106 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/93/1593/12

doc/management-notes.txt +17 -0
index 7da4aaf..1126468 100644
@@ -326,6 +326,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version >= 5 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
@@ -513,6 +529,7 @@
     >PK_SIGN:[base64]           -- version 2 or greater
     >PK_SIGN:[base64],[alg]     -- version 3 or greater
     >PASSWORD:Need 'Auth' username -- version 4 or greater
+    multiline password from client -- version 5 or greater
 
 COMMAND -- auth-retry
 ---------------------
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index e5ad23f..27d3b60 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -297,6 +297,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 12
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: selvanair <[email protected]...>

#39 lore raw

[Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords

In reply to a message not in the archive

Attention is currently required from: selvanair.

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email )

Change subject: management: add base64 multi-line input for passwords
......................................................................

management: add base64 multi-line input for passwords

Allow management clients to send long passwords via the usual multi-line base64 encoded protocol.

A client declares MCV 5 support and sends a 'password <type>' line, followed by as many lines (each up to 1024 bytes) as needed, in base64 encoded format, terminated by 'END'.

This is useful when a password is a JIT-generated use-once token.

Declare management version 6 for this feature.

Change-Id Ib99f171fb69d51f2260b44edf8ebe21ac958f233

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1593
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36360.html

---
M doc/management-notes.txt
M src/openvpn/manage.c
M src/openvpn/manage.h

3 files changed, 106 insertions(+), 3 deletions(-)
doc/management-notes.txt +17 -0
index 7da4aaf..1126468 100644
@@ -326,6 +326,22 @@
   The escaping rules are the same as for the config file.
   See the "Command Parsing" section below for more info.
 
+  If the password is too long to fit in a single command line
+  (longer than 256 bytes), the management interface client should
+  use the multi-line base64 format instead.  This requires that
+  the management client has announced version >= 5 via the
+  "version" command:
+
+    password "Auth"
+    [BASE64_PASSWORD_LINE]
+    ...
+    END
+
+  In this format, the password is base64-encoded and split across
+  multiple lines, followed by END.  Each line can be at most 1024
+  bytes.  This is the same format used by pk-sig and certificate
+  commands. Requires OpenVPN management version >= 6.
+
   The PASSWORD real-time message type can also be used to
   indicate password or other types of authentication failure:
 
@@ -513,6 +529,7 @@
     >PK_SIGN:[base64]           -- version 2 or greater
     >PK_SIGN:[base64],[alg]     -- version 3 or greater
     >PASSWORD:Need 'Auth' username -- version 4 or greater
+    multiline password from client -- version 5 or greater
 
 COMMAND -- auth-retry
 ---------------------
src/openvpn/manage.c +87 -2

126 lines not on this page · raw message

src/openvpn/manage.h +2 -1
index e5ad23f..27d3b60 100644
@@ -50,7 +50,7 @@
 #include "socket_util.h"
 #include "mroute.h"
 
-#define MANAGEMENT_VERSION                  5
+#define MANAGEMENT_VERSION                  6
 #define MANAGEMENT_N_PASSWORD_RETRIES       3
 #define MANAGEMENT_LOG_HISTORY_INITIAL_SIZE 100
 #define MANAGEMENT_ECHO_BUFFER_SIZE         100
@@ -297,6 +297,7 @@
 #define IEC_RSA_SIGN    3
 #define IEC_CERTIFICATE 4
 #define IEC_PK_SIGN     5
+#define IEC_PASSWORD    6
     int in_extra_cmd;
     struct buffer_list *in_extra;
     unsigned long in_extra_cid;

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 12
Gerrit-Owner: Bluca <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: selvanair <[email protected]...>
Gerrit-CC: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: selvanair <[email protected]...>