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

Signature calculated for AWSV4 multipart/form-data wrong #9127

Closed
a053a opened this issue Oct 5, 2020 · 2 comments
Closed

Signature calculated for AWSV4 multipart/form-data wrong #9127

a053a opened this issue Oct 5, 2020 · 2 comments

Comments

@a053a
Copy link

a053a commented Oct 5, 2020

Describe the bug
Incorrect signature calculated when signing a request with AWS Signature with form-data parameters.

To Reproduce
Pre-requistes:
Create a REST API Gateway in AWS.
Create a route using AWS_IAM authentication.
Deploy the route.
Create an Access Key for your AWS account so you can sign with the AccessKey and SecretKey.

image

image

Steps to reproduce the behavior:

  1. Go to Postman
  2. Click on POST
  3. Enter the URL e.g. https://yourgateway.execute-api.us-east-1.amazonaws.com/deploy/testing
  4. Click on Authorization. Choose AWS Signature.
  5. Select Add authorization data to Request Headers.
  6. Enter your Access Key and Secret Key. Enter Service Name as execute-api.
  7. Click on Body. Enter a key and value, it can be anything.
  8. Click Send.

image

image

Expected behavior
A successful response.

App information (please complete the following information):

  • App Type [NativeApp]
  • Postman Version [Version 7.32.0 (7.32.0)]
  • OS: [e.g. macOS Catalina 10.15.5 (19F101)]

Additional context
This works correctly using my C# POC.
Install AwsSignatureVersion4 nuget package.

image

image

@coditva
Copy link
Member

coditva commented Oct 12, 2020

Thanks for writing in!
This seems to be a duplicate of #8180

We'll track this in a single thread and ask you to add your observations to that thread itself.
Any updates will be posted there as well. Closing this ticket.

@coditva coditva closed this as completed Oct 12, 2020
@vikiCoder vikiCoder added the bug label Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants