mhart / aws4

Signs and prepares Node.js requests using AWS Signature Version 4
MIT License
703 stars 176 forks source link

Headers to exclude are not excluded from the cannonicalHeaders #157

Closed mrawji closed 2 months ago

mrawji commented 1 year ago

When using the "headers to exclude" feature, they are excluded from the "signedHeaders" group, but they aren't excluded from the cannonicalString, and that causes a signature mismatch.

Hobart2967 commented 1 year ago

Fix: https://github.com/mhart/aws4/pull/158