django-cryptography icon indicating copy to clipboard operation
django-cryptography copied to clipboard

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

Open jackton1 opened this issue 6 years ago • 3 comments

This should address most of the issues related to BadSignature.

jackton1 avatar Feb 21 '20 09:02 jackton1

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

georgemarshall avatar Mar 09 '20 21:03 georgemarshall

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.

jackton1 avatar Mar 11 '20 14:03 jackton1

Understood, I will add in support for multiple keys.

georgemarshall avatar Mar 11 '20 19:03 georgemarshall