mirror of
https://github.com/restic/rest-server.git
synced 2026-04-12 21:21:49 -07:00
Restic uses the sha256 hash to calculate filenames based on the file content. Check on the rest-server side that the uploaded file is intact and reject it otherwise.
9 lines
315 B
Plaintext
9 lines
315 B
Plaintext
Enhancement: Verify uploaded files
|
|
|
|
rest-server now verifies that the hash of content of uploaded files matches
|
|
their filename. This ensures that transmission errors are detected and forces
|
|
restic to retry the upload.
|
|
|
|
https://github.com/restic/rest-server/issues/122
|
|
https://github.com/restic/rest-server/pull/130
|