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

Pass encryption headers on copy. #658

Merged
merged 1 commit into from
Aug 8, 2016

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Aug 4, 2016

This patch updates FogClient.cp_file_between_keys to both copy and save files with the specified encryption options. This handles the edge case where encryption is mandatory for an S3 bucket--to ensure that all of our files are encrypted, we configure our buckets to reject any PUTs without encryption set. With this patch, S3 objects are encrypted at all times, instead of copying an object unencrypted and then re-encrypting it afterwards.

@cfdreddbot
Copy link

Hey jmcarp!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/127705337

The labels on this github issue will be updated when the story is started.

@jmcarp jmcarp changed the title Pass ACL and encryption headers on copy. Pass encryption headers on copy. Aug 4, 2016
@thausler786
Copy link
Contributor

Hi @jmcarp,

Looks good, thanks for the pull request!

@adowns01 && @thausler786
CAPI team members

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants