]> git.ipfire.org Git - thirdparty/openvpn.git/commit
get_user_pass_cr: get password from stdin if missing inline
authorAntonio Quartulli <a@unstable.cc>
Wed, 14 Sep 2022 18:59:37 +0000 (20:59 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 9 Oct 2022 07:22:05 +0000 (09:22 +0200)
commit39619b7fab213e9cadaa4a8b50b795ad63d9d91f
treeba2a2c38ca6076ac81a07380aa1910ca011ccbed
parent7d48d31b8226d5e3a5638e2369876381038bf5e2
get_user_pass_cr: get password from stdin if missing inline

Until now, when HTTP proxy user and password were specified inline,
it was assumed that both creds were specified. A missing password would
result in an empty password being stored.

This behaviour is not ideal, as we want to allow the user to store the
username, but let the password be entered via stdin.

This affects both http proxy and authentication inline'd creds.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220914185937.31423-2-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25215.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
src/openvpn/misc.c