django-all-access icon indicating copy to clipboard operation
django-all-access copied to clipboard

Secret Key Rotation

Open mlavin opened this issue 11 years ago • 1 comments

If the secret key changes then the encrypted data will be lost. There should be a way to rotate the key with minimal work or problems which might cause downtime.

mlavin avatar Jul 24 '12 23:07 mlavin

The cryptography has support for symmetric encryption with key rotation via Fernet: https://cryptography.io/en/latest/fernet/ Migrating the existing field might be tricky but probably worthwhile.

mlavin avatar Oct 31 '15 00:10 mlavin