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
Using the aws s3 sdk #10
Comments
Holy crap, so sorry for the late response. Somehow missed the notification, otherwise I would've gotten to you sooner. Looking at it right now, but it seems to be falling down on the date header for some reason. Setting debug: 2 enables more verbose logging. Should have more details shortly. |
Tracked it down: hmmac's aws4 needs to more strictly follow http://docs.aws.amazon.com/general/latest/gr/sigv4-date-handling.html The problem is hmmac's aws4 expects the date to be in the Date header. Period. However, aws4 says that it could be in x-amz-date header or even in the querystring for GET -- and this is how node aws-sdk sends the date. Also, if both Should have a commit shortly, but here's a working copy of your script that includes a workaround: https://gist.github.com/cmawhorter/659b7aeec4ce590e3497 |
* use spdx license to avoid npm warning * closes cmawhorter#10 * add test for cmawhorter#11 * document cmawhorter#11 * bump version * update travis badge for current branch * closes cmawhorter#16 * wip * fixes cmawhorter#18 * node version support and ci * closes cmawhorter#15 * req to credProvider cmawhorter#13 * closes cmawhorter#13 * bump version * 0.2.3 * do not ship * npm dbl bump * outdated about * Updated to ensure utf8 always * Added tests for non-ascii * Updated to support inputEncoding * Modified to support passing in encoding * Updated version * Added CHANGELOG * Added reference to PR * Update CHANGELOG.md
Hey there, first off thanks for the module!
Let's say I want to authenticate certain requests against the official s3 upload client.
This should work right? I always get an
valid
false ...The text was updated successfully, but these errors were encountered: