mirror of
https://github.com/octoleo/restic.git
synced 2025-02-02 11:58:26 +00:00
7042bafea5
If a blob in a pack file can be decrypted successfully but contains data that results in a different hash than stated in the header pack, then abort repacking. As both the pack header and the blob are cryptographically verified this either means than a malicious entity tampered with the backup or indicates hardware problems on the client. prune should fail with an error in both cases.