Skip to content

RDKB-65466 : sso validation token - #19

Merged
GoutamD2905 merged 1 commit into
developfrom
topic/RDKB-65466
Jun 14, 2026
Merged

RDKB-65466 : sso validation token#19
GoutamD2905 merged 1 commit into
developfrom
topic/RDKB-65466

Conversation

@MonekaLakshmi

Copy link
Copy Markdown
Contributor

Reason for change: sso validation token
Test Procedure: login with invalid token
Risks: None
Priority: P1

Reason for change: sso validation token
Test Procedure: login with invalid token
Risks: None
Priority: P1
Signed-off-by: achatu732 <Ashutosh_Chaturvedi@comcast.com>
@MonekaLakshmi
MonekaLakshmi requested a review from a team as a code owner June 14, 2026 06:08
Copilot AI review requested due to automatic review settings June 14, 2026 06:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the openssl_verify_with_cert JST native function to support verifying SSO/JWT-style signatures provided as base64url, aligning signature handling with typical RS256 token formats.

Changes:

  • Added a helper to decode base64url-encoded signature strings into binary for OpenSSL verification.
  • Updated openssl_verify_with_cert to decode the signature before calling EVP_VerifyFinal.
  • Adjusted digest selection to SHA-256 (intended RS256 flow).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/jst_functions.c
Comment thread source/jst_functions.c
Comment thread source/jst_functions.c
Comment thread source/jst_functions.c
@GoutamD2905
GoutamD2905 merged commit 05a89e9 into develop Jun 14, 2026
10 of 12 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants