allow checking PDTCRYPT archives for IV integrity with crypto.py
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 20 Apr 2020 10:21:16 +0000 (12:21 +0200)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 24 Apr 2020 06:55:25 +0000 (08:55 +0200)
commit0b5c1c5e1c606c8d3302c3b76fc0784c29f44954
tree61b77408dd22265e7294878306ecdc2de7493469
parentb750b280c78f7b62ba30249c68a8542a3421534c
allow checking PDTCRYPT archives for IV integrity with crypto.py

This allows checking the IVs of objects in the given file for
uniqueness and consecutiveness without decrypting them.

Example:

    $ crypto.py ivcheck -i - <bfull-2020-04-20-1133-001.tar.gz.pdtcrypt
    PDT: Successfully traversed 411 encrypted objects in input.
    PDT:
    PDT: All IVs consecutive and unique.
deltatar/crypto.py
testing/test_recover.py