georgemarshall / django-cryptography

Easily encrypt data in Django

Home Page:https://django-cryptography.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for using REMOTE_SECRET_KEY in combination with local SECRET_KEY for decrypting.

jackton1 opened this issue · comments

This should address most of the issues related to BadSignature.

I am not following as to how REMOTE_SECRET_KEY would work in conjunction with SECRET_KEY. This description is very vague.

The issue here is using multiple SECRET_KEY's often for some test database you get to face errors like #26 due to not using the same key to decrypt the secret.

It would make sense to provide a possible MASTER KEY or a list of possible keys that can be used in tandem.

Understood, I will add in support for multiple keys.