Skip to content

[#726] implementation of SSE-C#902

Closed
mtsyganov wants to merge 2 commits intominio:masterfrom
mtsyganov:master
Closed

[#726] implementation of SSE-C#902
mtsyganov wants to merge 2 commits intominio:masterfrom
mtsyganov:master

Conversation

@mtsyganov
Copy link
Copy Markdown

Currently it is possible to put objects to minio with server side encryption by using metaData. Unfortunately it is not possible to get those server side encrypted objects back from minio.

This PR solves the problem by adding to the getObject functions the metaData parameter.

@prakashsvmx
Copy link
Copy Markdown
Member

prakashsvmx commented Aug 20, 2021

Closing this. As the changes related to this are merged and released.
@mtsyganov thank you for the contribution.

@appcoders
Copy link
Copy Markdown

@prakashsvmx This has never been landed to master? Because it does not work in the current release at all. Always getting S3 errors as all X-Amz-Server-Side-Encryption-* keys are set in query instead of headers.
Changing the code in minio.js that getOpts is added as headers via prependXAMZMeta and dropping query completely leads to a working solution for encrypted files.

@appcoders
Copy link
Copy Markdown

@mtsyganov Did you ever try if (f)getObject works with encrypted files?

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.

3 participants