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

Key rotation: Verifier should support N keys #18

Open
pda opened this issue Oct 5, 2015 · 1 comment
Open

Key rotation: Verifier should support N keys #18

pda opened this issue Oct 5, 2015 · 1 comment

Comments

@pda
Copy link
Contributor

pda commented Oct 5, 2015

Copied from 99designs/http-signatures-ruby#10


Currently key rotation is difficult; the verifier needs to start verifying with the new key at the same moment the new key is used by the signer. In a high-traffic environment this can be near impossible without dropping requests.

It should be possible to pass multiple keys to the verifier, so that both old and new keys can be accepted for a period of time. Either N keys, or a static limit of two keys (current and previous) would work.

This could be represented by passing an array of keys per ID; using the first for signing, and using all of them for verification. Or… something else?

@poisa
Copy link
Contributor

poisa commented Nov 30, 2018

👍 This feature would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants