Implement ability to rotate from old to new keys #1025
Comments
|
I had some initial thoughts on how this might work in [1], revisiting here. The BrowserID spec doesn't seem to provide a way to have multiple keys in the
This doesn't seem like too much work, and given that we don't have a concrete deadline for moving clients away from using assertions, it's probably worth investing a day or tow into getting it right. @dannycoates, second opinion? |
|
What if we transitioned to a jwk set by adding |
|
So |
|
Thinking out loud, there might be some interesting timing effects involved with deploying a rotated key across multiple webheads. To be safe, we need to ensure that all webheads are properly serving the new key before any webheads start using it to sign things. If we don't then there'll be a window where a client can get a cert signed with the new key, but the verifier can fetch a support-doc that doesn't contain it. With the above scheme, you could accomplish this by doing:
A slightly less confusing alternative would be to add a config option to say which key is "active", but I think the procedure would be isomorphic to the above. |
|
Targets this train #1064 (next few days) |
|
done |
Exactly how, is TBD, but basically being able to support two signing keys concurrently while changing from an older to a newer, replacement key.
The text was updated successfully, but these errors were encountered: