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

Only compute SSE-C headers when needed in multipart upload #669

Closed stanhu closed 1 year ago

stanhu commented 1 year ago

Previously fog-aws would attempt to generate all the SSE-C headers even if encryption were not active. However, on a FIPS system, MD5 is not available. This commit modifies the UploadPart API request to compute the SSE-C headers only when they are needed.

stanhu commented 1 year ago

@geemus Could you take a look at this?

stanhu commented 1 year ago

@geemus Thanks! Would you mind tagging a new release?

geemus commented 1 year ago

@stanhu released in v3.18.0.