Skip to content

DefaultSigner should support key rotation #786

@mitar

Description

@mitar

Preflight checklist

Ory Network Project

No response

Describe your problem

It looks to me like there is no simple way to rotate the keypair? DefaultSigner and its GetPrivateKey allows only one key to be returned?

Describe your ideal solution

I think DefaultSigner should also have a method like GetRotatedPrivateKeys which would be used only for validating. Similar to how there is GlobalSecret and RotatedGlobalSecrets.

Workarounds or alternatives

I could implement my own Signer but it would be better if this is part of fosite.

Version

v0.45.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions