Skip to content

Commit

Permalink
CHANGES, README
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 21, 2024
1 parent 3eee158 commit 2eae71d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ CHANGES
(settings.AUTO_CREATE_KEYS will still work)
- use pathlib instead of os
- remove system checks, instead raise exceptions when Keys is instantiated.
- correctly decode hash_value before storing in DB
- add migration to remove "b'" from hash_values stored in the DB.
You need to run the migration! The migration fixes previously
saved `hash_values` by removing the `b'` prefix and the `'` at the
end. This only applies to `hash_values` in the `Crypt` model.
- use Django cache to store hash/secret pairs in runtime, prefix
cache keys with `django-crypto-fields`.
- add typing hints, reduce complexity.

0.3.10
------
Expand Down
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
django-crypto-fields
--------------------

version <= 0.3.8:
version < 0.3.8:
Python 3.8, 3.9, 3.10 Django 3.2, 4.0, 4.1 using mysql

version >= 0.3.8:
version >= 0.3.8 < 0.4.0
Python 3.11+ Django 4.2+ using mysql

version 0.4.0+
Python 3.11+ Django 4.2+ using mysql, cache framework


* Uses ``pycryptodomex``
* This module has known problems with `postgres`. (I hope to address this soon)

Expand Down

0 comments on commit 2eae71d

Please sign in to comment.