From ed00ce084c879854a353693cad71d552fedd44d2 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 30 Jan 2020 16:00:33 +0100 Subject: [PATCH] remove unused argument Different encryption modes vanished with the revised crypto that only implements AES-GCM. --- file_crypt.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/file_crypt.py b/file_crypt.py index 04d58c5..9a91768 100755 --- a/file_crypt.py +++ b/file_crypt.py @@ -30,7 +30,7 @@ def initialize_encryption (mode, password=None, key=None, nacl=None): return crypto.Decrypt (password=password, key=key) -def main(do_encrypt, in_file, out_file, password, comptype='gz', enctype='aes', +def main(do_encrypt, in_file, out_file, password, comptype='gz', bufsize=tarfile.RECORDSIZE, encoding='UTF-8'): """ Main function, called when running file as script -- 1.7.1