Key rotate - #141
Conversation
|
Documentation is still missing. This should be a |
|
I think removing |
|
I'll write some documentation and push it before merging. The most important part seems to be documenting that the |
|
I think you removed |
|
Ended up making significant changes to the docs, so I'm going to make a separate PR for that. |
This change is designed for pallets/flask#1574
With this change,
SignerandSerializercan accept a list of secret keys. For instance,aas the secret keybas the secret keyFor 2019/09, we will use
Serializer(['a']), and later in 10, we will useSerializer(['a', 'b']). Now the old dumped values can still be loaded, becauseais in secret keys. But it will dump new value with secret keybin 2019/10.Later, we can remove
afrom the secret keys, since it is not used anymore. Maybe in 2019/11.