Esempio n. 1
0
	def unlock_database(self, passphrase):
		from mypass.storage import Database
		db = Database.decrypt(self._ciphertext, passphrase)
		del self._ciphertext
		self._set_database(db)
Esempio n. 2
0
 def unlock_database(self, passphrase):
     from mypass.storage import Database
     db = Database.decrypt(self._ciphertext, passphrase)
     del self._ciphertext
     self._set_database(db)
Esempio n. 3
0
	def create_database(self, passphrase):
		from mypass.storage import Database
		self._set_database(Database.create(passphrase))
Esempio n. 4
0
 def create_database(self, passphrase):
     from mypass.storage import Database
     self._set_database(Database.create(passphrase))