Example #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)
Example #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)
Example #3
0
	def create_database(self, passphrase):
		from mypass.storage import Database
		self._set_database(Database.create(passphrase))
Example #4
0
 def create_database(self, passphrase):
     from mypass.storage import Database
     self._set_database(Database.create(passphrase))