From: Philipp Gesang Date: Fri, 24 Mar 2017 11:20:45 +0000 (+0100) Subject: implement encryption passthrough mode X-Git-Tag: v2.2~7^2~211 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=6178061e1b062972612bbc231e20db8a73a5673b;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 ("