Skip to content

md5 reported in list_path is wrong for files on S3 uploaded as multipart #105

@kmichel-aiven

Description

@kmichel-aiven

What happened?

rohmu assumes the Etag reported by S3 listObjectV2 is an MD5, this is false if the
file was uploaded as multipart, or for some cases of server side encryption:

https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html#AmazonS3-Type-Object-ETag

https://github.com/aiven/rohmu/blob/8ae24adf491f26b676ed1ae0339aaa2dd87d96ae/rohmu/object_storage/s3.py#L248

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions