C2FO / vfs

Pluggable, extensible virtual file system for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move sseType to configuration

yellow-sky opened this issue · comments

There is currently no way to change the sse type or disable it.

Agreed that this should be optional. We are planning out a v6 release which includes revamping our options work. There will be global options as well as certain per-request options like:

localFile.CopyTo(remoteS3File, WithUseSSE())

The form of most options will be variadic functional options.

Hi @funkyshu,

I'm also having trouble connecting to a Ceph Object Gateway via the S3 backend due to mandatory server-side encryption. There is a pull request (#114) that makes the option configurable.
It would be great if you could merge the PR into v6 and we don't have to wait for v7.

If you have problems with the pull request, I can create a new PR that suits your needs. Please let me know.