Skip to content

Fix: MissingContentMD5 due to changed defaults in boto3, added aws_checksum_validation option#289

Closed
psrok1 wants to merge 1 commit intomasterfrom
fix/botocore-checksum-calculation
Closed

Fix: MissingContentMD5 due to changed defaults in boto3, added aws_checksum_validation option#289
psrok1 wants to merge 1 commit intomasterfrom
fix/botocore-checksum-calculation

Conversation

@psrok1
Copy link
Member

@psrok1 psrok1 commented Jul 31, 2025

In previous versions, boto3 was pinned to <1.36.0 due to this problem: boto/boto3#4392. It's better described in #270.

Unfortunately it appeared to be still a footgun for us - in v5.8.0 I bumped the boto3 version while adding support for asyncio (#284) and once again hit that problem.

Because CRC64-NVMe checksums are not widely supported across non-AWS S3 providers, it's a bit more safe for us to use different set of defaults than botocore. If someone wants to use defaults proposed by AWS, [s3].aws_checksum_validation configuration option can be set to "1", making it opt-in.

@psrok1
Copy link
Member Author

psrok1 commented Jul 31, 2025

Unfortunately this still doesn't solve the problem

@psrok1 psrok1 closed this Jul 31, 2025
@psrok1 psrok1 deleted the fix/botocore-checksum-calculation branch July 31, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant