Closed bkabrda closed 5 years ago
FWIW, the Travis failure seems related to a non-python-2.6 syntax in one of the underlying dependencies:
File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/rsa/prime.py", line 134
return number in {2, 3, 5, 7}
Thanks!
A traceback caused by the change in session hashing mechanism in itsdangerous makes Pagure (which uses flask-oidc) return 500:
I've started getting this problem after itsdangerous updated from 0.24 to 1.0.0, seems like I'm not the only one: https://github.com/pallets/flask/issues/2952
This fix should prevent such failures in the future by logging the user out when
BadSignature
is detected.