Skip to content

Adding guidance to MD5 calculation exception message #5186

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

Merged
merged 2 commits into from
May 6, 2024

Conversation

cenedhryn
Copy link
Contributor

Motivation and Context

If MD5 calculation fails because there is no available algorithm in the underlying JVM, this could be because the SDK is executing in a FIPS environment, where MD5 is no longer allowed due to compliance reasons.

In addition to disabling MD5 checks on SQS message responses if the flag checksumValidationEnabled flag is set to false (PR #4729), this PR informs users with failing calculations that the flag exists by extending the exception message.

@cenedhryn cenedhryn requested a review from a team as a code owner May 6, 2024 16:29
@cenedhryn cenedhryn enabled auto-merge (squash) May 6, 2024 19:48
Copy link

sonarqubecloud bot commented May 6, 2024

@cenedhryn cenedhryn merged commit 5fa0640 into master May 6, 2024
@cenedhryn cenedhryn deleted the salande/sqs-md5-error-msg branch May 6, 2024 20:32
akidambisrinivasan pushed a commit to akidambisrinivasan/aws-sdk-java-v2 that referenced this pull request Jun 28, 2024
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