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
md5
Get password as MD5 hash. plaintext
Get password as plain text. set_md5
Set the MD5 form of the password. set_plaintext
Set new password.