As a user I do not want corrupted files to be kept or overwriting existing files
Checksums will be used for integrity validation.
This is a proof of concept for mobile, Android first. We need to see what's the impact in performance in low-end devices.
- Client computes checksum and sends to server, server verifies it and throws error if mismatch
- Server calculates checksum on upload and stores result in oc_filecache.checksums
- Server calculates checksum on download (if none available) and stores result in oc_filecache.checksums at the end of the transfer
- If a checksum is available already in oc_filecache, the server returns it in the headers of any download
- Client verifies checksums on download, if specified in the headers
- Dependency for deduplication
Backend (Core/API)
- [x] main ticket: https://github.com/owncloud/core/issues/26655
Sorry, but we need to drop issues from milestone 2.4.0 to get it out next to OC 10 server.
This time we'll move topics to backlog instead of directly to next release, so that we can schedule 2.5.0 properly.
@davigonz Can I work on this?
Can I work on this?
Sure @hannesa2 but we have things with more priority like https://github.com/owncloud/android/issues/1015 and since you have worked on the same menu to include sorting option, you might find it easier to implement. There's already a PR opened about that => https://github.com/owncloud/android/pull/1342 just in case you need something to look into.
@davigonz Alright I will work on that first.