Repository navigation
reef: rgw/sts: Implementation of validating JWT using modulus and exponent - #63053
Conversation
using modulus and exponent for RSA group of algorithms. A couple of issues and a fix have been suggested by Pupu Toivonen ([email protected]) in signature calculation using modulus and exponent. Fixes: https://tracker.ceph.com/issues/51018 Signed-off-by: Pritha Srivastava <[email protected]> (cherry picked from commit b368cab)
9788d61 to
b29d0db
Compare
'sig' for signature validation of the token. Fixes: https://tracker.ceph.com/issues/54562 Signed-off-by: Pritha Srivastava <[email protected]> (cherry picked from commit 4c08b48)
to https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html for n&e which can be later used for all key types (x5c, n&e). Signed-off-by: Pritha Srivastava <[email protected]> (cherry picked from commit d970f62) Conflicts: src/rgw/rgw_rest_sts.cc the conflict was due to validate_signature() taking thumbprints in place of provider.thumbprints as input param.
if aud is not present in JWT. Signed-off-by: Pritha Srivastava <[email protected]> (cherry picked from commit b5bbeb7)
b29d0db to
6584940
Compare
|
@cbodley @adamemerson : I see this build failure but this header file rgw_rest.h was already included in rgw_rest_sts.cc and has not been introduced by this PR. or could it be conflicting with the newly included header files: |
yeah looks like the openssl for this reef backport, you might move that |
openssl SHA1() method and using ceph::crypto::SHA1 alias in rgw_torrent.h Signed-off-by: Pritha Srivastava <[email protected]>
|
jenkins test make check |
|
make check failures: crash: the above failures do not look related to this PR |
|
@adamemerson @cbodley : I have added a separate commit that fixes the compilation error - is this ok, or should I squash it onto the previous commit. |
|
jenkins test make check |
@pritha-srivastava should be squashed into the commit that introduced the error, with the change documented in the commit message under "Conflicts:" (see https://github.com/ceph/ceph/blob/main/SubmittingPatches-backports.rst#cherry-picking-rules) |
|
jenkins test make check |
backport tracker: https://tracker.ceph.com/issues/71106
backport of #61796
parent tracker: https://tracker.ceph.com/issues/54562
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh