2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/repository
Michael Eischer 7042bafea5 prune: Abort repacking when a pack contains a wrong blob
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.
2020-08-16 11:34:01 +02:00
..
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
index_test.go make Lookup() return all blobs 2020-07-25 21:18:34 +02:00
index.go Don't save exact duplicates when merging indexes 2020-08-05 06:32:02 +02:00
indexmap_test.go Chaining hash table for repository.Index 2020-07-19 13:58:22 +02:00
indexmap.go Chaining hash table for repository.Index 2020-07-19 13:58:22 +02:00
key.go Allow specifying user and host when adding keys 2020-03-23 13:11:10 +01:00
master_index_test.go Don't save exact duplicates when merging indexes 2020-08-05 06:32:02 +02:00
master_index.go make Lookup() return all blobs 2020-07-25 21:18:34 +02:00
packer_manager_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
packer_manager.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repack_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repack.go prune: Abort repacking when a pack contains a wrong blob 2020-08-16 11:34:01 +02:00
repository_internal_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repository_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repository.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
testing.go Remove remnant of Go 1.9 compatibility code from tests 2020-02-26 22:23:38 +01:00
worker_group.go simpler error return 2020-01-27 18:41:46 +03:00