bareos.util.password.Password
- class bareos.util.password.Password(password=None)[source]
Bases:
object
Handle Bareos passwords.
Instead of working with plain text passwords, Bareos often uses the MD5 hash of the password.
This class make a password available in both forms.
- Parameters:
password (str, optional) – Password as plain text.
Methods
Get password as MD5 hash.
Get password as plain text.
Set the MD5 form of the password.
Set new password.