Exemple #1
0
    def decrypt_revelation_file(self, thedata):

        pwd = getpass.getpass()
        handler = detect_handler(thedata)
        dafi = DataFile(handler)
        thepasswords = dafi.load(self.revelationfile, password=pwd)
        return thepasswords
Exemple #2
0
 def read_revelation_file(self):
     """ Decrypt the content of the revelation database.
     """
     LOG.debug('Read the content of the database.')
     self.handler = detect_handler(self.dbdata)
     dafi = DataFile(self.handler)
     password = getpass.getpass()
     content = dafi.load(self.dbfile, password=password)
     return content
 def read_revelation_file(self):
     """ Decrypt the content of the revelation database.
     """
     LOG.debug('Read the content of the database.')
     self.handler = detect_handler(self.dbdata)
     dafi = DataFile(self.handler)
     password = getpass.getpass()
     content = dafi.load(self.dbfile, password=password)
     return content