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

Add generateKey flag to multipart create endpoint #974

Merged
merged 5 commits into from
Feb 20, 2024

Conversation

ChrisSchinnerl
Copy link
Member

That way a client doesn't need to generate a key themselves.

This PR also gets rid of the disablePreshardingEncryption flag and instead looks at the encryption key to determine whether encryption is enabled and an offset is necessary. This should offer better protection against misusing the multipart upload API. For everyone already using it correctly, this change is backwards compatible.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Feb 16, 2024
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review February 19, 2024 13:42
worker/worker.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit c0d92cf into dev Feb 20, 2024
8 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/multipart-create-key branch February 20, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants