Skip to content

Conversation

@rhafer
Copy link
Contributor

@rhafer rhafer commented Jul 8, 2025

With the ocdav service being able to provided signed download URLs we need the proxy to be able to verify the signatures.

This should also be a first step towards phasing out the weird ocs based client side signed urls.

Related Tickets: #1104

This is still a bit of a PoC, but should be good enough for providing allowing some traction on: opencloud-eu/web#704

Unfortunately in its current form it is a breaking change (a new configuration key is required) and would require a major version bump again. I'd be interested in suggestions about how we can make this non-breaking in a simple way.

To use this the new config variable OC_URL_SIGNING_SHARED_SECRET needs to be set. (Just use some randon string content)

@AlexAndBear
Copy link
Contributor

@rhafer
Copy link
Contributor Author

rhafer commented Jul 9, 2025

@AlexAndBear should work now

image

@AlexAndBear
Copy link
Contributor

TYSM!

rhafer added 2 commits July 17, 2025 12:01
The signedurl middleware is already adding the user to the context.
With the ocdav service being able to provided signed download URLs we
need the proxy to be able to verify the signatures.
This should also be a first step towards phasing out the weird ocs based
client side signed urls.

Related Tickets: opencloud-eu#1104
@rhafer rhafer marked this pull request as ready for review July 17, 2025 10:41
@rhafer rhafer merged commit 3ce2317 into opencloud-eu:main Jul 17, 2025
52 checks passed
This was referenced Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants