Bug #79803
closedsigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requests
0%
Description
reported by Peter Linder on ceph-users thread https://lists.ceph.io/hyperkitty/list/[email protected]/thread/SOMOMVAAEMQULNK6V6MPXDWUS3YWU22G/:
while https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-create-signed-request.html says that all x-amz- headers should be signed as part of CanonicalHeaders:
Any
x-amz-*headers that you plan to include in your request must also be added.
there's an exception for x-amz-content-sha256 in the s3-specific doc https://docs.aws.amazon.com/AmazonS3/latest/developerguide/sig-v4-header-based-auth.html:
In both cases, because the
x-amz-content-sha256header value is already part of yourHashedPayload, you are not required to include thex-amz-content-sha256header as a canonical header.
AE Updated by Adam Emerson 3 months ago
- Pull request ID set to 71292
CB Updated by Casey Bodley 3 months ago
- Status changed from New to Fix Under Review
UB Updated by Upkeep Bot 3 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to e1ecde0200459edfdf7b7674f83702028633c6f2
- Fixed In set to v21.3.0-2665-ge1ecde0200
- Upkeep Timestamp set to 2026-08-25T18:58:51+00:00
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79871: tentacle: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requests added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79872: umbrella: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requests added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79873: squid: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requests added
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) changed from sigv4 to sigv4 backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Upkeep Timestamp changed from 2026-08-25T18:58:51+00:00 to 2026-08-27T18:46:59+00:00
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) changed from sigv4 backport_processed to sigv4
- Upkeep Timestamp changed from 2026-08-27T18:46:59+00:00 to 2026-08-28T01:51:37+00:00