From: "Bluca (Code Review)" Date: Sat, 28 Mar 2026 16:32:15 +0000 In-Reply-To: References: Reply-To: luca.boccassi@...277..., arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net Message-ID: <5141de16c063714da3bafaa84eb36c4db840ca6e-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="E6O319JrOTk="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: management: add base64 multi-line input for passwords List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: selvanair , plaisthos , openvpn-devel --E6O319JrOTk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos, selvanair. Bluca has posted comments on this change by Bluca. ( http://gerrit.openvpn.= net/c/openvpn/+/1593?usp=3Demail ) 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=3D= email : PS1, Line 329: commands. > Update MANAGEMENT_VERSION to 6 and document that multi-line password supp= ort requires daemon version [=E2=80=A6] Acknowledged File src/openvpn/manage.c: http://gerrit.openvpn.net/c/openvpn/+/1593/comment/637bc2bb_b3e0712d?usp=3D= 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" ? Acknowledged http://gerrit.openvpn.net/c/openvpn/+/1593/comment/7a862134_202d00db?usp=3D= 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 i= s hard to debug. [=E2=80=A6] Acknowledged http://gerrit.openvpn.net/c/openvpn/+/1593/comment/ba43603c_1204f5ea?usp=3D= email : PS1, Line 1110: secure_memzero(decoded, sizeof(decoded)); > Also needs a buf_clear() somewhere as buf contains sensitive data. Acknowledged http://gerrit.openvpn.net/c/openvpn/+/1593/comment/ef07d82c_af4a08f9?usp=3D= email : PS1, Line 1664: else if (streq(p[0], "password-base64")) > As Gert suggested, we could use "password 'Type'" with no argument and in= terpret it differently base [=E2=80=A6] Acknowledged -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1593?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8ebe21ac958f233 Gerrit-Change-Number: 1593 Gerrit-PatchSet: 2 Gerrit-Owner: Bluca Gerrit-Reviewer: plaisthos Gerrit-Reviewer: selvanair Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: selvanair Gerrit-Comment-Date: Sat, 28 Mar 2026 16:32:15 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: selvanair --E6O319JrOTk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos, selvanair.

View = Change

6 comments:

  • Patchset:

  • File doc/management-notes.txt:

    • Patch Set #1, Line 329: commands.

      = Update MANAGEMENT_VERSION to 6 and document that multi-line password suppor= t requires daemon version [=E2=80=A6]

      Acknowledged

  • File src/openvpn/manage.= c:

    • Pat= ch Set #1, Line 1029: = * @param type The type of password being entered (e.g. "Auth&= quot;, "TLS-Auth", etc)

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

      Patch Set #1, Line 1102: <= code style=3D"font-family:monospace,monospace"> msg(M_CL= IENT, "ERROR: could not base64-decode password");

      This could lead to an unhelpful decode error or silent truncation wh= ich is hard to debug. [=E2=80=A6]

      Acknowledged

    • Patch Set #1, Line 1110: secure_memzero(decoded, sizeof(decoded));<= /code>

      Also needs a buf_clear() somewhere as buf contains se= nsitive data.

      Acknowledged

    • P= atch Set #1, Line 1664: else if (streq(p[0], "password-base64"))

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

      =

      Acknowledged

To view, visit change 1593. To unsubscr= ibe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib99f171fb69d51f2260b44edf8e= be21ac958f233
Gerrit-Change-Number: 1593
Gerrit-PatchSet: 2
Gerrit-Owner: Bluca <luca.boccassi@...1663...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: selvanair <selva.nair@...1665...= 77...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: selvanair <selva.nair@...493...= 277...>
Gerrit-Comment-Date: Sat, 28 Mar 2026 16:32:15= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <selva.nair@= ...277...>
= --E6O319JrOTk=--