Bases: object
A general class to provide a base template for converting a database from one version to another
This method should accept a pwman db file name, and it should try to detect which database version it is.
this method should accept the two parameters and according to them invoke the right converter
Bases: pwman.data.convertdb.DBConverter
Bases: object
Change the databases password.
get the databases password from the user
Open the database, by calling the _open method of the class inherited for the specific database. When done validation that the file is OK, check if it has encryption key, by calling enc = CryptoEngine.get() key = self.loadkey()
Bases: exceptions.Exception
Factory to create Database instances A Generic interface for all DB engines. Usage:
import pwman.data.factory as DBFactory
db = DBFactory.create(params) db.open() .....
Bases: object
We use this alternatively, to create a node instance when reading the encrypted entities from the database
Get the current notes.
Get the current password.
Return a dictionary of encrypted records
Get the current url.
Get the current username.