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

Add support for custom form field similar to django's ReadOnlyPasswordHashField which hides the value and provides a route to change the value.

Open jackton1 opened this issue 6 years ago • 0 comments

This is a security enhancement currently only using encrypt allows instant access to the encrypted value which could easily be retrieved and modified introducing another protect route should mitigate this issue.


class MyModel(models.Model):
    encrypted_field = encrypt(models.CharField(max_length=255))

jackton1 avatar Feb 18 '20 16:02 jackton1