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

send_do_spaces.sh Error: SignatureDoesNotMatch #1

Open
newalphamedia opened this issue Oct 1, 2019 · 2 comments
Open

send_do_spaces.sh Error: SignatureDoesNotMatch #1

newalphamedia opened this issue Oct 1, 2019 · 2 comments

Comments

@newalphamedia
Copy link

I've re-retested my auth key and secret are correct many times and cannot get this script to work.

I've tried adding in:
acl="x-amz-acl:public-read"

...under line:
contentType="application/x-compressed-tar"

And also adding the following within "stringToSign=":
\n${acl}

And finally:
-H "$acl" \

...under line:
-H "Date: ${dateValue}" \

None of this seems to work. How can we get the signature to match or debug WHY it does not match?

@quagliato
Copy link
Owner

@newalphamedia I had similar problems in the past. My problems were caused by wrong date in the machine and wrong openssl version. Have you checked these informations?

@newalphamedia
Copy link
Author

@quagliato I actually found an alternate script. I needed to use v4 for amazons pre-signing, I don’t think v2 is supported anymore?

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

2 participants