Attention is currently required from: Arne Schwabe, Frank Lichtenheld, Răzvan 
Cojocaru.

Selva Nair has posted comments on this change by Selva Nair. ( 
https://gerrit.openvpn.net/c/openvpn/+/2069?usp=email )

Change subject: Optionally indicate username in >PASSWORD 'Auth' prompt
......................................................................


Patch Set 2:

(5 comments)

File doc/management-notes.txt:

https://gerrit.openvpn.net/c/openvpn/+/2069/comment/aa70a5ed_3cdc944c?usp=email 
:
PS1, Line 403:   difference. The prompt has an addiitonal word 
"UN:<user-base64>" where
> Typo "additional"
Acknowledged


https://gerrit.openvpn.net/c/openvpn/+/2069/comment/be4cb581_d57baf58?usp=email 
:
PS1, Line 404:   <user-base64> is the base64 encoded form a pre-defined 
username. This
> This sentence is weird. […]
Done


File doc/management-notes.txt:

https://gerrit.openvpn.net/c/openvpn/+/2069/comment/a3a29cb1_a4559d99?usp=email 
:
PS2, Line 402:   These work exactly as Examples 3 and 8, respectively, with the 
following
> Example 2?
Acknowledged


File src/openvpn/manage.c:

https://gerrit.openvpn.net/c/openvpn/+/2069/comment/db2745db_b73fbb2e?usp=email 
:
PS2, Line 3675:             && (man->connection.client_version >= 
MCV_PREFERRED_USERNAME)
> Should this check `type` as well?
We use mode=UP_QUERY_USER_PASS only for username/password prompt with or 
without static-challenge. So okay as is?


https://gerrit.openvpn.net/c/openvpn/+/2069/comment/0c88e5c7_f0d49f8a?usp=email 
:
PS2, Line 3685:                 buf_printf(&alert_msg, " UN:%s", user64);
> Are we sure `alert_msg` can hold everything it's supposed to legitimately 
> contain? I see it's alloca […]
Rigt, this looks like an existing defect made worse by this patch: we allow 
even static-chalenge messages longer than what can fit in 128 bytes.
I can post a  follow up patch to increase it to 256 bytes and log a warning on 
overflow.



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

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iac23d5141a8c29e239d0f2aeea497d3a002e609b
Gerrit-Change-Number: 2069
Gerrit-PatchSet: 2
Gerrit-Owner: Selva Nair <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Răzvan Cojocaru <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Fri, 30 Oct 2026 02:46:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Răzvan Cojocaru <[email protected]>
Comment-In-Reply-To: Frank Lichtenheld <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to