distinguish auxiliary file errors
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 11 May 2017 15:40:21 +0000 (17:40 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commitfac2cfe1b177177d5b106ef186bd79a46b828be3
tree233e7ced59f5585dd0b1b35618d9be1a178680ee
parent79ba0b6cb56f1a795270c8f2073a7f2d8bf8db49
distinguish auxiliary file errors

Auxiliary files that grow larger than the maximum defined
encrypted file size cause an irrecoverable error because their
fixed IV is being reused. Add a new exception to distinguish this
specific case. Encrypted auxiliary files thus never consist of
more than one object, no on-the-fly continuation is permitted
like with ordinary files.
deltatar/crypto.py
deltatar/tarfile.py
testing/test_deltatar.py