ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.33k stars 125 forks source link

Add x-amz-content-sha256 has for aws sigv4 request #53

Closed luqmaanbadat closed 8 months ago

luqmaanbadat commented 9 months ago

When creating a sigv4 request you need to add an x-amz-content-sha256 header of the hash of the body.

luqmaanbadat commented 9 months ago

The library used aws4 does not calculate the x-amz-content-sha256 header.

https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html

archywillhe commented 8 months ago

hey thanks.. but I'm not sure what's the ramification of this. And I've looked into insomnia's tickets and haven't found anything relevant;

so I'm closing it for now. I will re-open/merge this if anything comes up