Open Nandez89 opened 3 years ago
Hi @Nandez89,
Thanks for posting. From my initial research this is something that would have to change on the service side. Similar requests have been made for the Python SDK and the S3 client. For example:
https://github.com/boto/botocore/issues/1700#issuecomment-476412391
I'll look into it some more to see if anything has changed with this scenario.
Hi @kdaily and others, I thought I'd share an update on our workaround.
The issue happens specifically on receiving a response from SQS and when the client is verifying the response contents, so far our workaround was to disable the :verify_checksums
option when creating a new Client
in GovCloud environments.
Since the SDK it's always using the MD5 plugin internally, this doesn't work on GovCloud environments because or FIPS restrictions. It would be great if the verify feature could be used with other algorithms that are FIPS compliant so the verify could be used on GovClous environments too, although I'm not sure if this is supported by SQS responses.
👋🏽 So this is no longer a govcloud issue. We at GSA for login.gov started using Ubuntu Pro for its maintained FIPS OpenSSL validated module to meet FedRAMP requirements and MD5 is not a government approve algorithm. We could def use an assist on this feature update for your future roadmap be it on the service end or not.
Hi Team, We are also facing the same issue. Is there any update on how to resolve the issue?
Unable to disable MD5 checks from the SDK side (using v3 of AWS SDK for JS). v2 of the AWS SDK for JS works fine to disable MD5 check via computechecksums property. Until v3 has this support working, can v2 SDK support be extended?
When using a client from the aws-sqs-sdk on GovCloud environments there is an error generated when trying to produce outbox messages. When the SDK tries to validate the message body using md5s.rb plugin and that generates the following error
OpenSSL::Digest::DigestError: Digest initialization failed: disabled for fips
Posting it on this repo since the most similar issue I could find for the Ruby SDK repo pointed me here.
This is the stack trace:
Are there any configs specific to the client besides the region and queue URL that tell it not to use md5, or is this something missing in the sdk? I haven't been able to find any other leads here on this so any pointers are greatly appreciated.