Repository navigation
Conversation
Signed-off-by: Yuval Lifshitz <[email protected]>
28 of 48 tasks
cbodley
approved these changes
May 6, 2026
Contributor
Author
|
commit merged into: #66066 |
mmgaggle
added a commit
to mmgaggle/ceph
that referenced
this pull request
May 12, 2026
…bypass) Mirrors the s3vectors pattern from PR ceph#68654: * Add 21 RGW_OP_S3FILES_* op-types covering the full v1 surface. * Each per-op class now overrides get_type() with its specific enum (was RGW_OP_UNKNOWN previously). * Add those op-types to is_non_s3_op() in rgw_auth_s3.cc so the AWS auth path uses the service-aware canonical-request hash rather than the S3-style fallback. * In RGWRESTMgr_S3Files::get_handler, pre-read the request body for PUT/POST and set the `PayloadHash` arg to the SHA256 of the body (rgw::auth::s3::calc_v4_payload_hash). The auth engine consumes that arg when is_non_s3_op() returns true, matching what boto3 signs at service=s3files. * The pre-read body is moved into RGWHandler_REST_S3Files via its constructor, then handed off to body-bearing ops (Create*/Put*/Update*/Tag*) via their own constructors. Bodies are no longer re-read inside init_processing — they come from the handler's stored bufferlist. * Restore RGWHandler_REST_S3Files::authorize to the proper RGW_Auth_S3::authorize call path (was a temporary access-key-only bypass shipped earlier this session). Verified at the unit level against the existing MemoryStore tests; runs against vstart-RGW pending the next push. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> Signed-off-by: Kyle Bader <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.