mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Verify uploaded files
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.
This commit is contained in:
committed by
Alexander Neumann
parent
96a6f0a5c4
commit
54adcb1fc7
8
changelog/unreleased/issue-122
Normal file
8
changelog/unreleased/issue-122
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user