8000 [OID4VCI] Improve signing key selection by graziang · Pull Request #46609 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

[OID4VCI] Improve signing key selection - #46609

Merged
mposolda merged 1 commit into
keycloak:mainfrom
graziang:issue-45385
Mar 23, 2026
Merged

mposolda merged 1 commit into
keycloak:mainfrom
graziang:issue-45385

Conversation

@graziang
Copy link
Copy Markdown
Contributor

Closes #45385

I followed the proposal of this comment #45385 (comment) with small changes:

  • The keys in the "Signing Key ID" list are filtered to include only those related to asymmetric algorithms
  • If a key is selected, the "Credential Signing Algorithm" field is disabled, and the algorithm related the selected Key ID is displayed.

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.webauthn.passwordless.PasskeysKcOidcFirstBrokerLoginTest#testLinkAccountByReauthenticationWithDiscoverablePasskey

Keycloak CI - WebAuthn IT

org.openqa.selenium.TimeoutException: 
Expected condition failed: waiting for value to contain (ignoring case) "sign in to". Current value: "localhost" (tried for 5 second(s) with 500 milliseconds interval)
Build info: version: '4.28.1', revision: '73f5ad48a2'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.11.0-1018-azure', java.version: '25.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver_ByGraphene
...

Report flaky test

@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unreported flaky test detected, please review

@Captain-P-Goldfish
Captain-P-Goldfish commented Mar 10, 2026 •
Copy link
Copy Markdown
Contributor

EDIT:

I take it back. I just tested again just in case and noticed that it works as expected.
It seems that I accidentally tested on the wrong branch before...

in that case: LGTM :-)
But I will wait with the approve until the tests will be successful

@graziang
Copy link
Copy Markdown
Contributor Author

EDIT:

I take it back. I just tested again just in case and noticed that it works as expected. It seems that I accidentally tested on the wrong branch before...

in that case: LGTM :-) But I will wait with the approve until the tests will be successful

@Captain-P-Goldfish Thanks for the review, I'm waiting for another PR #46945 to migrate some tests to the new testsuite and then migrate also the tests of this PR. Adding @mposolda

@VinodAnandan
Copy link
Copy Markdown
Contributor

@graziang I’m not entirely sure whether these CI errors might be related to your PR, could you please take a look when you have a moment?
https://github.com/keycloak/keycloak/actions/runs/23155699320/job/67270764657#step:8:89

@Captain-P-Goldfish
Copy link
Copy Markdown
Contributor

PR #46945 is merged. If you fix the unit-tests I will give my approve :-)

@Captain-P-Goldfish Captain-P-Goldfish 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.

LGTM

@VinodAnandan
Copy link
Copy Markdown
Contributor

@graziang your PR/branch has conflicts, could you please rebase with main ?

@VinodAnandan VinodAnandan 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.

LGTM

Closes keycloak#45385

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
@mposolda mposolda 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.

@graziang @Captain-P-Goldfish @VinodAnandan Thanks for the updates and additional review!

@mposolda
mposolda merged commit b6b008c into keycloak:main Mar 23, 2026
92 of 94 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[OID4VCI] No key for id ... and algorithm ... available

4 participants

0