]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/sts: adding code for JWT signature validation
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 26 Dec 2024 08:56:30 +0000 (14:26 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Wed, 30 Apr 2025 06:03:34 +0000 (11:33 +0530)
commit3ed6ef5f24a96172e064b7b6f9429009586c8ddf
treeb640fd8061869ed62b8319a58ffa91d0d046ae7b
parent6fff840fd656e9af03b4eea4c0da21ff4a7be965
rgw/sts: adding code for JWT signature validation
using modulus and exponent for RSA group of algorithms.

A couple of issues and a fix have been suggested by
Pupu Toivonen (pupu.toivonen@csc.fi) in signature calculation
using modulus and exponent.

Fixes: https://tracker.ceph.com/issues/51018
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit b368cab8064925674c008c0e8c39d17fbf964ac6)
src/rgw/jwt-cpp/jwt.h
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_rest_sts.h