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

Allow for user-provided GCP bucket encryption key #773

Open
ericsmalling opened this issue Jun 3, 2024 · 3 comments
Open

Allow for user-provided GCP bucket encryption key #773

ericsmalling opened this issue Jun 3, 2024 · 3 comments
Labels
enhancement New feature or request help-wanted Issues in the state 'help-wanted' ready Issues in the state 'ready'

Comments

@ericsmalling
Copy link

ericsmalling commented Jun 3, 2024

Project board link

When the GCS Bucket is encrypted with customer-managed key (which is what my client does), GCS list will not include the field md5Hash in the response. Therefore, they want to use the etag field instead of md5Hash.

┆Issue is synchronized with this Jira Story by Unito

@c3-clement
Copy link

Indeed, when the GCS bucket is encrypted with customer-managed key, the List operation from the GCS API won't expose the md5Hash field, which cause Medusa code to crash there https://github.com/thelastpickle/cassandra-medusa/blob/master/medusa/storage/google_storage.py#L81 .

Note that this behavior is not documented anywhere, but I opened a ticket to GCP support.
See our discussion below

support-1

support-2

@c3-clement
Copy link

c3-clement commented Jun 4, 2024

GCP team also have ticket about this opened since 2018:
https://issuetracker.google.com/issues/115290740#comment1

@adejanovski adejanovski added the ready Issues in the state 'ready' label Jun 11, 2024
@rzvoncek rzvoncek added enhancement New feature or request help-wanted Issues in the state 'help-wanted' labels Jun 11, 2024
@ericsmalling
Copy link
Author

Returning from a break, will be working on this asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help-wanted Issues in the state 'help-wanted' ready Issues in the state 'ready'
Projects
None yet
Development

No branches or pull requests

4 participants