def decrypt_file(self,
                     path,
                     output_path=None,
                     overwrite=False,
                     enable_verbose=True):
        """
        Decrypt a file using rsa.
        """
        path, output_path = files.process_dst_overwrite_args(
            src=path, dst=output_path, overwrite=overwrite,
            src_to_dst_func=files.get_decrpyted_path,
        )

        with open(path, "rb") as infile, open(output_path, "wb") as outfile:
            decrypt_bigfile(infile, outfile, self.my_privkey)
def decrypt_file ( self , path , output_path = None , overwrite = False , enable_verbose = True ) : path , output_path = files . process_dst_overwrite_args ( src = path , dst = output_path , overwrite = overwrite , src_to_dst_func = files . get_decrpyted_path , ) with open ( path , "rb" ) as infile , open ( output_path , "wb" ) as outfile : decrypt_bigfile ( infile , outfile , self . my_privkey )
Decrypt a file using rsa.