Git Product home page Git Product logo

Comments (12)

sebromero avatar sebromero commented on July 24, 2024

@tbleckert We have to implement V4 signatures. For this to work the Authentication header must be adjusted. If you want to give it a shot AmazonS3SignatureHelpers.m would be the starting point. I think it's not too hard to do. Have a look at the implementation of the official iOS SDK: https://github.com/aws/aws-sdk-ios/blob/master/AWSCore/Authentication/AWSSignature.m

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on July 24, 2024

Thanks for making me aware of this. I'll try looking into this sometime soon, but I'm probably not going to have time this week. If anyone wants to take a crack at it, I'd be happy to take a PR.

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on July 24, 2024

I've started work on this, but it's quite a big project. This could take a while.

You can check out the AWS_signature_V4 branch if you want to contribute.

AWS documentation for the signature calculations are here:
http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html

from amazons3requestmanager.

sebromero avatar sebromero commented on July 24, 2024

@AnthonyMDev Cool, thx. I'll have a look at it.

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on July 24, 2024

@tbleckert Just an update for you. I have been working on this. I'm almost done getting the V4 Signature set up. I'll integrate it as soon as I have some more free time and we will be good to go!

from amazons3requestmanager.

sebromero avatar sebromero commented on July 24, 2024

@AnthonyMDev Cool stuff! Thx mate.

from amazons3requestmanager.

tbleckert avatar tbleckert commented on July 24, 2024

@AnthonyMDev Great work! Thanks!

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on July 24, 2024

@tbleckert Okay, I've got a working beta of the V4 signature up and running. Can you try using the /feature/AWS_signature_v4 branch and see if that works for you please?

I'm fairly certain that this should work for GET requests just fine now. There is some wording in the AWS documentation that makes me think that we may have to sign the requests a completely different way for POST requests.

Can you please confirm that BOTH GET and POST requests work for you? If so, I'll release a new version with this included. Otherwise, I'll need some time to get the POST encoding done.

from amazons3requestmanager.

WadeSellers avatar WadeSellers commented on July 24, 2024

Really stoked about this. I've been getting those 9999 codes as well.

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on July 24, 2024

@WadeSellers Glad to hear that other people want this as well. I haven't had time to do ample testing of this to feel comfortable pushing it to master yet. As I said above, I'm not sure if POST requests are going to work yet specifically. If you are looking for this to be pushed to a new version and have some time, I'd really appreciate getting some outside sources to test and confirm that everything is working.

Thanks

from amazons3requestmanager.

arielzadi avatar arielzadi commented on July 24, 2024

looks like the v4 signing dosent work for me when i try to upload an object..
any way to find out why?

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on July 24, 2024

The POST requests may take a separate signature type. I'm not sure when I'll have time to look into this, but it's on my list. If someone else wants to make a PR before me, feel free.

from amazons3requestmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.