git://developer.intra2net.com
/
python-delta-tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2f0b128
)
remove unused argument
author
Philipp Gesang
<philipp.gesang@intra2net.com>
Thu, 30 Jan 2020 15:00:33 +0000 (16:00 +0100)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/file_crypt.py
b/file_crypt.py
index
04d58c5
..
9a91768
100755
(executable)
--- 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