s3rver icon indicating copy to clipboard operation
s3rver copied to clipboard

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

Open colesiegel opened this issue 2 years ago • 0 comments

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 avatar Jul 18 '22 12:07 colesiegel