mhart / aws4

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

Headers to exclude are not excluded from the cannonicalHeaders #157

Closed mrawji closed 1 month ago

mrawji commented 11 months 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 11 months ago

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