Skip to content

fix: reject unsupported checksum assertions - #92

Merged
Vonng merged 2 commits into
mainfrom
codex/reject-unsupported-checksums
Aug 29, 2026
Merged

Vonng merged 2 commits into
mainfrom
codex/reject-unsupported-checksums

Conversation

@Vonng

@Vonng Vonng commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

  • reject unimplemented MD5, SHA512, XXHASH64, XXHASH3, XXHASH128, future value headers, and trailer names
  • preserve the five implemented algorithms and SDK control headers
  • enforce the contract across PutObject, multipart initiation/parts, CopyObject, and UploadPartCopy
  • parse comma-separated trailer declarations and reject duplicate checksum trailers

Validation

  • internal header/trailer allowlist matrix
  • HTTP mutation/non-creation tests on both backends
  • focused normal/race and go vet for hash/cmd
  • Claude Opus 5 Max review with missing multipart call sites added

Unsupported cross-vendor replication now fails visibly instead of silently dropping an integrity assertion. Documentation is in pgsty/silo.pgsty.com PR #9.

Reject unimplemented x-amz-checksum value and trailer names instead of accepting uploads without verification. Apply the same contract to PutObject, multipart initiation and parts, CopyObject, and UploadPartCopy while preserving the five supported algorithms.

Signed-off-by: Feng Ruohang <[email protected]>
@Vonng
Vonng merged commit 4538122 into main Aug 29, 2026
8 checks passed
@Vonng
Vonng deleted the codex/reject-unsupported-checksums branch September 2, 2026 15:06
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