]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Inlined credentials: read missing password from management interface
authorSelva Nair <selva.nair@gmail.com>
Tue, 14 Apr 2026 05:58:54 +0000 (07:58 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 19 Apr 2026 14:07:10 +0000 (16:07 +0200)
commitb450414d10309575c28ce00f175e8374e0e99480
treecb37bf9e3c1da241c7f12b74aa48064edbc0fca3
parent20b4ecd934d5632895e330af534f105b621e4124
Inlined credentials: read missing password from management interface

When commit 39619b7fab added support for inlining username only,
fallback for password was from console. This is not ideal when
graphical UI is in use as there is no console. Instead, query the
management interface when possible.

This patch just extends a similar fix when username is read from
a file and password is missing. As before, any username read
from file or inlined is not peserved as we currently have no way
of locking the username in the management interface prompt.

Change-Id: Ieeb2f980330d485739dbf3d722f107c1dbf704fc
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1599
Message-Id: <20260414055900.17132-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg36608.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 287acce1acaad25a92f2112e967b9686418ef72a)
src/openvpn/misc.c