]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: SSE-KMS: Handle Testing Key Per Object 61256/head
authorMarcel Lauhoff <marcel.lauhoff@clyso.com>
Tue, 5 May 2026 12:21:03 +0000 (14:21 +0200)
committerMarcel Lauhoff <marcel.lauhoff@clyso.com>
Mon, 1 Jun 2026 17:04:12 +0000 (19:04 +0200)
commit12de72b3f34f53357e5a918b55f4a5d20c200761
treefaa319711237c37f7c2a3c40535dac421c7d95c4
parent62ba03f3ff1a174afbd64bf7d3727baa8c5586de
rgw: SSE-KMS: Handle Testing Key Per Object

The testing backend uses a 'keysel' attribute to derive a per object
key from the KEK in the config. A single key_id with distinct keysel
has different keys and need to be cached as such.

Add the keysel to the cache key id to handle these collisions.

Signed-off-by: Marcel Lauhoff <marcel.lauhoff@clyso.com>
On-behalf-of: SAP marcel.lauhoff@sap.com
src/rgw/rgw_kms.cc
src/test/rgw/test_rgw_kms.cc
src/test/rgw/test_rgw_kms_cache.cc