Maintained fork of github.com/orcasgit/django-fernet-fields used by yourlabs.io/oss/djwebdapp
Fernet symmetric encryption for Django model fields, using the cryptography library.
djfernet
supports Django 4.0 and later on Python 3.
Only PostgreSQL, SQLite, and MySQL are tested, but any Django database backend with support for BinaryField
should work.
Danger
If you have data created with djfernet < 0.8, you will need the following setting to be able to decrypt existing data: DJFERNET_PREFIX = b'djfernet'
. Make sure you use a bytestring right there with b'..'
!!
Documentation for djfernet is available at https://djfernet.readthedocs.org/
This app is available on PyPI and can be installed with pip install djfernet
.