openstack swift formpost query

Asked by Viral Patadiya

Hi,

We are trying to use the swift formpost middleware.

We have created an account and also configured a header X-Account-Meta-Temp-URL-Key for the account.

We are following the guidelines on http://swift.openstack.org/misc.html#module-swift.common.middleware.formpost

After generating the signature using the hmac, we are trying to upload an object using the formpost.

It takes the request and then redirects the the designated url with an error "InvalidSignature"

In swift syslog on the proxy server, we are getting 401 error.

Please help.

Regards,

Viral Patadiya
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Viral Patadiya
Solved:
Last query:
Last reply:
Revision history for this message
Viral Patadiya (viralpatadiya) said :
#1

Hi,

I changed my proxy server authentication from swauth to tempauth and both tempurl and formpost started working,

Need to make them work with swauth as well.

Any ideas ?

Regards,

Viral Patadiya

Revision history for this message
Viral Patadiya (viralpatadiya) said :
#2

Hi,

The issue finally got resolved.

Please see https://github.com/gholt/swauth/commit/09590624eaf34c60920b804856b7992ad546b506

Thanks & Regards,

Viral