Update aws sdk version and signature version
Can you give me a bit more info on your goal with this? is it just to update it or does this fix something?
On 30 March 2017 at 07:05, Weatherstar [email protected] wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/LouiseMcMahon/nodebb-plugin-s3-uploads/pull/23 Commit Summary
- update aws sdk
File Changes
- M index.js https://github.com/LouiseMcMahon/nodebb-plugin-s3-uploads/pull/23/files#diff-0 (7)
- M package.json https://github.com/LouiseMcMahon/nodebb-plugin-s3-uploads/pull/23/files#diff-1 (6)
Patch Links:
- https://github.com/LouiseMcMahon/nodebb-plugin- s3-uploads/pull/23.patch
- https://github.com/LouiseMcMahon/nodebb-plugin- s3-uploads/pull/23.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LouiseMcMahon/nodebb-plugin-s3-uploads/pull/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AULhNdvYej7Dy9zift2aIw0AKUyrNjqDks5rq0ZGgaJpZM4Mt5y2 .
@LouiseMcMahon I'm sorry not to explain clearly. When using this plugin(with nodeBB 1.4.5), I get the following error:
AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
I have checked some information said that I should use signature_version: 'v4' in aws-sdk like
var s3 = new AWS.S3({ signatureVersion: 'v4' });
So I add it to the settings and then upgraded the version of aws-skd and it worked. That's the reason I created this pull request : )