Skip to content

bug: Private Keys - Rotate from UI has no effect #7637

@andresh0816

Description

@andresh0816

Describe the bug

There’s an error in self-hosted instance with the private keys oidc. When you rotate the signing key from EC to RSA the server doesn’t have in account this change and still using the EC private key. if you navigate to the jwks endpoint, still showing the EC private key

Expected behavior

If I rotate the signing key from EC to RSA in the endpoint jwks I must see the RSA algorithm and the new tokens should use RSA as new algorithm. This process should be automatic when rotate the signing key from the UI

How to reproduce?

Rotate the Signing key from the UI and see the jwks endpoint and try to generate a token with oidc.

Environment

Self-hosted (Docker image)

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending-verificationSomething is still under investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions