closeio / flask-common

Some commonly shared code for Flask, MongoEngine, and Python apps
26 stars 4 forks source link

Encrypt to v0, decrypt v0 and v1 #75

Closed jpmelos closed 4 years ago

jpmelos commented 4 years ago

This adds an intermediary step, in which code will be able to decrypt old v0 and new v1, but will still encrypt to v0. This is in preparation to deploy the next step after this will, which will encrypt to v1 but will have to able to also decrypt both versions.

This is NOT Python 3 compatible, because that's being worked on https://github.com/closeio/flask-common/pull/71 with cryptography.