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

Base64 encode the checksum #639

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Conversation

arouel
Copy link
Contributor

@arouel arouel commented Mar 11, 2025

We've figured, that the integrity checksum must be Base64 encoded, but the existing integration tests didn't show the problem due to a wrong setup. To successfully verify the CRC64NVME algorithm, we need a recent LocalStack docker image.

Additionally, we add CRC32 integrity check support, because it could be easier to create with existing CLI programs on a local developer machine for manual testing purposes.

While testing, we also observed debug messages with stack traces that were caused by head-object requests, where it is expected that an NoSuchKeyException occurs. Therefore, we decided to handle this case explicitly and avoid logging (see S3FileSystemProvider.java line 901).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@markjschreiber markjschreiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update

@markjschreiber markjschreiber merged commit 5e0f8fb into awslabs:main Mar 11, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants