closeio / flask-common

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

EncryptedStringField named incorrectly #65

Closed tsx closed 4 years ago

tsx commented 5 years ago

Should be EncryptedBinaryField or something like that.

It actually outputs bytes (and stores bytes perfectly) and the fact that you can put a unicode in there was only a python2 side effect.