Skip to content

yourlabs/djfernet

 
 

Repository files navigation

djfernet

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'..'!!

Getting Help

Documentation for djfernet is available at https://djfernet.readthedocs.org/

This app is available on PyPI and can be installed with pip install djfernet.

About

Fernet symmetric encryption for Django model fields

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Makefile 0.3%