test that seeking backwards is disallowed by _Stream
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 8 May 2017 09:26:54 +0000 (11:26 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit9e092947cd04e853ce43b23ba82cd59f0e1f20c4
tree5c651dbadf5d338d9d96ed989e889b8c5c84ed13
parent97ba515a38379a03abaa39791b323be739e6acaa
test that seeking backwards is disallowed by _Stream

Re-extracting an already decrypted file will fail on account of
IV reuse. Currently, tarfile._Stream is not capable of performing
backward seeks, so we’re good. Should this limitation be removed
in a future version, this unit test will fail.
testing/test_deltatar.py