Add --checksum param to pipe, put, cp, mirror#5043
Merged
harshavardhana merged 1 commit intominio:masterfrom Sep 24, 2024
Merged
Add --checksum param to pipe, put, cp, mirror#5043harshavardhana merged 1 commit intominio:masterfrom
harshavardhana merged 1 commit intominio:masterfrom
Conversation
Add checksums to pipe, cp, mirror commands. > Add checksum to uploaded object. Values: MD5, CRC32, CRC32C, SHA1 or SHA256. Requires server trailing headers support like AWS, MinIO and possibly others. `--md5` is hidden, but still applied. Uploads to buckets with object locking will still use MD5. Bonus: `mc stat` shows checksum information.
8 tasks
harshavardhana
approved these changes
Sep 24, 2024
4 tasks
klauspost
added a commit
to klauspost/warp
that referenced
this pull request
Jun 3, 2025
Usage is similar to [mc](minio/mc#5043). > To add a [checksum](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) to the uploaded objects, use `--checksum` parameter. The following checksums are supported: `CRC32` (composite), `CRC32-FO` (full object), `CRC32C`, `CRC32-FO`, `CRC32C`, `SHA1`, `SHA256` and `CRC64NVME`. Adding a checksum will always disable MD5 checksums.
harshavardhana
pushed a commit
to minio/warp
that referenced
this pull request
Jun 3, 2025
Usage is similar to [mc](minio/mc#5043). > To add a [checksum](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) to the uploaded objects, use `--checksum` parameter. The following checksums are supported: `CRC32` (composite), `CRC32-FO` (full object), `CRC32C`, `CRC32-FO`, `CRC32C`, `SHA1`, `SHA256` and `CRC64NVME`. Adding a checksum will always disable MD5 checksums.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add checksums to pipe, cp, mirror commands.
--md5is hidden, but still applied.Uploads to buckets with object locking will still use MD5.
Bonus:
mc statshows checksum information.How to test this PR?
Single/multipart upload (mc cp):
(mc put)
(mc pipe):
Types of changes