Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support v4 signature for s3 #783

Open
Ismael opened this issue Feb 9, 2025 · 4 comments
Open

Support v4 signature for s3 #783

Ismael opened this issue Feb 9, 2025 · 4 comments

Comments

@Ismael
Copy link

Ismael commented Feb 9, 2025

Currently Cloudflare R2 requires SigV4 for auth. I haven't found a way to set that up. Can this be added?

@gaul
Copy link
Owner

gaul commented Feb 9, 2025

JCLOUDS-1594 added support for this by overriding jclouds.s3.signer-version=4. Can you test this and add an example to https://github.com/gaul/s3proxy/wiki/Storage-backend-examples?

@Ismael
Copy link
Author

Ismael commented Feb 9, 2025

It works for downloads, it fails for PUT.

The error message from CF is that it doesn't support STREAMING-AWS4-HMAC-SHA256-PAYLOAD . Seems it should use UNSIGNED-PAYLOAD, do you know if this can be enabled in jclouds?

@gaul
Copy link
Owner

gaul commented Feb 9, 2025

Unfortunately no and jclouds is a dead dependency. Please document what works today in the wiki and report a bug against Cloudflare.

@Ismael
Copy link
Author

Ismael commented Feb 9, 2025

Added doc here:
https://github.com/gaul/s3proxy/wiki/Storage-backend-compatibility#cloudflare-using-s3-adapter

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants