mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 19:08:55 +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. |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
index_test.go | ||
index.go | ||
indexmap_test.go | ||
indexmap.go | ||
key.go | ||
master_index_test.go | ||
master_index.go | ||
packer_manager_test.go | ||
packer_manager.go | ||
repack_test.go | ||
repack.go | ||
repository_internal_test.go | ||
repository_test.go | ||
repository.go | ||
testing.go | ||
worker_group.go |