diff --git a/plugins/redfish/fu-plugin-redfish.c b/plugins/redfish/fu-plugin-redfish.c index 2b6fc8c88..327296a98 100644 --- a/plugins/redfish/fu-plugin-redfish.c +++ b/plugins/redfish/fu-plugin-redfish.c @@ -272,10 +272,11 @@ fu_redfish_plugin_ipmi_create_user(FuPlugin *plugin, GError **error) fu_redfish_backend_set_password(data->backend, password_new); /* success */ - if (!fu_plugin_set_config_value(plugin, "Username", username_fwupd, error)) + if (!fu_plugin_set_secure_config_value(plugin, "Username", username_fwupd, error)) return FALSE; - if (!fu_plugin_set_config_value(plugin, "Password", password_new, error)) + if (!fu_plugin_set_secure_config_value(plugin, "Password", password_new, error)) return FALSE; + return TRUE; } #endif diff --git a/plugins/redfish/meson.build b/plugins/redfish/meson.build index 713583fcc..e4e4c023e 100644 --- a/plugins/redfish/meson.build +++ b/plugins/redfish/meson.build @@ -54,7 +54,6 @@ shared_module('fu_plugin_redfish', install_data(['redfish.conf'], install_dir: join_paths(sysconfdir, 'fwupd'), - install_mode: 'rw-r-----', ) if get_option('tests')