fog / fog-aws

Module for the 'fog' gem to support Amazon Web Services http://aws.amazon.com/
MIT License
296 stars 353 forks source link

Support disabling of Content-MD5 for FIPS #668

Closed stanhu closed 1 year ago

stanhu commented 1 year ago

On a FIPS system, calling OpenSSL::Digest::MD5 fails. The Go AWS SDK has an option of disabling Content-Md5 in these cases (https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config.WithS3DisableContentMD5Validation). This commit adds a disable_md5_content_validation flag to emulate this behavior for multipart uploads. In this mode, Content-Md5 is omitted in multipart chunks. fog-aws already sends along the x-amz-content-sha256 header.

geemus commented 1 year ago

@stanhu do you need a release?

stanhu commented 1 year ago

Yes, please. Thanks!

On Thu, Feb 9, 2023 at 6:41 AM Wesley Beary @.***> wrote:

@stanhu https://github.com/stanhu do you need a release?

— Reply to this email directly, view it on GitHub https://github.com/fog/fog-aws/pull/668#issuecomment-1424297107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLJ4X26K6FKEHNN4IYNVLWWT6Y5ANCNFSM6AAAAAAUVTU6VU . You are receiving this because you were mentioned.Message ID: @.***>

geemus commented 1 year ago

Released as part of v3.17.0. Thanks!