cryptomator / cryptomator/android

Verify hash after file upload finished

Open
#410 0 comments 0 reactions 0 assignees View on GitHub
good first issue type:feature-request
Dominant language
Kotlin
Stars
1.2k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

- [X] I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)

### Summary

Calculate hash of the file during upload and compare it with the response provided from the cloud

### Motivation

Some cloud providers like pCloud return some metadata about the file object just created/modified after uploading without any further interaction. If it contains a hash, compare it with a hash created by the local file (can be calculated while streaming over the file during upload) to check if the file was uploaded correctly.

Implement this feature only for clouds that provide a hash directly after the upload was finished without further requests involved.

### Considered Alternatives

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.