Skip to content
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

Copyobject: Filter all encryption headers in gateway #9661

Merged
merged 1 commit into from May 21, 2020

Conversation

kannappanr
Copy link
Contributor

Fixes #9655

Description

X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id and X-Amz-Server-Side-Encryption-Context headers were not removed from the source object causing partial encryption headers to be passed to the backend. This caused a failure in copyobject.

Motivation and Context

Issue #9655

How to test this PR?

Using the steps described in #9655

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Documentation needed
  • Unit tests needed
  • Functional tests needed (If yes, add mint PR # here: )

@minio-trusted
Copy link
Contributor

Mint Automation

Test Result
mint-xl.sh ✔️
mint-large-bucket.sh ✔️
mint-fs.sh ✔️
mint-dist-xl.sh ✔️
mint-gateway-s3.sh ✔️
mint-gateway-azure.sh ✔️
mint-gateway-nas.sh ✔️
Deleting image on docker hub
Deleting image locally

@harshavardhana harshavardhana merged commit fade056 into minio:master May 21, 2020
@kannappanr kannappanr deleted the kmsid branch May 21, 2020 18:56
blaenk pushed a commit to blaenk/minio that referenced this pull request Aug 26, 2020
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.

Cannot move/copy SSE-KMS encrypted object via AWS CLI
4 participants