mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 16:56:15 +01:00
Restore 'passx' host option that contains an obfuscated password
This commit is contained in:
parent
2aa7c17331
commit
bacac66fd3
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user