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

signature v2 usage is forced for commands without a bucket name specified. (Ex.: ls) #1082

Closed
fviard opened this issue Mar 25, 2020 · 0 comments
Assignees

Comments

@fviard
Copy link
Contributor

fviard commented Mar 25, 2020

When there is a request without a bucket defined, like for a simple bucket listing "ls", "signature v2" usage was is forced.

The fix will be to remove this legacy limitation, and issue first a signature v4 request in all cases.
But, to be noted, this fix might have a side effect on some random s3 compatible servers:
The problem is that for signature v4, we need to know the user's region.
And so, for things to work "automagically" without an user setting it, any s3 compatible server will have to behave like aws s3, ie providing the "region to use" in the reported error or otherwise just ignore the region value.

See: #1017

@fviard fviard self-assigned this Mar 25, 2020
@fviard fviard closed this as completed in 92df370 Mar 26, 2020
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

No branches or pull requests

1 participant