Closed robj closed 9 years ago
of note to any ruby developers, while not helpful in this case (where signing is done in JS), a gem does exist for server side URL signing
@robj any success on this issue? I have same results.
@robj Works for me now. One chage needs to be made in your code.
def bin_to_hex(s)
s.unpack('H*')[0]
end
@bordo Thanks so much! That was exactly what I needed. Works for me now too..
I suppose this is fixed, so I'll close it.
The following ruby backend code will produce exactly the same signature as the python backend. (Verified by using Amazons test input at http://docs.aws.amazon.com/general/latest/gr/signature-v4-examples.html )
I still get 'signature does not match' errors when mule POSTs to S3.
Bucket CORS
'/uploads/signing_key' returns:
server debug statements during request:
S3:
successful OPTIONS method request headers (relevant)
unsuccessful POST method request headers (relevant)
unsuccessful POST method response headers (all)
unsuccessful POST method body