Skip to content

Commit

Permalink
Merge pull request #1434 from dmach/restore-passx
Browse files Browse the repository at this point in the history
Restore 'passx' host option that contains an obfuscated password
  • Loading branch information
dmach authored Oct 13, 2023
2 parents 0c2cafe + bacac66 commit dfbf8d8
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", fallback=None) is not None:
return credentials.ObfuscatedConfigFileCredentialsManager(cp, None)
return credentials.PlaintextConfigFileCredentialsManager(cp, None)


Expand Down

0 comments on commit dfbf8d8

Please sign in to comment.