cryptomator / cryptomator/hub

Add Hash of HubId to fetchUpdate request

Open
#122 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
80
Forks
15
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

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

### Summary

Add with a custom header the hash of hubId to the fetchUpdate() request in frontend

### Motivation

In https://github.com/cryptomator/hub/pull/121#discussion_r945681432 it was suggested to add the hash of the hubId to the fetchUpdate() request to apply statistics later on on the update server.

Currently, this is not possible, because the fetching the HubId requires admin privileges, while the update request works for every user.

It was suggested to extend the VersionDto to contain the hash of the hubId.

### Considered Alternatives

_No response_

### Anything else?

See https://github.com/cryptomator/hub/pull/121#discussion_r945681432

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.