Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCMAW-11093: Update encryption algorithm for public encryption key #343

Merged
merged 13 commits into from
Jan 20, 2025

Conversation

sandymay-dd
Copy link
Contributor

@sandymay-dd sandymay-dd commented Jan 17, 2025

DCMAW-11093

What changed

Change algorithm in the JSON web key object for the encryption key from RS256 to RSA-OAEP-256.

Why did it change

To align with both the spec: https://datatracker.ietf.org/doc/html/rfc7518#section-4.1 (RSA256 is not a valid encryption algorithm) and the STS requirements: https://govukverify.atlassian.net/wiki/spaces/DCMAW/pages/3844964353/Strategic+App+App+calls+a+protected+service#Service-Token-encryption

Checklists

  • There is a ticket raised for this PR that is present in the branch name
  • No PII data logged. See guidance here
  • Demo to a BA, TA, and the team.
  • Update README with any new instructions or tasks

@sandymay-dd sandymay-dd changed the title Dcmaw 11093 DCMAW-11093: Update encryption algorithm for public encryption key Jan 17, 2025
@sandymay-dd sandymay-dd marked this pull request as ready for review January 20, 2025 09:32
@sandymay-dd sandymay-dd requested review from a team as code owners January 20, 2025 09:32
backend-api/README.md Outdated Show resolved Hide resolved
tmulberry-gds
tmulberry-gds previously approved these changes Jan 20, 2025
Copy link
Contributor

@tmulberry-gds tmulberry-gds left a comment

Choose a reason for hiding this comment

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

lgtm

mthkbarber
mthkbarber previously approved these changes Jan 20, 2025
@sandymay-dd sandymay-dd dismissed stale reviews from mthkbarber and tmulberry-gds via 456abfe January 20, 2025 13:16
backend-api/README.md Outdated Show resolved Hide resolved
Copy link

Quality Gate Passed Quality Gate passed for 'mobile-id-check-async-sts-mock'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@sandymay-dd sandymay-dd merged commit c813de3 into main Jan 20, 2025
5 checks passed
@sandymay-dd sandymay-dd deleted the DCMAW-11093 branch January 20, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants