Repository navigation
rgw/s3: support BlockedEncryptionTypes in bucket encryption configuration - #71247
Conversation
c3693bf to
01e006b
Compare
Config Diff Tool Output+ added: rgw_s3_block_sse_c_by_default (rgw.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
01e006b to
ef58636
Compare
|
This PR has been added to main integration testing by anuchaithra started 2026-09-02-05:41. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
ef58636 to
abae90e
Compare
abae90e to
c89c3b0
Compare
|
This PR has been added to main integration testing by anuchaithra started 2026-09-18-10:20. |
|
There was a test_bucket_block_sse_c error on the QA run. See: https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-09-18_12:34:38-rgw-wip-anuchaithra-testing-20260918.102038-main-distro-default-trial/567087/teuthology.log This was part of this QA run: https://tracker.ceph.com/issues/80179 I'm removing the needs-qa label so this can be addressed. |
c89c3b0 to
16a6e59
Compare
@ivancich Apologies. That was the dbstore job, whose copy_object is a no-op stub. I moved the CopyObject case into its own test tagged fails_on_dbstore like the rest of the copy tests, which should resolve that failure. |
16a6e59 to
895d8e8
Compare
|
This PR has been added to main integration testing by anuchaithra started 2026-09-22-04:11. |
|
This PR has been removed from main integration testing by anuchaithra started 2026-09-02-05:41. |
@mheler , build creation failed, could you please check : https://shaman.ceph.com/builds/ceph/wip-anuchaithra-testing-20260922.041044-main/ |
Add support for BlockedEncryptionTypes in PutBucketEncryption and GetBucketEncryption. Blocking SSE-C rejects new SSE-C uploads with 403 AccessDenied. Objects already encrypted with SSE-C stay readable. Add rgw_s3_block_sse_c_by_default to block SSE-C on newly created buckets. Signed-off-by: Matthew N. Heler <[email protected]>
895d8e8 to
056f444
Compare
@anrao19 Please rebase, and try the build again. Those build failures are unrelated to this PR. |
LGTM from bucket logging perspective! |
|
pr testing completed and approved by @ivancich , more details in https://tracker.ceph.com/issues/80713. |
Add tests to validate that BlockedEncryptionTypes keeps new SSE-C uploads out of a bucket while pre-existing objects stay readable. Cover rgw_s3_block_sse_c_by_default and its per-bucket override. Signed-off-by: Matthew N. Heler <[email protected]>
Describe the BlockedEncryptionTypes element and how to block or allow sse-c uploads on a bucket. Document the option that applies this policy to all newly created buckets. Signed-off-by: Matthew N. Heler <[email protected]>
056f444 to
66f329c
Compare
Fixes: https://tracker.ceph.com/issues/79738
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.