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

Support for signature version 4 #254

Open
makkeu opened this issue Oct 27, 2014 · 37 comments · May be fixed by #273
Open

Support for signature version 4 #254

makkeu opened this issue Oct 27, 2014 · 37 comments · May be fixed by #273

Comments

@makkeu
Copy link

makkeu commented Oct 27, 2014

It seems that knox doesn't support signature v4 (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). On Frankfurt data center (eu-central-1), it is required, and I can't get knox to work with it. Trying to get a list of files in bucket results following error:

'The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.'

Here is the sample code:

var knox = require('knox');

var client = knox.createClient({
    key: '*****'
  , secret: '*****'
  , bucket: 'my-bucket'
  , region: 'eu-central-1'
});

client.list({}, function(err, data){
    console.log(err, data);
});
@domenic
Copy link
Contributor

domenic commented Oct 27, 2014

Oh, nice find. It would be really great to get a pull request for this.

@nickast
Copy link

nickast commented Jan 20, 2015

Any news on this?

@fubu
Copy link

fubu commented Feb 13, 2015

I need this! Regarding a pull request, since I don't know the internals, can someone give me some hints where to start looking in the code?

@shfx
Copy link

shfx commented Mar 10, 2015

I'm working on a patch to fix this issue using aws4.
Stay tuned.

screenshot 2015-03-10 12 24 40

@shfx shfx linked a pull request Mar 10, 2015 that will close this issue
@svenvarkel
Copy link

+1 waiting for fix. Thanks!:)

@djaax
Copy link

djaax commented Mar 28, 2015

+1 that would be great :)

@jurajpetrik
Copy link

+1

@thibalte
Copy link

thibalte commented Apr 7, 2015

same here, would be super great! thanks

@domenic
Copy link
Contributor

domenic commented Apr 7, 2015

The place to watch is #273 :). Unfortunately I dropped the ball for 27 days responding to @shfx's last comment, but hopefully he hasn't given up on this idea...

@marcelboettcher
Copy link

+1

4 similar comments
@itoldya
Copy link

itoldya commented May 5, 2015

+1

@bheller84
Copy link

+1

@tanertopal
Copy link

👍

@newenegue
Copy link

+1

@fabdrol
Copy link

fabdrol commented Sep 5, 2015

Any progress on this?

@pculka
Copy link

pculka commented Nov 11, 2015

same ship ...

@pculka
Copy link

pculka commented Nov 12, 2015

well it seems this whole stuff works with aws-sdk and I can connect and put object to S3 in eu-central-1.
gonna check the internals of knox

@vladshcherbin
Copy link

oh come on :(

@achimkoellner
Copy link

+1

6 similar comments
@arnoldstoba
Copy link

+1

@Weltraumakustik
Copy link

+1

@slavafomin
Copy link

+1

@sebbsan
Copy link

sebbsan commented Apr 13, 2016

+1

@TorgeirHeim
Copy link

+1

@giuseppeminnella
Copy link

+1

@namse
Copy link

namse commented May 3, 2016

+1

@ghost
Copy link

ghost commented May 12, 2016

Sigh

@joanrodriguez
Copy link

+1

@delijah
Copy link

delijah commented Jun 21, 2016

+1

@lxe
Copy link

lxe commented Jul 14, 2016

+1

@subinsebastien
Copy link

+1 Same ship.

@kilianc
Copy link

kilianc commented Aug 27, 2016

+1

@nervous-energy
Copy link

+1

Still nothing.

@xoryouyou
Copy link

Since the effort of @shfx has never made it into knox as it seems. And the documentation to derive the key is given here http://docs.aws.amazon.com/general/latest/gr/signature-v4-examples.html#signature-v4-examples-jscript

Can someone point me to the places in code that need the signature implementation ?

also +1

@dderrickpaul
Copy link

+1

@bmustata
Copy link

bmustata commented Oct 9, 2018

Any update on this issue? (putBuffer & pufFile are not working)

@victornikitin
Copy link

Is any solution for this?

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

Successfully merging a pull request may close this issue.