Skip to content

Commit

Permalink
Restore 'passx' host option that contains an obfuscated password
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Oct 13, 2023
1 parent 2aa7c17 commit 43367cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,8 @@ def _get_credentials_manager(url, cp):
return creds_mgr
if config['use_keyring'] and GENERIC_KEYRING:
return credentials.get_keyring_credentials_manager(cp)
elif cp.get(url, 'passx') is not None:
return credentials.ObfuscatedConfigFileCredentialsManager(cp, None)
return credentials.PlaintextConfigFileCredentialsManager(cp, None)


Expand Down

0 comments on commit 43367cb

Please sign in to comment.