Project

General

Profile

Actions

Bug #79803

closed
CB

sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requests

Bug #79803: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requests

Added by Casey Bodley 3 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle umbrella
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
sigv4
Fixed In:
v21.3.0-2665-ge1ecde0200
Released In:
Upkeep Timestamp:
2026-08-28T01:51:37+00:00

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-sha256 header value is already part of your HashedPayload, you are not required to include the x-amz-content-sha256 header as a canonical header.


Related issues 3 (1 open — 2 closed)

Copied to rgw - Backport #79871: tentacle: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requestsQA Testing

Actions
Copied to rgw - Backport #79872: umbrella: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requestsResolvedAdam Emerson

Actions
Copied to rgw - Backport #79873: squid: sigv4: don't require x-amz-content-sha256 in SignedHeaders for s3 requestsResolvedAdam Emerson

Actions

AE Updated by Adam Emerson 3 months ago Actions #1

  • Pull request ID set to 71292

CB Updated by Casey Bodley 3 months ago Actions #2

  • Status changed from New to Fix Under Review

UB Updated by Upkeep Bot 3 months ago Actions #3

  • 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 Actions #4

  • 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 Actions #5

  • 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 Actions #6

  • 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 Actions #7

  • Tags (freeform) changed from sigv4 to sigv4 backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #8

  • 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 Actions #9

  • 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
Actions

Also available in: PDF Atom