10000 Fix v2 signature calculation for host-style requests by lewoberst · Pull Request #8522 · rclone/rclone · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix v2 signature calculation for host-style requests #8522

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lewoberst
Copy link

What is the purpose of this change?

Fix v2 signature calculation for host-style requests

Was the change discussed in an issue or in the forum before?

Fixes #8520

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

If rclone is run with s3-v2-auth=true and --s3-force-path-style=false the
constructed uri for the signature was missing the bucket and thus did not
verify correctly.

The provided fix will only work if the endpoint configuration is made in
the config file. Using the implicit default endpoint constructed by the
github.com/aws/aws-sdk-go-v2/aws package is not supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong v2 signature calculation with host-style s3 requests
1 participant
0