filesender / filesender

FileSender server software
http://filesender.org
BSD 3-Clause "New" or "Revised" License
220 stars 121 forks source link

Store file hash and display upon download #748

Open WebSpider opened 4 years ago

WebSpider commented 4 years ago

In order to for endusers to verify end-to-end integrity of their files, it may be a good idea to add a hash of the file as we have received it, and show it to users upon download.

monkeyiq commented 4 years ago

One interesting implementation detail to this is that the hashing algo would need to gracefully handle having chunks of data given to it in non sequential order. Terasender can upload multiple chunks at once and there is no saying they arrive (or are sent) in any given order. I like the idea of providing integrity checks outside of having to use AES-GCM to ensure it.

WebSpider commented 3 years ago

A workaround for that could be that it's a hash of hashes of the parts, in case the terasender is active