-
Notifications
You must be signed in to change notification settings - Fork 107
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
Move to Signature Version 4 Signing #167
Comments
No fundamental reason, but please ask @cdornan if he's OK with this. Philipp [email protected] schrieb am Mo., 22. Juni 2015 12:40:
|
Any updates on this? |
@aristidb yes, that will be very useful. I'll work this out and prepare PR. Thanks |
@sigrlami did you get anywhere with the PR for this? |
Changes the signature method to version 4 to support the buckets in China (Beijing) or EU (Frankfurt). Fixes aristidb#167
@angerman I've tried out your commit angerman@cbdb8d4 but I receive a status 403 code indicating "The request signature we calculated does not match the signature you provided. Check your key and signing method.". I've tried to upload using Using |
@agrafix please try again with #199. If you prefer, you can set the content
using a |
@angerman great, |
+1 just had a user file a bug on git-annex not working for Beijing. Am surprised nobody complained about Frankfurt yet if it needs this. |
@angerman What is the status of your pull request? Do you consider it a WIP still? |
Even though it pains me to say, I've since replaced If someone wants to take over from here, please do so! |
I try to use S3 with Frankfurt. But it failed. Is there a chance to fixed this? |
To use the regions China (Beijing) or EU (Frankfurt), we need to sign requests with Signature Version 4, since they do not support Version 2. Also, AWS strongly recommends to use V4 over V2.
There's already the package https://github.com/iconnect/aws-sign4 that allows signing a request using V4, and the https://github.com/iconnect/aws-elastic-transcoder package that uses it. I think it would be beneficial to use that for signing requests for the other services as well. However, to use V4 signatures in the other services, that functionality would have to be moved to the core library in order to avoid cyclic dependencies.
So my question is: was there a specific reason for implementing aws-sign4 as a separate package? Would it be ok for the author, @cdornan, to have this moved into the aws package?
If there's no reason against this (license restrictions maybe?), I could volunteer to do the administrative work of moving Sign4.hs to the main repository, and start on switching to V4 for the S3 commands.
The text was updated successfully, but these errors were encountered: