From: Philipp Gesang Date: Fri, 24 Mar 2017 11:20:45 +0000 (+0100) Subject: implement encryption passthrough mode X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=dcdce0eac2e91dac4445865e8f84b6f99457eeb2;p=python-delta-tar implement encryption passthrough mode --- diff --git a/deltatar/crypto.py b/deltatar/crypto.py index 984bcab..9c4823c 100755 --- a/deltatar/crypto.py +++ b/deltatar/crypto.py @@ -260,6 +260,22 @@ def tag_read_stream (source): ############################################################################### +## passthrough / null encryption +############################################################################### + +class PassthroughCipher (object): + + tag = struct.pack ("