remove unused argument
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 30 Jan 2020 15:00:33 +0000 (16:00 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 1 Feb 2020 13:42:43 +0000 (14:42 +0100)
Different encryption modes vanished with the revised crypto that
only implements AES-GCM.

file_crypt.py

index 04d58c5..9a91768 100755 (executable)
@@ -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