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)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 31 Mar 2017 12:32:04 +0000 (14:32 +0200)
commit73f3cf0b72d0e05a8d7cd515ff3287d721763d24
tree999247a284869d6e3cf5b584443dd73ee88d6d47
parent40dde6cadf9c2ebda266326be21c8459dc30e328
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