From 7c826dc605a1286130e104e630f7fff8c26f654c Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Fri, 17 Mar 2023 14:10:55 +0100 Subject: [PATCH] conf: Fix a cut&paste error in setting 'disable_hdrmd5_check' config option This set credentials_mgr_class to 'False', which caused TransientCredentialsManager to ask for a password even when doing ssh auth. --- osc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/conf.py b/osc/conf.py index f08f61d3..4f948516 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -890,7 +890,7 @@ def get_config(override_conffile=None, api_host_options[apiurl]["disable_hdrmd5_check"] = config["disable_hdrmd5_check"] if cp.has_option(url, "disable_hdrmd5_check"): - api_host_options[apiurl][key] = cp.getboolean(url, "disable_hdrmd5_check") + api_host_options[apiurl]["disable_hdrmd5_check"] = cp.getboolean(url, "disable_hdrmd5_check") # add the auth data we collected to the config dict config['api_host_options'] = api_host_options