Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 checksum support for validating object integrity #8487

Open
guymguym opened this issue Oct 29, 2024 · 0 comments
Open

S3 checksum support for validating object integrity #8487

guymguym opened this issue Oct 29, 2024 · 0 comments
Labels
S3-Compatibility S3 Compatibility and Namespace over AWS

Comments

@guymguym
Copy link
Member

Environment info

  • NooBaa Version: 5.17
  • Platform: any

Actual behavior

  1. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html.
  2. We are missing support for checksum headers x-amz-checksum-mode, x-amz-sdk-checksum-algorithm, x-amz-checksum-XXX.
  3. While we do support Content-MD5 and x-amz-content-sha256 (which is used to protect the signature), the new checsum headers were added to become persistent attributes of the object and retrieved on next head/get.

Expected behavior

  1. Should support checksums calculation and persistency PutObject, CopyObject, UploadPart, UploadPartCopy, and then also retrieval on GetObject, HeadObject.
  2. Should support also Trailers when applicable.

Steps to reproduce

  1. For example aws s3 cp --checksum-mode ENABLED --checksum-algorithm CRC32|CRC32C|SHA1|SHA256 ...
@guymguym guymguym added the S3-Compatibility S3 Compatibility and Namespace over AWS label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S3-Compatibility S3 Compatibility and Namespace over AWS
Projects
None yet
Development

No branches or pull requests

1 participant