feat: send server url sha256 encoded to update server#1311
Conversation
There was a problem hiding this comment.
Pull Request Overview
Hashes the server URL before sending it to the update endpoint to avoid transmitting the raw URL.
- Add SHA-256 hashing (noble-hashes) of serverUrl and send hex digest instead of plain URL.
- Introduce new imports for hashing utilities.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
kulmann
left a comment
There was a problem hiding this comment.
No change per se, but could you please check with @TheOneRing that the resulting hash is the exact same for desktop and web? 😇
|
Related: opencloud-eu/desktop#564 |
a05ab11 to
a41a2f9
Compare
Sounds like a perfect time to add some tests ;) |
|
@TheOneRing please confirm that we generate the same hashes https://host.docker.internal:9200/ -> 4401822c2b42930d40ec436c0effbc66940570ebf7f3d79093cc0976b65f2aab |
Description
Related Issue
How Has This Been Tested?
Types of changes