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

Feature request - storing/retrieving checksum metadata (x-amz-checksum) inside object attributes #801

Open
colesiegel opened this issue Jul 18, 2022 · 0 comments

Comments

@colesiegel
Copy link

colesiegel commented Jul 18, 2022

Hi,

I would like to locally test some code that utilizes these features: https://aws.amazon.com/blogs/aws/new-additional-checksum-algorithms-for-amazon-s3/ https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

However it seems like the checksum information (e.g. SHA-256) is not stored anywhere with s3rver when it is included in PUT or POST request headers to the bucket.

x-amz-checksum-crc32: ChecksumCRC32
x-amz-checksum-crc32c: ChecksumCRC32C
x-amz-checksum-sha1: ChecksumSHA1
x-amz-checksum-sha256: ChecksumSHA256

If it helps, this is the API call which returns the same values when working with a real S3 bucket: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html#API_GetObjectAttributes_ResponseSyntax

@colesiegel colesiegel changed the title Feature request - support for storing/retrieving checksum metadata inside object attributes Feature request - storing/retrieving checksum metadata (x-amz-checksum) inside object attributes Jul 18, 2022
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

No branches or pull requests

1 participant