restic/internal/backend
Michael Eischer 1d3e99f475 azure: check upload using md5 content hash
For files below 256MB this uses the md5 hash calculated while assembling
the pack file. For larger files the hash for each 100MB part is
calculated on the fly. That hash is also reused as temporary filename.
As restic only uploads encrypted data which includes among others a
random initialization vector, the file hash shouldn't be susceptible to
md5 collision attacks (even though the algorithm is broken).
2021-08-04 22:17:46 +02:00
..
azure azure: check upload using md5 content hash 2021-08-04 22:17:46 +02:00
b2 Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
dryrun Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
gs Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
local Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
location Hide password from repository URLs 2020-09-22 22:00:51 +02:00
mem Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
rclone Use rclone.wrappedConn by pointer 2021-08-01 09:11:50 +02:00
rest Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
s3 Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
sftp Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
swift Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
test Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
testdata Moves files 2017-07-23 14:19:13 +02:00
backend_error.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
backend_retry_test.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
backend_retry.go retrybackend: Fail operations when context is already canceled 2020-12-28 21:06:47 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
foreground_sysv.go AIX port 2020-12-29 01:35:01 +01:00
foreground_test.go errcheck: Add error checks 2021-01-30 20:02:37 +01:00
foreground_unix.go AIX port 2020-12-29 01:35:01 +01:00
foreground_windows.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
foreground.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
http_transport.go Allow HTTP/2 2021-01-31 02:44:30 +01:00
layout_default.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
layout_rest.go backend: Only return top-level files for most dirs 2017-12-14 19:14:16 +01:00
layout_s3legacy.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
layout_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
layout.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
paths.go Moves files 2017-07-23 14:19:13 +02:00
semaphore.go uint cannot be less than zero 2020-09-05 10:07:16 +02:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
shell_split.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
utils_test.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
utils.go Add more error handling 2021-01-30 20:19:47 +01:00