jazzband / django-fernet-encrypted-fields

MIT License
47 stars 9 forks source link

Add support for encrypted JSON fields #14

Closed faradayyg closed 1 year ago

faradayyg commented 1 year ago

Native JSON support in popular databases is growing, so I thought it makes sense to also support JSON encryption here.

The implementation does not treat JSON fields as one huge blob of text, rather, it encrypts each field individually thereby maintaining the keys while encrypting the actual values.

LMK what you think about this.

frgmt commented 1 year ago

@faradayyg LGTM👍 Thank you for contributing us!