Repository navigation
Conversation
There was a problem hiding this comment.
Reviewed against current main at c4b9d38.
The production change is minimal and correct: decryptChecksums supplies x-amz-checksum-type only when a stored checksum is present, the XML field is omitted when empty, the compatibility baseline is updated, and the regression test covers FULL_OBJECT, COMPOSITE, and no-checksum behavior.
Local validation passed:
- targeted ChecksumType regression test
- full cmd package test suite
- rebrand compatibility guard
- git diff --check
An HTTP-level CompleteMultipartUpload test would be a useful follow-up, but I do not consider it blocking here: the handler delegates directly to the tested response generator, while existing real multipart-upload tests cover the persisted FULL_OBJECT/COMPOSITE checksum representations.
The additional SHA512/XXHASH/MD5 algorithms mentioned on #47 are out of scope for this fix; they should be tracked separately if/when the server's hash/storage layer supports them.
Contribution Licensing (no CLA, inbound=outbound, DCO required)
This project does not use a CLA; contributions are accepted inbound=outbound.
By submitting this pull request I represent that I have the right to contribute
the changes, which are licensed under this repository's
GNU Affero General Public License v3.0 or later
and remain my copyright. Every commit must carry a DCO
Signed-off-bytrailer(
git commit -s) certifying theDeveloper Certificate of Origin — see
CONTRIBUTING.md.
Description
Add the
ChecksumTypefield in theCompleteMultipartUploadResponsestructMotivation and Context
Resolves #47
How to test this PR?
make testpassesCompatibility impact
Types of changes
Checklist:
git commit -s) per the DCOcommit-idorPR #here)make verifierspassesmake buildpasspgsty/silo.pgsty.com, if needed