android icon indicating copy to clipboard operation
android copied to clipboard

As a user I do not want corrupted files to be kept or overwriting existing files

Open davivel opened this issue 9 years ago • 4 comments

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

davivel avatar Nov 23 '16 12:11 davivel

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.

davivel avatar Apr 11 '17 14:04 davivel

@davigonz Can I work on this?

shashvat-kedia avatar Dec 14 '18 18:12 shashvat-kedia

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 avatar Dec 17 '18 09:12 davigonz

@davigonz Alright I will work on that first.

shashvat-kedia avatar Dec 17 '18 09:12 shashvat-kedia