use independent decryption contexts for backup files
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 4 May 2017 12:24:06 +0000 (14:24 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commitd5e1d60fe334b16a2fb2352a9af759ce37672d20
tree5fb94541c0a1f369a41e1c3726882b3dccd5d694
parent037994ca073a3cbb117b973782ca4fd8e67c2ac7
use independent decryption contexts for backup files

When restoring individual files from a diff backup, Deltatar will
traverse both tarballs simultaneously. This leads to access
patterns where reads are interleaved between the two sources,
possibly corrupting the decryption state. Thus when restoring
from multiple “index files” (in practice only two are relevant),
use a separate decryptor context for each of them.
deltatar/deltatar.py