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

Non-MD5 Etag returned for objects #1053

Open
roman-khimov opened this issue Jan 10, 2025 · 1 comment
Open

Non-MD5 Etag returned for objects #1053

roman-khimov opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working I3 Minimal impact S3 Minimally significant U2 Seriously planned

Comments

@roman-khimov
Copy link
Member

Current Behavior

Known, documented, we return SHA256 hash in Etag.

Expected Behavior

Applications expect MD5 in some cases. See #1030 (comment)

Possible Solution

Probably this can be conditional. AWS docs mention that MD5 is used in a limited number of cases and these cases can be OK for us. We can also consider calculating/storing MD5, search is pretty much the same for payload hash and some S3-specific attribute. Yeah, MD5 sucks, but who cares when we can't provide compatibility with real applications.

Steps to Reproduce

Run Nexus3 against S3 gateway.

Context

https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

Regression

No.

Your Environment

  • Version of the product used: 0.34.0
@roman-khimov roman-khimov added bug Something isn't working U2 Seriously planned S3 Minimally significant I3 Minimal impact labels Jan 10, 2025
@roman-khimov
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I3 Minimal impact S3 Minimally significant U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

1 participant