georgemarshall / django-cryptography

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

Bad Signature("signature version is not supported") #45

Open stuck1233333 opened 4 years ago

stuck1233333 commented 4 years ago

Hi, When I try to migrate an existing table, I get the signature version is not supported error.

What to do?

Thank you!

thismatters commented 3 years ago

what version of the library are you using?

ademidun commented 3 years ago

what version of the library are you using?

@thismatters I am having the same issue and I am usng 0.3 and Django 1.11?

Any updates on this, my entire app is down because of this bug.

MuhammadShahryiar commented 3 years ago

I had this same error. It can be rectified by deleting all of the previously saved records of your model. This solves the BadSignature error, but another Field Error pops up, which I am unable to rectify.

thismatters commented 3 years ago

Please see the advice in #44 before acquiescing to any data loss! Often this issue crops up because of a change to a dependency deep in the cryptography stack and can be fixed by re-assessing/updating those dependencies.