Repository navigation
Releases
Releases · entirius/entirius-django-crypt
v2.1.0
CryptedTextField(django_crypt.fields): aTextFieldencrypted at rest withCrypt— call sites read and write
plaintext. Refusesdb_index,uniqueandprimary_keyat declaration (Fernet ciphertext differs on every save).- A stored value that no longer decrypts (salt rotated, row corrupted) raises
django_crypt.fields.DecryptionError
on load; it is never read as"", so a latersave()can't overwrite the ciphertext. The error and theprocess
log line name model and field only. Recover by restoring the originalCRYPT_SALT, or blank the column on purpose
withQuerySet.update(). A missing or malformedCRYPT_SALTraisesValueError.