do not require parameter version with each encrypted object
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 31 Mar 2017 12:31:19 +0000 (14:31 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit72a42219c5e0b9746ce4a47750205b1d32e77841
treeea066598dde1c43b070df7d9418be585c147790e
parent2ae46844b09756e6ec6c8b413a0d69aeb783ef23
do not require parameter version with each encrypted object

When encrypting, stick to the parameter version specified in the
ctor. Despite the format allowing for on-the-fly adjustment of
encryption parameters, there is no real world scenario yet in
which this might be desired. Thus, remove this prerequisite as it
only encumbers the signature of ``.next()`` with cruft.
deltatar/crypto.py
deltatar/tarfile.py