defrex/django-encrypted-fields

Filter on encrypted fields

ateeqsuhail opened this issue · 1 comments

Filter on EncryptedCharField is not working... It is returning None in both the cases

  1. when i paste encrypted value from DB.
  2. or when i paste decrypted value.

Once the data is in the database, it's effectively noise. There is no way to query against it.

This is intentional. If you want to use filter, you'll need to store the field unencrypted.