yourlabs / djfernet

Fernet symmetric encryption for Django model fields

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 99.7%Language:Makefile 0.3%