Add customer-supplied encryption to storage by daspecster · Pull Request #1844 · googleapis/google-cloud-python

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@daspecster

Copy link Copy Markdown

Contributor

Possible solution to resolve #1841.

I think my tests could use some feedback.

@daspecster daspecster added type: feature request

‘Nice-to-have’ improvement, new feature or different behavior or design.

api: storage

Issues related to the Cloud Storage API.

labels

Jun 7, 2016

@googlebot googlebot added the cla: yes

This human has signed the Contributor License Agreement.

label

Jun 7, 2016

@daspecster daspecster force-pushed the customer-supplied-encryption branch from 0d91e0b to f713c3e Compare

June 7, 2016 19:53

@daspecster

Copy link Copy Markdown

Contributor Author

@tseaver @dhermes PTAL when you have a moment.

"""
return bucket_path + '/o/' + quote(blob_name, safe='')

@staticmethod

This comment was marked as spam.

@daspecster daspecster force-pushed the customer-supplied-encryption branch 2 times, most recently from 737bf7e to bfaf049 Compare

June 8, 2016 20:04

@daspecster

Copy link Copy Markdown

Contributor Author

@dhermes I think I got your comments addressed.
@tseaver Let me know what you think as well.


:type value: bytes
:param value: bytes value to attempt string conversion on.
"""

This comment was marked as spam.

@daspecster daspecster force-pushed the customer-supplied-encryption branch from b4152a2 to 824bf93 Compare

June 10, 2016 11:27

@daspecster

Copy link Copy Markdown

Contributor Author

@dhermes I squashed the commits for this. Let me know if you have any other feedback.

raise TypeError('%r could not be converted to bytes' % (value,))


def _from_bytes(value):

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

api: storage

Issues related to the Cloud Storage API.

cla: yes

This human has signed the Contributor License Agreement.

type: feature request

‘Nice-to-have’ improvement, new feature or different behavior or design.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support custom encryption keys

4 participants

@daspecster @jgeewax @dhermes @googlebot