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

Google storage signature issue #1800

Closed
alextur opened this issue Apr 4, 2023 · 1 comment · Fixed by #1870
Closed

Google storage signature issue #1800

alextur opened this issue Apr 4, 2023 · 1 comment · Fixed by #1870
Labels

Comments

@alextur
Copy link

alextur commented Apr 4, 2023

minio-go/api.go

Line 158 in 5b15988

// Google cloud storage should be set to signature V2, force it if not.

All requsts to Google Storage lead to signature error:
The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.

As of September 2020, Google Cloud Storage only supports request signing using version 4 of the Signature Version.

@sprat
Copy link

sprat commented Aug 8, 2023

I've double-checked today by modifying the override line in the minio.New method which forces a V2 signature for Google endpoints and it seems that both V2 and V4 signatures are working properly: I can perform a bucket listing in both cases. I would suggest removing the special case in the code since V4 signatures are better. But I must admit that I don't understand all the uses of the overrideSignerType field in the code, so I'm reluctant to file a pull request for that.

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

Successfully merging a pull request may close this issue.

3 participants