-
Notifications
You must be signed in to change notification settings - Fork 4
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
Problem with Data Integrity Protections for Amazon S3 #160
Comments
@ErwanLeroux Thanks for reporting this issue. Please try to resolve it by upgrading the LocalS3 version to |
Sadly, it doesn't work without setting
even with the |
For security reason, I can't provide with the full file that cause the problem, but I can show you the extraneous bytes at the start of the file |
@ErwanLeroux It appears that LocalS3 is not decoding the stream correctly when uploading objects. Could you please provide a test code snippet to reproduce this issue? |
With version 2.30.0 of https://mvnrepository.com/artifact/software.amazon.awssdk/bom/
byte[] tarContent = s3Resource.getContentAsByteArray();
returns more than the previously uploaded file, resulting in a corrupted file.I found this issue :
And configured my S3Client with
That made
byte[] tarContent = s3Resource.getContentAsByteArray();
return the exact file.It appears to be linked to aws/aws-sdk-java-v2#5802
Could you look into it, to see if there anything to do beside configuration ?
The text was updated successfully, but these errors were encountered: