mirror of
https://github.com/restic/restic.git
synced 2026-02-10 06:13:21 -05:00
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.go | ||
| index_test.go | ||
| indexmap.go | ||
| indexmap_test.go | ||
| key.go | ||
| master_index.go | ||
| master_index_test.go | ||
| packer_manager.go | ||
| packer_manager_test.go | ||
| repack.go | ||
| repack_test.go | ||
| repository.go | ||
| repository_internal_test.go | ||
| repository_test.go | ||
| testing.go | ||
| worker_group.go | ||