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

DefaultSigner should support key rotation #786

Open
3 of 5 tasks
mitar opened this issue Jan 26, 2024 · 0 comments
Open
3 of 5 tasks

DefaultSigner should support key rotation #786

mitar opened this issue Jan 26, 2024 · 0 comments
Labels
feat New feature or request.

Comments

@mitar
Copy link
Contributor

mitar commented Jan 26, 2024

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

@mitar mitar added the feat New feature or request. label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant