SigV4 authenticated uploads fail with SignatureDoesNotMatch on Cloudflare Workers
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- aws, rust
- Domain
- api, authentication, cloud
Research direction
Start by reproducing the authenticated PUT and list requests with the provided rclone configuration and inspect the Cloudflare Workers output from wrangler tail. Trace the SigV4 authentication path implicated by the multistore::auth::sigv4 warning and verify that authenticated requests complete without SignatureDoesNotMatch.
Written by the indexing model from the issue text.
Description
Here's a more general GitHub issue:
What I'm trying to do
I'm trying to use rclone to upload files to a multistore proxy running on Cloudflare Workers. Anonymous reads work fine, but authenticated writes (PUT) and authenticated list operations (GET with credentials) all fail with 403 SignatureDoesNotMatch.
Has anyone gotten authenticated uploads working with the Cloudflare Workers deployment?
My setup
rclone config:
[dataforcanada-s3]
type = s3
provider = Other
endpoint = https://s3.dataforcanada.org
no_check_bucket = true
access_key_id = <my-access-key>
secret_access_key = <my-secret-key>
env_auth = false
Upload command:
rclone copy . dataforcanada-s3:dataforcanada/d4c-datapkg-orthoimagery/
Wrangler config (sanitized):
compatibility_date = "2024-11-11"
main = "build/worker/shim.mjs"
name = "dataforcanada-s3"
[build]
command = "cargo install worker-build && worker-build --release"
[vars]
VIRTUAL_HOST_DOMAIN = "s3.dataforcanada.org"
[[routes]]
pattern = "s3.dataforcanada.org"
custom_domain = true
[vars.PROXY_CONFIG]
[[vars.PROXY_CONFIG.buckets]]
allowed_roles = []
anonymous_access = true
backend_type = "s3"
backend_prefix = "dataforcanada/"
name = "dataforcanada"
[vars.PROXY_CONFIG.buckets.backend_options]
bucket_name = "us-west-2.opendata.source.coop"
endpoint = "https://s3.us-west-2.amazonaws.com"
region = "us-west-2"
access_key_id = "<backend-key>"
secret_access_key = "<backend-secret>"
skip_signature = "true"
[[vars.PROXY_CONFIG.credentials]]
access_key_id = "<proxy-access-key>"
created_at = "2025-01-01T00:00:00Z"
enabled = true
principal_name = "dataforcanada-admin"
secret_access_key = "<proxy-secret-key>"
[[vars.PROXY_CONFIG.credentials.allowed_scopes]]
actions = [
"get_object",
"head_object",
"put_object",
"delete_object",
"list_bucket",
"create_multipart_upload",
"upload_part",
"complete_multipart_upload",
"abort_multipart_upload",
]
bucket = "dataforcanada"
prefixes = []
[placement]
mode = "smart"
[observability]
enabled = true
What I see
Every authenticated request fails with a SigV4 signature mismatch. From wrangler tail:
[WARN] multistore::auth::sigv4: SigV4 signature mismatch { access_key_id=<my-key>, region=us-east-1 }
[WARN] multistore::proxy: request failed { error=signature mismatch, status=403, s3_code=SignatureDoesNotMatch }
I can provide more detailed logs if you need them.
Question
Has anyone successfully used authenticated uploads (PutObject) with the Cloudflare Workers deployment?
- Dominant language
- Rust
- Stars
- 21
- Forks
- 1
- Avg merge
- 16h 39m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/multistore
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
developmentseed/multistore#160 ·
-
Support UploadPartCopy (multipart server-side copy): AWS CLI and boto3 use it for any copy over 8 MBOpenenhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
developmentseed/multistore#168 ·
-
List of a prefix 503s when a single object key contains an empty path segment (//)Possibly taken @alukach claimed this 127 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
developmentseed/multistore#116 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 68/100
-
oidc-provider: optional `oidc_session_name` backend-option to override RoleSessionName derivationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
All issues in developmentseed/multistore
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
storytold/craft-anything#2472 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#68 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
slavakurilyak/awesome-ai-agents#1046 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nowledge-co/hawdb#1995 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
swc-project/swc-next-issues#984 ·