Skip to content

Commit a38460e

Browse files
committed
chore(ci): disable optional CRC32 request checksum for R2 signature sync
AWS CLI v1 (current botocore) defaults request checksums to CRC32, which Cloudflare R2 may reject on single-part PutObject uploads. Set AWS_REQUEST_CHECKSUM_CALCULATION=when_required, matching the pattern used by telegraf and influxctl. Integrity remains protected via the SigV4 x-amz-content-sha256 hash and R2's MD5 ETag.
1 parent b24e555 commit a38460e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ jobs:
280280
packages-upload-signatures:
281281
docker:
282282
- image: cimg/python:3.12.3
283+
environment:
284+
AWS_REQUEST_CHECKSUM_CALCULATION: when_required
283285
steps:
284286
- attach_workspace:
285287
at: /tmp/workspace

0 commit comments

Comments
 (0)