georgemarshall / django-cryptography

Easily encrypt data in Django
https://django-cryptography.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
371 stars 69 forks source link

bad Signature #87

Open coci opened 1 year ago

coci commented 1 year ago

hi guys :

I have two projects, in the first one I added some data with the encrypting method, in the second project I added the exact key and salt and accessed to database which the first project wrote data on it, I tried to get data in the second project but I got this error message: BadSignature: Signature "b'EaHnfBb0SVH7pvZxDSWPhFGSWdXUBmYilEdfFLJ+zsE=\n'" does not match

Nasjoe commented 10 months ago

Same here. Did you solve it ?

I also get this error when I run the same project via a poetry virtual environment and another docker environment. Same code, same database, same SECRET_KEY, CRYPTOGRAPHY_KEY and CRYPTOGRAPHY_SALT

felixlu commented 7 months ago

+1, me too.

lionelwust commented 3 months ago

same here