Suse SCC not working with proxy authentication

Problem: When using http proxy with authentication (user+pass) scc uses encrypted password.

Expected outcome:

Foreman and Proxy versions: 18

Foreman and Proxy plugin versions: rubygem-foreman_scc_manager 5.3.0 1.fm3_18.el9

Distribution and version: RHEL 9.8

Other relevant data:

From file:
head /usr/share/gems/gems/foreman_scc_manager-5.3.0/app/lib/scc_manager.rb
module SccManager

def self.get_scc_data(base_url, rest_url, login, password)
if (proxy_config = ::HttpProxy.default_global_content_proxy)
uri = URI(proxy_config[:url])
uri.user = proxy_config[:username]
uri.password = proxy_config[:password] if uri.user.present?

proxy_config[:password] is in a form encrypted-XYZ instread of actuall password. It cases http proxy to decline authentication and reqest is not handled properly. When I provide plaintext password instead of proxy_config[:password], scc is working fine.

can someone adress that?

Hi @margre ,

thanks for reporting. Can you please open a github issue here: Issues · ATIX-AG/foreman_scc_manager · GitHub

Hi, I have just created Http proxy with authentication not working for foreman scc · Issue #182 · ATIX-AG/foreman_scc_manager · GitHub ,I know this is an open source with no SLA, but is someone going to look after this? This is a major stopper in our environment.

We will look into it, eventually. If it is blocking you right now, you could monkey patch that in your environment.