1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 07:06:13 +01:00

Reword names and decriptions of credentials managers

This commit is contained in:
Daniel Mach 2022-03-24 11:22:21 +01:00
parent 8e0e0a9ca8
commit d3f4b7a930

View File

@ -81,10 +81,10 @@ class PlaintextConfigFileCredentialsManager(AbstractCredentialsManager):
class PlaintextConfigFileDescriptor(AbstractCredentialsManagerDescriptor): class PlaintextConfigFileDescriptor(AbstractCredentialsManagerDescriptor):
def name(self): def name(self):
return 'Config file credentials manager' return 'Config'
def description(self): def description(self):
return 'Store the credentials in the config file (plain text)' return 'Store the password in plain text in the osc config file [insecure, persistent]'
def create(self, cp): def create(self, cp):
return PlaintextConfigFileCredentialsManager(cp, None) return PlaintextConfigFileCredentialsManager(cp, None)
@ -116,10 +116,10 @@ class ObfuscatedConfigFileCredentialsManager(
class ObfuscatedConfigFileDescriptor(AbstractCredentialsManagerDescriptor): class ObfuscatedConfigFileDescriptor(AbstractCredentialsManagerDescriptor):
def name(self): def name(self):
return 'Obfuscated Config file credentials manager' return 'Obfuscated config'
def description(self): def description(self):
return 'Store the credentials in the config file (obfuscated)' return 'Store the password in obfuscated form in the osc config file [insecure, persistent]'
def create(self, cp): def create(self, cp):
return ObfuscatedConfigFileCredentialsManager(cp, None) return ObfuscatedConfigFileCredentialsManager(cp, None)
@ -154,10 +154,10 @@ class TransientCredentialsManager(AbstractCredentialsManager):
class TransientDescriptor(AbstractCredentialsManagerDescriptor): class TransientDescriptor(AbstractCredentialsManagerDescriptor):
def name(self): def name(self):
return 'Transient password store' return 'Transient'
def description(self): def description(self):
return 'Do not store the password and always ask for the password' return 'Do not store the password and always ask for it [secure, in-memory]'
def create(self, cp): def create(self, cp):
return TransientCredentialsManager(cp, None) return TransientCredentialsManager(cp, None)