-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
v1.0.0 cannot load strings signed by v0.24 #109
Comments
Ah, this is due to the change of default digest method from sha1 to sha512. Can pass in |
Yeah, you'll need to support that migration in your code. You can upgrade tokens by trying the new signer, then trying the old signer if it fails. |
itsdangerous 1.1.0 has been released. It reverts to SHA-1, and adds a fallback mechanism to safely upgrade signing parameters in the future. It also reverts the package name to all lowercase "itsdangerous". You can read a longer explanation here: https://palletsprojects.com/blog/itsdangerous-1-1-0-released/ |
Testing with python 3.5.2.
I've got some strings that were serialised with v0.24. After upgrading, those strings are no longer able to be deserialised. (I've also tried this with
Serializer
, same outcome).The text was updated successfully, but these errors were encountered: