mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
Feature: Check hash before web upload #166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wc7086 on GitHub.
Verify the hash when uploading on the web, and save the hash field in the metadata. And display the hash field in the web interface. When using curl to upload, provide an upload option similar to
-H "sha1: <value>".@wc7086 commented on GitHub:
Gives the user a way to verify that the downloaded file is complete and correct. I don't know if providing hash on the download page is redundant, maybe we should wait until more people care about this option before deciding?
@paolafrancesca commented on GitHub:
The problem is that you have to trust the server: a malicious server could just receive and return the provided hash even after tampering the upload, and you should donwload the file a check his hash locally in order to be sure this didn't happen.
@paolafrancesca commented on GitHub:
@wc7086 what would the goal of implementing this?