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

update NewTestCAWithConfig to use RSA key for SAML IdP CA #44670

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

flyinghermit
Copy link
Contributor

The NewTestCAWithConfig function was recently updated to use ECDSAP256 (#44418) as a default algorithm to generate private key.

Unfortunately, the SAML IdP still uses xmldsig RSA SHA256 signature method (http://www.w3.org/2001/04/xmldsig-more#rsa-sha256) to sign the SAML assertion, so the signing key must be an RSA key.

Fixes test in this PR https://github.com/gravitational/teleport.e/pull/4732 that uses e web test suite to test SAML auth middleware.

@flyinghermit flyinghermit added the no-changelog Indicates that a PR does not require a changelog entry label Jul 26, 2024
@flyinghermit flyinghermit requested a review from nklaassen July 26, 2024 02:54
@github-actions github-actions bot requested review from camscale and hugoShaka July 26, 2024 02:55
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from nklaassen July 26, 2024 13:43
@flyinghermit flyinghermit added this pull request to the merge queue Jul 26, 2024
Merged via the queue into master with commit c3c1284 Jul 26, 2024
40 of 41 checks passed
@flyinghermit flyinghermit deleted the sshah/samlidpca-test-key branch July 26, 2024 14:25
@nklaassen
Copy link
Contributor

Let's support ECDSA instead! https://github.com/gravitational/teleport.e/pull/4764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants