Skip to content
This repository was archived by the owner on Sep 14, 2025. It is now read-only.

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

Description

@colesiegel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions