track successful recover of corrupted payload in tests
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 11 Aug 2017 09:16:33 +0000 (11:16 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:09 +0000 (13:34 +0200)
commit9d89c237b56c138c78e21878dfaaf3e6891f0de5
tree27be326432ad23e74a325eec67022058acdf83a0
parentda8996f02dd6cf641611beaf3efcd8b622a2f134
track successful recover of corrupted payload in tests

Gzip does CRC32, GCM has a MAC, but ordinary Tar only checksums
the header part, not the content. Thus recovery of a damaged
object will appear to succeed provided the object header is
intact. In order to detect the corruption, an external integrity
check is necessary.
testing/test_recover.py